* [gentoo-user] Keyboard works in Grub but not once Gentoo is booted @ 2007-04-21 17:53 Mark Knecht 2007-04-21 18:40 ` Mark Shields 0 siblings, 1 reply; 4+ messages in thread From: Mark Knecht @ 2007-04-21 17:53 UTC (permalink / raw To: gentoo-user My son got a new, fancy Razer gaming keyboard for his birthday today. The keyboard works in grub so I can choose Windows or Linux. It works fine in Windows but once Gentoo is booted it does nothing. I see that the device is recognized in under /proc and the device is seen in lsusb but the system doesn't seem to understand that 1532 is Razer and that 0102 is their Tarantula keyboard. This is also true for their Copperhead mouse with is 1532:0101. Is there a way for me to indicate to the system that these ID's should use regular USB mouse and keyboard drivers? Thanks, Mark 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 ~ # cat /proc/bus/usb/devices <SNIP> T: Bus=02 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=1532 ProdID=0101 Rev=21.00 S: Manufacturer=Razer S: Product=Razer Copperhead Laser Mouse C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=02 Driver=(none) E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=(none) E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=1ms Maybe there is a page around somewhere about how to deal with new USB device IDS under Gentoo? Using slocate I found this file: /usr/share/misc/usb.ids There is no entry for Razer and no use of the Vendor ID 1532: <SNIP> 1520 Bitwire Corp. 152e LG (HLDS) e001 GSA-5120D DVD-RW 1546 U-Blox AG 1554 Prolink Microsystems Corp. <SNIP> Looking at the Microsoft entries it would appear that I could edit this file and probably get lsusb to recognize the device by name but what makes it link to the right mouse or keyboard driver? <SNIP> 045e Microsoft Corp. 0007 SideWinder Game Pad 0008 SideWinder Precision Pro 0009 IntelliMouse <SNIP> Thanks in advance, Mark -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Keyboard works in Grub but not once Gentoo is booted 2007-04-21 17:53 [gentoo-user] Keyboard works in Grub but not once Gentoo is booted Mark Knecht @ 2007-04-21 18:40 ` Mark Shields [not found] ` <5bdc1c8b0704211207s7b131de4m5b99e2f3c2049f5f@mail.gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Mark Shields @ 2007-04-21 18:40 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 3197 bytes --] On 4/21/07, Mark Knecht <markknecht@gmail.com> wrote: > > My son got a new, fancy Razer gaming keyboard for his birthday today. > The keyboard works in grub so I can choose Windows or Linux. It works > fine in Windows but once Gentoo is booted it does nothing. > > I see that the device is recognized in under /proc and the device is > seen in lsusb but the system doesn't seem to understand that 1532 is > Razer and that 0102 is their Tarantula keyboard. This is also true for > their Copperhead mouse with is 1532:0101. > > Is there a way for me to indicate to the system that these ID's should > use regular USB mouse and keyboard drivers? > > Thanks, > Mark > > 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 ~ # > > cat /proc/bus/usb/devices > <SNIP> > T: Bus=02 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=1532 ProdID=0101 Rev=21.00 > S: Manufacturer=Razer > S: Product=Razer Copperhead Laser Mouse > C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=02 Driver=(none) > E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms > I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=(none) > E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=1ms > > Maybe there is a page around somewhere about how to deal with new > USB device IDS under Gentoo? Using slocate I found this file: > > /usr/share/misc/usb.ids > > There is no entry for Razer and no use of the Vendor ID 1532: > > <SNIP> > 1520 Bitwire Corp. > 152e LG (HLDS) > e001 GSA-5120D DVD-RW > 1546 U-Blox AG > 1554 Prolink Microsystems Corp. > <SNIP> > > Looking at the Microsoft entries it would appear that I could edit > this file and probably get lsusb to recognize the device by name but > what makes it link to the right mouse or keyboard driver? > > <SNIP> > 045e Microsoft Corp. > 0007 SideWinder Game Pad > 0008 SideWinder Precision Pro > 0009 IntelliMouse > <SNIP> > > Thanks in advance, > Mark > -- > gentoo-user@gentoo.org mailing list > > Have you installed hotplug? iirc, it's still required to load up the likes of USB peripherals you state. # esearch ^hotplug$ * sys-apps/hotplug Available versions: 20030805-r2 20030805-r3 20040105 20040401 ~20040920 20040923 20040923-r1 20040923-r2 Homepage: http://linux-hotplug.sourceforge.net Description: USB and PCI hotplug scripts -- - Mark Shields [-- Attachment #2: Type: text/html, Size: 4353 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <5bdc1c8b0704211207s7b131de4m5b99e2f3c2049f5f@mail.gmail.com>]
[parent not found: <642958cc0704211215n3668c257g1f326382903cf2f4@mail.gmail.com>]
* Re: [gentoo-user] Keyboard works in Grub but not once Gentoo is booted [not found] ` <642958cc0704211215n3668c257g1f326382903cf2f4@mail.gmail.com> @ 2007-04-21 22:07 ` Mark Knecht 2007-04-21 22:12 ` [gentoo-user] [SOLVED] " Mark Knecht 0 siblings, 1 reply; 4+ messages in thread From: Mark Knecht @ 2007-04-21 22:07 UTC (permalink / raw To: gentoo-user On 4/21/07, Mark Shields <laebshade@gmail.com> wrote: > On 4/21/07, Mark Knecht <markknecht@gmail.com> wrote: > > > > On 4/21/07, Mark Shields <laebshade@gmail.com> wrote: > > > On 4/21/07, Mark Knecht <markknecht@gmail.com> wrote: > > > > > > > > My son got a new, fancy Razer gaming keyboard for his birthday today. > > > > The keyboard works in grub so I can choose Windows or Linux. It works > > > > fine in Windows but once Gentoo is booted it does nothing. > > > > > > <SNIP> > > > > > > > > > Have you installed hotplug? iirc, it's still required to load up the > likes > > > of USB peripherals you state. > > > > > > # esearch ^hotplug$ > > > * sys-apps/hotplug > > > Available versions: 20030805-r2 20030805-r3 20040105 20040401 > > > ~20040920 20040923 20040923-r1 20040923-r2 > > > Homepage: > > > http://linux-hotplug.sourceforge.net > > > Description: USB and PCI hotplug scripts > > > > > > -- > > > - Mark Shields > > > > Humm....OK - I thought that both hotplug and coldplug were depreciated > > by udev. I see that I can emerge hotplug but it tells me to use > > coldplug. When I try to emerge coldplug it's blocked by udev. > > > > I emerged hotplug and started it but it still doesn't do anything with > > lsusb and the keyboard itself doesn't do anything on the system yet. > > > > Sector9 ~ # lsusb > > Bus 002 Device 003: ID 1532:0101 > > Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub > > Bus 002 Device 014: ID 1532:0102 > > Bus 002 Device 001: ID 0000:0000 > > Bus 001 Device 001: ID 0000:0000 > > Sector9 ~ # /etc/init.d/hotplug start > > * Caching service dependencies ... > > [ ok ] > > Sector9 ~ # lsusb > > Bus 002 Device 003: ID 1532:0101 > > Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub > > Bus 002 Device 014: ID 1532:0102 > > Bus 002 Device 001: ID 0000:0000 > > Bus 001 Device 001: ID 0000:0000 > > Sector9 ~ # > > > > I really suspect the issue here is that the system - maybe udev? - > > doesn't know these devices are keyboard and mouse. > > > > - Mark > > -- > > gentoo-user@gentoo.org mailing list > > > > > > It's been a while since I've used anything that required any sort of > hotplugging, so it was just a suggestion. Looking again now, have you > enabled CONFIG_USB_HID (USB Human Interface Device (full HID) support)? > The help for that states: > > CONFIG_USB_HID: > > > > Say Y here if you want full HID support to connect keyboards, > mice, joysticks, graphic tablets, or any other HID based devices > to your computer via USB. You also need to select HID Input layer > support (below) if you want to use keyboards, mice, joysticks and > the like ... as well as Uninterruptible Power Supply (UPS) and > monitor control devices. > > You can't use this driver and the HIDBP (Boot Protocol) keyboard > and mouse drivers at the same time. More information is available: > <file:Documentation/input/input.txt>. > > -- > - Mark Shields Yes, it's set. Sector9 ~ # cat /usr/src/linux/.config | grep CONFIG_USB_HID CONFIG_USB_HID=y CONFIG_USB_HIDINPUT=y # CONFIG_USB_HIDINPUT_POWERBOOK is not set # CONFIG_USB_HIDDEV is not set Sector9 ~ # Now, I just grabbed a Microsoft USB mouse and it's not working either so I think you're onto the right area. I must not have something turned on that is required for any of these USB input devices to work. Of course, by 'not working' I'm saying X isn't responding. Maybe the mouse is working and X isn't configured correctly? xorg.conf has this: Section "InputDevice" # Identifier and driver Identifier "Mouse1" Driver "mouse" Option "Protocol" "Auto" # Auto detect Option "Device" "/dev/input/mice" As I say with the M$ mouse plugged in it's recognized but it doesn't cause X to do anything: Sector9 linux # lsusb Bus 002 Device 015: ID 045e:0039 Microsoft Corp. IntelliMouse Optical Bus 002 Device 003: ID 1532:0101 Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub Bus 002 Device 014: ID 1532:0102 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Is there a way to cat the mouse output to a terminal so that when I wiggle the mouse I see some stuff in the terminal? Thanks, Mark -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] [SOLVED] Keyboard works in Grub but not once Gentoo is booted 2007-04-21 22:07 ` Mark Knecht @ 2007-04-21 22:12 ` Mark Knecht 0 siblings, 0 replies; 4+ messages in thread From: Mark Knecht @ 2007-04-21 22:12 UTC (permalink / raw To: gentoo-user Rebuilt the kernel with a few more options and rebooted. It's working now. No way to be exactly sure what got it going at this point. Not sure I care. It works! Thanks for the help. Over and out, Mark -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-21 22:19 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-04-21 17:53 [gentoo-user] Keyboard works in Grub but not once Gentoo is booted Mark Knecht 2007-04-21 18:40 ` Mark Shields [not found] ` <5bdc1c8b0704211207s7b131de4m5b99e2f3c2049f5f@mail.gmail.com> [not found] ` <642958cc0704211215n3668c257g1f326382903cf2f4@mail.gmail.com> 2007-04-21 22:07 ` Mark Knecht 2007-04-21 22:12 ` [gentoo-user] [SOLVED] " Mark Knecht
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox