Skip navigation.
Home
The QNX Community Portal

View topic - How to setup USB mass storage device in QNX4?

How to setup USB mass storage device in QNX4?

For the old QNX2 and QNX4 RTOS

How to setup USB mass storage device in QNX4?

Postby tommym121 » Wed Aug 05, 2009 6:06 pm

I try to find information to setup a usb storage device, but can not find any. I have a 2 GB, 16 GB and a 100 GB IDE harddisk in a harddisk enclosure. I download the usb driver from QNX (io-usb and Fsys.umass), but there is not instruction how to set it up. Any one have some experience in this area or some document regarding this subject? I am running QNX 4.25 with latest upgrade (2008).
tommym121
New Member
 
Posts: 7
Joined: Wed Aug 05, 2009 6:01 pm

RE: How to setup USB mass storage device in QNX4?

Postby micro » Fri Aug 07, 2009 11:00 am

Plugin your USB Devices and run:

io-usb &
Fsys.umass & --- may with parameters: Fsys.umass fsys -l -n Direct-Access=usb


Your device should now already appear as /dev/usb0

mount -p /dev/usb0

should give you the partitions so /dev/usb0tX
with this you can now start the "Fatfsys" driver


PS: We found this as a script quite some while ago at the almighty internet :P
micro
Senior Member
 
Posts: 458
Joined: Thu Jul 22, 2004 8:41 pm

RE: How to setup USB mass storage device in QNX4?

Postby tommym121 » Fri Aug 07, 2009 5:51 pm

I try but no luck any adivce.
From sin command, I see Fsys.umass is SEND block to io-usb where io-usb si REPLY block 0
tommym121
New Member
 
Posts: 7
Joined: Wed Aug 05, 2009 6:01 pm

RE: How to setup USB mass storage device in QNX4?

Postby mario » Fri Aug 07, 2009 7:35 pm

If you run usb -v do you see the device. If not it's posible io-usb doesn't support the usb controller
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

RE: How to setup USB mass storage device in QNX4?

Postby tommym121 » Sat Aug 08, 2009 1:26 am

Would anyone can recommend the USB compatible card? I would like to get one that work.
tommym121
New Member
 
Posts: 7
Joined: Wed Aug 05, 2009 6:01 pm


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 1 guest

cron