Re: unable to mount root from USB

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Mon, 17 Aug 2009 09:19:46 +0200
Hi,

I suspect that your problem might have something to do with suspend/resume 
support.

Assuming your device is High Speed, could you edit:

/sys/dev/usb/controller/ehci.c and find the function:

ehci_set_hw_power()

There you change:
        if (flags & (USB_HW_POWER_CONTROL |
            USB_HW_POWER_BULK)) {
                DPRINTF("Async is active\n");
                temp |= EHCI_CMD_ASE;
        }
        if (flags & (USB_HW_POWER_INTERRUPT |
            USB_HW_POWER_ISOC)) {
                DPRINTF("Periodic is active\n");
                temp |= EHCI_CMD_PSE;
        }
Into:

        if (1) {
                DPRINTF("Async is active\n");
                temp |= EHCI_CMD_ASE;
        }
        if (1) {
                DPRINTF("Periodic is active\n");
                temp |= EHCI_CMD_PSE;
        }

Lookup ohci_set_hw_power() and uhci_set_hw_power() and patch likewise.

--HPS
Received on Mon Aug 17 2009 - 06:19:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC