[alsa-devel] Unknown card info

Jorge Peixoto de Morais Neto please.no.spam.here at gmail.com
Mon Aug 20 21:29:10 CEST 2007


When I execute sudo modprobe snd_bt87x, I can't capture audio from my
tv capture card (mencoder segfaults). It only works when I execute
sudo modprobe snd_bt87x load_all=1. Then it seems to work ok.

When I issue sudo modprobe snd_bt87x load_all=1, the following lines
appear in dmesg:

unknown card 0x878-0x1554:0x4011, using default rate 32000
please mail id, board name, and, if it works, the correct digital_rate
option to <alsa-devel at alsa-project.org>

I am obeying the request and mailing this information to you. I have no
idea what is the correct digital_rate option; all I know is that the
default seems to work ok. I have a cable connecting the sound output of
the tv card to the line in of my sound card; it seems that when wathing
tv through mplayer this is the mechanism used (and it works ok).
However, when recording tv through mencoder, it seems to use snd_bt87x
(in fact, it does not work if snd_bt87x is not loaded), and it also
works ok.

The card option I pass when loading the module bttv is card=139.
According to /usr/src/linux/Documentation/video4linux/CARDLIST.bttv,
this corresponds to the card 
Prolink PixelView PlayTV MPEG2 PV-M4900

In fact, there is a sticker in the PCB that reads (if my
eyes are not failing me) PixelView PV-M4900 FM.RC

The full output of dmesg is attached to this email. 
If you need any additional information please contact me directly,
since I will now unsubscribe to this list.

Some possibly useful information:

jorge at jorge ~ $ uname -a
Linux jorge 2.6.22-gentoo-r3 #1 PREEMPT Tue Aug 14 18:51:06 BRT 2007 i686 AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux

jorge at jorge ~ $ cat /etc/modprobe.d/tv
options bttv card=139 automute=0
options snd_bt87x load_all=1

jorge at jorge ~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: CMI8738MC6 [C-Media PCI CMI8738-MC6], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CMI8738MC6 [C-Media PCI CMI8738-MC6], device 2: CMI8738-MC6 [C-Media PCI IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Bt878 [Brooktree Bt878], device 0: Bt87x Digital [Bt87x Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Bt878 [Brooktree Bt878], device 1: Bt87x Analog [Bt87x Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

jorge at jorge ~ $ sudo lspci
Password:
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
00:0c.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)

-- 
Software is like sex: it is better when it is free. --Linus Torvalds
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg.txt
Url: http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20070820/cc93c04b/attachment-0001.txt 


More information about the Alsa-devel mailing list