Hi Team,
We have checked the USB file transfer speed for 2.0 and 3.0 pen drives using 1 GB file and compared the same with Ubuntu OS. It seems speed is slow 2x in qnx compared to Ubuntu.
We have attached the image which is having usb data transfer speed details of QNX and Ubuntu (time format = Hrs:MM:Sec). We have use the same setup (hardware,file,pendirves) in both OS. We have used “time” command in qnx and ubuntu os measuring the transferring time.
We have started USB driver as like below,
#---------------------------------------------------------------------------------------------------
# Starting USB host driver and services
#---------------------------------------------------------------------------------------------------
display_msg "Starting USB host ..."
io-usb-otg -d xhci -d ehci -d ohci -d uhci
waitfor /dev/usb/io-usb-otg
display_msg "Starting devb-umass ..."
devb-umass cam pnp &
Is there any way to speed up the transferring speed in qnx ?
Also, we have checked " usb -vvv " command and found that 3.0 pendrive speed is detected as “HIGH” but its hould be SUPER. Please refer below text.
[code]USB 0 (XHCI) v1.10, v1.01 DDK, v0.00 HCD
Control, Interrupt, Bulk(SG), Isoch(Stream), High speed, Super speed
Device Address : 1
Upstream Host Controller : 0
Upstream Device Address : 0
Upstream Port : 2
Upstream Port Speed : Low
Vendor : 0x093a (PixArt)
Product : 0x2510 (USB Optical Mouse)
Device Release : r1.00
USB Spec Release : v2.00
Serial Number : N/A
Class : 0x00 (Independent per interface)
Max PacketSize0 : 8
Languages : 0x0409 (English)
Current Frame : 15067 (1024 bytes)
Configurations : 1
Configuration : 1
Attributes : 0xa0 (Bus-powered, Remote-wakeup)
Max Power : 100 mA
Interfaces : 1
Interface : 0 / 0
Class : 0x03 (HID)
Subclass : 0x01 (Boot interface)
Protocol : 0x02 (Mouse)
Endpoints : Control + 1
Endpoint : 0
Attributes : Control
Max Packet Size: 1x 8 bytes
Endpoint : 1
Attributes : Interrupt/IN
Max Packet Size: 1x 4 bytes
Interval : 10 ms
Device Address : 2
Upstream Host Controller : 0
Upstream Device Address : 0
Upstream Port : 3
Upstream Port Speed : Low
Vendor : 0x413c (Dell)
Product : 0x2107 (Dell USB Entry Keyboard)
Device Release : r1.15
USB Spec Release : v1.10
Serial Number : N/A
Class : 0x00 (Independent per interface)
Max PacketSize0 : 8
Languages : 0x0409 (English)
Current Frame : 15165 (1024 bytes)
Configurations : 1
Configuration : 1
Attributes : 0xa0 (Bus-powered, Remote-wakeup)
Max Power : 100 mA
Interfaces : 1
Interface : 0 / 0
Class : 0x03 (HID)
Subclass : 0x01 (Boot interface)
Protocol : 0x01 (Keyboard)
Endpoints : Control + 1
Endpoint : 0
Attributes : Control
Max Packet Size: 1x 8 bytes
Endpoint : 1
Attributes : Interrupt/IN
Max Packet Size: 1x 8 bytes
Interval : 10 ms
Device Address : 3
Upstream Host Controller : 0
Upstream Device Address : 0
Upstream Port : 1
Upstream Port Speed : High
Vendor : 0x03f0 (HP)
Product : 0x2340 (x705w)
Device Release : r1.00
USB Spec Release : v2.10
Serial Number : E6006A48B2650F38
Class : 0x00 (Independent per interface)
Max PacketSize0 : 64
Languages : 0x0409 (English)
Current Frame : 15195 (1024 bytes)
Binary Device Object Store :
2.0 Extention Cap :
Attributes : LPM
SuperSpeed Cap :
Attributes :
Speeds Supported : FULL, HI, SUPER
U1 Device Exit Latency : 10us
U2 Device Exit Latency : 255us
Configurations : 1
Configuration : 1
Attributes : 0x80 (Bus-powered)
Max Power : 300 mA
Interfaces : 1
Interface : 0 / 0
Class : 0x08 (Mass Storage)
Subclass : 0x06 (SCSI)
Protocol : 0x50
Endpoints : Control + 2
Endpoint : 0
Attributes : Control
Max Packet Size: 1x 64 bytes
Endpoint : 1
Attributes : Bulk/IN
Max Packet Size: 1x 512 bytes
Endpoint : 2
Attributes : Bulk/OUT
Max Packet Size: 1x 512 bytes
[/code]
Please advise us to increase USB transfer speed.
Thanks,
John.