Sunday, January 6, 2008

HVR-950 audio now working under V4L

Looks like, as a result of Mauro's 6952 commit, audio on the HVR-950 appears to be working (assuming I run the following command while running tvtime):

sox -r 48000 -w -c 2 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp

It might be worth noting for anybody running Ubuntu 7.10 with the latest kernel updates that the em28xx-alsa driver does not load properly showing errors in dmesg output such as:

em28xx_audio: disagrees about version of symbol snd_pcm_new
em28xx_audio: Unknown symbol snd_pcm_new
em28xx_audio: disagrees about version of symbol snd_pcm_lib_ioctl
em28xx_audio: Unknown symbol snd_pcm_lib_ioctl
em28xx_audio: disagrees about version of symbol snd_pcm_set_ops
em28xx_audio: Unknown symbol snd_pcm_set_ops
....

This appears to be a problem with the way Ubuntu built the snd-pcm.ko in the latest linux-backports-modules-2.6.22-14.10 update. If you remove that package (which causes the kernel to use the snd-pcm.ko that ships with the 2.6.22 kernel instead of the one in /lib/modules/2.6.22-14-generic/updates, then the em28xx-alsa module will successfully load.