v6.3 devb-umass new USB driver use??

I am trying to access a Lexar media Jump Drive using the new devb-umass
driver. I run devu-uhci in a shell and the green light on device turns on.
I run usb -vvv and get:
Device Address 1
Vendor 0x05dc (Lexar Media)
Product 0xb013 (Jump Drive Trio)
etc, etc, etc
I try to run devb-umass cam verbose umass wait=10 devnn=1 &
All I get is the message xpt_configure: No umass interfaces found.
Do I need to run io-usb? Do I need to run a mount command?
This is the only USB device and is formatted for DOS filesystem on the Jump
drive. Is there any detailed examples (web links) that demonstrates the
correct sequence/use of USB mass storage devices?
Please help…

Matt Crowell <mcrowell@vamcointernational.com> wrote:

I am trying to access a Lexar media Jump Drive using the new devb-umass
driver. I run devu-uhci in a shell and the green light on device turns on.
I run usb -vvv and get:
Device Address 1
Vendor 0x05dc (Lexar Media)
Product 0xb013 (Jump Drive Trio)
etc, etc, etc
I try to run devb-umass cam verbose umass wait=10 devnn=1 &
All I get is the message xpt_configure: No umass interfaces found.
Do I need to run io-usb? Do I need to run a mount command?
This is the only USB device and is formatted for DOS filesystem on the Jump
drive. Is there any detailed examples (web links) that demonstrates the
correct sequence/use of USB mass storage devices?
Please help…

There’s a section on USB devices in the Connecting Hardware chapter of
the Neutrino User’s Guide. Does it help? If not, I’d like to find out
what we can do to improve it.

Yes, you do have to start io-usb first. You also need to use commas
(not spaces) to separate the umass options:

devb-umass cam verbose umass wait=10,devnn=1 &


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

Here are the command I used to mount a USB drive (you might need to modify
the mount command depending on your hardware):

#! /bin/sh
if [[ -e /fs/usb ]]; then
umount /fs/usb
fi
slay -f -sSIGTERM devb-umass
slay -f -sSIGTERM io-usb

printf “Starting the USB stack…”
io-usb -duhci
waitfor /dev/io-usb 10
if [[ -e /dev/io-usb ]]; then
printf “started.\n”

printf “Starting USB mass storage driver…”
devb-umass cam pnp
waitfor /dev/hd1 5
if [[ -e /dev/hd1 ]]; then
printf “started.\n”
else
printf “no USB mass storage devices detected\n”
fi

if [[ -e /dev/hd1 ]]; then
printf “Mounting /dev/hd1 as /fs/usb\n”
mount -t dos /dev/hd1 /fs/usb
fi
else
printf “NOT STARTED!\n”
fi


“Steve Reid” <stever@sreid.ott.qnx.com> wrote in message
news:cakl6t$asq$1@inn.qnx.com

Matt Crowell <> mcrowell@vamcointernational.com> > wrote:
I am trying to access a Lexar media Jump Drive using the new devb-umass
driver. I run devu-uhci in a shell and the green light on device turns
on.
I run usb -vvv and get:
Device Address 1
Vendor 0x05dc (Lexar Media)
Product 0xb013 (Jump Drive Trio)
etc, etc, etc
I try to run devb-umass cam verbose umass wait=10 devnn=1 &
All I get is the message xpt_configure: No umass interfaces found.
Do I need to run io-usb? Do I need to run a mount command?
This is the only USB device and is formatted for DOS filesystem on the
Jump
drive. Is there any detailed examples (web links) that demonstrates the
correct sequence/use of USB mass storage devices?
Please help…

There’s a section on USB devices in the Connecting Hardware chapter of
the Neutrino User’s Guide. Does it help? If not, I’d like to find out
what we can do to improve it.

Yes, you do have to start io-usb first. You also need to use commas
(not spaces) to separate the umass options:

devb-umass cam verbose umass wait=10,devnn=1 &


Steve Reid > stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

Thanks Steve,
I was all caught up in the sequence details of running devu-uhci, io-usb and
mount … I ended up running io-usb -d uhci, devb-umass umass devnn=1, then
my mount command. Two quick questions:

  1. I now need to write the C++ commands to do the same thing, any examples
    out there? It need to handle the automount on insertion. What is the
    cleanest/safest way to mount & umount/slay/kill these usb mass storage
    device drivers?
  2. Is there an easy way to create a bootable USB IDE or FLASH card device
    for v6.3. I can fdisk and dinit a t77 partition but when I boot on the v6.3
    CD, it doesn’t recognize the USB IDE hard drive to install to?
    Thanks in advance,
    Matt
    “Steve Reid” <stever@sreid.ott.qnx.com> wrote in message
    news:cakl6t$asq$1@inn.qnx.com

