Hello,
I have encountered a problem with keyboard and mouse connected to usb (2.0?) ports. They worked fine, error occured after I installed gnome (later I removed it but problem remains; although not sure ghome was the reason). When I attach my usb camera to these usb ports, it works and Jetson identifies the camera in the ports - so, I guess there is some problem with some config files.
What I see via lsusb:
Bus 002 Device 001: ID xxxx:xxxx Linux Foundation 3.0 root hub
Bus 001 Device 008: ID c0f4:01b0 —> here is my keyboard attached
Bus 001 Device 003: ID xxxx:xxxx Terminus Technology Inc.
Bus 001 Device 002: ID xxxx:xxxx Realtek Semiconductor Corp.
Bus 001 Device 001: ID xxxx:xxxx Linux Foundation 2.0 root hub
What I see via usb-devices (no Driver - is this a problem??):
T: Bus=01 Lev=02 Prnt=03 Port=01 Cnt=01 Dev#= 8 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=c0f4 ProdID=01b0 Rev=01.10
S: Manufacturer=USB
S: Product=usB keYboaRd
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 0 Cls=03(HID ) Sub=01 Prot=01 Driver=(none)
What I see via dmesg:
[ 2401.483591] usb 1-3.1: config index 0 descriptor too short (expected 34, got 2)
[ 2401.490926] usb 1-3.1: invalid descriptor for config index 0: type = 0x2, length = 9
[ 2401.498687] usb 1-3.1: can’t read configurations, error -22
[ 2401.504358] usb 1-3-port1: unable to enumerate USB device
[ 2402.393500] usb 1-3.1: new low-speed USB device number 105 using tegra-xusb
[ 2402.415893] usb 1-3.1: config index 0 descriptor too short (expected 34, got 2)
[ 2402.423269] usb 1-3.1: invalid descriptor for config index 0: type = 0x2, length = 9
[ 2402.431051] usb 1-3.1: can’t read configurations, error -22
[ 2402.533461] usb 1-3.1: new low-speed USB device number 106 using tegra-xusb
[ 2402.555854] usb 1-3.1: config index 0 descriptor too short (expected 34, got 2)
[ 2402.563281] usb 1-3.1: invalid descriptor for config index 0: type = 0x2, length = 9
[ 2402.571043] usb 1-3.1: can’t read configurations, error -22
[ 2402.576704] usb 1-3-port1: attempt power cycle
[ 2403.197486] usb 1-3.1: new low-speed USB device number 107 using tegra-xusb
[ 2403.319470] usb 1-3.1: config index 0 descriptor too short (expected 34, got 2)
[ 2403.326819] usb 1-3.1: invalid descriptor for config index 0: type = 0x2, length = 9
[ 2403.334574] usb 1-3.1: can’t read configurations, error -22
[ 2403.437481] usb 1-3.1: new low-speed USB device number 108 using tegra-xusb
[ 2403.559420] usb 1-3.1: config index 0 descriptor too short (expected 34, got 2)
[ 2403.566772] usb 1-3.1: invalid descriptor for config index 0: type = 0x2, length = 9
[ 2403.574524] usb 1-3.1: can’t read configurations, error -22
etc. (it repeats for quite long)
I have added these blocks to via sudo gedit /etc/X11/xorg.conf:
Section “InputDevice”
Identifier “Keyboard0”
Driver “kbd”
Option “XkbRules” "xorg
Option “XkbModel” “pc105”
Option “XkbLayout” “us, ru”
Option “XkbOptions” “grp:caps_toggle,grp_led:caps”
EndSection
Section “InputDevice”
Identifier “USB Mouse”
Driver “mouse”
Option “Protocol” “IMPS/2”
Option “SendCoreEvents” “true”
Option “Device” “/dev/input/mice”
EndSection
Section “ServerLayout”
Identifier “Default Layout”
Screen 0 “Default Screen” 0 0
InputDevice “Keyboard0”
InputDevice “USB Mouse”
EndSection
I also commented these two line of code via sudo nano /etc/modprobe.d/blacklist.conf:
these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse —> commented
blacklist usbkbd —> commented
However, nothing helps.
Could any one recommend what else can I do (prefferably without reinstallation of the whole system)?
Anything esle should I check for the right connection of keyboard/mouse with usb ports (just a reminder that usb camera works being connected to the same usb ports)?