blacklisting a device

Cheuksan Edward Wang wang02139 at gmail.com
Thu Feb 2 09:21:32 PST 2006


On 1/28/06, David Zeuthen <david at fubar.dk> wrote:
>
> On Fri, 2006-01-27 at 21:46 -0500, Cheuksan Edward Wang wrote:
> > I have a special USB device. HAL tries to probe it and I get a lot of
> > these error messages in my log:
> >
> > usb 2-2: hald timed out on ep0in
> > usb 2-2: hald timed out on ep0in
> > usb 2-2: hald timed out on ep0in
>
> Interesting. What kind of device is this? Would be useful with the
> appropriate snippet from lsusb.


wang at ubuntu:~ $ lsusb

Bus 001 Device 003: ID 07f2:0001

wang at ubuntu:~ $ lsusb -v

Bus 001 Device 003: ID 07f2:0001
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.01
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x07f2
  idProduct          0x0001
  bcdDevice            0.00
  iManufacturer           1
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4
    bmAttributes         0x80
    MaxPower               10mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         0 (Defined at Interface level)
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              5 EndPoint1 10ms Interrupt Pipe
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10


Any ideas?

At this point it looks more like either your device, the kernel or parts
> of hal is broken. Btw, not really sure if we should have blacklists as
> HAL have proven to be useful in finding defects with subsystems and
> drivers :-)


I think blacklist would be a useful, practical feature.

Cheuksan Wang


    David
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/hal/attachments/20060202/ee4e19eb/attachment.html


More information about the hal mailing list