Date: Mon, 17 Aug 2009 09:19:46 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Deniz <daimler3@googlemail.com>, current@freebsd.org Subject: Re: unable to mount root from USB Message-ID: <200908170919.47870.hselasky@c2i.net> In-Reply-To: <791271c80908151621g4aec8548mc64e7c3f43f666ff@mail.gmail.com> References: <791271c80908151025k344d906ar17cc585ae70927c7@mail.gmail.com> <200908152139.02493.hselasky@c2i.net> <791271c80908151621g4aec8548mc64e7c3f43f666ff@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908170919.47870.hselasky>