[OpenWrt-Devel] USB Hotplug
John Crispin
blogic at openwrt.org
Fri Mar 4 10:57:03 EST 2016
On 04/03/2016 16:43, John Crispin wrote:
>
>
> On 04/03/2016 16:42, alzhao wrote:
>> Hi john,
>> can you specify which patch? I want to check.
>> On Fri, 4 Mar 2016 at 23:34, John Crispin <blogic at openwrt.org
>> <mailto:blogic at openwrt.org>> wrote:
>>
>>
>>
>> On 04/03/2016 15:07, alzhao wrote:
>> > Did you develop the board by yourself? Generally this is a hardware
>> > problem, like wrong resistors. After the system boot the USB cannot
>> > supply enough power to the drive.
>> >
>> >
>> > On Fri, 4 Mar 2016 at 21:57, Baptiste Clenet <bapclenet at gmail.com
>> <mailto:bapclenet at gmail.com>
>> > <mailto:bapclenet at gmail.com <mailto:bapclenet at gmail.com>>> wrote:
>> >
>> > Hi,
>> >
>> > I run OpenWRT on a mt7688 board, if I plug a pendrive before
>> the boot,
>> > it is detected and I can store data on it. However, after the
>> board
>> > has finished booting, if I plug the pendrive, I can't detect
>> it, the
>> > LED on the pendrive switch on and off after a 1/2 sec.
>> > Should I include something else to make hotplug work?
>> > root at OpenWrt:/# lsmod | grep usb
>> > btintel 1209 1 btusb
>> > btusb 26816 0
>> > ledtrig_usbdev 1936 0
>> > nls_base 5008 1 usbcore
>> > scsi_mod 90601 2 usb_storage
>> > usb_common 1740 1 usbcore
>> > usb_storage 37407 0
>> > usbcore 117268 7 btusb
>> >
>> >
>> > --
>> > Baptiste
>> > _______________________________________________
>> > openwrt-devel mailing list
>> > openwrt-devel at lists.openwrt.org
>> <mailto:openwrt-devel at lists.openwrt.org>
>> <mailto:openwrt-devel at lists.openwrt.org
>> <mailto:openwrt-devel at lists.openwrt.org>>
>> > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>> >
>>
>> what revision of openwrt do you use ? i recently pushed a patch that
>> fixes a phy reset problem causing usb2.0 devices to not work properly
>>
>
> please don't top post and use HEAD revision or check the git log please
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
in the case where it does not work, do you get IRQs from the USB ?
check /proc/interrupts to see if they increase please
John
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list