Live data from Hacker News

Linux may have been causing USB disconnects

plus.google.com

121–123 of 123 posts

Re: Linux may have been causing USB disconnects

#121
post #101

What are the conditions where this problem manifests? I have a Das Keyboard that sporadically become unresponsive until I unplug and plug it back in. How do I know if my problem is caused by the issue described in the article?

For what it's worth, I too have a Das Keyboard (Ultimate) and I don't experience this problem (Arch 64-bit). Hopefully that helps narrow down your issue.

Thanks. I'm on 32-bit Ubuntu 13.04 but problem has presented itself for at least last several releases.

Re: Linux may have been causing USB disconnects

#122
post #73
post #71

Earlier quoted context omitted.

Well, back when I was an MIT undergraduate, one of the core CS classes handed us a breadboard and a bunch of 74XX TTL chips, and we needed to construct a general register and stack computer from that. (We did get some PC boards that gave us a ALU and a UART that plugged into the breadboard, as well as the ability to program an EPROM to implement the firmware, but none of this "here's an Arduino or Rasberry Pi".) Mayb…

Which class was this, and are any of the notes or project assignments available online? That sounds like a fun project.

It's 6.004, and it looks like they are still teaching it, which I was pleased to discover. Students are no longer asked to carry around the suitcase-sized breadboard "nerd kit" and they aren't using 74XX TTL chips any more. Now it's all done using simulators.

The name of the course is "Computation Structures", or, as MIT students would know it (since nearly everything at MIT is numbered, including buildings and departments), 6.004:

http://6004.mit.edu/

Re: Linux may have been causing USB disconnects

#123
post #31

this is wrong interpretation actually. There is no "maximum" for a reason. Because it should be evaluated as "hey hardware developer, you will have guaranteed 10 ms from System Software to resume". If you don't wake up in 10ms, you are clearly violating the spec. 9.2.6.2 states: After a port is reset or resumed, the USB System Software is expected to provide a “recovery” interval of 10 ms before the device attached t…

Nothing there says that the hardware must be ready at or after 10ms. It simply says that software can't ask for anything before 10ms is up. Software has to wait 10ms, and then might have to wait longer.

[deleted]
Post reply on HN