Bug 144253
Summary: | Griffin Powermate does not work, not allocated event device | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andy Piper <andy.piper> |
Component: | udev | Assignee: | Dave Jones <davej> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | pfrields, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-04-27 09:52:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Andy Piper
2005-01-05 12:28:09 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. 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. 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 drivers/usb/input/powermate.c 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. 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. OK I have now found an excellent resource allowing me to get the PowerMate working in Linux: http://gentoo-wiki.com/HOWTO_Griffin_PowerMate_with_UDEV_and_Kernel_2.6.x 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. 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) |