hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
colinsane has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
hazardchem has quit [Remote host closed the connection]
hazardchem has joined #linux-sunxi
valdikss has joined #linux-sunxi
<valdikss>
Hey everybody, the USB 1.1 Full Speed transfers on Orange Pi Zero3 (Allwinner H618) seems to be really slow, which causes underruns on my printer. Have to use USB Hub (which does 1.1 translation itself) as a workaround. Known issue?
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
aperezdc has quit [Remote host closed the connection]
aperezdc has joined #linux-sunxi
jgfh has quit []
sdfgsdfs has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
<apritzel>
valdikss: what does "slow" mean, exactly? What is the device? And what is the transfer type, bulk? I wouldn't remember similar reports, but then again it's probably more about HighSpeed when it comes to performance.
<valdikss>
apritzel: I just tested several SBCs, including rockchip-based, and I see this issue on all tested devices. It could be that Linux OHCI is inefficient, or some other bug.
<valdikss>
apritzel: My current testing device is Orange Pi Zero3, and the printer is Canon LBP1120. I have a small "speed test" script, here's the numbers I got:
<valdikss>
This printer has a rather small internal buffer and relies on data streaming while printing. And I can't print large lists with the direct connection because the printer reports underflow. Works fine with USB hub.
<valdikss>
No errors on USB level, I checked with tcpdump -i usbmon0. I had issues with bad cables before, and it was seen as a transcation error in the log, but here everything is fine, it's just the USB is not fast enough.
<valdikss>
USB 1.1 devices may also be used on USB 2.0 systems. When plugged into an EHCI controller, they are given to a USB 1.1 “companion” controller, which is a OHCI or UHCI controller as normally used with such devices. When USB 1.1 devices plug into USB 2.0 hubs, they interact with the EHCI controller through a “Transaction Translator” (TT) in the hub, which turns low or full speed transactions into high speed “split transactions” that don’t
<valdikss>
waste transfer bandwidth.
<valdikss>
So I guess it is it.
<valdikss>
apritzel: The transfer type is bulk, yes.
<apritzel>
ah, you mean a classic "paper printer", I was assuming a 3D printer ;-)
<apritzel>
but that sounds like a more generic Linux problem, you might want to ask on the USB mailing list, there are surely more experts on there
<valdikss>
apritzel: that's a really old printer from 2002, yeah
<apritzel>
it could be a clock issue, since there is a separate 12MHz clock for OHCI, but we don't have much control over it, and that surely wouldn't be the same issue on Rockchip then
ftg has quit [Read error: Connection reset by peer]