BackupGGCode / wl500g

ASUS WL-5xx RT-N1x Oleg's based custom firmware
0 stars 0 forks source link

Huawei E169 & USB 2.0 #202

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Setup:
Asus WL-500gP V2
Huawei E169(WAN)
flash drives(Kinkston+Kingmax+C3010)

Problem:
If E169 is plugged first and then Kingston or Kingmax, E169 becomes 
unreachable, pppd fails (pppd exit code: 139) and syslog reports:
kernel: usbserial.c: generic_write - port 0: failed submitting write urb (-32)

Now if Kingston or Kingmax is plugged first and then E169 everything connects 
and works.
If E169 is plugged first and then C3010 everything connects and works.
I've noticed that E169 and C3010 have the same speed:12Mbps, while Kingston and 
Kingmax are 480 Mbps.

I encountered the problem on r1445, r2624, r2667, r2708, r2710.
I did NOT encounter the problem on WL500gpV2-1.9.2.7-10-USB-1.71(koppel).

I've attached files with USB description for each device.

Original issue reported on code.google.com by chrisdb...@gmail.com on 4 Mar 2011 at 8:54

Attachments:

GoogleCodeExporter commented 9 years ago
Problem is solved if "USB controller mode:" is set to "USB 1.1 Only" in System 
Setup->Services. Personally I don't need more than 12Mbps .. but there is still 
no support for 1.1 & 2.0 simultaneously.

Original comment by chrisdb...@gmail.com on 4 Mar 2011 at 9:10

GoogleCodeExporter commented 9 years ago
First of all, Koppel don't support USB 2.0 at all.

Second, 99% of similar problems caused by insufficient power supply via USB. 
Router has much weak power capabilities.

Try kernel 2.6 based version (night builds from ftp://core.dumped.ru), if 
problem still occur - it's hardware problem.

Original comment by lly.dev on 5 Mar 2011 at 7:01

GoogleCodeExporter commented 9 years ago
I've tried kernel 2.6 version but nothing changed.
I've connected E169 with external power only(no power from router; with a Y USB 
cable and covert power pin connectors to the router) and as soon as I plugged 
the flash drive in, connection was lost. E169 doesn't restart, as if the power 
would be to low, just disconnects, and never reconnects until reboot. And I 
keep receiving this every few seconds:
kernel: usbserial.c: generic_write - port 0: failed submitting write urb (-32)
But, in mean time, the flash drive works fine.

Original comment by chrisdb...@gmail.com on 6 Mar 2011 at 7:06

GoogleCodeExporter commented 9 years ago
Error number -32(-EPIPE) means USB error "endpoint stalled".

So, with symptoms above we have following choices:

1) hardware incompatibilities of specific devices (including routers USB 
controller). We can't help in such variant.

2) routers USB controller needs special trick's in some circumstances. Needs 
kernel debugging.

I haven't E169 for experiments, so if basic CONFIG_USB_DEBUG=y will not uncover 
any problematic place, it is very hard to help you.

Original comment by lly.dev on 6 Mar 2011 at 7:50

GoogleCodeExporter commented 9 years ago
That's ok. As I said, I don't need USB 2.0 support right now, I'll set it to 
"USB 1.1 only" and I'm good. I just wanted to help amd point out the problem.

Original comment by chrisdb...@gmail.com on 6 Mar 2011 at 9:04

GoogleCodeExporter commented 9 years ago
I added a USB HUB and now it stopped disconnecting whenever I plug any flash 
drive. So I guess this was a incompatibility issue between E169 and Asus 
WL-500gP V2's USB HUB controller.

Original comment by chrisdb...@gmail.com on 16 Apr 2011 at 7:07

GoogleCodeExporter commented 9 years ago

Original comment by lly.dev on 19 May 2011 at 10:02