Last active
August 10, 2026 09:10
-
-
Save thetrung/47955599d18e55a08901c129ab1a0b92 to your computer and use it in GitHub Desktop.
Xgpro UDev Rules for Xgecu T48 on Linux/Wine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1. Create the missing plugdev group | |
| sudo groupadd plugdev | |
| # 2. Add your user to it | |
| sudo usermod -aG plugdev $USER | |
| # 3. Apply the group change immediately to your current terminal | |
| newgrp plugdev | |
| # 4. Add current user to the required USB access groups | |
| sudo usermod -aG plugdev,dialout $USER | |
| # 2. Create the Udev rules file for XGecu / MiniPRO programmers | |
| sudo tee /etc/udev/rules.d/51-xgpro.rules > /dev/null << 'EOF' | |
| # TL866A / TL866CS | |
| SUBSYSTEM=="usb", ATTR{idVendor}=0x04d8, ATTR{idProduct}=0x005e, MODE="0666", GROUP="plugdev" | |
| # TL866II Plus | |
| SUBSYSTEM=="usb", ATTR{idVendor}=0x04d8, ATTR{idProduct}=0xe11c, MODE="0666", GROUP="plugdev" | |
| # T48 / T56 High-Speed Programmers | |
| SUBSYSTEM=="usb", ATTR{idVendor}=0xa466, ATTR{idProduct}=0x0001, MODE="0666", GROUP="plugdev" | |
| EOF | |
| # 3. Reload the system rules to apply changes instantly | |
| sudo udevadm control --reload-rules && sudo udevadm trigger |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment