Hi Alan,

Thanks for your reply. I have been unavailable most of last week, but
here is the information requested.

First, I discovered that the issue of having no endpoints listed in 2.6
test9 only happened when I plugged the device after boot. If the device
is plugged before I boot, the endpoints are listed. At least I can now
progress on the driver rewriting.

I have looked for error messages in the case where I plug after boot.
Here is a snippet of /var/log/syslog

Dec  6 12:19:30 localhost kernel: ehci_hcd 0000:00:1d.7: GetStatus port
2 status 001803 POWER sig=j  CSC CONNECT
Dec  6 12:19:30 localhost kernel: hub 4-0:1.0: port 2, status 501,
change 1, 480 Mb/s
Dec  6 12:19:30 localhost kernel: hub 4-0:1.0: debounce: port 2: delay
100ms stable 4 status 0x501
Dec  6 12:19:30 localhost kernel: ehci_hcd 0000:00:1d.7: port 2 full
speed --> companion
Dec  6 12:19:30 localhost kernel: ehci_hcd 0000:00:1d.7: GetStatus port
2 status 003801 POWER OWNER sig=j  CONNECT
Dec  6 12:19:30 localhost kernel: ehci_hcd 0000:00:1d.7: GetStatus port
5 status 003002 POWER OWNER sig=se0  CSC
Dec  6 12:19:30 localhost kernel: hub 4-0:1.0: port 5, status 0, change
1, 12 Mb/s
Dec  6 12:19:30 localhost kernel: hub 1-0:1.0: port 2, status 101,
change 1, 12 Mb/s
Dec  6 12:19:30 localhost kernel: drivers/usb/host/uhci-hcd.c: 48c0:
wakeup_hc
Dec  6 12:19:30 localhost kernel: hub 1-0:1.0: debounce: port 2: delay
100ms stable 4 status 0x101
Dec  6 12:19:30 localhost kernel: hub 1-0:1.0: new USB device on port 2,
assigned address 2
Dec  6 12:19:31 localhost /etc/hotplug/usb.agent: Bad USB agent
invocation
Dec  6 12:19:31 localhost kernel: usb 1-2: new device strings: Mfr=0,
Product=0, SerialNumber=0
Dec  6 12:19:31 localhost kernel: drivers/usb/core/usb.c: usb_hotplug
Dec  6 12:19:31 localhost kernel: usb 1-2: registering 1-2:1.0 (config
#1, interface 0)
Dec  6 12:19:31 localhost kernel: drivers/usb/core/usb.c: usb_hotplug
Dec  6 12:19:34 localhost /etc/hotplug/usb.agent: ... no modules for USB
product 864/4100/100
Dec  6 12:19:35 localhost kernel: usbfs: process 2291 (lsusb) did not
claim interface 0 before use
Dec  6 12:19:35 localhost kernel: usbfs: USBDEVFS_CONTROL failed cmd
lsusb dev 2 rqt 128 rq 6 len 256 ret -32

Do these two lines indicate anything that could be related to the pb?
Dec  6 12:19:31 localhost /etc/hotplug/usb.agent: Bad USB agent
invocation
Dec  6 12:19:35 localhost kernel: usbfs: USBDEVFS_CONTROL failed cmd
lsusb dev 2 rqt 128 rq 6 len 256 ret -32


For the rest of your questions/remarks:

> Nov 29 00:59:57 localhost kernel: uhci.c: 48c0: host controller
halted.
> > very bad
> 
> That should never happen!  Do you think it has anything to do with your
> problem?  From the timestamp it occurred about 5 minutes _before_ you
> plugged in your device.

Actually, after checking, this happens with kernel 2.4 ONLY, and the
device works with 2.4 ....


Are the 2.4 and 2.6 runs made using the same computer and same hardware,
> just different operating systems?

Same computer, same hardware.

Are you using the same lsusb program for both tests?
yes: lsusb (usbutils)  0.11


 Is the device plugged in to the same
> port each time?
Where are your copies of /proc/bus/usb/devices with the device plugged
in
> under 2.4 and 2.6?
> 
I was not sure it was the same port so I have provided below,
-lsusb output for kernel 2.4, 2.6 test 9 with device plugged in at boot and 2.6 test 9 
with device plugged in after boot
-/proc/bus/usb/devices for the 3 configurations


---------/proc/bus/usb/devices----------------------------------------

*** kernel 2.4

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.04
S:  Manufacturer=Linux 2.4.22-21mdk ehci_hcd
S:  Product=Intel Corp. 82801DB USB2
S:  SerialNumber=00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=118/900 us (13%), #Int=  1, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=4c00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c501 Rev= 9.10
S:  Manufacturer=Logitech
S:  Product=USB Receiver
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 50mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=48e0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=48c0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=fe(app. ) Sub=01 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0864 ProdID=4100 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=ff Driver=usbvnet
E:  Ad=85(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms


*** kernel 2.6 test 9 with device plugged in at boot

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.0-test9 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
 
T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=118/900 us (13%), #Int=  1, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.0-test9 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
 
T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c501 Rev= 9.10
S:  Manufacturer=Logitech
S:  Product=USB Receiver
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 50mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
 
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.0-test9 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.1
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
 
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.0-test9 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
 
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=fe(app. ) Sub=01 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0864 ProdID=4100 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
E:  Ad=85(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms


*** kernel 2.6 test 9 with device plugged in AFTER boot

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.0-test9 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
 
T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=118/900 us (13%), #Int=  1, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.0-test9 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
 
T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c501 Rev= 9.10
S:  Manufacturer=Logitech
S:  Product=USB Receiver
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 50mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
 
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.0-test9 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.1
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
 
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.0-test9 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
 
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=fe(app. ) Sub=01 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0864 ProdID=4100 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)



---------/proc/bus/usb/devices----------------------------------------

*** lsusb with kernel 2.4

Bus 001 Device 002: ID 0864:4100 NetGear, Inc. MA101 Wireless Adapter
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=32:Broken pipe)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          254
  bDeviceSubClass         1
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0864 NetGear, Inc.
  idProduct          0x4100 MA101 Wireless Adapter
  bcdDevice            1.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=32:Broken pipe)



