The Griffin AirClick USB is a five-button RF remote control, with a USB
receiver dongle. Having won one at EuroOSCON, it would be nice if it
could be made to work on an OS OS ;-) I am currently running Ubuntu
Breezy Badger on an IBM T22 laptop. I've Googled, but no-one else seems
to have attempted to get the AirClick USB working at all. I've spent an
hour or two reading about low and high-level USB interfaces, and I
thought this list might be a good next port of call.
When I plug in the receiver dongle, I get various messages in
/var/log/messages and a new device: /dev/usb/hiddev0. Catting this
produces a stream of gibberish output when one of the buttons is pressed.
Catting /proc/bus/usb/devices gives, in part:
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 6 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=077d ProdID=1016 Rev= 7.00
S: Manufacturer=Griffin Technology, Inc.
S: Product=AirClick USB
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
Furthermore, compiling and running the program here:
http://www.mail-archive.com/linux-usb-users@lists.sourceforge.net/msg08334.html
which dumps out the device characteristics gives the following:
[EMAIL PROTECTED]:/usr/src/hid$ ./dump /dev/usb/hiddev0
hiddev driver version is 1.0.4
vendor 0x077d product 0x1016 version 0x0700 has 1 application and is on
bus: 1 devnum: 6 ifnum: 0
Application 0 is 0xffa00001 (Needs to be added)
Report id: 0 (1 fields)
Field: 0: app: ffa00001 phys 0000 flags 2 (8 usages) unit 0 exp 0
Usage: ffa00001 val 0 idx 0
Usage: ffa00001 val 0 idx 1
Usage: ffa00001 val 0 idx 2
Usage: ffa00001 val 0 idx 3
Usage: ffa00001 val 0 idx 4
Usage: ffa00001 val 0 idx 5
Usage: ffa00001 val 0 idx 6
Usage: ffa00001 val 0 idx 7
Waiting for events ... (interrupt to exit)
Event: usage ffa00001 (Unknown), value 0
<repeat last line x 8>
The program then waits. When I press a button, I get approximately 200
lines like this:
Event: usage ffa00001 (Unknown), value 0
where the "value" goes in a pattern 3, 2, 0, 1, 250, 0, 0, 0 <repeat>
except after four 250s, the rest are 251s. Other buttons do the same,
but with another value (e.g. 249) instead of 250. I'm led to believe
this is unusual; keyboards usually produce one event per keypress. Is
that right?
What I'd like is for the buttons to just work as extra keyboard buttons
so I can rebind them using Ubuntu's UI for that purpose. That would be
really cool. What might I have to do to achieve that?
Thanks for any help.
Gerv
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users