All of lore.kernel.org
 help / color / mirror / Atom feed
* cx88_alsa - getting loud white noise with capture card.
@ 2008-08-03 20:38 Roman Gaufman
  2009-11-10 18:48 ` Roman Gaufman
  0 siblings, 1 reply; 5+ messages in thread
From: Roman Gaufman @ 2008-08-03 20:38 UTC (permalink / raw)
  To: video4linux-list

Hi,

I have an 8 audio + 8 video PCI-Express Conexant 23881 DVR Card I'm
trying to get working in Linux.

The video channels all work flawlessly and the audio is recognized,
but I just get very loud white noise no matter what I try.

I tried the following commands and been googling for days to no avail:

for i in 0 1 2 3 4 5 6 7; do /usr/bin/mencoder tv:// -tv
driver=v4l2:device=/dev/video$i:alsa:adevice=hw.$i,0:amode=0:audiorate=32000:volume=100:immediatemode=0:norm=PAL-DK:input=0:width=720:height=576:outfmt=yuy2
-oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=5000 -frames
300 -o test$i.avi &  done

for i in 0 1 2 3 4 5 6 7; do arecord -d 10 -D hw:$i,0 -c 2 -f S16_LE
--period-size=65536 --buffer-size=524288 -r 48000 test$i.wav & done

I had to boot the kernel with acpi=off irqpoll for video not to give
me input/output errors, but audio still gives me loud white noise.

The only error messages I see are:

[ 3758.546252] cx88[4]/1: IRQ loop detected, disabling interrupts
[ 3758.546323] cx88[4]: irq aud [0x1000] dn_sync*
[ 3758.546329] cx88[4]: irq aud [0x1001] dn_risci1* dn_sync*

My bios Plug & Play OS setting is set to no.

This is what arecord -l returns:

**** List of CAPTURE Hardware Devices ****
card 0: CX8801_1 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: CX8801 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: CX8801_2 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: CX8801_3 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 4: CX8801_4 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 5: CX8801_5 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 6: CX8801_6 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 7: CX8801_7 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

This is what lspci -v returns (both with and without -n)

- [ ] 04:07.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI
      Video and Audio Decoder (rev 05)
      	Subsystem: Unknown device c180:c980
      	Flags: bus master, medium devsel, latency 64, IRQ 19
      	Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
      	Capabilities: [44] Vital Product Data
      	Capabilities: [4c] Power Management version 2
- [ ] 04:07.0 0400: 14f1:8800 (rev 05)
      	Subsystem: c180:c980
      	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
      ParErr- Stepping- SERR- FastB2B-
      	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
      <TAbort- <MAbort- >SERR- <PERR-
      	Latency: 64 (5000ns min, 13750ns max), Cache Line Size: 32 bytes
      	Interrupt: pin A routed to IRQ 19
      	Region 0: Memory at d0000000 (32-bit, non-prefetchable)
      [size=16M]
      	Capabilities: [44] Vital Product Data
      	Capabilities: [4c] Power Management version 2
      		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
      PME(D0-,D1-,D2-,D3hot-,D3cold-)
      		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

- [ ] 04:07.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video
      and Audio Decoder [Audio Port] (rev 05)
      	Subsystem: Unknown device c180:c980
      	Flags: bus master, medium devsel, latency 64, IRQ 19
      	Memory at d1000000 (32-bit, non-prefetchable) [size=16M]
      	Capabilities: [4c] Power Management version 2
- [ ] 04:07.1 0480: 14f1:8801 (rev 05)
      	Subsystem: c180:c980
      	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
      ParErr- Stepping- SERR- FastB2B-
      	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
      <TAbort- <MAbort- >SERR- <PERR-
      	Latency: 64 (1000ns min, 63750ns max), Cache Line Size: 32 bytes
      	Interrupt: pin A routed to IRQ 19
      	Region 0: Memory at d1000000 (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 PME-Enable- DSel=0 DScale=0 PME-

Any ideas at all?

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: cx88_alsa - getting loud white noise with capture card.
  2008-08-03 20:38 cx88_alsa - getting loud white noise with capture card Roman Gaufman
@ 2009-11-10 18:48 ` Roman Gaufman
  2009-11-11  9:12   ` Roman Gaufman
  0 siblings, 1 reply; 5+ messages in thread
From: Roman Gaufman @ 2009-11-10 18:48 UTC (permalink / raw)
  To: video4linux-list

Tried this again on 2.6.31-14 and still not able to get audio working.
Using this command:

mplayer -vo null tv:// -tv
driver=v4l2:device=/dev/video1:alsa:adevice=hw.2,0:amode=1:audiorate=48000:forceaudio:volume=100:immediatemode=0:norm=PAL-BG:fps=25:input=0

Video works but getting nothing but loud static on audio. Please help :(


2008/8/3 Roman Gaufman <hackeron@gmail.com>:
> Hi,
>
> I have an 8 audio + 8 video PCI-Express Conexant 23881 DVR Card I'm
> trying to get working in Linux.
>
> The video channels all work flawlessly and the audio is recognized,
> but I just get very loud white noise no matter what I try.
>
> I tried the following commands and been googling for days to no avail:
>
> for i in 0 1 2 3 4 5 6 7; do /usr/bin/mencoder tv:// -tv
> driver=v4l2:device=/dev/video$i:alsa:adevice=hw.$i,0:amode=0:audiorate=32000:volume=100:immediatemode=0:norm=PAL-DK:input=0:width=720:height=576:outfmt=yuy2
> -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=5000 -frames
> 300 -o test$i.avi &  done
>
> for i in 0 1 2 3 4 5 6 7; do arecord -d 10 -D hw:$i,0 -c 2 -f S16_LE
> --period-size=65536 --buffer-size=524288 -r 48000 test$i.wav & done
>
> I had to boot the kernel with acpi=off irqpoll for video not to give
> me input/output errors, but audio still gives me loud white noise.
>
> The only error messages I see are:
>
> [ 3758.546252] cx88[4]/1: IRQ loop detected, disabling interrupts
> [ 3758.546323] cx88[4]: irq aud [0x1000] dn_sync*
> [ 3758.546329] cx88[4]: irq aud [0x1001] dn_risci1* dn_sync*
>
> My bios Plug & Play OS setting is set to no.
>
> This is what arecord -l returns:
>
> **** List of CAPTURE Hardware Devices ****
> card 0: CX8801_1 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 1: CX8801 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 2: CX8801_2 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 3: CX8801_3 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 4: CX8801_4 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 5: CX8801_5 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 6: CX8801_6 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 7: CX8801_7 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
>
> This is what lspci -v returns (both with and without -n)
>
> - [ ] 04:07.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI
>      Video and Audio Decoder (rev 05)
>        Subsystem: Unknown device c180:c980
>        Flags: bus master, medium devsel, latency 64, IRQ 19
>        Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
>        Capabilities: [44] Vital Product Data
>        Capabilities: [4c] Power Management version 2
> - [ ] 04:07.0 0400: 14f1:8800 (rev 05)
>        Subsystem: c180:c980
>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
>      ParErr- Stepping- SERR- FastB2B-
>        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
>      <TAbort- <MAbort- >SERR- <PERR-
>        Latency: 64 (5000ns min, 13750ns max), Cache Line Size: 32 bytes
>        Interrupt: pin A routed to IRQ 19
>        Region 0: Memory at d0000000 (32-bit, non-prefetchable)
>      [size=16M]
>        Capabilities: [44] Vital Product Data
>        Capabilities: [4c] Power Management version 2
>                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
>      PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> - [ ] 04:07.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video
>      and Audio Decoder [Audio Port] (rev 05)
>        Subsystem: Unknown device c180:c980
>        Flags: bus master, medium devsel, latency 64, IRQ 19
>        Memory at d1000000 (32-bit, non-prefetchable) [size=16M]
>        Capabilities: [4c] Power Management version 2
> - [ ] 04:07.1 0480: 14f1:8801 (rev 05)
>        Subsystem: c180:c980
>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
>      ParErr- Stepping- SERR- FastB2B-
>        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
>      <TAbort- <MAbort- >SERR- <PERR-
>        Latency: 64 (1000ns min, 63750ns max), Cache Line Size: 32 bytes
>        Interrupt: pin A routed to IRQ 19
>        Region 0: Memory at d1000000 (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 PME-Enable- DSel=0 DScale=0 PME-
>
> Any ideas at all?
>

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: cx88_alsa - getting loud white noise with capture card.
  2009-11-10 18:48 ` Roman Gaufman
