QNX 4.25 installed with 2011 Release.
Installed USB Stack V2.00K (tho I had the same issues below, before this patch).
I connect a USB hard drive (one a 2TB G-Tech, SATA I believe; the other an old 20gb PATA IDE via IDE-to-USB adapter).
I’ve connected both a flash drive and a CF Reader to two ports, and they were seen - but I don’t remember now if I was able to access files.
Run io-usb &
Get /dev/usb
Run usb -vvv
The device (either) is recognized.
USB 0 (UHCI) 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 : 0x4971 (G-TECH)
Product : 0xce33 (G-DRIVE)
Device Release : r2.05
USB Spec Release : v2.00
Serial Number : EB42009V
Class : 0x00 (Independant per interface)
Max PacketSize0 : 64
Languages : 0x0409 (English), 0x041a
Current Frame : 542 (1024 bytes)
Configurations : 1
Configuration : 1 (Config0)
Attributes : 0xc0 (Self-powered)
Max Power : 0 mA
Interfaces : 1
Interface : 0 / 0 (Interface0)
Class : 0x08 (Mass Storage)
Subclass : 0x06 (SCSI)
Protocol : 0x50
Endpoints : Control + 2
Endpoint : 0
Attributes : Control
Max Packet Size: 64
Endpoint : 1
Attributes : Bulk/OUT
Max Packet Size: 64
Endpoint : 1
Attributes : Bulk/IN
Max Packet Size: 64
run Fsys.umass fsys
Get Path=0 - QNX USB Storage
target=0 lun=0 Direct-Access(0) - Ext Hard Disk Rev:
Get hd0 added to /dev/.
If I run just ‘Fsys.umass’ after io-usb…
Get [000] SIM="" HBA=“QNX USB Storage”
[00,0,0] type=00 ver-05 resp=02 flags=00 Ext Hard Disk
Nothing new is added to /dev/.
(nor to /dos/ - I checked just in case)
Run Fsys.umass -v fsys -N usb -n usb0 &
I get the /dev/usb0
But if I try to fdisk either usb0 or hd0 device (fdisk /dev/usb0 delete, add, show, info) -
I get: //1/bin/fdisk terminated (SIGFPE ) at 0007:0000xxxx
%2 xxx Floating exception fdisk /dev/usb0 show “Floating exception”
I also tried:
Fsys.umass -l -n Direct-Access=hd
and other combinations I’ve found online - most don’t create any new device.
Dinit won’t work as Block 1 not found (“not formatted?”).
Both hard drives work fine on a Windows XP station.
I deleted the NTFS partition on the 2TB drive - now has NO partition, and I get the same error.
I can insert a small 64k flash drive into the same port and run these commands - then fdisk works fine.
Any idea, please, why these external USB hard drives aren’t working?
Thx