Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75790 - Griffin PowerMate with udev does not work
Summary: Griffin PowerMate with udev does not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-27 06:57 UTC by Tim Burrell
Modified: 2005-01-03 10:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Burrell 2004-12-27 06:57:29 UTC
When my PowerMate connects, I can see the following in dmesg:

usb 4-1: new low speed USB device using uhci_hcd and address 9
usbhid: probe of 4-1:1.0 failed with error -5
input: Griffin PowerMate on <NULL>

I've tried the following udev rule with no luck (even though others (not gentoo people) have reported it to work:

BUS="usb", SYSFS{product}="Griffin PowerMate", NAME="powermate", GROUP="powermate"

I've never created a udev rule though, or tried to get anything like this to work, so I'm sure I've just missed a step, or done something wrong.  If anyone can help me out I'd really appreciate it.

So far I *think* what's happening, is the powermate is connecting, and udev isn't giving it a place in /dev so nothing can use it.  Also I've verified that the device works properly by booting into Windows.  It works great in Windows (very cool product).  Also I've got the kernel module compiled and loaded and everything.

Here is an output of lsusb -v (in case this helps):

Bus 004 Device 009: ID 077d:0410 Griffin Technology
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 Interface
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x077d Griffin Technology
  idProduct          0x0410
  bcdDevice            4.00
  iManufacturer           1 Griffin Technology, Inc.
  iProduct                2 Griffin PowerMate
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              5 Endpoint 1
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      74
cannot get report descriptor
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          6
        bInterval              10
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          1
        bInterval              10
  Language IDs: (length=4)
     0409 English(US)

Here is my emerge --info:

Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10.SpaceDolphin i686)
=================================================================
System uname: 2.6.10.SpaceDolphin i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks grc sandbox sfperms"
GENTOO_MIRRORS="http://mirror.cpsc.ucalgary.ca/mirror/gentoo.org ftp://gentoo.agsn.ca/ http://gentoo.llarian.net/ http://gentoo.binarycompass.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://SpaceTree/portage"
USE="x86 X Xaw3d aalib acl alsa apm arts avi berkdb bitmap-fonts bluetooth bonobo cdr crypt cups curl dri dvd encode esd fam fbcon flac foomaticdb fortran gdbm gif glx gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib imlib2 ipv6 jack java jikes joystick jpeg junit kde lcms libwww mad maildir mikmod mmx motif mozilla mpeg mpeg4 mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl plotutils png ppds python qt quicktime readline ruby samba sdl slp speex spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb videos wmf wxwindows xinerama xml xml2 xmms xosd xv zlib"

Any help would be appreciated!  If I can give more info please just let me know.

Thanks!

Reproducible: Always
Steps to Reproduce:
Comment 1 Tim Burrell 2005-01-02 14:22:28 UTC
Just curious if anyone is looking into this or has any idea about this?  If someone has ideas for me to try I'll certainly do whatever needs to be done, and post results if necessary.
Comment 2 Tim Burrell 2005-01-03 10:25:17 UTC
Problem solution found.  See my <a href="http://gentoo-wiki.com/HOWTO_Griffin_PowerMate_with_UDEV_and_Kernel_2.6.x">wiki entry</a> for more details.