Matt Crowell <> mcrowell@vamcointernational.com> > wrote:
I am trying to access a Lexar media Jump Drive using the new devb-umass
driver. I run devu-uhci in a shell and the green light on device turns
on.
I run usb -vvv and get:
Device Address 1
Vendor 0x05dc (Lexar Media)
Product 0xb013 (Jump Drive Trio)
etc, etc, etc
I try to run devb-umass cam verbose umass wait=10 devnn=1 &
All I get is the message xpt_configure: No umass interfaces found.
Do I need to run io-usb? Do I need to run a mount command?
This is the only USB device and is formatted for DOS filesystem on the
Jump
drive. Is there any detailed examples (web links) that demonstrates the
correct sequence/use of USB mass storage devices?
Please help…

There’s a section on USB devices in the Connecting Hardware chapter of
the Neutrino User’s Guide. Does it help? If not, I’d like to find out
what we can do to improve it.

Yes, you do have to start io-usb first. You also need to use commas
(not spaces) to separate the umass options:

devb-umass cam verbose umass wait=10,devnn=1 &


Steve Reid > stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

What type of usb drives can you use with the USB mass storage driver?
Just flash drives?
Any harddisk “like” device?
CD and/or CDRs?

“Matt Crowell” <mcrowell@vamcointernational.com> wrote in message
news:can7qh$drh$1@inn.qnx.com

Thanks Steve,
I was all caught up in the sequence details of running devu-uhci, io-usb
and
mount … I ended up running io-usb -d uhci, devb-umass umass devnn=1,
then
my mount command. Two quick questions:

  1. I now need to write the C++ commands to do the same thing, any
    examples
    out there? It need to handle the automount on insertion. What is the
    cleanest/safest way to mount & umount/slay/kill these usb mass storage
    device drivers?
  2. Is there an easy way to create a bootable USB IDE or FLASH card device
    for v6.3. I can fdisk and dinit a t77 partition but when I boot on the
    v6.3
    CD, it doesn’t recognize the USB IDE hard drive to install to?
    Thanks in advance,
    Matt
    “Steve Reid” <> stever@sreid.ott.qnx.com> > wrote in message
    news:cakl6t$asq$> 1@inn.qnx.com> …
    Matt Crowell <> mcrowell@vamcointernational.com> > wrote:
    I am trying to access a Lexar media Jump Drive using the new
    devb-umass
    driver. I run devu-uhci in a shell and the green light on device
    turns
    on.
    I run usb -vvv and get:
    Device Address 1
    Vendor 0x05dc (Lexar Media)
    Product 0xb013 (Jump Drive Trio)
    etc, etc, etc
    I try to run devb-umass cam verbose umass wait=10 devnn=1 &
    All I get is the message xpt_configure: No umass interfaces found.
    Do I need to run io-usb? Do I need to run a mount command?
    This is the only USB device and is formatted for DOS filesystem on the
    Jump
    drive. Is there any detailed examples (web links) that demonstrates
    the
    correct sequence/use of USB mass storage devices?
    Please help…

There’s a section on USB devices in the Connecting Hardware chapter of
the Neutrino User’s Guide. Does it help? If not, I’d like to find out
what we can do to improve it.

Yes, you do have to start io-usb first. You also need to use commas
(not spaces) to separate the umass options:

devb-umass cam verbose umass wait=10,devnn=1 &


Steve Reid > stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

Bob Smith <bob@home.com> wrote:

What type of usb drives can you use with the USB mass storage driver?
Just flash drives?
Any harddisk “like” device?
CD and/or CDRs?

It should work with any device that conforms the USB Mass Storage class
spec. However, there are a lot of devices with quirks. So far it has
worked for me on every device I have tried it with (a camera, a sandisk
reader and a disk-on-key device).

chris

\

Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Hi Brian…

Thanks for this posting. It helped me. Thanks.

Regards…

Miguel.


Brian Meinke wrote:

Here are the command I used to mount a USB drive (you might need to modify
the mount command depending on your hardware):

#! /bin/sh
if [[ -e /fs/usb ]]; then
umount /fs/usb
fi
slay -f -sSIGTERM devb-umass
slay -f -sSIGTERM io-usb

printf “Starting the USB stack…”
io-usb -duhci
waitfor /dev/io-usb 10
if [[ -e /dev/io-usb ]]; then
printf “started.\n”

printf “Starting USB mass storage driver…”
devb-umass cam pnp
waitfor /dev/hd1 5
if [[ -e /dev/hd1 ]]; then
printf “started.\n”
else
printf “no USB mass storage devices detected\n”
fi

if [[ -e /dev/hd1 ]]; then
printf “Mounting /dev/hd1 as /fs/usb\n”
mount -t dos /dev/hd1 /fs/usb
fi
else
printf “NOT STARTED!\n”
fi


“Steve Reid” <> stever@sreid.ott.qnx.com> > wrote in message
news:cakl6t$asq$> 1@inn.qnx.com> …

Matt Crowell <> mcrowell@vamcointernational.com> > wrote:

I am trying to access a Lexar media Jump Drive using the new devb-umass
driver. I run devu-uhci in a shell and the green light on device turns

on.

I run usb -vvv and get:
Device Address 1
Vendor 0x05dc (Lexar Media)
Product 0xb013 (Jump Drive Trio)
etc, etc, etc
I try to run devb-umass cam verbose umass wait=10 devnn=1 &
All I get is the message xpt_configure: No umass interfaces found.
Do I need to run io-usb? Do I need to run a mount command?
This is the only USB device and is formatted for DOS filesystem on the

Jump

drive. Is there any detailed examples (web links) that demonstrates the
correct sequence/use of USB mass storage devices?
Please help…

There’s a section on USB devices in the Connecting Hardware chapter of
the Neutrino User’s Guide. Does it help? If not, I’d like to find out
what we can do to improve it.

Yes, you do have to start io-usb first. You also need to use commas
(not spaces) to separate the umass options:

devb-umass cam verbose umass wait=10,devnn=1 &


Steve Reid > stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

I am having a similar problem on a TI OMAP5912 OSK board with QNX : in the
startup script I see


osk_usb_init
io-usb -dohci ioport=0xfffba000,irq=38


when I connect my USB flashdrive and type “usb” I got :

USB 0 (OHCI) v1.10, v1.01 DDK, v1.01 HCD
Control, Interrupt, Bulk, Isoch, Low speed

Device Address : 1
Upstream Host Controller : 0
Upstream Device Address : 0
Upstream Port : 0
Upstream Port Speed : Full
Vendor : 0x08ec (I0MEGA)
Product : 0x0011 (Minidrive 128)
Device Release : r2.00
USB Spec Release : v2.00
Serial Number : 0214C30120000A09
Class : 0x00 (Independant per interface)
Max PacketSize0 : 64
Languages : 0x0409 (English)
Configurations : 1
Configuration : 1
Attributes : 0x80 (Bus-powered)
Max Power : 94 mA
Interfaces : 1
Interface : 0 / 0
Class : 0x08 (Mass Storage)
Subclass : 0x06 (SCSI)
Protocol : 0x50


And if I do

devb-umass verbose

I get the following :

xpt_configure: No umass interfaces found

And no new entry in /dev

I also tried

#devb-umass cam verbose umass wait=10,devnn=1 &

But same result. Any idea ?

Thanks

John



Brian Meinke wrote:

Here are the command I used to mount a USB drive (you might need to modify
the mount command depending on your hardware):

#! /bin/sh
if [[ -e /fs/usb ]]; then
umount /fs/usb
fi
slay -f -sSIGTERM devb-umass
slay -f -sSIGTERM io-usb

printf “Starting the USB stack…”
io-usb -duhci
waitfor /dev/io-usb 10
if [[ -e /dev/io-usb ]]; then
printf “started.\n”

printf “Starting USB mass storage driver…”
devb-umass cam pnp
waitfor /dev/hd1 5
if [[ -e /dev/hd1 ]]; then
printf “started.\n”
else
printf “no USB mass storage devices detected\n”
fi

if [[ -e /dev/hd1 ]]; then
printf “Mounting /dev/hd1 as /fs/usb\n”
mount -t dos /dev/hd1 /fs/usb
fi
else
printf “NOT STARTED!\n”
fi



“Steve Reid” <> stever@sreid.ott.qnx.com> > wrote in message
news:cakl6t$asq$> 1@inn.qnx.com> …
Matt Crowell <> mcrowell@vamcointernational.com> > wrote:
I am trying to access a Lexar media Jump Drive using the new devb-umass
driver. I run devu-uhci in a shell and the green light on device turns
on.
I run usb -vvv and get:
Device Address 1
Vendor 0x05dc (Lexar Media)
Product 0xb013 (Jump Drive Trio)
etc, etc, etc
I try to run devb-umass cam verbose umass wait=10 devnn=1 &
All I get is the message xpt_configure: No umass interfaces found.
Do I need to run io-usb? Do I need to run a mount command?
This is the only USB device and is formatted for DOS filesystem on the
Jump
drive. Is there any detailed examples (web links) that demonstrates the
correct sequence/use of USB mass storage devices?
Please help…

There’s a section on USB devices in the Connecting Hardware chapter of
the Neutrino User’s Guide. Does it help? If not, I’d like to find out
what we can do to improve it.

Yes, you do have to start io-usb first. You also need to use commas
(not spaces) to separate the umass options:

devb-umass cam verbose umass wait=10,devnn=1 &


Steve Reid > stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

JohnCoemans wrote:

And if I do

devb-umass verbose

I get the following :

xpt_configure: No umass interfaces found

And no new entry in /dev

I also tried
#devb-umass cam verbose umass wait=10,devnn=1 &

Try: devb-umass umass path=/dev/io-usb