driver problem: cx231xx error -71 with Hauppauge USB live2 on Ubuntu 11.04, netbook edition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm using a Hauppauge USB live2 video capture stick with Ubuntu 11.04,
netbook edition.
On Ubuntu 10.04, I pulled v4l from a development mercurial branch,
where cx231xx drivers were provided. That worked ok.

Ubuntu since then was upgraded to 10.10 with kernel 2.6.35, which is
where I couldn't use that branch anymore. Since the driver was
upstreamed,
I decided to give the media_build branch a go. I ran into problems
trying to compile media_build on 10.10, because that uses kernel
2.6.35,
and decided to upgrade to Ubuntu alpha 11.04, which uses kernel
2.6.37, so that the v4l would be better supported.

After deactivating two modules in .config that created some problems
in media_build, I was able to get a successful build and 'make
install'
them. After a reboot and sticking in the capture stick, tvtime, xawtv
or other applications do start, but only a black screen is the result.
The standard camera from the netbook itself does give output, so it's
not likely an overall video or X issue. I tried to remove the stick,
replug it back in,
replug it into different ports, start up with the stick already in,
but nothing worked. The output @ dmesg is always the same and repeats
itself infinitely.

dmesg and lsusb information is attached.

Further details:
- hardware: Siemens N210 netbook (has another built-in camera @ /dev/video0)
- Ubuntu 11.04 netbook edition
- Linux 2.6.37-12-generic 32-bit i686 GNU/Linux (stock kernel that
comes with Ubuntu 11.04)
- Code pulled from "media_build.git", cloned yesterday
- Hauppauge USB Live2 video capture card, using cx231xx driver.


Are there any workarounds or quick patches available, or is the best
bet to revert to 10.04 for now?

Rgds,

