All of lore.kernel.org
 help / color / mirror / Atom feed
* driver problem: cx231xx error -71 with Hauppauge USB live2 on Ubuntu 11.04, netbook edition
       [not found] <AANLkTinprP=o6_TnPjj1ieZAp27qmW-nuWHq04dN1oVp@mail.gmail.com>
@ 2011-01-20 12:11 ` Gerard Toonstra
  2011-07-26 11:53   ` Doychin Dokov
  0 siblings, 1 reply; 6+ messages in thread
From: Gerard Toonstra @ 2011-01-20 12:11 UTC (permalink / raw)
  To: LMML

[-- Attachment #1: Type: text/plain, Size: 1773 bytes --]

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

[-- Attachment #2: dmesg.txt --]
[-- Type: text/plain, Size: 4102 bytes --]

[   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 !

[-- Attachment #3: lsusb.txt --]
[-- Type: text/plain, Size: 12442 bytes --]

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)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: driver problem: cx231xx error -71 with Hauppauge USB live2 on Ubuntu 11.04, netbook edition
  2011-01-20 12:11 ` driver problem: cx231xx error -71 with Hauppauge USB live2 on Ubuntu 11.04, netbook edition Gerard Toonstra
@ 2011-07-26 11:53   ` Doychin Dokov
  2011-07-26 12:17     ` Devin Heitmueller
  0 siblings, 1 reply; 6+ messages in thread
From: Doychin Dokov @ 2011-07-26 11:53 UTC (permalink / raw)
  To: linux-media

I'm having the same problem, on Ubuntu Server 11.04 x64, kernel 
2.6.38-10. I've also tried Debian with the same results. Here's the 
debug log from the Ubuntu installation:
[416830.888124] cx231xx #0: cx231xx #0/0: registered device video3 [v4l2]
[416830.888243] cx231xx #0: cx231xx #0/0: registered device vbi3
[416830.888251] cx231xx #0: V4L2 device registered as video3 and vbi3
[416830.888260] cx231xx #0: cx231xx-audio.c: probing for cx231xx non 
standard usbaudio
[416830.888684] cx231xx #0: EndPoint Addr 0x83, Alternate settings: 3
[416830.888695] cx231xx #0: Alternate setting 0, max size= 512
[416830.888703] cx231xx #0: Alternate setting 1, max size= 28
[416830.888710] cx231xx #0: Alternate setting 2, max size= 52
[416830.888720] cx231xx #0: EndPoint Addr 0x84, Alternate settings: 5
[416830.888728] cx231xx #0: Alternate setting 0, max size= 512
[416830.888735] cx231xx #0: Alternate setting 1, max size= 184
[416830.888742] cx231xx #0: Alternate setting 2, max size= 728
[416830.888749] cx231xx #0: Alternate setting 3, max size= 2892
[416830.888756] cx231xx #0: Alternate setting 4, max size= 1800
[416830.888763] cx231xx #0: EndPoint Addr 0x85, Alternate settings: 2
[416830.888771] cx231xx #0: Alternate setting 0, max size= 512
[416830.888778] cx231xx #0: Alternate setting 1, max size= 512
[416830.888786] cx231xx #0: EndPoint Addr 0x86, Alternate settings: 2
[416830.888794] cx231xx #0: Alternate setting 0, max size= 512
[416830.888801] cx231xx #0: Alternate setting 1, max size= 576
[416830.890957] cx231xx #0 cx231xx_v4l2_open :open dev=video3 
type=vid-cap users
[416830.890975] cx231xx #0:  setPowerMode::mode = 48, No Change req.
[416830.890986] cx231xx #0 cx231xx_set_video_alternate 
:dev->video_mode.alt= 3
[416830.890996] cx231xx #0 cx231xx_set_video_alternate :minimum isoc 
packet size
[416830.891007] cx231xx #0 cx231xx_set_video_alternate :setting 
alternate 3 with
[416830.903131] cx231xx #0: cannot change alt number to 3 (error=-71)
[416830.906687] cx231xx #0: (pipe 0x80001280): IN:  c0 04 29 88 21 04 01 
00 FAIL
[416830.914736] cx231xx #0: UsbInterface::sendCommand, failed with 
status --71
[416830.914752] cx231xx #0: (pipe 0x80001200): OUT:  40 00 21 88 00 00 
03 00 >>>
[416830.922983] cx231xx #0: UsbInterface::sendCommand, failed with 
status --71
[416830.923028] cx231xx #0 video: VIDIOC_QUERYCAP
[416830.923060] cx231xx #0 cx231xx_v4l2_open :open dev=vbi3 type=vbi-cap 
users=1
[416830.923089] cx231xx #0 vbi: VIDIOC_QUERYCAP
[416830.923123] cx231xx #0 cx231xx_v4l2_close :users=2
[416830.923128] cx231xx #0 cx231xx_v4l2_close :users=2
[416830.923181] cx231xx #0 cx231xx_v4l2_close :users=1
[416830.923188] cx231xx #0 cx231xx_v4l2_close :users=1
[416830.923199] cx231xx #0 cx231xx_uninit_isoc :cx231xx: called 
cx231xx_uninit_i
[416830.923208] cx231xx #0: cx231xx_stop_stream():: ep_mask = 8
[416830.923220] cx231xx #0: (pipe 0x80001280): IN:  c0 0d 0f 00 18 00 04 
00 FAIL
[416830.931259] cx231xx #0 cx231xx_set_alt_setting :setting alternate 0 
with wMa
[416830.939483] cx231xx #0: can't change interface 3 alt no. to 0 (err=-71)

This is with the stock kernel, no media_build tree installed (I'm 
currently compiling it).



На 20.1.2011 г. 14:11 ч., Gerard Toonstra написа:
> 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: driver problem: cx231xx error -71 with Hauppauge USB live2 on Ubuntu 11.04, netbook edition
  2011-07-26 11:53   ` Doychin Dokov
@ 2011-07-26 12:17     ` Devin Heitmueller
  2011-07-26 12:40       ` Doychin Dokov
  0 siblings, 1 reply; 6+ messages in thread
From: Devin Heitmueller @ 2011-07-26 12:17 UTC (permalink / raw)
  To: Doychin Dokov; +Cc: linux-media

On Tue, Jul 26, 2011 at 7:53 AM, Doychin Dokov <root@net1.cc> wrote:
> [416830.939483] cx231xx #0: can't change interface 3 alt no. to 0 (err=-71)
>
> This is with the stock kernel, no media_build tree installed (I'm currently
> compiling it).

Patches for this issue were submitted over the weekend.  Check the
mailing list for posts from Saturday or wait a few days for the
patches to be merged into the linux_media tree.

Cheers,

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: driver problem: cx231xx error -71 with Hauppauge USB live2 on Ubuntu 11.04, netbook edition
  2011-07-26 12:17     ` Devin Heitmueller
@ 2011-07-26 12:40       ` Doychin Dokov
  2011-07-26 13:05         ` Devin Heitmueller
  0 siblings, 1 reply; 6+ messages in thread
From: Doychin Dokov @ 2011-07-26 12:40 UTC (permalink / raw)
  To: linux-media

На 26.7.2011 г. 15:17 ч., Devin Heitmueller написа:
> On Tue, Jul 26, 2011 at 7:53 AM, Doychin Dokov<root@net1.cc>  wrote:
>> [416830.939483] cx231xx #0: can't change interface 3 alt no. to 0 (err=-71)
>>
>> This is with the stock kernel, no media_build tree installed (I'm currently
>> compiling it).
>
> Patches for this issue were submitted over the weekend.  Check the
> mailing list for posts from Saturday or wait a few days for the
> patches to be merged into the linux_media tree.
>

I find only the Sunday fix for the power ramp issue, which states it's 
for a problem caused by the config hz being different of 100. Is this 
the patch you point me to, and do you think it's the solution in my case?

# cat /boot/config-2.6.38-10-server | grep CONFIG_HZ
CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=100

Kind regards,
Doychin


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: driver problem: cx231xx error -71 with Hauppauge USB live2 on Ubuntu 11.04, netbook edition
  2011-07-26 12:40       ` Doychin Dokov
@ 2011-07-26 13:05         ` Devin Heitmueller
  2011-07-26 14:46           ` Doychin Dokov
  0 siblings, 1 reply; 6+ messages in thread
From: Devin Heitmueller @ 2011-07-26 13:05 UTC (permalink / raw)
  To: Doychin Dokov; +Cc: linux-media

On Tue, Jul 26, 2011 at 8:40 AM, Doychin Dokov <root@net1.cc> wrote:
> I find only the Sunday fix for the power ramp issue, which states it's for a
> problem caused by the config hz being different of 100. Is this the patch
> you point me to, and do you think it's the solution in my case?
>
> # cat /boot/config-2.6.38-10-server | grep CONFIG_HZ
> CONFIG_HZ_100=y
> # CONFIG_HZ_250 is not set
> # CONFIG_HZ_300 is not set
> # CONFIG_HZ_1000 is not set
> CONFIG_HZ=100

There were actually two patches sent over the weekend, but the power
ramp issue was only for people who had CONFIG_HZ set to 1000.  In your
case, you only need the first patch.

See the email with subject: "[PATCH] Fix regression introduced which
broke the Hauppauge USBLive 2" for the patch you need.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: driver problem: cx231xx error -71 with Hauppauge USB live2 on Ubuntu 11.04, netbook edition
  2011-07-26 13:05         ` Devin Heitmueller
@ 2011-07-26 14:46           ` Doychin Dokov
  0 siblings, 0 replies; 6+ messages in thread
From: Doychin Dokov @ 2011-07-26 14:46 UTC (permalink / raw)
  To: linux-media

На 26.7.2011 г. 16:05 ч., Devin Heitmueller написа:
> On Tue, Jul 26, 2011 at 8:40 AM, Doychin Dokov<root@net1.cc>  wrote:
>> I find only the Sunday fix for the power ramp issue, which states it's for a
>> problem caused by the config hz being different of 100. Is this the patch
>> you point me to, and do you think it's the solution in my case?
>>
>> # cat /boot/config-2.6.38-10-server | grep CONFIG_HZ
>> CONFIG_HZ_100=y
>> # CONFIG_HZ_250 is not set
>> # CONFIG_HZ_300 is not set
>> # CONFIG_HZ_1000 is not set
>> CONFIG_HZ=100
>
> There were actually two patches sent over the weekend, but the power
> ramp issue was only for people who had CONFIG_HZ set to 1000.  In your
> case, you only need the first patch.
>
> See the email with subject: "[PATCH] Fix regression introduced which
> broke the Hauppauge USBLive 2" for the patch you need.
>
> Devin
>
Just tested...

[  839.052752] cx231xx: Cx231xx Audio Extension initialized
[  850.221325] cx231xx #0: cx231xx_start_stream():: ep_mask = 4
[  850.224774] cx231xx #0: cx231xx_init_audio_isoc: Starting ISO AUDIO 
transfers
[  851.150358] cx231xx #0: cx231xx_stop_stream():: ep_mask = 4

It works flawless!

Thank you! Hope the patch gets commited soon.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-07-26 14:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AANLkTinprP=o6_TnPjj1ieZAp27qmW-nuWHq04dN1oVp@mail.gmail.com>
2011-01-20 12:11 ` driver problem: cx231xx error -71 with Hauppauge USB live2 on Ubuntu 11.04, netbook edition Gerard Toonstra
2011-07-26 11:53   ` Doychin Dokov
2011-07-26 12:17     ` Devin Heitmueller
2011-07-26 12:40       ` Doychin Dokov
2011-07-26 13:05         ` Devin Heitmueller
2011-07-26 14:46           ` Doychin Dokov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.