Gentoo Archives: gentoo-user

From: Mark Shields <laebshade@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Keyboard works in Grub but not once Gentoo is booted
Date: Sat, 21 Apr 2007 18:46:19
Message-Id: 642958cc0704211140l6ac1c00ege8f4bfcf1c892893@mail.gmail.com
In Reply to: [gentoo-user] Keyboard works in Grub but not once Gentoo is booted by Mark Knecht
1 On 4/21/07, Mark Knecht <markknecht@×××××.com> wrote:
2 >
3 > My son got a new, fancy Razer gaming keyboard for his birthday today.
4 > The keyboard works in grub so I can choose Windows or Linux. It works
5 > fine in Windows but once Gentoo is booted it does nothing.
6 >
7 > I see that the device is recognized in under /proc and the device is
8 > seen in lsusb but the system doesn't seem to understand that 1532 is
9 > Razer and that 0102 is their Tarantula keyboard. This is also true for
10 > their Copperhead mouse with is 1532:0101.
11 >
12 > Is there a way for me to indicate to the system that these ID's should
13 > use regular USB mouse and keyboard drivers?
14 >
15 > Thanks,
16 > Mark
17 >
18 > cat /proc/bus/usb/devices
19 > <SNIP>
20 > T: Bus=02 Lev=02 Prnt=02 Port=03 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
21 > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
22 > P: Vendor=1532 ProdID=0102 Rev=21.00
23 > S: Manufacturer=Razer
24 > S: Product=Razer Tarantula Keyboard
25 > C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
26 > I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=(none)
27 > E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=10ms
28 > I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=(none)
29 > E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=10ms
30 >
31 >
32 > Sector9 ~ # lsusb
33 > Bus 002 Device 003: ID 1532:0101
34 > Bus 002 Device 004: ID 1532:0102
35 > Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
36 > Bus 002 Device 001: ID 0000:0000
37 > Bus 001 Device 001: ID 0000:0000
38 > Sector9 ~ #
39 >
40 > cat /proc/bus/usb/devices
41 > <SNIP>
42 > T: Bus=02 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
43 > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
44 > P: Vendor=1532 ProdID=0101 Rev=21.00
45 > S: Manufacturer=Razer
46 > S: Product=Razer Copperhead Laser Mouse
47 > C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
48 > I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=02 Driver=(none)
49 > E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
50 > I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=(none)
51 > E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
52 >
53 > Maybe there is a page around somewhere about how to deal with new
54 > USB device IDS under Gentoo? Using slocate I found this file:
55 >
56 > /usr/share/misc/usb.ids
57 >
58 > There is no entry for Razer and no use of the Vendor ID 1532:
59 >
60 > <SNIP>
61 > 1520 Bitwire Corp.
62 > 152e LG (HLDS)
63 > e001 GSA-5120D DVD-RW
64 > 1546 U-Blox AG
65 > 1554 Prolink Microsystems Corp.
66 > <SNIP>
67 >
68 > Looking at the Microsoft entries it would appear that I could edit
69 > this file and probably get lsusb to recognize the device by name but
70 > what makes it link to the right mouse or keyboard driver?
71 >
72 > <SNIP>
73 > 045e Microsoft Corp.
74 > 0007 SideWinder Game Pad
75 > 0008 SideWinder Precision Pro
76 > 0009 IntelliMouse
77 > <SNIP>
78 >
79 > Thanks in advance,
80 > Mark
81 > --
82 > gentoo-user@g.o mailing list
83 >
84 >
85
86 Have you installed hotplug? iirc, it's still required to load up the likes
87 of USB peripherals you state.
88
89 # esearch ^hotplug$
90 * sys-apps/hotplug
91 Available versions: 20030805-r2 20030805-r3 20040105 20040401
92 ~20040920 20040923 20040923-r1 20040923-r2
93 Homepage: http://linux-hotplug.sourceforge.net
94 Description: USB and PCI hotplug scripts
95
96 --
97 - Mark Shields