@ 2009-11-11  9:12   ` Roman Gaufman
  2011-05-22  2:21     ` Roman Gaufman
  0 siblings, 1 reply; 5+ messages in thread
From: Roman Gaufman @ 2009-11-11  9:12 UTC (permalink / raw)
  To: video4linux-list

It sounds like I've not tuned the channel, but there is no channel -
it's a capture card with 8 inputs. When I try to change channels with
mplayer 'h' key, the sound changes slightly and I can hear it turn
sound off and turn it back on.

Is there a specific frequency I need to set? - I tried all channels
available in mplayer and all I hear is loud static/white noise.

Anyone?

2009/11/10 Roman Gaufman <roman@xanview.com>:
> Tried this again on 2.6.31-14 and still not able to get audio working.
> Using this command:
>
> mplayer -vo null tv:// -tv
> driver=v4l2:device=/dev/video1:alsa:adevice=hw.2,0:amode=1:audiorate=48000:forceaudio:volume=100:immediatemode=0:norm=PAL-BG:fps=25:input=0
>
> Video works but getting nothing but loud static on audio. Please help :(
>
>
> 2008/8/3 Roman Gaufman <hackeron@gmail.com>:
>> Hi,
>>
>> I have an 8 audio + 8 video PCI-Express Conexant 23881 DVR Card I'm
>> trying to get working in Linux.
>>
>> The video channels all work flawlessly and the audio is recognized,
>> but I just get very loud white noise no matter what I try.
>>
>> I tried the following commands and been googling for days to no avail:
>>
>> for i in 0 1 2 3 4 5 6 7; do /usr/bin/mencoder tv:// -tv
>> driver=v4l2:device=/dev/video$i:alsa:adevice=hw.$i,0:amode=0:audiorate=32000:volume=100:immediatemode=0:norm=PAL-DK:input=0:width=720:height=576:outfmt=yuy2
>> -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=5000 -frames
>> 300 -o test$i.avi &  done
>>
>> for i in 0 1 2 3 4 5 6 7; do arecord -d 10 -D hw:$i,0 -c 2 -f S16_LE
>> --period-size=65536 --buffer-size=524288 -r 48000 test$i.wav & done
>>
>> I had to boot the kernel with acpi=off irqpoll for video not to give
>> me input/output errors, but audio still gives me loud white noise.
>>
>> The only error messages I see are:
>>
>> [ 3758.546252] cx88[4]/1: IRQ loop detected, disabling interrupts
>> [ 3758.546323] cx88[4]: irq aud [0x1000] dn_sync*
>> [ 3758.546329] cx88[4]: irq aud [0x1001] dn_risci1* dn_sync*
>>
>> My bios Plug & Play OS setting is set to no.
>>
>> This is what arecord -l returns:
>>
>> **** List of CAPTURE Hardware Devices ****
>> card 0: CX8801_1 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>>  Subdevices: 1/1
>>  Subdevice #0: subdevice #0
>> card 1: CX8801 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>>  Subdevices: 1/1
>>  Subdevice #0: subdevice #0
>> card 2: CX8801_2 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>>  Subdevices: 1/1
>>  Subdevice #0: subdevice #0
>> card 3: CX8801_3 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>>  Subdevices: 1/1
>>  Subdevice #0: subdevice #0
>> card 4: CX8801_4 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>>  Subdevices: 1/1
>>  Subdevice #0: subdevice #0
>> card 5: CX8801_5 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>>  Subdevices: 1/1
>>  Subdevice #0: subdevice #0
>> card 6: CX8801_6 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>>  Subdevices: 1/1
>>  Subdevice #0: subdevice #0
>> card 7: CX8801_7 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>>  Subdevices: 1/1
>>  Subdevice #0: subdevice #0
>>
>> This is what lspci -v returns (both with and without -n)
>>
>> - [ ] 04:07.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI
>>      Video and Audio Decoder (rev 05)
>>        Subsystem: Unknown device c180:c980
>>        Flags: bus master, medium devsel, latency 64, IRQ 19
>>        Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
>>        Capabilities: [44] Vital Product Data
>>        Capabilities: [4c] Power Management version 2
>> - [ ] 04:07.0 0400: 14f1:8800 (rev 05)
>>        Subsystem: c180:c980
>>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
>>      ParErr- Stepping- SERR- FastB2B-
>>        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
>>      <TAbort- <MAbort- >SERR- <PERR-
>>        Latency: 64 (5000ns min, 13750ns max), Cache Line Size: 32 bytes
>>        Interrupt: pin A routed to IRQ 19
>>        Region 0: Memory at d0000000 (32-bit, non-prefetchable)
>>      [size=16M]
>>        Capabilities: [44] Vital Product Data
>>        Capabilities: [4c] Power Management version 2
>>                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
>>      PME(D0-,D1-,D2-,D3hot-,D3cold-)
>>                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>>
>> - [ ] 04:07.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video
>>      and Audio Decoder [Audio Port] (rev 05)
>>        Subsystem: Unknown device c180:c980
>>        Flags: bus master, medium devsel, latency 64, IRQ 19
>>        Memory at d1000000 (32-bit, non-prefetchable) [size=16M]
>>        Capabilities: [4c] Power Management version 2
>> - [ ] 04:07.1 0480: 14f1:8801 (rev 05)
>>        Subsystem: c180:c980
>>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
>>      ParErr- Stepping- SERR- FastB2B-
>>        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
>>      <TAbort- <MAbort- >SERR- <PERR-
>>        Latency: 64 (1000ns min, 63750ns max), Cache Line Size: 32 bytes
>>        Interrupt: pin A routed to IRQ 19
>>        Region 0: Memory at d1000000 (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 PME-Enable- DSel=0 DScale=0 PME-
>>
>> Any ideas at all?
>>
>

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: cx88_alsa - getting loud white noise with capture card.
  2009-11-11  9:12   ` Roman Gaufman
@ 2011-05-22  2:21     ` Roman Gaufman
  2011-06-18 19:22       ` Roman Gaufman
  0 siblings, 1 reply; 5+ messages in thread
From: Roman Gaufman @ 2011-05-22  2:21 UTC (permalink / raw)
  To: linux-media

Just revisiting this again after close to 2 years - still experiencing
the same. Loud static like sound. Tried a few CX23881 cards and it
seems the same :(

I'm doing: arecord -D hw:1,0 -f dat test.wav

I tried it for all the CX8801 audio sources (8 chip DVR card), here
are the output wav files and waveforms:
http://itstar.co.uk/CX8801_Audio

Any ideas at all?

Roman


On 11 November 2009 09:12, Roman Gaufman <hackeron@gmail.com> wrote:
>
> It sounds like I've not tuned the channel, but there is no channel -
> it's a capture card with 8 inputs. When I try to change channels with
> mplayer 'h' key, the sound changes slightly and I can hear it turn
> sound off and turn it back on.
>
> Is there a specific frequency I need to set? - I tried all channels
> available in mplayer and all I hear is loud static/white noise.
>
> Anyone?
>
> 2009/11/10 Roman Gaufman <roman@xanview.com>:
> > Tried this again on 2.6.31-14 and still not able to get audio working.
> > Using this command:
> >
> > mplayer -vo null tv:// -tv
> > driver=v4l2:device=/dev/video1:alsa:adevice=hw.2,0:amode=1:audiorate=48000:forceaudio:volume=100:immediatemode=0:norm=PAL-BG:fps=25:input=0
> >
> > Video works but getting nothing but loud static on audio. Please help :(
> >
> >
> > 2008/8/3 Roman Gaufman <hackeron@gmail.com>:
> >> Hi,
> >>
> >> I have an 8 audio + 8 video PCI-Express Conexant 23881 DVR Card I'm
> >> trying to get working in Linux.
> >>
> >> The video channels all work flawlessly and the audio is recognized,
> >> but I just get very loud white noise no matter what I try.
> >>
> >> I tried the following commands and been googling for days to no avail:
> >>
> >> for i in 0 1 2 3 4 5 6 7; do /usr/bin/mencoder tv:// -tv
> >> driver=v4l2:device=/dev/video$i:alsa:adevice=hw.$i,0:amode=0:audiorate=32000:volume=100:immediatemode=0:norm=PAL-DK:input=0:width=720:height=576:outfmt=yuy2
> >> -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=5000 -frames
> >> 300 -o test$i.avi &  done
> >>
> >> for i in 0 1 2 3 4 5 6 7; do arecord -d 10 -D hw:$i,0 -c 2 -f S16_LE
> >> --period-size=65536 --buffer-size=524288 -r 48000 test$i.wav & done
> >>
> >> I had to boot the kernel with acpi=off irqpoll for video not to give
> >> me input/output errors, but audio still gives me loud white noise.
> >>
> >> The only error messages I see are:
> >>
> >> [ 3758.546252] cx88[4]/1: IRQ loop detected, disabling interrupts
> >> [ 3758.546323] cx88[4]: irq aud [0x1000] dn_sync*
> >> [ 3758.546329] cx88[4]: irq aud [0x1001] dn_risci1* dn_sync*
> >>
> >> My bios Plug & Play OS setting is set to no.
> >>
> >> This is what arecord -l returns:
> >>
> >> **** List of CAPTURE Hardware Devices ****
> >> card 0: CX8801_1 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> >>  Subdevices: 1/1
> >>  Subdevice #0: subdevice #0
> >> card 1: CX8801 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> >>  Subdevices: 1/1
> >>  Subdevice #0: subdevice #0
> >> card 2: CX8801_2 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> >>  Subdevices: 1/1
> >>  Subdevice #0: subdevice #0
> >> card 3: CX8801_3 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> >>  Subdevices: 1/1
> >>  Subdevice #0: subdevice #0
> >> card 4: CX8801_4 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> >>  Subdevices: 1/1
> >>  Subdevice #0: subdevice #0
> >> card 5: CX8801_5 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> >>  Subdevices: 1/1
> >>  Subdevice #0: subdevice #0
> >> card 6: CX8801_6 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> >>  Subdevices: 1/1
> >>  Subdevice #0: subdevice #0
> >> card 7: CX8801_7 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> >>  Subdevices: 1/1
> >>  Subdevice #0: subdevice #0
> >>
> >> This is what lspci -v returns (both with and without -n)
> >>
> >> - [ ] 04:07.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI
> >>      Video and Audio Decoder (rev 05)
> >>        Subsystem: Unknown device c180:c980
> >>        Flags: bus master, medium devsel, latency 64, IRQ 19
> >>        Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
> >>        Capabilities: [44] Vital Product Data
> >>        Capabilities: [4c] Power Management version 2
> >> - [ ] 04:07.0 0400: 14f1:8800 (rev 05)
> >>        Subsystem: c180:c980
> >>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
> >>      ParErr- Stepping- SERR- FastB2B-
> >>        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> >>      <TAbort- <MAbort- >SERR- <PERR-
> >>        Latency: 64 (5000ns min, 13750ns max), Cache Line Size: 32 bytes
> >>        Interrupt: pin A routed to IRQ 19
> >>        Region 0: Memory at d0000000 (32-bit, non-prefetchable)
> >>      [size=16M]
> >>        Capabilities: [44] Vital Product Data
> >>        Capabilities: [4c] Power Management version 2
> >>                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
> >>      PME(D0-,D1-,D2-,D3hot-,D3cold-)
> >>                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> >>
> >> - [ ] 04:07.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video
> >>      and Audio Decoder [Audio Port] (rev 05)
> >>        Subsystem: Unknown device c180:c980
> >>        Flags: bus master, medium devsel, latency 64, IRQ 19
> >>        Memory at d1000000 (32-bit, non-prefetchable) [size=16M]
> >>        Capabilities: [4c] Power Management version 2
> >> - [ ] 04:07.1 0480: 14f1:8801 (rev 05)
> >>        Subsystem: c180:c980
> >>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
> >>      ParErr- Stepping- SERR- FastB2B-
> >>        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> >>      <TAbort- <MAbort- >SERR- <PERR-
> >>        Latency: 64 (1000ns min, 63750ns max), Cache Line Size: 32 bytes
> >>        Interrupt: pin A routed to IRQ 19
> >>        Region 0: Memory at d1000000 (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 PME-Enable- DSel=0 DScale=0 PME-
> >>
> >> Any ideas at all?
> >>
> >

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

* Re: cx88_alsa - getting loud white noise with capture card.
  2011-05-22  2:21     ` Roman Gaufman
@ 2011-06-18 19:22       ` Roman Gaufman
  0 siblings, 0 replies; 5+ messages in thread
From: Roman Gaufman @ 2011-06-18 19:22 UTC (permalink / raw)
  To: linux-media

I found out cards like BlueCherry set the format wrong because of a
limitation in Alsa. The audio input is G723 but the format is set as
8khz PCM - maybe something like this is happening here?

Anyone able to get usable audio out of a CX88 or CX23881 card?

I'm getting something, but it sounds like pink noise just like out of
the BlueCherry card.

Roman

On 22 May 2011 03:21, Roman Gaufman <hackeron@gmail.com> wrote:
>
> Just revisiting this again after close to 2 years - still experiencing
> the same. Loud static like sound. Tried a few CX23881 cards and it
> seems the same :(
>
> I'm doing: arecord -D hw:1,0 -f dat test.wav
>
> I tried it for all the CX8801 audio sources (8 chip DVR card), here
> are the output wav files and waveforms:
> http://itstar.co.uk/CX8801_Audio
>
> Any ideas at all?
>
> Roman
>
>
> On 11 November 2009 09:12, Roman Gaufman <hackeron@gmail.com> wrote:
> >
> > It sounds like I've not tuned the channel, but there is no channel -
> > it's a capture card with 8 inputs. When I try to change channels with
> > mplayer 'h' key, the sound changes slightly and I can hear it turn
> > sound off and turn it back on.
> >
> > Is there a specific frequency I need to set? - I tried all channels
> > available in mplayer and all I hear is loud static/white noise.
> >
> > Anyone?
> >
> > 2009/11/10 Roman Gaufman <roman@xanview.com>:
> > > Tried this again on 2.6.31-14 and still not able to get audio working.
> > > Using this command:
> > >
> > > mplayer -vo null tv:// -tv
> > > driver=v4l2:device=/dev/video1:alsa:adevice=hw.2,0:amode=1:audiorate=48000:forceaudio:volume=100:immediatemode=0:norm=PAL-BG:fps=25:input=0
> > >
> > > Video works but getting nothing but loud static on audio. Please help :(
> > >
> > >
> > > 2008/8/3 Roman Gaufman <hackeron@gmail.com>:
> > >> Hi,
> > >>
> > >> I have an 8 audio + 8 video PCI-Express Conexant 23881 DVR Card I'm
> > >> trying to get working in Linux.
> > >>
> > >> The video channels all work flawlessly and the audio is recognized,
> > >> but I just get very loud white noise no matter what I try.
> > >>
> > >> I tried the following commands and been googling for days to no avail:
> > >>
> > >> for i in 0 1 2 3 4 5 6 7; do /usr/bin/mencoder tv:// -tv
> > >> driver=v4l2:device=/dev/video$i:alsa:adevice=hw.$i,0:amode=0:audiorate=32000:volume=100:immediatemode=0:norm=PAL-DK:input=0:width=720:height=576:outfmt=yuy2
> > >> -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=5000 -frames
> > >> 300 -o test$i.avi &  done
> > >>
> > >> for i in 0 1 2 3 4 5 6 7; do arecord -d 10 -D hw:$i,0 -c 2 -f S16_LE
> > >> --period-size=65536 --buffer-size=524288 -r 48000 test$i.wav & done
> > >>
> > >> I had to boot the kernel with acpi=off irqpoll for video not to give
> > >> me input/output errors, but audio still gives me loud white noise.
> > >>
> > >> The only error messages I see are:
> > >>
> > >> [ 3758.546252] cx88[4]/1: IRQ loop detected, disabling interrupts
> > >> [ 3758.546323] cx88[4]: irq aud [0x1000] dn_sync*
> > >> [ 3758.546329] cx88[4]: irq aud [0x1001] dn_risci1* dn_sync*
> > >>
> > >> My bios Plug & Play OS setting is set to no.
> > >>
> > >> This is what arecord -l returns:
> > >>
> > >> **** List of CAPTURE Hardware Devices ****
> > >> card 0: CX8801_1 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> > >>  Subdevices: 1/1
> > >>  Subdevice #0: subdevice #0
> > >> card 1: CX8801 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> > >>  Subdevices: 1/1
> > >>  Subdevice #0: subdevice #0
> > >> card 2: CX8801_2 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> > >>  Subdevices: 1/1
> > >>  Subdevice #0: subdevice #0
> > >> card 3: CX8801_3 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> > >>  Subdevices: 1/1
> > >>  Subdevice #0: subdevice #0
> > >> card 4: CX8801_4 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> > >>  Subdevices: 1/1
> > >>  Subdevice #0: subdevice #0
> > >> card 5: CX8801_5 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> > >>  Subdevices: 1/1
> > >>  Subdevice #0: subdevice #0
> > >> card 6: CX8801_6 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> > >>  Subdevices: 1/1
> > >>  Subdevice #0: subdevice #0
> > >> card 7: CX8801_7 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
> > >>  Subdevices: 1/1
> > >>  Subdevice #0: subdevice #0
> > >>
> > >> This is what lspci -v returns (both with and without -n)
> > >>
> > >> - [ ] 04:07.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI
> > >>      Video and Audio Decoder (rev 05)
> > >>        Subsystem: Unknown device c180:c980
> > >>        Flags: bus master, medium devsel, latency 64, IRQ 19
> > >>        Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
> > >>        Capabilities: [44] Vital Product Data
> > >>        Capabilities: [4c] Power Management version 2
> > >> - [ ] 04:07.0 0400: 14f1:8800 (rev 05)
> > >>        Subsystem: c180:c980
> > >>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
> > >>      ParErr- Stepping- SERR- FastB2B-
> > >>        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> > >>      <TAbort- <MAbort- >SERR- <PERR-
> > >>        Latency: 64 (5000ns min, 13750ns max), Cache Line Size: 32 bytes
> > >>        Interrupt: pin A routed to IRQ 19
> > >>        Region 0: Memory at d0000000 (32-bit, non-prefetchable)
> > >>      [size=16M]
> > >>        Capabilities: [44] Vital Product Data
> > >>        Capabilities: [4c] Power Management version 2
> > >>                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
> > >>      PME(D0-,D1-,D2-,D3hot-,D3cold-)
> > >>                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> > >>
> > >> - [ ] 04:07.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video
> > >>      and Audio Decoder [Audio Port] (rev 05)
> > >>        Subsystem: Unknown device c180:c980
> > >>        Flags: bus master, medium devsel, latency 64, IRQ 19
> > >>        Memory at d1000000 (32-bit, non-prefetchable) [size=16M]
> > >>        Capabilities: [4c] Power Management version 2
> > >> - [ ] 04:07.1 0480: 14f1:8801 (rev 05)
> > >>        Subsystem: c180:c980
> > >>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
> > >>      ParErr- Stepping- SERR- FastB2B-
> > >>        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> > >>      <TAbort- <MAbort- >SERR- <PERR-
> > >>        Latency: 64 (1000ns min, 63750ns max), Cache Line Size: 32 bytes
> > >>        Interrupt: pin A routed to IRQ 19
> > >>        Region 0: Memory at d1000000 (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 PME-Enable- DSel=0 DScale=0 PME-
> > >>
> > >> Any ideas at all?
> > >>
> > >

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

end of thread, other threads:[~2011-06-18 19:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-03 20:38 cx88_alsa - getting loud white noise with capture card Roman Gaufman
2009-11-10 18:48 ` Roman Gaufman
2009-11-11  9:12   ` Roman Gaufman
2011-05-22  2:21     ` Roman Gaufman
2011-06-18 19:22       ` Roman Gaufman

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.