QNX4 USB DDK

I’m trying to provide USB camera support under QNX4. I’ve compiled the cpia
driver (that was included in 001019.usb_sdk.tar, but not subsequently
released) with the latest DDK libs (010207). cpia_insertion() gets called,
but the usbd_attach() call never returns. The drivers end up looking like
this (sin):

2 16574 //22/bin/devu-uhci 15r RECV 0 38k 159k
2 16578 //22/bin/devu-uhci 15r REPLY 16574 38k 159k
2 16869 //22/bin/devu-cpia 15r RECV 0 22k 114k
2 16872 //22/bin/devu-cpia 15r REPLY 16574 22k 114k

I’ve included the ‘usb -vvv’ output below.
Any help would be greatly appreciated. Thanks.
Bob

USB (UHCI) v1.10, v1.00 DDK
Control, Interrupt, Bulk, Isoch, Low speed, High speed
Device Address : 1
Vendor : 0x05a9 (OmniVision)
Product : 0xa511
Device Release : r1.00
USB Spec Release : v1.00
Serial Number : N/A
Class : 0x00 (Independant per interface)
Max PacketSize0 : 8
Languages : No string descriptors
Current Frame : 744 (1024 bytes)
Configurations : 1
Configuration : 1
Attributes : 0x80 (Bus-powered)
Max Power : 500 mA
Interfaces : 1 (with 7 alternate)
Interface : 0 / 0
Class : 0xff (Vendor-specific)
Subclass : 0x00
Protocol : 0x00
Endpoints : 1 + Control
Endpoint : 0
Attributes : Control
Max Packet Size: 8
Endpoint : 1
Attributes : Isoch/IN
Max Packet Size: 0
Interval : 1 ms
Interface : 0 / 1
Class : 0xff (Vendor-specific)
Subclass : 0x00
Protocol : 0x00
Endpoints : 1 + Control
Endpoint : 0
Attributes : Control
Max Packet Size: 8
Endpoint : 1
Attributes : Isoch/IN
Max Packet Size: 33
Interval : 1 ms
Interface : 0 / 2
Class : 0xff (Vendor-specific)
Subclass : 0x00
Protocol : 0x00
Endpoints : 1 + Control
Endpoint : 0
Attributes : Control
Max Packet Size: 8
Endpoint : 1
Attributes : Isoch/IN
Max Packet Size: 129
Interval : 1 ms
Interface : 0 / 3
Class : 0xff (Vendor-specific)
Subclass : 0x00
Protocol : 0x00
Endpoints : 1 + Control
Endpoint : 0
Attributes : Control
Max Packet Size: 8
Endpoint : 1
Attributes : Isoch/IN
Max Packet Size: 257
Interval : 1 ms
Interface : 0 / 4
Class : 0xff (Vendor-specific)
Subclass : 0x00
Protocol : 0x00
Endpoints : 1 + Control
Endpoint : 0
Attributes : Control
Max Packet Size: 8
Endpoint : 1
Attributes : Isoch/IN
Max Packet Size: 385
Interval : 1 ms
Interface : 0 / 5
Class : 0xff (Vendor-specific)
Subclass : 0x00
Protocol : 0x00
Endpoints : 1 + Control
Endpoint : 0
Attributes : Control
Max Packet Size: 8
Endpoint : 1
Attributes : Isoch/IN
Max Packet Size: 513
Interval : 1 ms
Interface : 0 / 6
Class : 0xff (Vendor-specific)
Subclass : 0x00
Protocol : 0x00
Endpoints : 1 + Control
Endpoint : 0
Attributes : Control
Max Packet Size: 8
Endpoint : 1
Attributes : Isoch/IN
Max Packet Size: 769
Interval : 1 ms
Interface : 0 / 7
Class : 0xff (Vendor-specific)
Subclass : 0x00
Protocol : 0x00
Endpoints : 1 + Control
Endpoint : 0
Attributes : Control
Max Packet Size: 8
Endpoint : 1
Attributes : Isoch/IN
Max Packet Size: 961
Interval : 1 ms

Replied via email.

Robert Nadler <bobn@nci.com> wrote:

I’m trying to provide USB camera support under QNX4. I’ve compiled the cpia
driver (that was included in 001019.usb_sdk.tar, but not subsequently
released) with the latest DDK libs (010207). cpia_insertion() gets called,
but the usbd_attach() call never returns. The drivers end up looking like
this (sin):

2 16574 //22/bin/devu-uhci 15r RECV 0 38k 159k
2 16578 //22/bin/devu-uhci 15r REPLY 16574 38k 159k
2 16869 //22/bin/devu-cpia 15r RECV 0 22k 114k
2 16872 //22/bin/devu-cpia 15r REPLY 16574 22k 114k

I’ve included the ‘usb -vvv’ output below.
Any help would be greatly appreciated. Thanks.
Bob

Where can I download this DDK for QNX4?

Kevin Chiles wrote:

Replied via email.

Robert Nadler <> bobn@nci.com> > wrote:
I’m trying to provide USB camera support under QNX4. I’ve compiled the cpia
driver (that was included in 001019.usb_sdk.tar, but not subsequently
released) with the latest DDK libs (010207). cpia_insertion() gets called,
but the usbd_attach() call never returns. The drivers end up looking like
this (sin):

2 16574 //22/bin/devu-uhci 15r RECV 0 38k 159k
2 16578 //22/bin/devu-uhci 15r REPLY 16574 38k 159k
2 16869 //22/bin/devu-cpia 15r RECV 0 22k 114k
2 16872 //22/bin/devu-cpia 15r REPLY 16574 22k 114k

I’ve included the ‘usb -vvv’ output below.
Any help would be greatly appreciated. Thanks.
Bob