Tim Spargo
|
Ethernet over USB using RNDIS on x86
|
Tim Spargo
07/16/2018 8:15 PM
post118960
|
Ethernet over USB using RNDIS on x86
Hi
I'm new so I hope I'm posting in the right place... if not feel free to move this post.
I have an x86 target which is acting as a USB host to communicate with a USB device using RNDIS. I'm using QNX 6.6. I'm
attempting the following:
io-pkt-v4-hc verbose -p tcpip
io-usb-dcd -dehci -duhci -dohci
waitfor /dev/io-usb-dcd/io-usb 5
mount -Tio-pkt -o mac=00D056F2B512,usbdnet_mac=00D056F2B513,protocol=rndis devnp-usbdnet.so
if_up -p rndis0
ifconfig rndis0 10.100.8.113
what I see is to the following:
# sloginfo -c
Time Sev Major Minor Args
Jul 16 15:51:19 5 14 0 tcpip starting
Jul 16 15:51:19 3 14 0 Using pseudo random generator. See "random" option
Jul 16 15:51:19 5 14 0 initializing IPsec... done
Jul 16 15:51:19 5 14 0 IPsec: Initialized Security Association Processing.
Jul 16 15:51:19 2 10 0 usbmgr_connection_create() Failed to attach to root device for cfg (status = 19)
Jul 16 15:51:19 2 10 0 usbdif_init() Couln't create configuration connection to the usb stack... using default
descriptors ( error = 19 )
Jul 16 15:51:19 5 14 0 rndis0
Questions:
1) The usbdnet_mac is incorrect. How do I display the MAC address of the local USB port in QNX? I will try to see if I
can give it when I attached the device to Windows.
2) Does anyone have a suggestion of usbmgr_connection_create() is failing to attach?
The "usb -v" dump is attached.
|
|
|