[alsa-devel] Unknown card info
![](https://secure.gravatar.com/avatar/282150622600a2e2341a4b1b6d02bbcc.jpg?s=120&d=mm&r=g)
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@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@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@jorge ~ $ cat /etc/modprobe.d/tv options bttv card=139 automute=0 options snd_bt87x load_all=1
jorge@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@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)
![](https://secure.gravatar.com/avatar/5b19e9d0e834ea10ef75803718ad564b.jpg?s=120&d=mm&r=g)
At Mon, 20 Aug 2007 16:29:10 -0300, Jorge Peixoto de Morais Neto wrote:
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@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.
Thanks, now I added the entry for your device.
Takashi
![](https://secure.gravatar.com/avatar/d3cdae382ec275ef433f3c688ee0ef0a.jpg?s=120&d=mm&r=g)
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@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.
Thanks, now I added the entry for your device.
Takashi
I forgot to say that I am having video capture bugs. The bug manifests itself in weirdness in the video (a particular field of the video keeps reappearing periodically), and in overall system instability (segfaults, and lockups in which not even the magick SysRq keys work). I also get this kind of message in mencoder:
v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [10706:0] v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
Invalid frame duration value (35.021/0.000 => -35.021). Defaulting to 0.033 sec. v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [10708:0] v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
Invalid frame duration value (35.021/0.000 => -35.021). Defaulting to 0.033 sec. v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [10711:0] v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
Invalid frame duration value (35.021/0.000 => -35.021). Defaulting to 0.033 sec. v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [10713:0] v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
Invalid frame duration value (35.021/0.000 => -35.021). Defaulting to 0.033 sec. v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [10716:0] v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
Invalid frame duration value (35.021/0.000 => -35.021). Defaulting to 0.033 sec. v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [10717:0] v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
Invalid frame duration value (35.021/0.000 => -35.021). Defaulting to 0.033 sec. Pos: 35.2s 995f ( 0%) 24.72fps Trem: 0min 0mb A-V:0.000 [10720:0] Flushing video frames. Writing index... Writing header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp h eader.
Video stream: 10720.710 kbit/s (1340088 B/s) size: 47173581 bytes 35.202 secs 995 frames v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: 990 frames successfully processed, 61 frames dropped.
These problems however happen even if I don't modprobe snd_bt87x, so the bug is probably somewhere else.
Also, this bug appeared recently.Until some time ago, I could use my TV capture card with no problems. I have tried going back to the older kernel version, the older mplayer version, with no help.
I even think this may be a hardware problem...
The point is, I do have this problem, but I don't think it indicates a bug in the snd_bt87x support for my particular card, and your decision to add the entry was correct. I'm only telling you about this problem because, even though I don't think it is relevant, you may have a different oppinion, so I think you should know this.
Thank you for your work,
Jorge Peixoto
![](https://secure.gravatar.com/avatar/282150622600a2e2341a4b1b6d02bbcc.jpg?s=120&d=mm&r=g)
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@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.
Thanks, now I added the entry for your device.
Takashi
I forgot to say that I am having video capture bugs. The bug manifests itself in weirdness in the video (a particular field of the video keeps reappearing periodically), and in overall system instability (segfaults, and lockups in which not even the magick SysRq keys work). I also get this kind of message in mencoder:
v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [10706:0] v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
Invalid frame duration value (35.021/0.000 => -35.021). Defaulting to 0.033 sec. v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [10708:0] v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
Invalid frame duration value (35.021/0.000 => -35.021). Defaulting to 0.033 sec. v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [10711:0] v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
Invalid frame duration value (35.021/0.000 => -35.021). Defaulting to 0.033 sec. v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [10713:0] v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
Invalid frame duration value (35.021/0.000 => -35.021). Defaulting to 0.033 sec. v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [10716:0] v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
Invalid frame duration value (35.021/0.000 => -35.021). Defaulting to 0.033 sec. v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [10717:0] v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0
Invalid frame duration value (35.021/0.000 => -35.021). Defaulting to 0.033 sec. Pos: 35.2s 995f ( 0%) 24.72fps Trem: 0min 0mb A-V:0.000 [10720:0] Flushing video frames. Writing index... Writing header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp h eader.
Video stream: 10720.710 kbit/s (1340088 B/s) size: 47173581 bytes 35.202 secs 995 frames v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0 v4l2: 990 frames successfully processed, 61 frames dropped.
These problems however happen even if I don't modprobe snd_bt87x, so the bug is probably somewhere else.
Also, this bug appeared recently.Until some time ago, I could use my TV capture card with no problems. I have tried going back to the older kernel version, the older mplayer version, with no help.
I even think this may be a hardware problem...
The point is, I do have this problem, but I don't think it indicates a bug in the snd_bt87x support for my particular card, and your decision to add the entry was correct. I'm only telling you about this problem because, even though I don't think it is relevant, you may have a different oppinion, so I think you should know this.
Thank you for your work,
Jorge Peixoto
participants (3)
-
Jorge Peixoto de Morais Neto
-
Jorge Peixoto de Morais Neto
-
Takashi Iwai