Bug 144253 - Griffin Powermate does not work, not allocated event device
Summary: Griffin Powermate does not work, not allocated event device
Alias: None
Product: Fedora
Classification: Fedora
Component: udev   
(Show other bugs)
Version: 3
Hardware: i686 Linux
Target Milestone: ---
Assignee: Dave Jones
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-01-05 12:28 UTC by Andy Piper
Modified: 2015-01-04 22:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-27 09:52:52 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Andy Piper 2005-01-05 12:28:09 UTC
Description of problem:
The Griffin Powermate does not work in FC3 (tested with kernels
2.6.9-1.681_FC3, 2.6.9-1.724_FC3, 2.6.10-1.727_FC3)

It should be allocated a device node under /dev/input but according to
the kernel messages it is allocated a NULL device.

Jan  4 12:29:09 castor kernel: usb 1-6.3: new low speed USB device
using address 14
Jan  4 12:29:09 castor kernel: usbhid: probe of 1-6.3:1.0 failed with
error -5
Jan  4 12:29:09 castor hal.hotplug[1469]: DEVPATH is not set
Jan  4 12:29:09 castor kernel: input: Griffin PowerMate on <NULL>

Steps to Reproduce:
1. Plug in Griffin Powermate

Actual Results:
1. Not detected correctly by the kernel.

Expected Results:
1. Allocated dev node and available for configuration in X etc. using
something like evrouter.

This worked in FC1 / kernel 2.4.x

Comment 1 Andy Piper 2005-01-05 12:35:33 UTC
I tried the fix in #91677 but no effect, log messages exactly as
before. I also note that the evdev module does not appear to be
present on my system, but evdev.h is under /lib/modules/`uname
-r`/build/include/config/input/evdev.h so I assume it is compiled into
the kernel.

Comment 2 Andy Piper 2005-01-06 19:17:35 UTC
I wonder if this is something to do with udev or hotplug?
I notice that /dev/input/event2 is touched whenever I plugin the
device, but the log message always indicates <NULL> device allocated.

Comment 3 Andy Piper 2005-01-07 07:10:34 UTC
I'm not sure whether I am on the right track here as I've never really
had to do kernel debugging before.

I believe the -5 is -EIO being returned from powermate_probe in
Unfortunately there are 3 conditions on which this might be returned
and at this point the code gets beyond my level of understanding so I
am not sure which is the case.

It is also not clear to me whether the -5 error is anything to do with
the reason that the <NULL> device is allocated when the PowerMate is
plugged in.

Comment 4 Andy Piper 2005-01-07 07:16:56 UTC
OK more information on this bug...

Running the userspace tools from 
http://www.graflex.org/klotz/software/griffin/ things now "kind of" work.

The rotomatic utility (reads rotation events) works as my normal user.
The brighten and pulseled utilities fail and report that I don't have
permission to open /dev/input/event2 (it works as root). They are
looking for write access so this makes some sense.

I will try configuring the device for use with the Gimp later.

Comment 5 Andy Piper 2005-01-28 10:12:34 UTC
OK I have now found an excellent resource allowing me to get the
PowerMate working in Linux:

This details some udev and hotplug changes which need to be made to
set the permissions correctly (so I'm switching this from a kernel to
a udev bug for now).

However it does not resolve the existing problem where the kernel
reports a <NULL> event device has been allocated.

Comment 6 Harald Hoyer 2005-04-27 09:52:52 UTC
no bug in my opinion.. this is a normal user configuration. And no, I will not
start to build up a product database... sry, this does not belong in the
standard udev-package. Everything (but /etc/security/console.perms) could be
packed in config files together in a seperate rpm (PowerMate-0.1.noarch.rpm)

Note You need to log in before you can comment on or make changes to this bug.