Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ALSA] modules / mixer problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Thu Sep 02, 2004 12:45 am    Post subject: [ALSA] modules / mixer problems Reply with quote

hi,
i am having little problems with alsa; i have sound modules for my thinkpad t21;
Code:

root@zobiak /home/kpoman/tts/hts_engine # lsmod | grep -e s.*nd
snd_pcm_oss            54952  0
snd_mixer_oss          20928  1 snd_pcm_oss
snd_cs46xx             89384  0
snd_rawmidi            25444  1 snd_cs46xx
snd_seq_device          8488  1 snd_rawmidi
snd_ac97_codec         73104  1 snd_cs46xx
snd_pcm                99560  2 snd_pcm_oss,snd_cs46xx
snd_timer              26596  1 snd_pcm
snd                    58660  8 snd_pcm_oss,snd_mixer_oss,snd_cs46xx,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
soundcore              10208  1 snd
snd_page_alloc         10344  2 snd_cs46xx,snd_pcm
root@zobiak /home/kpoman/tts/hts_engine #


and this in my alsasound file:

Code:

root@zobiak /home/kpoman/tts/hts_engine # cat /etc/modules.d/alsa |grep -v \#

alias char-major-116 snd
alias char-major-14 soundcore

alias snd-card-0 snd-card-cs461x
alias sound-slot-0 snd-card-0

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

options snd cards_limit=1
root@zobiak /home/kpoman/tts/hts_engine #


however when i restart alsasound, it complains about not finding the modules:
Code:

root@zobiak /home/kpoman/tts/hts_engine # /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Unloading ALSA...
 * Storing ALSA Mixer Levels
 * Unloading modules                                                                                                                   [ ok ]
 * Loading ALSA drivers...
 * Using ALSA OSS emulation
 * Loading: snd-mixer-oss
 * Loading: snd-pcm-oss
 * Loading: snd-seq-oss
 * Loading: snd-card-cs461x
FATAL: Module snd_card_cs461x not found.
 * Running card-dependent scripts
 * Restoring Mixer Levels                                                                                                              [ ok ]
root@zobiak /home/kpoman/tts/hts_engine #


i tried changing snd-card-cs461x to snd-card-cs46xx to fit better my module name, without any luck; and this results in having to manually restore mixer levels after rebooting the machine;
btw i also have in my kernel the "module unloading stuff" with the "force" stuff, but it doesnt work when i rmmod !

hope someone can help me with my lamy issue :)

thanx
_________________
please, help me, pity on me :'(
Back to top
View user's profile Send private message
geniux
Veteran
Veteran


Joined: 19 Feb 2004
Posts: 1400
Location: /home

PostPosted: Thu Sep 02, 2004 12:56 am    Post subject: Reply with quote

Instead of this:
Code:

alias char-major-116 snd
alias char-major-14 soundcore

alias snd-card-0 snd-card-cs461x
alias sound-slot-0 snd-card-0

try this:
Code:

alias char-major-116 snd
alias char-major-14 soundcore

alias snd-card-0 snd-cmipci
alias sound-slot-0 snd-card-0

it might work.
_________________
AMD Athlon64 X2 4200+ AM2
MSI K9N SLI Platinum, Enermax Liberty 500W
1GB RAM Crucial DDR2 667MHz, MSI nVidia 7600GS 256MB
400GB + 250GB Samsung SATAII HDD
Gentoo - BeyondSources 2.6.19-20
Back to top
View user's profile Send private message
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Thu Sep 02, 2004 4:29 pm    Post subject: Reply with quote

i modified that, then ran modules-update, then /etc/init.d/alsasound restart, with no luck !

Code:

root@zobiak /home/kpoman # /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Unloading ALSA...
 * Storing ALSA Mixer Levels
/usr/sbin/alsactl: save_state:1061: No soundcards found...
 * Unloading modules                                                      [ ok ]
 * Loading ALSA drivers...
 * Using ALSA OSS emulation
 * Loading: snd-mixer-oss
 * Loading: snd-pcm-oss
 * Loading: snd-seq-oss
 * Loading: snd-cmipci
FATAL: Module snd_cmipci not found.
 * Running card-dependent scripts
 * Restoring Mixer Levels                                                 [ ok ]
root@zobiak /home/kpoman #     

_________________
please, help me, pity on me :'(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum