On Wed, 04 Jun 2014 12:46:32 +0100, Pinnerite wrote:
> As root, get to the top directory holding your source and at the # enter
> ./configure If that fails, try ./kconfig
Thanks, there were no .config or .kconfig files, but I've now found a
webpage that said kernel modules for the running kernel are compiled with:
make -C /lib/modules/`uname -r`/build M=$PWD
That seemed to work but it objected to installing the module in the
running kernel, so I manually replaced this module and rebooted:
/lib/modules/3.13.0-24-generic/kernel/drivers/media/usb/usbtv/usbtv.ko
But this command still just played the video and no sound:
mplayer tv://
mplayer reports "Audio: no sound". So after much web searching, I
stumbled through how to find a new audio device on the system. I
identified the "sound card" with:
cat /proc/asound/cards | grep -i usbtv
1 [usbtv ]: usbtv - usbtv
USBTV Audio at bus 3 device 4
So it's apparently "sound card 1"
ls -l /dev/snd/*C1*
crw-rw----+ 1 root audio 116, 10 Jun 4 13:04 /dev/snd/controlC1
crw-rw----+ 1 root audio 116, 9 Jun 4 13:04 /dev/snd/pcmC1D0c
So that's the new device but how do I use it?
dd if=/dev/snd/pcmC1D0c bs=1K count=1 of=soundfile
dd: error reading ‘/dev/snd/pcmC1D0c’: File descriptor in bad state 0+0
records in 0+0
records out 0 bytes (0 B) copied, 0.000346106 s, 0.0 kB/s
I'm still confused by this.