From: md@Linux.IT (Marco d'Itri) Date: Wed, 18 Mar 2009 09:48:50 +0000 Subject: Bug#501503: udev: Griffin Powermate USB knob doesn't get Message-Id: <20090318094850.GB14929@bongo.bofh.it> MIME-Version: 1 Content-Type: multipart/mixed; boundary="qcHopEYAB45HaUaB" List-Id: To: linux-hotplug@vger.kernel.org --qcHopEYAB45HaUaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Is this a good idea? ----- Forwarded message from Phil Endecott ----- =46rom: Phil Endecott To: Debian Bug Tracking System Subject: Bug#501503: udev: Griffin Powermate USB knob doesn't get /dev/input/by-id|path links X-Mailer: reportbug 3.29.3 Package: udev Version: 0.103-1 Severity: normal Hi, I have a Griffin Powermate, which is a USB "knob" that can be used as=20 e.g. a volume control, for scrolling through video/audio, etc. No /dev/input/by-* links are created for it. This is because persistent-input.rules only sets ENV{ID_CLASS} for keyboards and mice when it recognises them from their ATTRS{bInterfaceProtocol}. This device has ATTRS{bInterfaceProtocol}=3D=3D0. I have added this, to give it class "misc"; I'm not sure if there is an official USB-spec-defined meaning for protocol=3D=3D0 that I should be using: SUBSYSTEMS=3D=3D"usb", \ ATTRS{bInterfaceClass}=3D=3D"03", ATTRS{bInterfaceProtocol}=3D=3D"0= 0", \ ENV{ID_CLASS}=3D"misc" I now get the desired symlinks: /dev/input/by-id/usb-Griffin_Technology,_Inc._Griffin_PowerMate-event-misc /dev/input/by-path/pci-0000:00:10.2-usb-0:1:1.0-event-misc Cheers, Phil. ----- End forwarded message ----- --=20 ciao, Marco --qcHopEYAB45HaUaB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknAw4IACgkQFGfw2OHuP7GeOwCfa/SNzcd0IAoRZWZdvULzper+ CT8AoIkyRCSbU7zJSk0R/YqFjVuS/dMi =VbVX -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB--