On Sun, Feb 04, 2018 at 11:27:58PM +0200, Artturi Alm wrote: > On Tue, Aug 08, 2017 at 05:16:45PM +0300, Artturi Alm wrote: > > On Sat, Aug 05, 2017 at 01:33:42AM +0300, Artturi Alm wrote: > > > Hi, > > > > > > i get this trying to use usb tethering w/android on > > > edgerouter lite latest(or very close) snap GENERIC.MP: > > > urndis0 at uhub1 port 1 configuration 1 interface 0 "SAMSUNG > > > SAMSUNG_Android" rev 2.00/ff.ff addr 4 > > > urndis0: using RNDISurndis0: IOERROR > > > urndis0: unable to get query response > > > : unable to get hardware address > > > > > > missing letoh32() somewhere in init path? > > > > > > full dmesg from where i tried to enable the urndis twice below. > > > -Artturi > > > > > > > Hi, > > > > nothing came up w/+#define URNDIS_DEBUG > > > > edgerouter lite: > > urndis0 at uhub1 port 4 configuration 1 interface 0 "SAMSUNG > > SAMSUNG_Android" rev 2.00/ff.ff addr 4 > > urndis0: using RNDISurndis0: in=0x81, out=0x2 > > urndis0: urndis_ctrl_query send: type 4 len 28 rid 0 oid 0x1010101 > > infobuflen 0 infobufoffset 0 devicevchdl 0 > > urndis0: IOERROR > > urndis0: unable to get query response > > : unable to get hardware address > > > > > > vs working amd64: > > urndis0 at uhub1 port 2 configuration 1 interface 0 "SAMSUNG > > SAMSUNG_Android" rev 2.00/ff.ff addr 2 > > urndis0: using RNDISurndis0: in=0x81, out=0x2 > > urndis0: urndis_ctrl_query send: type 4 len 28 rid 0 oid 0x1010101 > > infobuflen 0 infobufoffset 0 devicevchdl 0 > > urndis0: urndis_ctrl_recv: type 0x80000004 len 30 > > urndis0: urndis_ctrl_handle > > urndis0: urndis_ctrl_handle_query: len 30 rid 0 status 0x0 buflen 6 bufoff > > 16 > > , address 02:56:66:63:30:3c > > urndis0: urndis_ctrl_set send: type 5 len 32 rid 0 oid 0x1010e infobuflen 4 > > infobufoffset 20 devicevchdl 0 > > urndis0: urndis_ctrl_recv: type 0x80000005 len 16 > > urndis0: urndis_ctrl_handle > > > > if i followed the code right, usbd_do_request() in urndis_ctrl_msg() is > > failing, but i have no idea why. > > > > should i look at USB_DEBUG output or? > > -Artturi > > > > Hi, > > this is still broken just like before. > now i've got dump of it w/tcpdump, but i don't really have any idea > what i should be looking for in it.. (can't compare w/amd64 now, as > it's not in the snap on mirrors yet, and i'm lazy). > > any suggestions much appreciated:)
Have you already checked if 'usb reset' at the uboot prompt before booting the kernel makes a difference?
