1 |
On 4/21/07, Mark Shields <laebshade@×××××.com> wrote: |
2 |
> On 4/21/07, Mark Knecht <markknecht@×××××.com> wrote: |
3 |
> > |
4 |
> > On 4/21/07, Mark Shields <laebshade@×××××.com> wrote: |
5 |
> > > On 4/21/07, Mark Knecht <markknecht@×××××.com> wrote: |
6 |
> > > > |
7 |
> > > > My son got a new, fancy Razer gaming keyboard for his birthday today. |
8 |
> > > > The keyboard works in grub so I can choose Windows or Linux. It works |
9 |
> > > > fine in Windows but once Gentoo is booted it does nothing. |
10 |
> > > > |
11 |
> > <SNIP> |
12 |
> > > |
13 |
> > > |
14 |
> > > Have you installed hotplug? iirc, it's still required to load up the |
15 |
> likes |
16 |
> > > of USB peripherals you state. |
17 |
> > > |
18 |
> > > # esearch ^hotplug$ |
19 |
> > > * sys-apps/hotplug |
20 |
> > > Available versions: 20030805-r2 20030805-r3 20040105 20040401 |
21 |
> > > ~20040920 20040923 20040923-r1 20040923-r2 |
22 |
> > > Homepage: |
23 |
> > > http://linux-hotplug.sourceforge.net |
24 |
> > > Description: USB and PCI hotplug scripts |
25 |
> > > |
26 |
> > > -- |
27 |
> > > - Mark Shields |
28 |
> > |
29 |
> > Humm....OK - I thought that both hotplug and coldplug were depreciated |
30 |
> > by udev. I see that I can emerge hotplug but it tells me to use |
31 |
> > coldplug. When I try to emerge coldplug it's blocked by udev. |
32 |
> > |
33 |
> > I emerged hotplug and started it but it still doesn't do anything with |
34 |
> > lsusb and the keyboard itself doesn't do anything on the system yet. |
35 |
> > |
36 |
> > Sector9 ~ # lsusb |
37 |
> > Bus 002 Device 003: ID 1532:0101 |
38 |
> > Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub |
39 |
> > Bus 002 Device 014: ID 1532:0102 |
40 |
> > Bus 002 Device 001: ID 0000:0000 |
41 |
> > Bus 001 Device 001: ID 0000:0000 |
42 |
> > Sector9 ~ # /etc/init.d/hotplug start |
43 |
> > * Caching service dependencies ... |
44 |
> > [ ok ] |
45 |
> > Sector9 ~ # lsusb |
46 |
> > Bus 002 Device 003: ID 1532:0101 |
47 |
> > Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub |
48 |
> > Bus 002 Device 014: ID 1532:0102 |
49 |
> > Bus 002 Device 001: ID 0000:0000 |
50 |
> > Bus 001 Device 001: ID 0000:0000 |
51 |
> > Sector9 ~ # |
52 |
> > |
53 |
> > I really suspect the issue here is that the system - maybe udev? - |
54 |
> > doesn't know these devices are keyboard and mouse. |
55 |
> > |
56 |
> > - Mark |
57 |
> > -- |
58 |
> > gentoo-user@g.o mailing list |
59 |
> > |
60 |
> > |
61 |
> |
62 |
> It's been a while since I've used anything that required any sort of |
63 |
> hotplugging, so it was just a suggestion. Looking again now, have you |
64 |
> enabled CONFIG_USB_HID (USB Human Interface Device (full HID) support)? |
65 |
> The help for that states: |
66 |
> |
67 |
> CONFIG_USB_HID: |
68 |
> |
69 |
> |
70 |
> |
71 |
> Say Y here if you want full HID support to connect keyboards, |
72 |
> mice, joysticks, graphic tablets, or any other HID based devices |
73 |
> to your computer via USB. You also need to select HID Input layer |
74 |
> support (below) if you want to use keyboards, mice, joysticks and |
75 |
> the like ... as well as Uninterruptible Power Supply (UPS) and |
76 |
> monitor control devices. |
77 |
> |
78 |
> You can't use this driver and the HIDBP (Boot Protocol) keyboard |
79 |
> and mouse drivers at the same time. More information is available: |
80 |
> <file:Documentation/input/input.txt>. |
81 |
> |
82 |
> -- |
83 |
> - Mark Shields |
84 |
|
85 |
Yes, it's set. |
86 |
|
87 |
Sector9 ~ # cat /usr/src/linux/.config | grep CONFIG_USB_HID |
88 |
CONFIG_USB_HID=y |
89 |
CONFIG_USB_HIDINPUT=y |
90 |
# CONFIG_USB_HIDINPUT_POWERBOOK is not set |
91 |
# CONFIG_USB_HIDDEV is not set |
92 |
Sector9 ~ # |
93 |
|
94 |
Now, I just grabbed a Microsoft USB mouse and it's not working either |
95 |
so I think you're onto the right area. I must not have something |
96 |
turned on that is required for any of these USB input devices to work. |
97 |
|
98 |
Of course, by 'not working' I'm saying X isn't responding. Maybe the |
99 |
mouse is working and X isn't configured correctly? xorg.conf has this: |
100 |
|
101 |
Section "InputDevice" |
102 |
|
103 |
# Identifier and driver |
104 |
|
105 |
Identifier "Mouse1" |
106 |
Driver "mouse" |
107 |
Option "Protocol" "Auto" # Auto detect |
108 |
Option "Device" "/dev/input/mice" |
109 |
|
110 |
As I say with the M$ mouse plugged in it's recognized but it doesn't |
111 |
cause X to do anything: |
112 |
|
113 |
Sector9 linux # lsusb |
114 |
Bus 002 Device 015: ID 045e:0039 Microsoft Corp. IntelliMouse Optical |
115 |
Bus 002 Device 003: ID 1532:0101 |
116 |
Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub |
117 |
Bus 002 Device 014: ID 1532:0102 |
118 |
Bus 002 Device 001: ID 0000:0000 |
119 |
Bus 001 Device 001: ID 0000:0000 |
120 |
|
121 |
|
122 |
Is there a way to cat the mouse output to a terminal so that when I |
123 |
wiggle the mouse I see some stuff in the terminal? |
124 |
|
125 |
Thanks, |
126 |
Mark |
127 |
-- |
128 |
gentoo-user@g.o mailing list |