* Bug#501503: udev: Griffin Powermate USB knob doesn't get
@ 2009-03-18 9:48 Marco d'Itri
2009-03-19 1:58 ` Kay Sievers
0 siblings, 1 reply; 2+ messages in thread
From: Marco d'Itri @ 2009-03-18 9:48 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 1359 bytes --]
Is this a good idea?
----- Forwarded message from Phil Endecott <spam_from_debian_bugs_7@chezphil.org> -----
From: Phil Endecott <spam_from_debian_bugs_7@chezphil.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
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
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}==0. I have added this, to give
it class "misc"; I'm not sure if there is an official USB-spec-defined
meaning for protocol==0 that I should be using:
SUBSYSTEMS=="usb", \
ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="00", \
ENV{ID_CLASS}="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 -----
--
ciao,
Marco
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug#501503: udev: Griffin Powermate USB knob doesn't get
2009-03-18 9:48 Bug#501503: udev: Griffin Powermate USB knob doesn't get Marco d'Itri
@ 2009-03-19 1:58 ` Kay Sievers
0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2009-03-19 1:58 UTC (permalink / raw)
To: linux-hotplug
On Wed, Mar 18, 2009 at 10:48, Marco d'Itri <md@linux.it> wrote:
> From: Phil Endecott <spam_from_debian_bugs_7@chezphil.org>
> I have a Griffin Powermate, which is a USB "knob" that can be used as
> 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}=0. I have added this, to give
> it class "misc"; I'm not sure if there is an official USB-spec-defined
> meaning for protocol=0 that I should be using:
>
> SUBSYSTEMS="usb", \
> ATTRS{bInterfaceClass}="03", ATTRS{bInterfaceProtocol}="00", \
> ENV{ID_CLASS}="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
It's undefined if bInterfaceProtocol is 0.
What is the subclass value of the device? Like "lsusb -v" prints for a mouse:
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
Thanks,
Kay
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-19 1:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-18 9:48 Bug#501503: udev: Griffin Powermate USB knob doesn't get Marco d'Itri
2009-03-19 1:58 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).