Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keyboard not recognized at startup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
earendilion
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2007
Posts: 115
Location: Meudon (92), France

PostPosted: Wed Feb 18, 2009 9:46 am    Post subject: Keyboard not recognized at startup Reply with quote

Hi all !

I bought a shiny new geeky keyboard (Enermax Aurora Premium) yesterday, and I cannot get it to work on my machine oO
It works until grub is loaded (I can select my kernel in the grub menu).

The system starts but hangs at :

Code:
Wiping /tmp directory ...


If I start with a framebuffer, I cannot switch to verbose (so I think it doesn't recognize the keyboard at the really start of the kernel).
I use a 2.6.27 gentoo-sources kernel
I know that the keyboard works well with Linux, because it worked with an Ubuntu Livecd (kernel 2.6.22).

I do not find where the problem come from...

Thanks for your help
Back to top
View user's profile Send private message
earendilion
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2007
Posts: 115
Location: Meudon (92), France

PostPosted: Thu Feb 19, 2009 10:57 am    Post subject: Reply with quote

I've some more information about this problem.

I launched a livecd and tried to get some informations about my keyboard (as it works when using a livecd).
Here is the output of lsusb :

Code:
Bus 004 Device 006: ID 1058:0702 Western Digital Technologies, Inc.
Bus 004 Device 005: ID 0d8c:0105 C-Media Electronics, Inc.
Bus 004 Device 004: ID 0566:3108 Monterey International Corp.
Bus 004 Device 003: ID 0566:3021 Monterey International Corp.
Bus 004 Device 001: ID 0000:0000 
Bus 003 Device 001: ID 0000:0000 
Bus 002 Device 006: ID 046d:c061 Logitech, Inc.
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000



And a dmesg output (init script) :

Code:
[   55.560518] usb 4-4.3: new low speed USB device using ehci_hcd and address 4
[   55.656154] usb 4-4.3: configuration #1 chosen from 1 choice
[   55.659574] input: HID 0566:3108 as /class/input/input6
[   55.659605] input: USB HID v1.10 Keyboard [HID 0566:3108] on usb-0000:00:10.3-4.3
[   55.663519] input: HID 0566:3108 as /class/input/input7
[   55.663548] input: USB HID v1.10 Device [HID 0566:3108] on usb-0000:00:10.3-4.3
[   55.864153] usb 4-4.4: new full speed USB device using ehci_hcd and address 5
[   55.957162] usb 4-4.4: configuration #1 chosen from 1 choice
[   55.957991] input: C-Media Electronics Inc. USB Multimedia Audio Device as /class/input/input8
[   55.958057] input: USB HID v1.00 Device [C-Media Electronics Inc. USB Multimedia Audio Device] on usb-0000:00:10.3-4.4


So, my keyboard has two audio port, but I didn't think there was an audio card inside (funny ;).
So I recompiled my kernel to get the -Media audio device driver, and the device appeared in the kernel loading log. But it made nothing.

As the startup script hangs at "Wiping /tmp..." I put the option to wipe tmp directory to "no".
Nothing.

Looking at the startup script, it seems the problem is with udev, or udev-postmount (which is launched just after tmp directory is wiped)

Any idea with this new elements ?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Feb 19, 2009 1:18 pm    Post subject: Reply with quote

might not have a kernel with hid support ?
Back to top
View user's profile Send private message
earendilion
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2007
Posts: 115
Location: Meudon (92), France

PostPosted: Thu Feb 19, 2009 1:36 pm    Post subject: Reply with quote

It might be that.
I found something related : https://forums.gentoo.org/viewtopic-t-498417.html

I'll check if my kernel has HID support tonight...
Back to top
View user's profile Send private message
earendilion
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2007
Posts: 115
Location: Meudon (92), France

PostPosted: Sat Mar 07, 2009 3:31 pm    Post subject: Reply with quote

Hi,

I made some tests since my last message, as my keyboard still wasn't recognized.

I tried to get some logs from udev.
I started with a recognized keyboard. Tried to unplug this keyboard, plug the keyboard that isn't recognized, unplug it and see what happened in the udev logs.

Here is what I got : http://pastebin.com/m24de1018

Could someone interpret these logs ? I saw some lines like :

Code:
Mar  7 10:12:18 gondor udevd-event[5316]: match_rule: '/lib/udev/devices/hidraw0' does not exist


Does this mean something ?

Thank you for your help :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum