-------------------------------------------------------------------
[1] USB blocks (and eventually timeouts) when received data are a multiple of the 
wMaxPacketSize


-------------------------------------------------------------------
[2] We use USB smart card readers and we have a problem when the data to receive are a 
multiple of the wMaxPacketSize.
I precise that they work fine on windows. :-(
I wish to precise that not all the smart card readers are concerned by the bug. Some 
works fine.
The problem is present with CCID compliant readers and other that are not CCID 
compliant.

In the following example we describe the problem with a CCID reader because these 
specifications are available at 
http://www.usb.org/developers/devclass_docs/ccid_classspec_1_00a.pdf

The reader used is the SCRx31 USB Smart Card Reader from SCM Microsystems Inc.
It has a wMaxPacketSize equals to 64 bytes 0x40 and thus the exchange are done by the 
endpoint using packet of 0x40 bytes.
The output of 'lsusb -v' is available at the [7.7] of this post.


In the CCID specification, the block received from the smart card reader are composed 
by a header of 0x0A bytes (i.e. 10 bytes) followed by the data.
Thus for example if the USB reader wants send to the host 0x50 bytes and as 0x50 > 
wMaxPacketSize2 packet we will receive 2 packets:
 one USB packet with 0x0A bytes of header + 0x36 bytes of data
and 
 an other packet with the last 0x1A bytes of data


This works fine in all the cases excepted for those where the reader wants to send 
0x36 or 0x76 or 0xB6 or 0xF6 bytes of data.

- for 0x36 bytes of data:
1 packet: 0x0A bytes header + 0x36 bytes of data
This is equal to 0x40 bytes thus it is exactly the size of wMaxPacketSize*1

- pour 0x74 bytes of data:
1 packet: 0x0A bytes header + 0x36 bytes of data
1 packet: 0x40 bytes of data
This is equal to 0x40 bytes thus it is exactly the size of wMaxPacketSize*2

- pour 0xB4 bytes of data:
1 packet: 0x0A bytes header + 0x36 bytes of data
1 packet: 0x40 bytes of data
1 packet: 0x40 bytes of data
This is equal to 0x40 bytes thus it is exactly the size of wMaxPacketSize*3

- pour 0xF4 bytes of data:
1 packet: 0x0A bytes header + 0x36 bytes of data
1 packet: 0x40 bytes of data
1 packet: 0x40 bytes of data
1 packet: 0x40 bytes of data
This is equal to 0x40 bytes thus it is exactly the size of wMaxPacketSize*4


-------------------------------------------------------------------
[3] usb, usbdevfs, uhci_hcd, ehci_hcd


-------------------------------------------------------------------
[4] Tested on 2.4.18, 2.4.23 and 2.6.0


-------------------------------------------------------------------
[5] no Oops


-------------------------------------------------------------------
[6] not applicable


-------------------------------------------------------------------
[7] Slackware 8.1, PC/SC Lite 1.2.0, ccid generic driver 0.3.2, libusb-0.1.7


-------------------------------------------------------------------
[7.1] 
[EMAIL PROTECTED]:/usr/src/linux# sh scripts/ver_linux 
Linux bdx-07 2.4.18 #4 Fri May 31 01:25:31 PDT 2002 i686 unknown
 
Gnu C                  2.95.3
Gnu make               3.79.1
util-linux             2.11r
mount                  2.11r
modutils               2.4.16
e2fsprogs              1.27
jfsutils               1.0.18
reiserfsprogs          3.x.1b
pcmcia-cs              3.2.6
quota-tools            3.06.
PPP                    2.4.1
Linux C Library        2.3.2
Dynamic linker (ldd)   2.3.2
Procps                 2.0.16
Net-tools              1.60
Kbd                    1.06
Sh-utils               2.0
Modules Loaded         usb-uhci usbcore snd-intel8x0 snd-pcm snd-timer snd-ac97-codec 
snd-mpu401-uart snd-rawmidi snd-seq-device snd soundcore apm ds i82365 pcmcia_core 
ide-scsi 
eepro100


-------------------------------------------------------------------
[7.2]
[EMAIL PROTECTED]:~$ cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 6
cpu MHz         : 449.622
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 
mmx fxsr sse
bogomips        : 884.73


-------------------------------------------------------------------
[7.3]
[EMAIL PROTECTED]:~$ cat /proc/modules 
usb-uhci               20708   0 (unused)
usbcore                48000   1 [usb-uhci]
snd-mixer-oss           9180   0 (autoclean)
snd-intel8x0            9888   0
snd-pcm                46432   0 [snd-intel8x0]
snd-timer               9896   0 [snd-pcm]
snd-ac97-codec         22756   0 [snd-intel8x0]
snd-mpu401-uart         2480   0 [snd-intel8x0]
snd-rawmidi            11680   0 [snd-mpu401-uart]
snd-seq-device          3600   0 [snd-rawmidi]
snd                    23436   0 [snd-mixer-oss snd-intel8x0 snd-pcm snd-timer 
snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3236   1 [snd]
apm                     9148   1
ds                      6856   3
i82365                 27388   3
pcmcia_core            44608   0 [ds i82365]
ide-scsi                7456   0
eepro100               17264   0


-------------------------------------------------------------------
[7.4]
[EMAIL PROTECTED]:~$ cat /proc/ioports 
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vesafb
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
c980-c9ff : Intel Corp. 82820 820 (Camino 2) Chipset AC'97 Modem Controller
ca00-caff : Intel Corp. 82820 820 (Camino 2) Chipset AC'97 Modem Controller
cdc0-cdff : Intel Corp. 82820 820 (Camino 2) Chipset AC'97 Audio Controller
  cdc0-cdff : Intel 82801BA-ICH2 - Controller
ce00-ceff : Intel Corp. 82820 820 (Camino 2) Chipset AC'97 Audio Controller
  ce00-ceff : Intel 82801BA-ICH2 - AC'97
cf60-cf7f : Intel Corp. 82820 820 (Camino 2) Chipset USB (Hub B)
  cf60-cf7f : usb-uhci
cf80-cf9f : Intel Corp. 82820 820 (Camino 2) Chipset USB (Hub A)
  cf80-cf9f : usb-uhci
cff0-cfff : Intel Corp. 82820 820 (Camino 2) Chipset IDE U100 (-M)
  cff0-cff7 : ide0
  cff8-cfff : ide1
d000-dfff : PCI Bus #02
  df40-df7f : Intel Corp. 82820 (ICH2) Chipset Ethernet Controller
    df40-df7f : eepro100


[EMAIL PROTECTED]:~$ cat /proc/iomem 
00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000e0000-000effff : Extension ROM
000f0000-000fffff : System ROM
00100000-0ff5ffff : System RAM
  00100000-0028031c : Kernel code
  0028031d-002eade3 : Kernel data
0ff60000-0ff6ffff : ACPI Tables
0ff70000-0fffffff : reserved
a0000000-a0000fff : card services
f0000000-f3ffffff : Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub
f7d00000-f7dfffff : PCI Bus #02
  f7d00000-f7d00fff : Texas Instruments PCI1410 PC card Cardbus Controller
    f7d00000-f7d00fff : i82365
  f7d01000-f7d01fff : Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with 
ZV Support
    f7d01000-f7d01fff : i82365
  f7d02000-f7d02fff : Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with 
ZV Support (#2)
    f7d02000-f7d02fff : i82365
  f7dff000-f7dfffff : Intel Corp. 82820 (ICH2) Chipset Ethernet Controller
    f7dff000-f7dfffff : eepro100
f7f00000-fdffffff : PCI Bus #01
  f7ff8000-f7ffffff : Trident Microsystems CyberBlade/XP
  f8000000-f9ffffff : Trident Microsystems CyberBlade/XP
  fbc00000-fbffffff : Trident Microsystems CyberBlade/XP
  fc000000-fdffffff : Trident Microsystems CyberBlade/XP
    fc000000-fcffffff : vesafb
feea0000-feebffff : reserved
ffb00000-ffbfffff : reserved
fff00000-ffffffff : reserved


-------------------------------------------------------------------
[7.5]
[EMAIL PROTECTED]:/usr/src/linux# lspci -vvv
00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller 
Hub (rev 11)
        Subsystem: Toshiba America Info Systems: Unknown device 0001
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ >SERR- <PERR-
        Latency: 0
        Region 0: Memory at f0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [88] #09 [f205]
        Capabilities: [a0] AGP version 2.0
                Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2,x4
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

00:01.0 PCI bridge: Intel Corp. 82815 815 Chipset AGP Bridge (rev 11) (prog-if 00 
[Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: f7f00000-fdffffff
        Prefetchable memory behind bridge: fff00000-000fffff
        BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-

00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 03) (prog-if 00 [Normal 
decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=02, subordinate=07, sec-latency=64
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: f7d00000-f7dfffff
        Prefetchable memory behind bridge: fff00000-000fffff
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-

00:1f.0 ISA bridge: Intel Corp. 82801BAM ISA Bridge (LPC) (rev 03)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 0

00:1f.1 IDE interface: Intel Corp. 82801BAM IDE U100 (rev 03) (prog-if 80 [Master])
        Subsystem: Toshiba America Info Systems: Unknown device 0001
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 0
        Region 4: I/O ports at cff0 [size=16]

00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 03) (prog-if 00 
[UHCI])
        Subsystem: Toshiba America Info Systems: Unknown device 0001
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at cf80 [size=32]

00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 03) (prog-if 00 
[UHCI])
        Subsystem: Toshiba America Info Systems: Unknown device 0001
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin C routed to IRQ 11
        Region 4: I/O ports at cf60 [size=32]

00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 03)
        Subsystem: Toshiba America Info Systems: Unknown device 0001
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 11
        Region 0: I/O ports at ce00 [size=256]
        Region 1: I/O ports at cdc0 [size=64]

00:1f.6 Modem: Intel Corp. 82801BA/BAM AC'97 Modem (rev 03) (prog-if 00 [Generic])
        Subsystem: Toshiba America Info Systems: Unknown device 0001
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 11
        Region 0: I/O ports at ca00 [size=256]
        Region 1: I/O ports at c980 [size=128]

01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/XP (rev 63) 
(prog-if 00 [VGA])
        Subsystem: Toshiba America Info Systems: Unknown device 0001
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 8
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at fc000000 (32-bit, non-prefetchable) [size=32M]
        Region 1: Memory at fbc00000 (32-bit, non-prefetchable) [size=4M]
        Region 2: Memory at f8000000 (32-bit, non-prefetchable) [size=32M]
        Region 3: Memory at f7ff8000 (32-bit, non-prefetchable) [size=32K]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [80] AGP version 2.0
                Status: RQ=32 SBA+ 64bit- FW- Rate=x1,x2,x4
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
Capabilities: [90] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller (rev 
03)
        Subsystem: Intel Corp.: Unknown device 3013
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 64 (2000ns min, 14000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at f7dff000 (32-bit, non-prefetchable) [size=4K]
        Region 1: I/O ports at df40 [size=64]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D2 PME-Enable- DSel=0 DScale=2 PME-

02:0c.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
        Subsystem: Lucent Technologies: Unknown device ab01
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 64, cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at f7d00000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=03, subordinate=03, sec-latency=176
        Memory window 0: 00000000-00000000 (prefetchable)
        Memory window 1: 00000000-00000000 (prefetchable)
        I/O window 0: 00000000-00000003
        I/O window 1: 00000000-00000003
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
        16-bit legacy interface ports at 0001

02:0d.0 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge 
with ZV Support (rev 31)
        Subsystem: Toshiba America Info Systems: Unknown device 0001
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at f7d01000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=04, subordinate=04, sec-latency=0
        Memory window 0: 00000000-00000000
        Memory window 1: 00000000-00000000
        I/O window 0: 00000000-00000003
        I/O window 1: 00000000-00000003
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
        16-bit legacy interface ports at 0001

02:0d.1 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge 
with ZV Support (rev 31)
        Subsystem: Toshiba America Info Systems: Unknown device 0001
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin B routed to IRQ 11
        Region 0: Memory at f7d02000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=05, subordinate=05, sec-latency=0
        Memory window 0: 00000000-00000000
        Memory window 1: 00000000-00000000
        I/O window 0: 00000000-00000003
        I/O window 1: 00000000-00000003
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
        16-bit legacy interface ports at 0001


-------------------------------------------------------------------
[7.6]
[EMAIL PROTECTED]:~$ cat /proc/scsi/scsi 
Attached devices: none


-------------------------------------------------------------------
[7.7]
[EMAIL PROTECTED]:/usr/src/linux# lsusb -v 
Unknown line at line 1809
Duplicate HUT Usage Spec at line 2650

Bus 002 Device 001: ID 0000:0000 Virtual Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0000 Virtual
  idProduct          0x0000 Hub
  bcdDevice            0.00
  iManufacturer           0 
  iProduct                2 USB UHCI Root Hub
  iSerial                 1 cf60
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          8
        bInterval             255
  Language IDs: (length=4)
     0000 (null)((null))

Bus 001 Device 001: ID 0000:0000 Virtual Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0000 Virtual
  idProduct          0x0000 Hub
  bcdDevice            0.00
  iManufacturer           0 
  iProduct                2 USB UHCI Root Hub
  iSerial                 1 cf80
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          8
        bInterval             255
  Language IDs: (length=4)
     0000 (null)((null))

Bus 001 Device 004: ID 04e6:e001 Shuttle Technology Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 Interface
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        16
  idVendor           0x04e6 Shuttle Technology Inc.
  idProduct          0xe001 
  bcdDevice            4.13
  iManufacturer           1 SCM Microsystems Inc.
  iProduct                2 SCRx31 USB Smart Card Reader
  iSerial                 5 23000226
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           93
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          3
    bmAttributes         0x80
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass        11 
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              4 CCID Interface
  unknown descriptor type: 36 21 00 01 00 01 03 00 00 00 a0 0f 00 00 a0 0f 00 00 00 80 
25 00 00 00 c2 01 00 00 fc 00 00 00 00 00 00 00 00 00 00 00 ba 00 01 00 07 01 00 00 ff 
ff 00 00 00 01
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize         16
        bInterval              16
  Language IDs: (length=4)
     0409 English(US)


-------------------------------------------------------------------

Ludovic Rousseau and me are available do help you to debug, trace and test the 
proposed patches.

Ludovic Rousseau <[EMAIL PROTECTED]> has developed the CCID driver (IFDHandler) for 
the PC/SC Lite project.
Damien Sauveron <[EMAIL PROTECTED]>

--
Damien Sauveron
----------------------------------------
LaBRI, Universit� Bordeaux 1
351, cours de la Lib�ration 33405
Talence cedex France
T�l. On demand - Fax. +33 5 40 00 66 69
----------------------------------------


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to