#11200: [bcm63xx] Usb2.0 not working on Huawei HG553
------------------------+-----------------------------------
Reporter: anonymous | Owner: florian
Type: defect | Status: reopened
Priority: normal | Milestone: Barrier Breaker 14.07
Component: luci | Version: Trunk
Resolution: | Keywords:
------------------------+-----------------------------------
Changes (by anonymous):
* status: closed => reopened
* resolution: worksforme =>
Comment:
Replying to [comment:43 danitool <dgcbueu@…>]:
> Replying to [comment:30 rway07]:
> > As reported in this ticket by danitool:
> > https://dev.openwrt.org/ticket/11375
> >
> > removing this line:
> > {{{
> > ohci->num_ports = 1;
> > }}}
> >
> > from drivers/usb/host/ohci-bcm63xx.c, both usb ports work with ohci
module. After that, writing particular values in memory locations
0xfffe1500 and 0xfffe150c and unloading usb modules,you get a system
freeze. After reboot, both usb ports are working as ehci.
> >
> > According to the source code of huawei and openwrt, in the 0xfffe1500
location there is the SwapControl Register and location 0xfffe150c is
unused.
> >
> > I'm trying to understand how a unused memory location (corresponding
to an internal address of the USB ports?) and the swap register affects
the module ehci.
>
> Based on this comment I guess found a fix. Looking at the Huawei
released gpl it seems this code:
>
> {{{
> unsigned int * reg = (unsigned int *) 0xfffe150c;
> /* power cycle the USB PLL */
> *reg &= ~0x02000000;
> mdelay(1);
> *reg |= 0x02000000;
> }}}
>
> might help to get rid of this problem. I found the code into the
function '''prom_init''' at the prom.c file.
>
> I cannot test it since I never noticed this problem in my router,
neither I use the USB port with high speed devices very much.
>
> I just leave this commen FYI.
== i can confirm that all worked when i added that code to prom_init
!!!!!!!!!!!!!!!!!!!! I am so happy :)))... someone needs to create patch
:)))
--
Ticket URL: <https://dev.openwrt.org/ticket/11200#comment:46>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets