LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   alsa non-functional under 2.6.10 using via82cxx (https://www.linuxquestions.org/questions/slackware-14/alsa-non-functional-under-2-6-10-using-via82cxx-285937/)

robthebob 02-03-2005 05:23 PM

alsa non-functional under 2.6.10 using via82cxx
 
Basically this is off a vanilla install of Slack10. The sound works fine under the stock 2.4.26 kernel, although I'm not quite sure whether this is using OSS or what. The output of lsmod under 2.4 is as follows:

Code:

Module                  Size  Used by    Not tainted
snd-pcm-oss            37736  0 (unused)
snd-mixer-oss          12504  0 [snd-pcm-oss]
usbcore                59308  1
parport_pc            14788  0
parport                23336  0 [parport_pc]
3c59x                  25648  1
tuner                  10184  1 (autoclean)
tda9887                3072  1 (autoclean)
tvaudio                13480  0 (autoclean) (unused)
bttv                  94656  1
i2c-algo-bit            7144  1 [bttv]
i2c-core              12804  0 [tuner tda9887 tvaudio bttv i2c-algo-bit]
videodev                5952  3 [bttv]
snd-bt87x              5192  0
snd-pcm                56072  0 [snd-pcm-oss snd-bt87x]
snd-timer              13604  0 [snd-pcm]
snd-page-alloc          6328  0 [snd-bt87x snd-pcm]
snd                    30852  0 [snd-pcm-oss snd-mixer-oss snd-bt87x snd-pcm snd-timer]
ide-scsi                9328  0
via82cxxx_audio        19324  0
ac97_codec            12084  0 [via82cxxx_audio]
soundcore              3396  3 [bttv snd via82cxxx_audio]

Under 2.6.10, the lsmod output is similar although the via82cxxx_audio module is (afaik and I'm just checking) slightly differently named. The main obvious difference to me is that the devices in /dev do not appear to be being created properly. I wonder if the TV card being registered as a sound card is a problem at all, as it shows up as card0 in /proc/asound/cards.

mpg321 complains that libao has no default driver and no other programs will give any output with various error messages (amp gives broken pipe and xmms gives a generic message).

The sound coming from the TV card is also just white noise under either kernel version, which is a problem I have never been able to solve. I would much appreciate any help on either count.


EDIT:

Here is the lsmod under 2.6.10:
Code:

Module                  Size  Used by
snd_pcm_oss            49092  0
snd_mixer_oss          17792  1 snd_pcm_oss
ipv6                  239008  10
ehci_hcd              27972  0
usbcore              106360  1 ehci_hcd
via_agp                7392  1
parport_pc            24932  0
parport                32904  1 parport_pc
snd_via82xx            22656  0
snd_ac97_codec        74016  1 snd_via82xx
snd_mpu401_uart        6272  1 snd_via82xx
snd_rawmidi            20000  1 snd_mpu401_uart
snd_seq_device          7020  1 snd_rawmidi
3c59x                  36488  0
tuner                  20740  0
tda9887                12152  0
bttv                  146544  0
video_buf              17380  1 bttv
firmware_class          7552  1 bttv
i2c_algo_bit            8904  1 bttv
v4l2_common            4576  1 bttv
btcx_risc              3752  1 bttv
i2c_core              18224  4 tuner,tda9887,bttv,i2c_algo_bit
videodev                7296  1 bttv
snd_bt87x              10308  0
snd_pcm                85320  4 snd_pcm_oss,snd_via82xx,snd_ac97_codec,snd_bt87x
snd_timer              21348  1 snd_pcm
snd                    47940  10 snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_bt87x,snd_pcm,snd_timer
soundcore              7328  1 snd
snd_page_alloc          7524  3 snd_via82xx,snd_bt87x,snd_pcm
evdev                  7328  0
ide_scsi              13860  0
agpgart                28360  1 via_agp

Please let me know if anything else would be helpful

Linux.tar.gz 02-03-2005 10:22 PM

Did you ran alsaconf?

robthebob 02-04-2005 05:14 PM

I've tried alsaconf, and I have now managed to get some output from my system. I have only tried mpg321 so far, which complained that /dev/snd/pcmC0D0p did not exist so I guess it is looking for the sound card where slackware has registered the TV card (ie at card 0). A symbolic link created at /dev/snd/pcmC0D0p pointing to /dev/snd/pcmC1D0p (which does exist) allows mpg321 to function normally. Amp still doesn't work however - broken pipe. I haven't tried GUI things yet...

I think modules.conf is the place to set this up, but I'm not quite sure how to point it at the right card.

Linux.tar.gz 02-07-2005 06:03 PM

Try recompile alsa, and if it don't work, you should recompile your kernel with the alsa stuff inside kernel (not as a module).

robthebob 02-08-2005 04:58 AM

Yeah, I checked out one of my other boxes and that had alsa in the kernel so I went for that - it works now thanks!


All times are GMT -5. The time now is 03:36 PM.