You are not logged in.
I have a USB keyboard that only recently started disconnecting and reconnecting randomly. I have the dmesg error showing what is going on: https://ptpb.pw/vzts
Once it starts it will keep repeating the same error over and over. I've changed USB ports and tried checking to see if its not plugged in properly and everything is fine, I've checked to see if it does it on other computers too.
Is this related to some new bug with the kernel?
Last edited by rg_arc (2015-09-07 22:44:50)
Offline
I've checked to see if it does it on other computers too.
Can you reproduce the issue with the same keyboard on a different computer? Can you try another keyboard on your computer to see if issue is reproduced?
Is this related to some new bug with the kernel?
Try out the LTS kernel.
Offline
That is what I meant by "I've checked to see if it does it on other computers too." I've plugged it into other computers and no errors.
Offline
Could it be a desktop environment as well? Which environment do you use?
Offline
I'm running i3 the tiling window manager.
Offline
Just to be more thorough here is the whole dmesg message: https://ptpb.pw/p55F
Offline
Is my desktop usb hub assuming my keyboard and mouse are on two usb ports at the same time? https://ptpb.pw/1Odd
I disconnected both and connected them in different ports and this is what dmesg shows me.
Offline
Have you tried the lts kernel just to factor out a kernel regression? What kernel version was the other computer running where the keyboard worked without disconnects? Which kernel are you on now on your pc?
Last edited by frank604 (2015-09-06 21:03:15)
Offline
I'm running 4.1.6-1-ARCH on both my laptop and my desktop. I'm not sure I want to switch kernels though, won't that cause some issues with other things?
Maybe the new stable kernel release will iron things out I hope.
Last edited by rg_arc (2015-09-06 21:08:58)
Offline
I'm not sure I want to switch kernels though, won't that cause some issues with other things?
There's only one way to find out...
You will still have the option to boot into the standard kernel if things go pear-shaped (they are co-installable)
Offline
rg_arc wrote:I'm not sure I want to switch kernels though, won't that cause some issues with other things?
There's only one way to find out...
You will still have the option to boot into the standard kernel if things go pear-shaped (they are co-installable)
Ok I can confirm I have the same issue on the LTS kernel too.
[ 420.948678] hub 2-1:1.0: port 6 disabled by hub (EMI?), re-enabling...
[ 420.948685] usb 2-1.6: USB disconnect, device number 5
[ 421.436468] usb 2-1.6: new low-speed USB device number 6 using ehci-pci
[ 421.516212] usb 2-1.6: device descriptor read/64, error -32
[ 421.885876] usb 2-1.6: new low-speed USB device number 7 using ehci-pci
[ 422.205723] usb 2-1.6: new low-speed USB device number 8 using ehci-pci
[ 422.324732] input: SEM USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/0003:1A2C:0E24.0006/input/input22
[ 422.324943] hid-generic 0003:1A2C:0E24.0006: input,hidraw1: USB HID v1.10 Keyboard [SEM USB Keyboard] on usb-0000:00:1d.0-1.6/input0
[ 422.328680] input: SEM USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1/0003:1A2C:0E24.0007/input/input23
[ 422.328951] hid-generic 0003:1A2C:0E24.0007: input,hidraw2: USB HID v1.10 Device [SEM USB Keyboard] on usb-0000:00:1d.0-1.6/input1
[ 683.603669] usb 2-1.6: USB disconnect, device number 8
[ 684.068562] usb 2-1.6: new low-speed USB device number 9 using ehci-pci
[ 684.568022] usb 2-1.6: device not accepting address 9, error -32
[ 684.827843] usb 2-1.6: new low-speed USB device number 11 using ehci-pci
[ 684.946552] input: SEM USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/0003:1A2C:0E24.0008/input/input24
[ 684.946853] hid-generic 0003:1A2C:0E24.0008: input,hidraw1: USB HID v1.10 Keyboard [SEM USB Keyboard] on usb-0000:00:1d.0-1.6/input0
[ 684.950467] input: SEM USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1/0003:1A2C:0E24.0009/input/input25
[ 684.950768] hid-generic 0003:1A2C:0E24.0009: input,hidraw2: USB HID v1.10 Device [SEM USB Keyboard] on usb-0000:00:1d.0-1.6/input1
Offline
When I unplug the keyboard and leave the wireless mouse in, I don't have any errors at all which suggest this is related to the keyboard only. The only thing that doesn't make sense is I have no errors whatsoever if I plug my mouse and keyboard into my laptop. So apparently it has something to do with the keyboard hooked into the desktop only.
Offline
If this is a hardware issue, how can I know for sure? Is there some way to troubleshoot whether or not this is hardware related or electrical related?
Offline
Does the problem occur in the live environment?
Offline
Does the problem occur in the live environment?
Yes it does actually.
Offline
Then it is not a hardware issue.
Offline
[ 420.948678] hub 2-1:1.0: port 6 disabled by hub (EMI?), re-enabling...
This could be a great lead into what is going on.
The thread here :
/*
* EM interference sometimes causes bad shielded USB devices to
* be shutdown by the hub, this hack enables them again.
* Works at least with mouse driver.
*/
Offline
I think I may have solved this issue, I can't be too sure right now but I believe I've at least mitigated the issue. There is a refridgerator nearby that keeps turning on and off and I assume it was causing some issues with the other appliances. Also I can't really trust that the refridgerator is operating properly anyways. So I turned it off and also moved my keyboard wire far away from anything I could think of that could cause EMI. So far I don't have any errors.
Offline