LinHES Forums http://forum.linhes.org/ |
|
How to determine the correct device file? ivtv and alsa http://forum.linhes.org/viewtopic.php?f=5&t=9498 |
Page 1 of 1 |
Author: | turpie [ Wed Apr 05, 2006 6:53 pm ] |
Post subject: | How to determine the correct device file? ivtv and alsa |
In my myth box I have 3 tv cards, a Winfast 2000XP (bttv), a FlyVideo3000 (saa7134), and a PVR150 (ivtv). When I look at the output from dmeg I can see that the bttv driver creates video0, and the saa7134 driver creates video1, but the ivtv doesn't list the device it creates. I can guess that it is video2 and confirm it easily enough, but shouldn't the OS be able to tell me somehow? Also I was trying to get the PCI Audio in from the saa7134 card by following these instructions. I assume the ALSA version is the way to go but it only lists the following info in dmesg: Code: saa7134 ALSA driver for DMA sound loaded
saa7133[0]/alsa: saa7133[0] at 0xf5006000 irq 19 registered as card 1 (Cut and pasted from the above url not my own system, but it was pretty similar.) When I set the audio capture device for /dev/video1 in mythtv-setup what should I use? I am obviously am missing something here, but what? |
Author: | turpie [ Thu Apr 06, 2006 5:23 pm ] |
Post subject: | |
OK I have found some info the regarding the alsa devices. Apparently I should be using something like "ALSA:hw:0,0" or ALSA:default instead of /dev/dspX. However the question still stands, how do I determine what to use? The info I found was from http://www.gossamer-threads.com/lists/m ... sers/89755 |
Author: | turpie [ Thu Apr 06, 2006 6:08 pm ] |
Post subject: | |
More research. I think what I need to do is use the "arecord -l" command to list the capture devices created by alsa. $ arecord -l (showing the devices created by saa7134-alsa in kernel 2.6.16): It will show something like this: Code: **** List of CAPTURE Hardware Devices ****
card 0: CK8S [NVidia CK8S], device 0: Intel ICH [NVidia CK8S] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: CK8S [NVidia CK8S], device 1: Intel ICH - MIC ADC [NVidia CK8S - MIC ADC] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: SAA7134 [SAA7134], device 0: SAA7134 PCM [SAA7134 PCM] Subdevices: 1/1 Subdevice #0: subdevice #0 In the above example it shows that the Saa7134 alsa capture device is card1 device0, so in Mythtvsetup you would use "ALSA:hw:1,0". |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |