cpia & usb problems

From: Chris Wedgwood (cw@f00f.org)
Date: Wed Feb 16 2000 - 14:57:00 EST


I decided to have another play with USB and a Creative Webcam II
(cpia based) -- is the past I've never had any success, only oopsen.

With pre-2.3.46-3 I don't get oopsen anymore, but I do get a
complaint that the device won't accept a new address -- is this a bug
of a flaw in the camera or something competely different?

I have tried with both uhci drivers; uhci.o:

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver cpia
uhci.c: detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb.c: USB new device connect, assigned device number 1
usb.c: kmalloc IF c777dd80, numif 1
usb.c: new device strings: Mfr=0, Product=0, SerialNumber=0
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: ganged power switching
hub.c: standalone hub
hub.c: global over-current protection
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port 1 is removable
hub.c: port 2 is removable
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: usb-bandwidth-alloc: was: 0, new: 17, bustime = 17 us, Pipe allowed: yes
usb.c: bw_alloc bumped to 17 for 1 requesters
usb.c: hub driver claimed interface c777dd80
  Length = 18
  DescriptorType = 01
  USB version = 1.00
  Vendor:Product = 0000:0000
  MaxPacketSize0 = 8
  NumConfigurations = 1
  Device version = 0.00
  Device Class:SubClass:Protocol = 09:00:00
    Hub device class
Configuration:
  bLength = 9
  bDescriptorType = 02
  wTotalLength = 0019
  bNumInterfaces = 01
  bConfigurationValue = 01
  iConfiguration = 00
  bmAttributes = 40
  MaxPower = 0mA

  Interface: 0
  Alternate Setting: 0
    bLength = 9
    bDescriptorType = 04
    bInterfaceNumber = 00
    bAlternateSetting = 00
    bNumEndpoints = 01
    bInterface Class:SubClass:Protocol = 09:00:00
    iInterface = 00
    Endpoint:
      bLength = 7
      bDescriptorType = 05
      bEndpointAddress = 81 (in)
      bmAttributes = 03 (Interrupt)
      wMaxPacketSize = 0008
      bInterval = ff
uhci.c: root-hub INT complete: port1: 80 port2: 93 data: 4
hub.c: port 2 connection change
hub.c: portstatus 101, change 1, High Speed
hub.c: portstatus 103, change 0, High Speed
usb.c: USB new device connect, assigned device number 2
uhci.c: uhci_result_control() failed with status 440000
      Depth traverse
      td 0: [c73aa0e0]
      00000001 e0 IOC Stalled CRC/Timeo Length=7ff MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
uhci.c: uhci_result_control() failed with status 440000
      Depth traverse
      td 0: [c73aa020]
      00000001 e0 IOC Stalled CRC/Timeo Length=7ff MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
uhci.c: uhci_result_control() failed with status 440000
      Depth traverse
      td 0: [c73aa0e0]
      00000001 e0 IOC Stalled CRC/Timeo Length=7ff MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
uhci.c: uhci_result_control() failed with status 440000
      Depth traverse
      td 0: [c73aa020]
      00000001 e0 IOC Stalled CRC/Timeo Length=7ff MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
uhci.c: uhci_result_control() failed with status 440000
      Depth traverse
      td 0: [c73aa0e0]
      00000001 e0 IOC Stalled CRC/Timeo Length=7ff MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
usb.c: USB device not responding, giving up (error=-110)
hub.c: hub: disabling port 2

and usb-uhci.o:

usb-uhci.c: version v1.184 time 08:30:51 Feb 17 2000
usb.c: USB disconnect on device 1
usb.c: bw_alloc reduced to 0 for 0 requesters
usb.c: USB disconnect on device -1
usb.c: USB bus 1 deregistered
kmem_create: Dup name - uhci_desc
kmem_create: Dup name - urb_priv
usb-uhci.c: version v1.184 time 08:30:51 Feb 17 2000
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb.c: USB new device connect, assigned device number 1
usb.c: kmalloc IF c777dd40, numif 1
usb.c: new device strings: Mfr=0, Product=0, SerialNumber=0
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: ganged power switching
hub.c: standalone hub
hub.c: global over-current protection
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port 1 is removable
hub.c: port 2 is removable
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: usb-bandwidth-alloc: was: 0, new: 17, bustime = 17 us, Pipe allowed: yes
usb.c: bw_alloc bumped to 17 for 1 requesters
usb.c: hub driver claimed interface c777dd40
  Length = 18
  DescriptorType = 01
  USB version = 1.00
  Vendor:Product = 0000:0000
  MaxPacketSize0 = 8
  NumConfigurations = 1
  Device version = 0.00
  Device Class:SubClass:Protocol = 09:00:00
    Hub device class
Configuration:
  bLength = 9
  bDescriptorType = 02
  wTotalLength = 0019
  bNumInterfaces = 01
  bConfigurationValue = 01
  iConfiguration = 00
  bmAttributes = 40
  MaxPower = 0mA

  Interface: 0
  Alternate Setting: 0
    bLength = 9
    bDescriptorType = 04
    bInterfaceNumber = 00
    bAlternateSetting = 00
    bNumEndpoints = 01
    bInterface Class:SubClass:Protocol = 09:00:00
    iInterface = 00
    Endpoint:
      bLength = 7
      bDescriptorType = 05
      bEndpointAddress = 81 (in)
      bmAttributes = 03 (Interrupt)
      wMaxPacketSize = 0008
      bInterval = ff
hub.c: port 2 connection change
hub.c: portstatus 101, change 1, High Speed
hub.c: portstatus 103, change 0, High Speed
usb.c: USB new device connect, assigned device number 2
usb-uhci.c: interrupt, status 2, frame# 1048
usb-uhci-debug.h: uhci_show_td c7121820 (07121820)
usb-uhci-debug.h: MaxLen=07 DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0777db80)
usb-uhci-debug.h: Len=07 e0 SPD Stalled CRC/Timeo
usb-uhci-debug.h: Breadth first, link points to TD @ 07121860
usb.c: USB device not accepting new address (error=-110)
hub.c: hub: disabling port 2
usb.c: USB disconnect on device 1
usb.c: bw_alloc reduced to 0 for 0 requesters
usb.c: USB disconnect on device -1
usb.c: USB bus 1 deregistered
usb.c: deregistering driver cpia
usb.c: deregistering driver usbdevfs
hub.c: usb_hub_thread exiting
usb.c: deregistering driver hub

-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:15 EST