Skip to contentSkip to conversation

Mouse and keyboard freeze on Ivy Bridge platform

DISCUSSION Alan Stern 6 participants 7 messages Oct 4, 2012 – Oct 17, 2012 3 messages not in the archive HID

lore
Share & tools
lore

Alan Stern

author
#2 lore raw
In reply to a message not in the archive
Quoted 13 lines · Sébastien Dinot

Hi,

Quoted 1 line · Alan Stern

Please build a kernel with CONFIG_USB_DEBUG enabled.

Done (3.6.0+ kernel)

Quoted 3 lines

When a hang occurs, get a list of hang tasks (Alt-SysRq-w probably won't work, but "echo w >/proc/sysrq-trigger" from a network login should). Then send the dmesg output

The mouse and the keyboard froze four times tonight in half an hour :

Quoted 7 lines

- at 20:42:05
- at 20:53:44
- at 20:58:21
- at 21:15:19

But the SysRq command (executed through a remote SSH connection) displayed nothing. :(

No tasks were hung. That's okay.

Quoted 1 line

In attachment, you will find the kern.log file.

The log file shows lots and lots of low-level communication errors. They could be caused by bad cabling or by bad USB hardware in your computer. It's unlikely that they were caused by the mouse or keyboard, because the log shows errors for both of them starting at exactly the same times.

You could try getting a USB-2 hub and attaching your mouse and keyboard through the hub. That might help ... or it might not.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

Bug#689368: Mouse and keyboard freeze on Ivy Bridge platform

Quoted 5 lines · Alan Stern

The log file shows lots and lots of low-level communication errors. They could be caused by bad cabling or by bad USB hardware in your computer. It's unlikely that they were caused by the mouse or keyboard, because the log shows errors for both of them starting at exactly the same times.

In my humble opinion, this issue is not caused by a bad USB hardware because I am encountering it with two different motherboards (MSI Z77A-G43 and ASUS P8Z77-V LX), both with an uptodate BIOS.

May be it is caused by a bad cabling but my mouse and my keyboard worked fine with my previous PC. They are connected to USB2 ports in both cases. But to clear up this point, I will try new mouse and keyboard.

A last question: if it is a cable failure, why does it disappear temporarily when I unload then reload the module? I do not have deep experience and knowledge of hardware, may be there is a rational explanation to it.

Quoted 2 lines

You could try getting a USB-2 hub and attaching your mouse and keyboard through the hub. That might help ... or it might not.

Sorry, I do not understand the aim of this operation. Could you explain me it?

Thanks for your help,

Sébastien

Signature · 3 lines
Sébastien Dinot, [email protected]
http://sebastien.dinot.free.fr/
Ne goûtez pas au logiciel libre, vous ne pourriez plus vous en passer !
#4 lore raw

Bug#689368: Mouse and keyboard freeze on Ivy Bridge platform

Quoted 20 lines · Sébastien Dinot
Quoted 5 lines · Alan Stern

The log file shows lots and lots of low-level communication errors. They could be caused by bad cabling or by bad USB hardware in your computer. It's unlikely that they were caused by the mouse or keyboard, because the log shows errors for both of them starting at exactly the same times.

In my humble opinion, this issue is not caused by a bad USB hardware because I am encountering it with two different motherboards (MSI Z77A-G43 and ASUS P8Z77-V LX), both with an uptodate BIOS.

May be it is caused by a bad cabling but my mouse and my keyboard worked fine with my previous PC. They are connected to USB2 ports in both cases. But to clear up this point, I will try new mouse and keyboard.

A last question: if it is a cable failure, why does it disappear temporarily when I unload then reload the module? I do not have deep experience and knowledge of hardware, may be there is a rational explanation to it.

Quoted 5 lines
Quoted 2 lines

You could try getting a USB-2 hub and attaching your mouse and keyboard through the hub. That might help ... or it might not.

Sorry, I do not understand the aim of this operation. Could you explain me it?

Sometimes USB 2.0 hubs can handle more electrical noise from the host controller, especially if they are externally powered by a wall-wort. So introducing a USB 2.0 hub may fix the transfer errors caused by the host.

BTW, do these Ivy Bridge systems have any (blue) USB 3.0 ports? If so, does your mouse and keyboard work under those ports?

Sarah Sharp

Signature · 3 lines
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20121004225921.GA25847@xanatos
#5 lore raw
In reply to Sébastien Dinot
Quoted 10 lines · Sébastien Dinot
Quoted 5 lines · Alan Stern

The log file shows lots and lots of low-level communication errors. They could be caused by bad cabling or by bad USB hardware in your computer. It's unlikely that they were caused by the mouse or keyboard, because the log shows errors for both of them starting at exactly the same times.

In my humble opinion, this issue is not caused by a bad USB hardware because I am encountering it with two different motherboards (MSI Z77A-G43 and ASUS P8Z77-V LX), both with an uptodate BIOS.

Maybe they have something in common. I don't know. All I can do is explain to you what your kernel log indicates -- and it strongly indicates a hardware error. Didn't you notice all those "detected XactErr" lines in the log? There were more than 70000 of them!

Quoted 8 lines

May be it is caused by a bad cabling but my mouse and my keyboard worked fine with my previous PC. They are connected to USB2 ports in both cases. But to clear up this point, I will try new mouse and keyboard.

A last question: if it is a cable failure, why does it disappear temporarily when I unload then reload the module? I do not have deep experience and knowledge of hardware, may be there is a rational explanation to it.

That's a good point, and a cable failure indeed seems less likely than some of the other possibilities (such as a failure of the internal "rate-matching" hub).

One possible explanation is that an occasional noisy signal (caused by a slightly faulty cable) triggers a bug in the internal hub, and that bug causes all communication to fail until the hub is reset when you reload the module.

Quoted 5 lines
Quoted 2 lines

You could try getting a USB-2 hub and attaching your mouse and keyboard through the hub. That might help ... or it might not.

Sorry, I do not understand the aim of this operation. Could you explain me it?

In addition to what Sarah said, it's possible that your problem is related to the fact that the keyboard and mouse operate at low speed. If you connected them through a hub then that hub would communicate with the internal hub at high speed, not low speed.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw

Hi,

Quoted 4 lines · Alan Stern

In addition to what Sarah said, it's possible that your problem is related to the fact that the keyboard and mouse operate at low speed. If you connected them through a hub then that hub would communicate with the internal hub at high speed, not low speed.

I had no freeze since I bought wireless keyboard and mouse ten days ago.

Obviously, I am satisfied by this happy end but I am surprised too because my previous keyboard and mouse still work fine with older hardware...

Jonathan, as far as I am concerned, you can close this bug!

A big thanks to all of you.

Sebastien

Signature · 7 lines
Sébastien Dinot, [email protected]
http://sebastien.dinot.free.fr/
Ne goûtez pas au logiciel libre, vous ne pourriez plus vous en passer !
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#7 lore raw

Hi Sébastien,

Quoted 7 lines · Sébastien Dinot
Quoted 4 lines · Alan Stern

In addition to what Sarah said, it's possible that your problem is related to the fact that the keyboard and mouse operate at low speed. If you connected them through a hub then that hub would communicate with the internal hub at high speed, not low speed.

Quoted 5 lines

I had no freeze since I bought wireless keyboard and mouse ten days ago.

Obviously, I am satisfied by this happy end but I am surprised too because my previous keyboard and mouse still work fine with older hardware...

Thanks, that's interesting. If you have time to test connecting the old keyboard and mouse through a hub, that would still be useful.

Jonathan
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw
In reply to a message not in the archive
Quoted 2 lines · Jonathan Nieder

Thanks, that's interesting. If you have time to test connecting the old keyboard and mouse through a hub, that would still be useful.

Ok, I am going to ask for a hub to my friends and to test my hardware through it.

Sebastien

Signature · 7 lines
Sébastien Dinot, [email protected]
http://sebastien.dinot.free.fr/
Ne goûtez pas au logiciel libre, vous ne pourriez plus vous en passer !
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html