[OpenWrt-Devel] [PATCH 1/2] ath79: Add GL.iNet AR-300M-Lite

Jeff Kletsky lede at allycomm.com
Sun Feb 17 11:13:04 EST 2019


On 2/16/19 12:03 PM, warp at reboot.ch wrote:
> Hello Jeff,
>
> I did try your suggested change but really not sure to have done that correctly,
> this is what lsusb shows while I have a wifi usb dongle connected (also tried with memory stick):
>>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> No luck to use USB. Did you had a chance to have a look?
>
> Thank you!
> - will


I built an image this morning and my AR300M-Lite recognizes devices and 
attaches drivers as expected

root at OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

(start following log and insert Transcend card reader)

root at OpenWrt:~# logread -f
Sun Feb 17 15:52:01 2019 kern.info kernel: [  763.408605] usb 1-1: new 
high-speed USB device number 2 using ehci-platform
Sun Feb 17 15:52:01 2019 kern.info kernel: [  763.613737] usb-storage 
1-1:1.0: USB Mass Storage device detected
Sun Feb 17 15:52:01 2019 kern.info kernel: [  763.621082] scsi host0: 
usb-storage 1-1:1.0
Sun Feb 17 15:52:02 2019 kern.notice kernel: [  764.670474] scsi 
0:0:0:0: Direct-Access     TS-RDF5  SD  Transcend    TS35 PQ: 0 ANSI: 6
Sun Feb 17 15:52:02 2019 kern.notice kernel: [  764.685408] sd 0:0:0:0: 
[sda] Attached SCSI removable disk

root at OpenWrt:~# lsusb
Bus 001 Device 002: ID 8564:4000 Transcend Information, Inc. RDF8
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Do you have the proper USB drivers installed?

Test above performed with

jeff at deb-devel:~/devel/openwrt-ar300m$ ./scripts/diffconfig.sh | fgrep usb
CONFIG_PACKAGE_kmod-usb-storage=y
CONFIG_PACKAGE_kmod-usb-storage-uas=y
CONFIG_PACKAGE_libusb-1.0=y
CONFIG_PACKAGE_usbutils=y


Jeff


>> On 4 Feb 2019, at 21:59, Jeff Kletsky <lede at allycomm.com> wrote:
>>
>> On 2/4/19 4:20 AM, warp at reboot.ch wrote:
>>
>>> Hello Jeff, thanks for adding GL.iNet AR-300M-Lite !
>>>
>>> I can't test it as it's not yet merged into master I think,
>>> I'm currently using GL.iNet AR-300M settings with a GL.iNet AR-300M-Lite box
>>> and USB is not working, lsusb shows nothing.
>>>
>>> Wondering if it's a known issue and if your latest patches fix it.
>>>
>>> Thank you!
>>> - will
>> It will be this evening, GMT+8, until I will be able to check, but it wouldn't surprise me if the change to "gl-ar300m:green:usb" in the DTS will resolve the issue. I can imagine all kinds of problems with a trigger on a USB device-present flipping the USB power!
>>
>> Until then, you can try changing the trigger to "always on" in /etc/config/system or through LuCI.
>>
>> Jeff
>>
>>

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list