[OpenWrt-Devel] USB Hotplug
bapclenet at gmail.com
Mon Mar 7 09:00:28 EST 2016
2016-03-07 9:51 GMT+01:00 John Crispin <john at phrozen.org>:
> On 07/03/2016 09:47, Baptiste Clenet wrote:
>> 2016-03-04 18:24 GMT+01:00 John Crispin <john at phrozen.org>:
>>> On 04/03/2016 17:50, Baptiste Clenet wrote:
>>>> We don't use the current tree but a version from November.
>>>> You're talking about this changeset:
>>>> I will apply it and let you know if it is better.
>>> yep, try adding that one please and see if that fixes the issue
>>> openwrt-devel mailing list
>>> openwrt-devel at lists.openwrt.org
>> John, I chose Default profile for mt7688 board and it has built an
>> image named "openwrt-ramips-mt7688-LinkIt7688-squashfs-sysupgrade.bin",
>> so it used the LINKIT7688 dts instead of MT7628 dts.
>> Concerning USB, I see the same behaviour, if the pendrive is plugged
>> between the boot, it works and I can plug it in and out as much as I
>> can, however, it the board boots and then I insert the pendrive, it is
>> not detected (the pendrive's led switches on for 1/2sec and then
>> switches off.
> seen this before while building pcbs .. so my money is on the following
> theory: your power supply is failing to provide enough current quickly
> enough for the USB to come up causing OC protection or similar to shut
> it down. check your supply voltage of the usb port with a scope and you
> will probably see it breakdown after that 1/2 s
Yes it was a hardware problem effectively, I added a protection chip
which did not work properly and caused the pendrive not to be
detected. I removed it and it works, so I will dig into the hardware
>> Second question; I see you added the mt76 wifi driver which is great!
>> Thank you for your work. I see the module added on the board, how may
>> I up the wifi? (I didn't find any readme on github )
> its a normal mac80211 based wifi so use the normal method. you will need
> to add a eeprom offset to the dts file. either figure it out yourself
> (look at how mt7620 based boards do it) or wait a few days till i had
> time to update the lks7688 profile.
I let you do the edits and I will try as soon as you've done it.
Thanks for your help
>>  https://github.com/openwrt/mt76
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel