Hi Brad,
sorry for this incomplete mail... I've had a problem with lotus notes and
was preparing the complete version...

On Wed, 25 Sep 2002 18:00, [EMAIL PROTECTED] wrote:
>> Following my previous post about broken hiddev, here are the results of my
>> last tests with 2.5.36 :
>EAGAIN?

"control queue full", "Broken pipe(32)" and "can't open hiddev0" (major 180,
minor 96 ; should be right according to log ("hiddev96"). But I still have
"can't open (...), no such device".

I've boosted CONFIG_USB_LONG_TIMEOUT up to 6 (seconds) for control exchanges,
but
nothing better... I will also try with dynamic minor allocation.

Any idea about what is the exact cause of this problem and what should be done ?

I've included below a complete trace :

Thanks for your help,
Arnaud


/var/log/messages
*****************
Sep 25 10:26:35 pc-dev kernel: hub.c: new USB device 00:1f.2-1, assigned address
4
Sep 25 10:26:36 pc-dev kernel: usb.c: new device strings: Mfr=1, Product=2,
SerialNumber=3
Sep 25 10:26:36 pc-dev kernel: Product: Evolution
Sep 25 10:26:36 pc-dev kernel: Manufacturer: MGE UPS SYSTEMS
Sep 25 10:26:36 pc-dev kernel: SerialNumber: 1
Sep 25 10:26:36 pc-dev kernel: usb.c: usb_new_device_R1af24aad - registering
1-1:0
Sep 25 10:26:36 pc-dev kernel: usb.c: kusbd: /sbin/hotplug add 4
Sep 25 10:26:36 pc-dev kernel: hub.c: port 2, portstatus 303, change 0, 1.5 Mb/s
Sep 25 10:27:42 pc-dev kernel: usb.c: registered new driver hiddev
Sep 25 10:27:42 pc-dev kernel: usb.c: usb_device_probe_R31e717f0
Sep 25 10:27:42 pc-dev kernel: usb.c: usb_device_probe_R31e717f0 - got id
Sep 25 10:27:42 pc-dev kernel: hcd.c: giveback urb c444e320 status -32 len 0
Sep 25 10:27:42 pc-dev kernel: input: USB HID v1.00 Mouse [Microsoft Microsoft
IntelliMouse� Optical] on usb-00:1f.2-2
Sep 25 10:27:42 pc-dev kernel: usb.c: usb_device_probe_R31e717f0
Sep 25 10:27:42 pc-dev kernel: usb.c: usb_device_probe_R31e717f0 - got id
Sep 25 10:27:44 pc-dev upsmon[595]: Poll UPS [myups@localhost] failed - [myups]
does not exist on server localhost
Sep 25 10:27:44 pc-dev kernel: hid-core.c: control queue full
Sep 25 10:27:44 pc-dev kernel: hid-core.c: control queue full
Sep 25 10:27:46 pc-dev kernel: hcd.c: giveback urb c433ec60 status -32 len 0
Sep 25 10:27:46 pc-dev last message repeated 9 times
Sep 25 10:27:46 pc-dev kernel: file.c: asking for 1 minors, starting at 96
Sep 25 10:27:46 pc-dev kernel: file.c: found a minor chunk free, starting at 96
Sep 25 10:27:46 pc-dev kernel: hiddev96: USB HID v1.00 Device [MGE UPS SYSTEMS
Evolution] on usb-00:1f.2-1
Sep 25 10:27:46 pc-dev kernel: usb.c: registered new driver hid
Sep 25 10:27:46 pc-dev kernel: hid-core.c: v2.0:USB HID core driver
Sep 25 10:28:58 pc-dev kernel: usbfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6
 len 256 ret -32
Sep 25 10:28:58 pc-dev last message repeated 3 times
(...)

lsusb
*****
Unknown line at line 1742
Duplicate HUT Usage Spec at line 2569
cannot get string descriptor 1, error = Broken pipe(32)
cannot get string descriptor 2, error = Broken pipe(32)
cannot get string descriptor 3, error = Broken pipe(32)
cannot get string descriptor 1, error = Broken pipe(32)
cannot get string descriptor 2, error = Broken pipe(32)

Bus 001 Device 004: ID 0463:0001 MGE UPS Systems
  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            0 Interface
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0463 MGE UPS Systems
  idProduct          0x0001
  bcdDevice            0.01
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
cannot get config descriptor 0, Broken pipe (32)
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=32:Broken pipe)

Bus 001 Device 003: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
  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            0 Interface
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x045e Microsoft Corp.
  idProduct          0x0039 IntelliMouse Optical
  bcdDevice            1.21
  iManufacturer           1
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
cannot get config descriptor 0, Broken pipe (32)
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=32:Broken pipe)

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            2.05
  iManufacturer           3 Linux 2.5.36 uhci-hcd
  iProduct                2 Intel Corp. 82801AA USB
  iSerial                 1 00:1f.2
  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          2
        bInterval             255
  Language IDs: (length=4)
     0409 English(US)

/proc/bus/usb/devices
*********************
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=186/900 us (21%), #Int=  2, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.05
S:  Manufacturer=Linux 2.5.36 uhci-hcd
S:  Product=Intel Corp. 82801AA USB
S:  SerialNumber=00:1f.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=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0463 ProdID=0001 Rev= 0.01
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 20mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=20ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=045e ProdID=0039 Rev= 1.21
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to