--
Gerard Toonstra
[   24.792153] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=600
[  298.200169] usb 1-3: new high speed USB device using ehci_hcd and address 4
[  298.649894] IR NEC protocol handler initialized
[  298.775783] IR RC5(x) protocol handler initialized
[  298.824703] IR RC6 protocol handler initialized
[  298.867118] IR JVC protocol handler initialized
[  298.883119] IR Sony protocol handler initialized
[  298.925251] cx231xx v4l2 driver loaded.
[  298.925346] cx231xx #0: New device Hauppauge Hauppauge Device @ 480 Mbps (2040:c200) with 5 interfaces
[  298.925355] cx231xx #0: registering interface 1
[  298.928177] cx231xx #0: can't change interface 3 alt no. to 3: Max. Pkt size = 0
[  298.936729] lirc_dev: IR Remote Control driver registered, major 251 
[  298.953366] cx231xx #0: can't change interface 4 alt no. to 1: Max. Pkt size = 0
[  298.954601] cx231xx #0: Identified as Hauppauge USB Live 2 (card=9)
[  298.958800] IR LIRC bridge handler initialized
[  299.040076] cx231xx #0: cx231xx_dif_set_standard: setStandard to ffffffff
[  299.048267] cx231xx #0: Changing the i2c master port to 3
[  299.075821] cx25840 14-0044: cx23102 A/V decoder found @ 0x88 (cx231xx #0)
[  299.094295] cx25840 14-0044:  Firmware download size changed to 16 bytes max length
[  301.212174] cx25840 14-0044: loaded v4l-cx231xx-avcore-01.fw firmware (16382 bytes)
[  301.244548] cx231xx #0: cx231xx #0: v4l2 driver version 0.0.1
[  301.267040] cx231xx #0: cx231xx_dif_set_standard: setStandard to ffffffff
[  301.313541] cx231xx #0: video_mux : 0
[  301.313554] cx231xx #0: do_mode_ctrl_overrides : 0xb000
[  301.314410] cx231xx #0: do_mode_ctrl_overrides NTSC
[  301.321900] cx231xx #0: cx231xx #0/0: registered device video1 [v4l2]
[  301.322109] cx231xx #0: cx231xx #0/0: registered device vbi0
[  301.322123] cx231xx #0: V4L2 device registered as video1 and vbi0
[  301.322138] cx231xx #0: EndPoint Addr 0x84, Alternate settings: 5
[  301.322151] cx231xx #0: Alternate setting 0, max size= 512
[  301.322161] cx231xx #0: Alternate setting 1, max size= 184
[  301.322172] cx231xx #0: Alternate setting 2, max size= 728
[  301.322184] cx231xx #0: Alternate setting 3, max size= 2892
[  301.322196] cx231xx #0: Alternate setting 4, max size= 1800
[  301.322209] cx231xx #0: EndPoint Addr 0x85, Alternate settings: 2
[  301.322229] cx231xx #0: Alternate setting 0, max size= 512
[  301.322241] cx231xx #0: Alternate setting 1, max size= 512
[  301.322253] cx231xx #0: EndPoint Addr 0x86, Alternate settings: 2
[  301.322266] cx231xx #0: Alternate setting 0, max size= 512
[  301.322278] cx231xx #0: Alternate setting 1, max size= 576
[  301.322877] usbcore: registered new interface driver cx231xx
[  301.334859] cx231xx #0:  setPowerMode::mode = 48, No Change req.
[  301.336410] cx231xx #0: cx231xx_stop_stream():: ep_mask = 8
[  301.336930] cx231xx #0: cx231xx_stop_stream():: ep_mask = 8
[  301.376760] cx231xx #0: cx231xx-audio.c: probing for cx231xx non standard usbaudio
[  301.377546] cx231xx #0: EndPoint Addr 0x83, Alternate settings: 3
[  301.377557] cx231xx #0: Alternate setting 0, max size= 512
[  301.377564] cx231xx #0: Alternate setting 1, max size= 28
[  301.377571] cx231xx #0: Alternate setting 2, max size= 52
[  301.377578] cx231xx: Cx231xx Audio Extension initialized
[  301.503479] cx231xx #0: cx231xx_start_stream():: ep_mask = 4
[  301.507851] cx231xx #0: cx231xx_stop_stream():: ep_mask = 4
[  301.516045] cx231xx #0: can't change interface 2 alt no. to 0 (err=-71)
[  301.516058] cx231xx #0: failed to set alternate setting !
[  301.520681] cx231xx #0: can't change interface 2 alt no. to 1 (err=-71)
[  301.520695] cx231xx #0: failed to set alternate setting !
[  301.526299] cx231xx #0: can't change interface 2 alt no. to 1 (err=-71)
[  301.526313] cx231xx #0: failed to set alternate setting !
[  301.574426] cx231xx #0: can't change interface 2 alt no. to 1 (err=-71)
[  301.574440] cx231xx #0: failed to set alternate setting !
[  301.579422] cx231xx #0: can't change interface 2 alt no. to 1 (err=-71)
[  301.579437] cx231xx #0: failed to set alternate setting !
Bus 001 Device 002: ID 2040:c200 Hauppauge 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x2040 Hauppauge
  idProduct          0xc200 
  bcdDevice           40.01
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          248
    bNumInterfaces          6
    bConfigurationValue     1
    iConfiguration          4 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              340mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             32 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x8e  EP 14 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x0e  EP 14 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               4
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         1
      bInterfaceCount         5
      bFunctionClass        255 Vendor Specific Class
      bFunctionSubClass     255 Vendor Specific Subclass
      bFunctionProtocol     255 Vendor Specific Protocol
      iFunction               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              7 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x8f  EP 15 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               7
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             20 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             21 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x001c  1x 28 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             22 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0034  1x 52 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             23 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             24 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x00b8  1x 184 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             25 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x02d8  1x 728 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             26 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x13c4  3x 964 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             27 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0b84  2x 900 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             28 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             31 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        5
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             29 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        5
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface             30 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0240  1x 576 bytes
        bInterval               1
can't get device qualifier: Protocol error
can't get debug descriptor: Protocol error
cannot read device status, Protocol error (71)


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux