LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-21-2006, 06:04 AM   #1
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
saitek command pad


So i bought this really nice keybaord back in the day, it came with a nice little "command pad" which basically has 9 buttons and 2 switches to be able to make a grand total of 36 combinations. Linux detects this fine, as I can see from the dmesg output:
Code:
usb 2-1: new low speed USB device using ohci_hcd and address 2
input: Chicony USB Gaming Keyboard Pro as /class/input/input1
input: USB HID v1.11 Keyboard [Chicony USB Gaming Keyboard Pro] on usb-0000:00:02.1-1
input: Chicony USB Gaming Keyboard Pro as /class/input/input2
input,hiddev96: USB HID v1.11 Device [Chicony USB Gaming Keyboard Pro] on usb-0000:00:02.1-1
input: Chicony USB Gaming Keyboard Pro as /class/input/input3
input: USB HID v1.11 Gamepad [Chicony USB Gaming Keyboard Pro] on usb-0000:00:02.1-1
usb 2-2: new low speed USB device using ohci_hcd and address 3
It also generates an event (/dev/input/event3):

cat /proc/bus/input/devices
Code:
I: Bus=0003 Vendor=06a3 Product=8000 Version=0120
N: Name="Chicony USB Gaming Keyboard Pro"
P: Phys=usb-0000:00:02.1-1/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd event1 
B: EV=120003
B: KEY=10000 7 ff87207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: LED=7

I: Bus=0003 Vendor=06a3 Product=8000 Version=0120
N: Name="Chicony USB Gaming Keyboard Pro"
P: Phys=usb-0000:00:02.1-1/input1
S: Sysfs=/class/input/input2
H: Handlers=kbd event2 
B: EV=3
B: KEY=3078 d800d101 1e0000 0 0 0

I: Bus=0003 Vendor=06a3 Product=8000 Version=0120
N: Name="Chicony USB Gaming Keyboard Pro"
P: Phys=usb-0000:00:02.1-1/input2
S: Sysfs=/class/input/input3
H: Handlers=event3 
B: EV=3
B: KEY=7ff0000 0 0 0 0 0 0 0 0 0
I've tried several settings to get this working. Running it as evdev in xorg.conf or kbd just mess it up, but symlinking it to a /dev/input/js2 and then opening up the permissions allow it to be curiously detected by zsnes which detects it as an gamepad with 11 buttons, altough js_demo (which is for controlling joystick input) says it is not a proper device. The cat /dev/input/event3 turns out pretty normal output, i'm wondering if there would be any other things to try for this or if I'd have to eventually get around to making my own module (not the greatest programming, never even played around with modules, but i'm guessing i'd eventually be able to work one out). Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saitek ST200 Joystick under Mandrake 10.1 conn-fused Mandriva 4 04-16-2005 12:35 PM
saitek p150 gamepad problems stateq2 Linux - Hardware 1 01-15-2005 01:20 AM
Saitek Flight Stick Lostman Linux - Newbie 3 11-17-2004 09:35 AM
saitek gm2 mouse and pad configure? zaphod111 Linux - Hardware 2 01-28-2004 11:51 PM
Saitek Cyborg 3d USB Joystick gbrethen Linux - Hardware 6 06-30-2003 03:19 AM


All times are GMT -5. The time now is 05:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration