Jump to ID:
QNX RTOS v4

Project Home

Discussions

Wiki

Project Info
Forum Topic - Can't run USB twice: Page 1 of 3 (3 Items)
   
 
 
Can't run USB twice  
I'm running the latest USB stack, v2.00 "J"

Problem:  I can only run it one time, then cannot run it again.  Second attempt, I get a resource busy error.

My USB script is:
________________________________________
io-usb-ehci -vvv &
sleep 5

Fsys.umass -v fsys -l -n Direct-Access=usb &
sleep 3

mount -p /dev/usb0
sleep 10

Fatfsys
________________________________________
And this script file mounts the USB drive as /dos/c.

I have tried every combination from umounting and deleting the mount points to slaying things in reverse order.  The 
best I can do is when I try to re-run the above script, Fsys.umass gets a resource busy error.  

What am I doing wrong?