USB speed using INT-IN endpoint / bInterval=12ms

Hi,
I wrote a small usb driver using your devu-mouse as a template (just to
wrote a driver).
The device (see below) has only one interface with two endpoints (0 and 1)
All works well except the INT-IN interval speed. I recomend a cycle speed
with 12ms
as noted in the endpoint.bInterval but the speed is around 500ms wich is to
slow.
The same result with the ‘original’ devu-mouse driver only changing the
device ident interrest…
I can’t find any hint in the USB specs about that. Do I expect the wrong
thing?

TIA: cheers, Peter

usb -vvvvvvv

USB (UHCI) v1.10, v1.01 DDK
Control, Interrupt, Bulk, Isoch, Low speed, High speed

Device Address : 1
Vendor : 0x06a3 (Saitek)
Product : 0x053f (Saitek X36)
Device Release : r0.02
USB Spec Release : v1.00
Serial Number : 00021159
Class : 0x00 (Independant per interface)
Max PacketSize0 : 8
Languages : 0x0409 (English)
Current Frame : 684 (1024 bytes)
Configurations : 1
Configuration : 1 (Joystick)
Attributes : 0x80 (Bus-powered)
Max Power : 26 mA
Interfaces : 1
Interface : 0 / 0 (EP1 Int)
Class : 0x03 (HID)
Subclass : 0x00
Protocol : 0x00
Vendor-Specific : 0a 21 00 01 00 01 22 00
: 83 00
Endpoints : Control + 1
Endpoint : 0
Attributes : Control
Max Packet Size: 8
Endpoint : 1
Attributes : Interrupt/IN
Max Packet Size: 8
Interval : 12 ms

pci -vvvv
PCI version = 2.10
—snip—

Class = Serial Bus (Universal Serial Bus)
Vendor ID = 8086h, Intel Corporation
Device ID = 7112h, 82371AB/EB PIIX4 USB Interface
PCI index = 0h
Class Codes = 0c0300h
Revision ID = 1h
Bus number = 0
Device number = 4
Function num = 2
Status Reg = 280h
Command Reg = 5h
I/O space access enabled
Memory space access disabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 0h
PCI IO Address = d400h length 32 enabled
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT D
Interrupt line = 9
Device Dependent Registers:
0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 28 0f 00 00 00 00 00 00

–snip–
end of this mail

I should read the specs more intensive !
I’m very sorry!
cheers, Peter
“Peter Weber” <pw@dolphin.de> schrieb im Newsbeitrag
news:9tqdr9$da4$1@inn.qnx.com

Hi,
I wrote a small usb driver using your devu-mouse as a template (just to
wrote a driver).
The device (see below) has only one interface with two endpoints (0 and 1)
All works well except the INT-IN interval speed. I recomend a cycle speed
with 12ms
as noted in the endpoint.bInterval but the speed is around 500ms wich is
to
slow.
The same result with the ‘original’ devu-mouse driver only changing the
device ident interrest…
I can’t find any hint in the USB specs about that. Do I expect the wrong
thing?

TIA: cheers, Peter

usb -vvvvvvv

USB (UHCI) v1.10, v1.01 DDK
Control, Interrupt, Bulk, Isoch, Low speed, High speed

Device Address : 1
Vendor : 0x06a3 (Saitek)
Product : 0x053f (Saitek X36)
Device Release : r0.02
USB Spec Release : v1.00
Serial Number : 00021159
Class : 0x00 (Independant per interface)
Max PacketSize0 : 8
Languages : 0x0409 (English)
Current Frame : 684 (1024 bytes)
Configurations : 1
Configuration : 1 (Joystick)
Attributes : 0x80 (Bus-powered)
Max Power : 26 mA
Interfaces : 1
Interface : 0 / 0 (EP1 Int)
Class : 0x03 (HID)
Subclass : 0x00
Protocol : 0x00
Vendor-Specific : 0a 21 00 01 00 01 22 00
: 83 00
Endpoints : Control + 1
Endpoint : 0
Attributes : Control
Max Packet Size: 8
Endpoint : 1
Attributes : Interrupt/IN
Max Packet Size: 8
Interval : 12 ms

pci -vvvv
PCI version = 2.10
—snip—

Class = Serial Bus (Universal Serial Bus)
Vendor ID = 8086h, Intel Corporation
Device ID = 7112h, 82371AB/EB PIIX4 USB Interface
PCI index = 0h
Class Codes = 0c0300h
Revision ID = 1h
Bus number = 0
Device number = 4
Function num = 2
Status Reg = 280h
Command Reg = 5h
I/O space access enabled
Memory space access disabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 0h
PCI IO Address = d400h length 32 enabled
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT D
Interrupt line = 9
Device Dependent Registers:
0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 28 0f 00 00 00 00 00 00

–snip–
end of this mail