*** kernel 2.6 test 9 with device plugged in at boot

lsusb (usbutils)  0.11

Bus 001 Device 002: ID 0864:4100 NetGear, Inc. MA101 Wireless Adapter
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=32:Broken pipe)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          254
  bDeviceSubClass         1
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0864 NetGear, Inc.
  idProduct          0x4100 MA101 Wireless Adapter
  bcdDevice            1.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=32:Broken pipe)


*** kernel 2.6 test 9 with device plugged in AFTER boot

Bus 001 Device 002: ID 0864:4100 NetGear, Inc. MA101 Wireless Adapter
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=32:Broken pipe)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          254
  bDeviceSubClass         1
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0864 NetGear, Inc.
  idProduct          0x4100 MA101 Wireless Adapter
  bcdDevice            1.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       254
      bInterfaceSubClass      1
      bInterfaceProtocol      0
      iInterface              0
  unknown descriptor type: 07 21 01 13 05 00 04
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=32:Broken pipe)



cheers

bruno

Le dim 30/11/2003 Ã 18:00, Alan Stern a Ãcrit :
> On Sun, 30 Nov 2003, Bruno GRIEDER wrote:
> 
> > Alan,
> > 
> > Thanks for your reply ( and sorry for the spelling mistakes).
> > 
> > Please find below the requested information:
> > 
> > lsusb -v with kernel 2.4 showing 2 bulk endpoints on interface 0
> > lsusb -v with kernel 2.6 pre 9 showing 0 endpoint on interface 0
> > 
> > /var/log/syslog on kernel 2.6 pre 9 when the device is plugged
> > /var/log/kernel/info on kernel 2.6 pre 9 when the device is plugged
> > /var/log/kernel/errors on kernel 2.6 pre 9 when the device is plugged
> > 
> > Best Regards
> > 
> > Bruno Grieder
> 
> Are the 2.4 and 2.6 runs made using the same computer and same hardware,
> just different operating systems?  Is the device plugged in to the same
> port each time?  I ask because the descriptors shown below aren't the
> same.  Are you using the same lsusb program for both tests?
> 
> You're getting different values for the configuration's wTotalLength and 
> the interface's bNumEndpoints, bInterfaceClass, bInterfaceSubClass, and 
> bInterfaceProtocol.  This makes it look like two completely different 
> descriptor sets, as though one test was run at full speed and the other at 
> high speed.
> 
> > Kernel 2.4 lsusb -v showing 2 endpointis on interface 0
> <snip>
> >   Configuration Descriptor:
> >     bLength                 9
> >     bDescriptorType         2
> >     wTotalLength           32
> >     bNumInterfaces          1
> >     bConfigurationValue     1
> >     iConfiguration          0
> >     bmAttributes         0x80
> >     MaxPower              500mA
> >     Interface Descriptor:
> >       bLength                 9
> >       bDescriptorType         4
> >       bInterfaceNumber        0
> >       bAlternateSetting       0
> >       bNumEndpoints           2
> >       bInterfaceClass       255 Vendor Specific Class
> >       bInterfaceSubClass      0
> >       bInterfaceProtocol    255
> >       iInterface              0
> 
> <snip>
> 
> > Kernel 2.6: lsusb -v    showing 0 endpoints on interface 0 
> <snip>
> >   Configuration Descriptor:
> >     bLength                 9
> >     bDescriptorType         2
> >     wTotalLength           25
> >     bNumInterfaces          1
> >     bConfigurationValue     1
> >     iConfiguration          0
> >     bmAttributes         0x80
> >     MaxPower              500mA
> >     Interface Descriptor:
> >       bLength                 9
> >       bDescriptorType         4
> >       bInterfaceNumber        0
> >       bAlternateSetting       0
> >       bNumEndpoints           0
> >       bInterfaceClass       254
> >       bInterfaceSubClass      1
> >       bInterfaceProtocol      0
> >       iInterface              0
> >   unknown descriptor type: 07 21 01 13 05 00 04
> 
> If that's a descriptor at all, it's a vendor-specific one and it didn't
> show up in the previous output.
> 
> Where are your copies of /proc/bus/usb/devices with the device plugged in
> under 2.4 and 2.6?
> 
> The logs look pretty normal.  Except for one apparently unrelated item:
> 
> > kernel 2.6: /var/log/kernel/errors
> > 
> > Nov 28 21:50:08 localhost kernel: sr0: CDROM (ioctl) reports ILLEGAL
> > REQUEST.
> > Nov 29 00:59:57 localhost kernel: uhci.c: 48c0: host controller halted.
> > very bad
> 
> That should never happen!  Do you think it has anything to do with your
> problem?  From the timestamp it occurred about 5 minutes _before_ you
> plugged in your device.
> 
> Alan Stern
> 



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to