Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Black Griffin Powermate and kernel 2.6.0, 2.6.1, 2.6.x
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
keredson
n00b
n00b


Joined: 15 Jul 2003
Posts: 7

PostPosted: Sun Jan 25, 2004 8:14 pm    Post subject: Black Griffin Powermate and kernel 2.6.0, 2.6.1, 2.6.x Reply with quote

hi all,

I've just gotten the new Black Griffin Powermate (http://griffintechnology.com/products/powermate/). It differs from the alum one in its hardware interface, specifically in that its payload is 6 bytes (as opposed to 3). basically what you get when you try the default kernel drivers is this dmesg output:

Code:
powermate: Expected payload of 3 bytes, found 6 bytes!
input: Griffin PowerMate on <NULL>
drivers/usb/core/usb.c: registered new driver powermate
Debug: sleeping function called from invalid context at include/asm/semaphore.h:119
in_atomic():1, irqs_disabled():1
Call Trace:
 [<c011e82b>] __might_sleep+0xab/0xd0
 [<c030ce88>] urb_free_priv+0x38/0x50
 [<f8984303>] powermate_config_complete+0x33/0x80 [powermate]
 [<c0303c57>] usb_hcd_giveback_urb+0x27/0x40
 [<c030e168>] dl_done_list+0x128/0x140
 [<c030eaeb>] ohci_irq+0x8b/0x180
 [<c0303ca5>] usb_hcd_irq+0x35/0x60
 [<c010b69b>] handle_IRQ_event+0x3b/0x70
 [<c010ba2c>] do_IRQ+0x9c/0x160
 [<c0109dc8>] common_interrupt+0x18/0x20


i found a patch for the first problem (the payload size) here:
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test10/2.6.0-test10-mm1/broken-out/powermate-payload-size-fix.patch
but i'm lost on the sleeping / IRQ issue.

has anyone else gotten this to work?

thanks,
-- derek
Back to top
View user's profile Send private message
linux_on_the_brain
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 136

PostPosted: Fri Mar 26, 2004 1:00 pm    Post subject: Reply with quote

I'm suffering from the same siutation you are with the powermate did you ever get a solution to the problem.
Back to top
View user's profile Send private message
uglyb0b
Apprentice
Apprentice


Joined: 07 Sep 2003
Posts: 280

PostPosted: Sun Apr 25, 2004 5:26 pm    Post subject: Reply with quote

Hot damn, I need that too. Forkin kernel.
_________________
Blog.

Linux geek and Mac whore.
Back to top
View user's profile Send private message
mr_m0nk3y
n00b
n00b


Joined: 21 Jul 2004
Posts: 2

PostPosted: Wed Jul 21, 2004 8:53 pm    Post subject: finally got my powermate working Reply with quote

I had to play around with it for a while, but I finally found a powermate patch that works with XMMS.

I'm running gentoo-dev-sources (2.6.7-gentoo-r11) and my kernel has been configured as follows:

Code:
 
Code maturity level options  --->
                [*] Prompt for development and/or incomplete code/drivers                                   
                [*]   Select only drivers expected to compile cleanly                                     
                [*]   Select only drivers that don't need compile-time external firmware                 
Input device support  --->
                        --- Mouse interface
                        [*]   Provide legacy /dev/psaux device
                        (1200) Horizontal screen resolution                                                 
                        (1024) Vertical screen resolution                                                   
                        < > Joystick interface                                                             
                        < > Touchscreen interface                                                           
                        <M> Event interface   

USB support  --->
                 <M> Support for Host-side USB
                   [*]   USB verbose debug messages
                 <M>   EHCI HCD (USB 2.0) support---   
USB Human Interface Devices (HID)                                                 
                 <M>   USB Human Interface Device (full HID) support                                       
                 [*] HID input layer support                                                             
                 [ ]   Force feedback support (EXPERIMENTAL)                                               
                 [*] /dev/hiddev raw HID device support
                 <M> Griffin PowerMate and Contour Jog support


Then I downloaded the where-powermate binary and the xmms-pandemic-powermate-module from http://syn-recon.net/code-projects/powermate/.

All the docs for installing the binary and module are in the tarball's readme.

The only caveat is that the where-powermate binary and xmms (with the pandemic general plugin enabled) need to be run as root to prevent segfaults.

Have fun!
Back to top
View user's profile Send private message
mr_m0nk3y
n00b
n00b


Joined: 21 Jul 2004
Posts: 2

PostPosted: Tue Jul 27, 2004 2:25 pm    Post subject: Reply with quote

there's a new home for this xmms powemate plugin...

http://www.blackopscode.com/ops/type=powermate/
Back to top
View user's profile Send private message
ghost5316
n00b
n00b


Joined: 18 Aug 2003
Posts: 35

PostPosted: Tue Feb 01, 2005 5:46 am    Post subject: Reply with quote

I found that http://powermated.sourceforge.net/ works well for my silver powermate, and they don't have a disclaimer such as:

Quote:
The plugin causes XMMS to segfault on close, not sure why but it was present before my addition.
Since i just want it to *work* i could care less about the fix :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum