Hi, some HID devices creates several HID devices, some which are not seen as mouse or keyboard, but can still send events (for instance, Microsoft Natural Keyboard 4000 zoom "controls"). Unfortunately, by-id symlinks are not created for those devices. This patch (in Mandriva package for some time now) fixes this issue. Enjoy. -- Frederic Crozat <fcrozat@xxxxxxxxxxxx> Mandriva
>From e030df5b5b643800cdd04c51bd4b7be514626d38 Mon Sep 17 00:00:00 2001 From: Frederic Crozat <fcrozat@xxxxxxxxxxxx> Date: Tue, 9 Jun 2009 11:58:27 +0200 Subject: [PATCH] create by-id symlink for pure HID devices --- rules/rules.d/60-persistent-input.rules | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/rules/rules.d/60-persistent-input.rules b/rules/rules.d/60-persistent-input.rules index f522b41..004b290 100644 --- a/rules/rules.d/60-persistent-input.rules +++ b/rules/rules.d/60-persistent-input.rules @@ -7,6 +7,7 @@ KERNEL=="input[0-9]*", GOTO="persistent_input_end" SUBSYSTEMS=="usb", IMPORT{program}="usb_id --export %p" # well defined boot-subclass usb devices +SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="00", ENV{ID_CLASS}="device" SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="01", ENV{ID_CLASS}="kbd", GOTO="serial" SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="02", ENV{ID_CLASS}="mouse", GOTO="serial" -- 1.6.2.4