Sesh
|
QNX 6.6 detecting cable connection to PC
|
Sesh
12/16/2017 12:50 PM
post118282
|
QNX 6.6 detecting cable connection to PC
Hello all,
We are looking at ways to detect USB cable connection from a Laptop to our target. Following commands are used to
startUSB stack and RNDIS drivers on target. Is there an elegant way to detect cable attach and detach?
## Start USB Stack
io-usb-dcd -dusbrndis-mx6sabrelite-ci ioport=0x02184000,irq=75
waitfor /dev/io-usb-dcd/io-usb 4
waitfor /dev/io-usb-dcd/devu-usbrndis-mx6sabrelite-ci.so 4
# echo Start USB RNDIS function driver
waitfor /dev/socket
mount -Tio-pkt -o mac=3CD92B010203,usbdnet_mac=3CD92B010204,protocol=rndis devnp-usbdnet.so
ulink_ctrl -l1
|
|
|