Hi trying to learn about openwrt,
I'va a small router with one antenna and a usb slot.
I attach to the usb slot a unpowered usb hub and to that I plug a usb storage drive
to be able to save system log messages
the sqashfs-root/etc/config/system files contains
config system
option hostname Router
option timezone UTC
option log_type 'file'
option log_file '/mnt/usb/messages'
so the cronlogleve and conloglevel are set to default values.
Everything works fine but as soon as I plug (or reboot) with a second usb wifi dongle attached to the unpowered
usb hub the messages log gets populated by the same kernel warn message below
......
Tue Dec 26 15:09:07 2017 kern.warn kernel: [ 24.209135] ------------[ cut here ]------------
Tue Dec 26 15:09:07 2017 kern.warn kernel: [ 24.212450] WARNING: CPU: 0 PID: 75 at drivers/usb/core/urb.c:449 usb_submit_urb+0x2dc/0x538 [usbcore]()
Tue Dec 26 15:09:07 2017 kern.warn kernel: [ 24.221842] usb 1-1.2: BOGUS urb xfer, pipe 1 != type 3
.......................
when I log the messages in memory and without the usb hub attached
and attaching the second usb wifi dongle directly to the USB port I dont get any error at all
any idea on what is going on ???
I build my router image from trunk repo.
Thank _You very much for any help with this
Bests
P
(Last edited by Pippo1980 on 28 Dec 2017, 11:53)