From: hubstar <hubstar@hubstar.net>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: linux-media@vger.kernel.org, Dan Carpenter <error27@gmail.com>,
Hans Verkuil <hverkuil@xs4all.nl>, Andi Huber <hobrom@gmx.at>,
Marlon de Boer <marlon@hyves.nl>,
Damien Churchill <damoxc@gmail.com>
Subject: Re: cx88 sound does not always work (Re: [PATCH v2.6.38 resend 0/7] cx88 deadlock and data races)
Date: Wed, 04 May 2011 10:09:57 +0100 [thread overview]
Message-ID: <4DC117E5.9030003@hubstar.net> (raw)
In-Reply-To: <4DBEFAA2.7080406@hubstar.net>
Update:
I noticed I was using the desktop kernel this time, and reinstalled the
default kernel. The audio now works fine (once this patch is installed).
Works every time.
This rings a bell, like I've had to do this to a system in the past.
I don't really understand what desktop vs default kernel would have an
effect on the drivers - from what I can read there doesn't seem to be
anything in there.
On 02/05/11 19:40, linuxtv wrote:
> Card Hauppage HVR-1300
> Does it show up - yes
> Does it work - yes.
>
> However when testing for audio, either via mythbackend or smplayer
> /dev/video1 I get no sound 75% of the time on a first run.
>
> Of that, 75% of the time if I run smplayer /dev/video1 a few times sound
> reappears and will stay there until a power off reboot. (Soft reboot
> will keep the sound on).
> 25% of the time I cannot get sound started at all. Either via smplayer,
> mplayer, mythbackend or v4lctl changes.
>
> Have I seen this reported ever? I saw something mentioned on a mailing
> list dated Aug 2010. But no resolution.
>
> Is it hardware ? I don't believe so, same hardware I have linux Suse
> 11.1 kernel 2.6.27 with custom built drivers from v4l (July 2009). This
> works 100%.
>
> Drivers I was using was the default from the kernel with 11.4 (below). I
> then switched to try the v4l media_build repository (plus your patch).
> Unfortunately I can't build the 2009 drivers to try that level out (too
> much has changed).
>
> Hope the information below is of use.
>
> Drivers used from the default SuSE build and also from the v4l media build.
>
> Linux pvr1 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100
> x86_64 x86_64 x86_64 GNU/Linux (SuSE 11.4)
>
>
> 04:01.0 Multimedia video controller [0400]: Conexant Systems, Inc.
> CX23880/1/2/3 PCI Video and Audio Decoder [14f1:8800] (re$
> Subsystem: Hauppauge computer works Inc. WinTV 88x Video [0070:9600]
> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
> Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
> Latency: 32 (5000ns min, 13750ns max), Cache Line Size: 32 bytes
> Interrupt: pin A routed to IRQ 19
> Region 0: Memory at e4000000 (32-bit, non-prefetchable) [size=16M]
> Capabilities: [44] Vital Product Data
> Unknown large resource type 04, will not decode more.
> Capabilities: [4c] Power Management version 2
> Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
> Kernel driver in use: cx8800
>
> 04:01.1 Multimedia controller [0480]: Conexant Systems, Inc.
> CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] [14f1:88$
> Subsystem: Hauppauge computer works Inc. WinTV 88x Audio [0070:9600]
> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
> Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
> Latency: 32 (1000ns min, 63750ns max), Cache Line Size: 32 bytes
> Interrupt: pin A routed to IRQ 19
> Region 0: Memory at e5000000 (32-bit, non-prefetchable) [size=16M]
> Capabilities: [4c] Power Management version 2
> Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
> Kernel driver in use: cx88_audio
>
>
> 04:01.2 Multimedia controller [0480]: Conexant Systems, Inc.
> CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] [14f1:880$
> Subsystem: Hauppauge computer works Inc. WinTV 88x MPEG Encoder
> [0070:9600]
> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
> Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
> Latency: 32 (1500ns min, 22000ns max), Cache Line Size: 32 bytes
> Interrupt: pin A routed to IRQ 19
> Region 0: Memory at e6000000 (32-bit, non-prefetchable) [size=16M]
> Capabilities: [4c] Power Management version 2
> Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
> Kernel driver in use: cx88-mpeg driver manager
>
>
>
> dmesg extract
> [ 6.341606] tda9887 1-0043: creating new
> instance
>
> [ 6.341607] tda9887 1-0043: tda988[5/6/7]
> found
>
> [ 6.342842] tuner 1-0043: Tuner 74 found with type(s) Radio
> TV.
> [ 6.346330] tuner 1-0061: Tuner -1 found with type(s) Radio
> TV.
> [ 6.386123] tveeprom 1-0050: Hauppauge model 96559, rev C5A0, serial#
> 825267
> [ 6.386125] tveeprom 1-0050: MAC address is
> 00:0d:fe:0c:97:b3
>
> [ 6.386127] tveeprom 1-0050: tuner model is Philips FMD1216ME (idx
> 100, type 63)
> [ 6.386129] tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L')
> PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xf4)
> [ 6.386131] tveeprom 1-0050: audio processor is CX882 (idx
> 33)
> [ 6.386133] tveeprom 1-0050: decoder processor is CX882 (idx
> 25)
> [ 6.386134] tveeprom 1-0050: has
> radio
>
> [ 6.386136] cx88[0]: hauppauge eeprom:
> model=96559
>
> [ 6.407438] tuner-simple 1-0061: creating new
> instance
> [ 6.407440] tuner-simple 1-0061: type set to 63 (Philips FMD1216ME
> MK3 Hybrid Tuner)
> [ 6.413602] cx88[0]/1: CX88x/0: ALSA support for cx2388x
> boards
> [ 6.413710] cx88[0]/2: cx2388x 8802 Driver
> Manager
>
> [ 6.413720] cx88-mpeg driver manager 0000:04:01.2: PCI INT A -> GSI
> 19 (level, low) -> IRQ 19
> [ 6.413725] cx88[0]/2: found at 0000:04:01.2, rev: 5, irq: 19,
> latency: 32, mmio: 0xe6000000
> [ 6.413769] cx8800 0000:04:01.0: PCI INT A -> GSI 19 (level, low) ->
> IRQ 19
> [ 6.413773] cx88[0]/0: found at 0000:04:01.0, rev: 5, irq: 19,
> latency: 32, mmio: 0xe4000000
> [ 6.463568] WARNING: You are using an experimental version of the
> media stack.
> [ 6.463569] As the driver is backported to an older kernel, it
> doesn't offer
> [ 6.463570] enough quality for its usage in
> production.
>
> [ 6.463571] Use it with
> care.
>
> [ 6.463571] Latest git patches (needed if you report a bug to
> linux-media@vger.kernel.org):
> [ 6.463572] 847aae409344e3c2efcc58e0639e659427447388 [media]
> lmedm04: get rid of on-stack dma buffers
> [ 6.463573] d71d07543c9bd2ea6779af91a3dc185bc8710d7c [media] au6610:
> get rid of on-stack dma buffer
> [ 6.463573] 036d3f3f98f8b4c513bbe0bc8ccf932e5c8a72b6 [media] ce6230:
> get rid of on-stack dma buffer
> [ 6.473441] wm8775 1-001b: chip found @ 0x36
> (cx88[0])
>
> [ 6.479106] cx88/2: cx2388x dvb driver version 0.0.8
> loaded
> [ 6.479108] cx88/2: registering cx8802 driver, type: dvb access:
> shared
> [ 6.479110] cx88[0]/2: subsystem: 0070:9600, board: Hauppauge
> WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56]
> [ 6.479112] cx88[0]/2: cx2388x based DVB/ATSC
> card
> [ 6.479113] cx8802_alloc_frontends() allocating 1
> frontend(s)
> [ 6.518120] tuner-simple 1-0061: attaching existing
> instance
> [ 6.518123] tuner-simple 1-0061: type set to 63 (Philips FMD1216ME
> MK3 Hybrid Tuner)
> [ 6.521942] DVB: registering new adapter
> (cx88[0])
>
> [ 6.521944] DVB: registering adapter 0 frontend 0 (Conexant CX22702
> DVB-T)...
> [ 6.544641] cx88[0]/0: registered device video0
> [v4l2]
> [ 6.544665] cx88[0]/0: registered device
> vbi0
>
> [ 6.544686] cx88[0]/0: registered device
> radio0
>
> [ 6.667451] cx2388x blackbird driver version 0.0.8
> loaded
> [ 6.667453] cx88/2: registering cx8802 driver, type: blackbird
> access: shared
> [ 6.667456] cx88[0]/2: subsystem: 0070:9600, board: Hauppauge
> WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56]
> [ 6.667458] cx88[0]/2: cx23416 based mpeg encoder (blackbird
> reference design)
> [ 6.667678] cx88[0]/2-bb: Firmware and/or mailbox pointer not
> initialized or corrupted
> [ 9.436018] cx88[0]/2-bb: Firmware upload
> successful.
>
> [ 9.439795] cx88[0]/2-bb: Firmware version is
> 0x02060039
> [ 9.446678] cx88[0]/2: registered device video1 [mpeg]
>
>
> On 02/05/11 09:19, Jonathan Nieder wrote:
>
>> Hi,
>>
>> linuxtv wrote:
>>
>>
>>
>>> FYI I too experienced the problem of hanging and used the patch dated
>>> 6th April to get it working.
>>> However I do have the problem that sound does not always work/come on.
>>> Once it is started it stays, getting it started is not reliable.
>>>
>>>
>> Could you give details? What card do you use? Does it show up in
>> lspci -vvnn output (and if so, could you show us)? What kernel
>> version? Could you attach your .config and dmesg? Was this reported
>> on bugzilla before? How does sound not working manifest itself? How
>> do you go about getting it to work?
>>
>> See the REPORTING-BUGS file for hints.
>>
>> Thanks and hope that helps,
>> Jonathan
>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2011-05-04 9:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-01 9:17 [PATCH v2.6.38 resend 0/7] cx88 deadlock and data races Jonathan Nieder
2011-05-01 9:29 ` [PATCH 1/7] [media] cx88: protect per-device driver list with device lock Jonathan Nieder
2011-05-01 9:29 ` [PATCH 2/7] [media] cx88: fix locking of sub-driver operations Jonathan Nieder
2011-05-01 9:29 ` [PATCH 3/7] [media] cx88: hold device lock during sub-driver initialization Jonathan Nieder
2011-05-01 9:30 ` [PATCH 4/7] [media] cx88: protect cx8802_devlist with a mutex Jonathan Nieder
2011-05-01 9:30 ` [PATCH 5/7] [media] cx88: gracefully reject attempts to use unregistered cx88-blackbird driver Jonathan Nieder
2011-05-01 9:31 ` [PATCH 6/7] [media] cx88: don't use atomic_t for core->mpeg_users Jonathan Nieder
2011-05-01 9:31 ` [PATCH 7/7] [media] cx88: don't use atomic_t for core->users Jonathan Nieder
2011-05-01 11:27 ` [PATCH v2.6.38 resend 0/7] cx88 deadlock and data races linuxtv
2011-05-02 8:19 ` cx88 sound does not always work (Re: [PATCH v2.6.38 resend 0/7] cx88 deadlock and data races) Jonathan Nieder
2011-05-02 18:40 ` linuxtv
2011-05-04 9:09 ` hubstar [this message]
2011-05-04 9:23 ` cx88 sound does not always work Jonathan Nieder
2011-05-04 9:55 ` hubstar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DC117E5.9030003@hubstar.net \
--to=hubstar@hubstar.net \
--cc=damoxc@gmail.com \
--cc=error27@gmail.com \
--cc=hobrom@gmx.at \
--cc=hverkuil@xs4all.nl \
--cc=jrnieder@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=marlon@hyves.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.