You are not logged in.
Pages: 1
Hi all!
Some days ago I installed the magnific K380 Function Keys Conf from AUR!
This works fine when I execute it manually. But the udev Rule included in the package is not fired in my system.
Udev Rule
$ cat /etc/udev/rules.d/70-k380.rules
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{address}=="34:88:5d:10:7c:b8", RUN+="/usr/bin/k380_enable_function_keys.sh %p"I dont know if "address" is the proper key. using udevadm test or monitor does not show any address info.
Some debug data
$ udevadm info -a -n /dev/hidraw0
...
looking at device '/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5/3-1.5:1.0/bluetooth/hci0/hci0:36/0005:046D:B342.0006/hidraw/hidraw0':
KERNEL=="hidraw0"
SUBSYSTEM=="hidraw"
DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5/3-1.5:1.0/bluetooth/hci0/hci0:36/0005:046D:B342.0006':
KERNELS=="0005:046D:B342.0006"
SUBSYSTEMS=="hid"
DRIVERS=="hid-generic"
ATTRS{country}=="21"
looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5/3-1.5:1.0/bluetooth/hci0/hci0:36':
KERNELS=="hci0:36"
SUBSYSTEMS=="bluetooth"
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5/3-1.5:1.0/bluetooth/hci0':
KERNELS=="hci0"
SUBSYSTEMS=="bluetooth"
DRIVERS==""
...
the rest is about the parent of the parent of the.... without usefull info$ cat /sys/class/hidraw/hidraw0/device/uevent
DRIVER=hid-generic
HID_ID=0005:0000046D:0000B342
HID_NAME=Keyboard K380
HID_PHYS=60:6c:66:60:06:66
HID_UNIQ=34:88:5d:10:7c:b8
MODALIAS=hid:b0005g0001v0000046Dp0000B342Last edited by nachopro (2017-05-27 03:13:46)
Offline
Pages: 1