mirror of
https://github.com/Lekensteyn/lglaf.git
synced 2025-04-03 16:50:03 -04:00
udev rules
This commit is contained in:
parent
0871e23c06
commit
eed04da13f
2 changed files with 7 additions and 0 deletions
|
@ -12,6 +12,10 @@ LGLAF.py depends on:
|
|||
sha256sum: 86e893b7f5da7f7d2656d9ce2563f082271983bb63903d0ed5cb279c560db459)
|
||||
- (Linux) PyUSB: https://walac.github.io/pyusb/
|
||||
|
||||
On Linux, you must also install
|
||||
[rules.d/42-usb-lglaf.rules](rules.d/42-usb-lglaf.rules) to `/etc/udev/rules.d/`
|
||||
in order to give the regular user access to the USB device.
|
||||
|
||||
Tested with:
|
||||
|
||||
- LG G3 (D855) on 64-bit Arch Linux (Python 3.5.1, pyusb 1.0.0b2, libusb 1.0.20)
|
||||
|
|
3
rules.d/42-usb-lglaf.rules
Normal file
3
rules.d/42-usb-lglaf.rules
Normal file
|
@ -0,0 +1,3 @@
|
|||
# /etc/udev/rules.d/42-usb-lglaf.rules
|
||||
# LG G3 in download mode
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="633e", TAG+="uaccess"
|
Loading…
Add table
Reference in a new issue