Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange HID USB problem, 3.5.4-gentoo, x86_64 [SOLVED]
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
splurben
Apprentice
Apprentice


Joined: 03 Feb 2004
Posts: 197
Location: Augusta, Southwest Western Australia

PostPosted: Sat Sep 29, 2012 8:58 am    Post subject: Strange HID USB problem, 3.5.4-gentoo, x86_64 [SOLVED] Reply with quote

This has been bugging me for weeks.

I have a system running Gentoo x86_64 on kernel 3.5.4-gentoo.

Diagnostic info:

The system doesn’t correctly identify or utilise USB HID devices.

When I use the latest Gentoo LiveDVD (livedvd-amd64-multilib-2012.1.iso) on the same system all the USB HID works perfectly.

Specifically:
  • My Gentoo setup doesn’t work with a Microsoft™ Mouse, but does with a Logitech™ mouse attached through a KVM switch.
  • LiveDVD uses both mice fine, connected either way.
  • My system doesn’t work correctly with my MIONIX™ Mechanical keyboard (Canadian Layout{!?}), function and special keys aren’t recognised.
  • Gentoo LiveDVD works perfectly with MIONIX™ keyboard.

I have captured some more diagnostic info from DMESG and LSUSB:

Any help on this would be greatly appreciated, I’m happy to post more info — whatever is needed to figure this crap out.

Kirk
_________________
--=>Like... Goodness had nothing to do with it.<=--


Last edited by splurben on Wed Oct 03, 2012 8:47 am; edited 1 time in total
Back to top
View user's profile Send private message
bklive
n00b
n00b


Joined: 31 Dec 2011
Posts: 3
Location: Georgia

PostPosted: Mon Oct 01, 2012 12:29 pm    Post subject: Reply with quote

a lot of your USB options are set as modules. how are you handling loading those modules?

I had this same problem with recognizing USB drives plugged in, but it would recognize the keyboard/mouse. I just made sure all the USB modules were built in and it worked.
Back to top
View user's profile Send private message
splurben
Apprentice
Apprentice


Joined: 03 Feb 2004
Posts: 197
Location: Augusta, Southwest Western Australia

PostPosted: Wed Oct 03, 2012 4:20 am    Post subject: trying this now -> build usb into kernel instead of modul Reply with quote

bklive wrote:
a lot of your USB options are set as modules. how are you handling loading those modules?

I had this same problem with recognizing USB drives plugged in, but it would recognize the keyboard/mouse. I just made sure all the USB modules were built in and it worked.


I'll try this now, but doesn't the LiveDVD load everything from modules? I hope it works.
_________________
--=>Like... Goodness had nothing to do with it.<=--
Back to top
View user's profile Send private message
splurben
Apprentice
Apprentice


Joined: 03 Feb 2004
Posts: 197
Location: Augusta, Southwest Western Australia

PostPosted: Wed Oct 03, 2012 8:46 am    Post subject: nope Reply with quote

changed USB device drivers to be built into the kernel

no change in HID USB behaviour

discovered something new in the DMESG output today, it looks like this message "skipped 1 descriptor after interface" may be indicative, the Miscrosoft Comfort Mouse 4500 is not working at all , unless I boot from the LiveDVD:
Code:
[  348.157796] usb 1-1.6.4: new low-speed USB device number 10 using ehci_hcd
[  348.243516] usb 1-1.6.4: skipped 1 descriptor after interface
[  348.244014] usb 1-1.6.4: default language 0x0409
[  348.246637] usb 1-1.6.4: udev 10, busnum 1, minor = 9
[  348.246640] usb 1-1.6.4: New USB device found, idVendor=045e, idProduct=076c
[  348.246641] usb 1-1.6.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  348.246643] usb 1-1.6.4: Product: Microsoft® Comfort Mouse 4500
[  348.246644] usb 1-1.6.4: Manufacturer: Microsoft
[  348.246724] usb 1-1.6.4: usb_probe_device
[  348.246727] usb 1-1.6.4: configuration #1 chosen from 1 choice
[  348.247272] usb 1-1.6.4: adding 1-1.6.4:1.0 (config #1, interface 0)
[  348.247338] usbhid 1-1.6.4:1.0: usb_probe_interface
[  348.247340] usbhid 1-1.6.4:1.0: usb_probe_interface - got id
[  348.257171] hub 1-1.6:1.0: state 7 ports 4 chg 0000 evt 0010

_________________
--=>Like... Goodness had nothing to do with it.<=--
Back to top
View user's profile Send private message
splurben
Apprentice
Apprentice


Joined: 03 Feb 2004
Posts: 197
Location: Augusta, Southwest Western Australia

PostPosted: Wed Oct 03, 2012 9:04 am    Post subject: <Solution> and Who Knows Why? Reply with quote

So, I looked in my /etc/portage/make.conf file and found that I had no section for "INPUT_DEVICES" which I changed to:
Code:
INPUT_DEVICES="evdev"

Also, I grepped my kernel .config file for HID and discovered that there's a whole section in there for HID that's not related to USB and a number of the options were disabled. VERY STRANGE as I had copied this kernel config over from a similar system that didn't have this USB problem AND and I've gone back and looked and these things aren't disabled in there.

I enabled the stuff in Device Drivers -> HID that seemed relevant, re-compiled the kernel, emerged @x11-module-rebuild, emerged with --depclean option, which removed a number of xorg-drivers that had installed because nothing was specified in make.conf, installed the new kernel and VIOLÁ — everything's working!

I'm sorry to say that I didn't really solve this in a "staged-isolation diagnostic" way. So I don't know if everything I did is necessary to fix this kind of thing.

Over and Out
_________________
--=>Like... Goodness had nothing to do with it.<=--
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