Hello MartinYou can reply on the list as I have subscribed .Actually is it possible to post to a debian mailing list without being a member of the list ? I think I tried in the past, but witouht success.
So indeed I was missing the correponding devices in /dev. As you wrote, the snddevices from the alsa base package script did the job of creating them not without sending me a freaky kernel warning of the like :
ioctl32(alsamixergui:2060): Unknown cmd fd(3) cmd(40045500){00} arg(effff82c) on /dev/snd/controlC0 ioctl32(amixer:2066): Unknown cmd fd(3) cmd(40045500){00} arg(effff814) on /dev/snd/controlC0
Then I load the sound card module with the following result : bombadil2:/home/manu# modprobe snd_sun_cs4231 Setting up ALSA...amixer: Mixer attach hw:0 error: Invalid argument amixer: Mixer attach hw:0 error: Invalid argument amixer: Mixer attach hw:0 error: Invalid argument amixer: Mixer attach hw:0 error: Invalid argument ( but the module loads OK )When I try to use alphamixergui now, I have also the same problem error snd_ctl_open failed that I used to have and the kernel sends me a warning in the logs ( the same as the former ioctl bla ) The sound is working with the alsa module although there must be a problem with frequency, because the tunes are played two times faster ( with debian package mpg123 ) . It's a bit funny the first time to hear the songs of my reggae/dub band as they become ska, but I'm not sure this treatment will benefit all kinds of music :-)
With a hand-compiled mplayer, I just get garbage on the soundcard ouput. Emmanuel Martin Habets a écrit :
On Sat, Sep 24, 2005 at 04:05:33PM +0200, Emmanuel Ka wrote:HelloActually you were right, the kernel uses now alsa for this driver. When I modprobe the module, it loads all the corresponding alsa drivers. However alsamixergui fails with the error snd_ctl_open failed for default : no such file or directory.Maybe you are missing the device files in /dev/snd/? You need device files there like controlC0, hwC0D0, pcmC0D0c, pcmC0D0p, seq and timer. If you don't see these you need to create them unless you use devfs or udev. To create them find the snddevices script (part of alsa-base package, or google for it). If you use devfs/udev I have no clue what to do.Following the advice from this thread http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg13884.html, I checked before that all oss remodules were removed.bombadil2:~# lsmod | grep snd bombadil2:~# modprobe snd-sun-cs4231You know a fix for this driver was posted on the mailing list last week?bombadil2:~# lsmod | grep snd snd_sun_cs4231 26152 0 snd_pcm 107273 1 snd_sun_cs4231 snd_timer 28168 2 snd_sun_cs4231,snd_pcm snd 57640 3 snd_sun_cs4231,snd_pcm,snd_timer soundcore 11976 1 snd snd_page_alloc 13904 2 snd_sun_cs4231,snd_pcm bombadil2:~# alsamixergui ..... ==> error message above bombadil2:~# cat /proc/asound/cards 0 [CS4231 ]: CS4231 - Sun CS4231 Sun CS4231 at 0x1fff1200000, irq 13,7e3 bombadil2:~# cat /proc/asound/devices 0: [0- 0]: ctl 16: [0- 0]: digital audio playback 24: [0- 0]: digital audio capture 33: : timerLooks good :) Martin