PDA

View Full Version : Linux Compatibility: Razer Tarantula Gaming Keyboard


phoronix
04-13-2007, 10:18 AM
This is an entry for Phoronix LCH (http://www.phoronix.net/forums/showthread.php?p=6635#post6635). Feel free to comment on the Linux compatibility for the Razer Tarantula Gaming Keyboard in this thread.

Razer Tarantula Gaming Keyboard



Description: Razer Tarantula Professional Gaming Keyboard. Dual USB ports, built in USB hub
Hardware Notes:

lsusb -v
Bus 002 Device 010: ID 1532:0102
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1532
idProduct 0x0102
bcdDevice 21.00
iManufacturer 1 Razer
iProduct 2 Tarantula
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 59
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 54
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 50
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 10

Bus 002 Device 009: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed hub
bMaxPacketSize0 8
idVendor 0x05e3 Genesys Logic, Inc.
idProduct 0x0604 USB 1.1 Hub
bcdDevice 3.05
iManufacturer 0
iProduct 1 USB Hub
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 4
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 100 milli Ampere
DeviceRemovable 0xc0
PortPwrCtrlMask 0x96
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0103 power enable connect

Mark Knecht
04-21-2007, 01:42 PM
Does the Tarantula work at all in Linux? I found an article on Phoronix implying that it did but on my son's Gentoo system it's not doing anything. Here's the article:

http://www.phoronix.com/scan.php?page=article&item=608&num=3#

What I'm seeing right now is that the keyboard works in grub so I can choose Windows or Linux. It works fine in Windows with or without it's driver. In Linux it is recognized as a USB device but doesn't function as a keyboard.

cat /proc/bus/usb/devices
<SNIP>
T: Bus=02 Lev=02 Prnt=02 Port=03 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=1532 ProdID=0102 Rev=21.00
S: Manufacturer=Razer
S: Product=Razer Tarantula Keyboard
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=10ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=(none)
E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=10ms


Sector9 ~ # lsusb
Bus 002 Device 003: ID 1532:0101
Bus 002 Device 004: ID 1532:0102
Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Sector9 ~ #

IT would be nice to at least have basic functionality in Linux.

Maybe I have to somehow identify it by ID to Linux? Not sure.

Thanks in advance!

Michael
04-21-2007, 02:23 PM
What kernel is he using? It worked fine in Fedora 6.

Mark Knecht
04-21-2007, 06:06 PM
What kernel is he using? It worked fine in Fedora 6.

Hi Michael,

Sector9 linux # uname -a
Linux Sector9 2.6.17-gentoo-r4 #3 PREEMPT Thu Nov 23 03:58:05 PST 2006 i686 AMD Sempron(tm) Processor 3200+ AuthenticAMD GNU/Linux
Sector9 linux #


In the meantime I found out that a standard M$ USB Optical mouse isn't working either so I am trying to track down what kernel stuff is required to get it working.

I also edited /usr/share/misc/usb.ids by hand to have the devices be recognized at least:

Sector9 linux # lsusb
Bus 002 Device 015: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 003: ID 1532:0101 Razer Corp. Copperhead Laser Mouse
Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 002 Device 014: ID 1532:0102 Razer Corp. Tarantula Gaming Keyboard
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Sector9 linux #

As I say even the M$ mouse isn't working so there is a more basic problem for me to solve. Maybe some driver isn't loaded?

Thanks,
Mark