USB device oddities
Thomas Milius (7848) 116 posts |
I have trouble with an USB device. It is an Huawei USB surf stick. But under RISC OS the device resets until eternity. If connecting it to non selfpowered hub the hub resets (sometimes). At Raspian I connected it to one of the UBS ports of the RPi 2B which is “selfpowered”. I "self"powered the hub but the problem for the device stayed. I connected it by an Y-USB-cable to the selfpowered hub but the problem stayed. Has anyone an idea how to cope with the problem or detected similar problems? Several variants are possible. The device could reset itself until it gets a certain USB sequence which tells it that it is the right class. Also possible is that there is an oddity in the RISC OS USB stack causing resets without end. Many thanks in advance for any ideas/hints/experience reports. |
Thomas Milius (7848) 116 posts |
Additional hint which I forgot to mention: The problems are occuring on old USB 1.0 hubs as also on newer USB 2.0 hubs. |
Rick Murray (539) 13850 posts |
If it keeps on resetting, it is possible that enumeration isn’t working correctly. Your comment about it changing class would lead me to suspect that this is the case. Low power devices can only request up to 100mA, while high power devices can request up to 500mA. It may well be the RISC OS stack. It isn’t as fully developed as the one in Raspbian is going to be. I don’t quite understand the Y cable of the self powered hub. Why not plug the hub into the Pi and the gizmo into the hub? That way, there shouldn’t be any appreciable current draw from the Pi. Do you have a USB current meter? Perhaps the Raspbian stack has a means of negotiating extra current draw over the 500mA limit? I know there must be a way to do it, my backup DVD writer runs off a single USB port and there’s no way that runs off a mere 500mA when writing. Alternatively, if Raspbian has the |
Steffen Huber (91) 1953 posts |
AFAIK, there is no way to negotiate that beyond the “Power Delivery” stuff for charging phones, and that works via higher voltages. I am pretty sure that the CD/DVD/Blu-Ray writers just use more juice, and most PCs are happy to deliver it.
Typically, they specify 1.5 A or more. |
Thomas Milius (7848) 116 posts |
I meanwhile found the problem. |