View previous topic :: View next topic |
Author |
Message |
bendy Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11897956083f9ad9d413f51.gif)
Joined: 18 May 2002 Posts: 274 Location: Gloucester, UK
|
Posted: Tue Nov 16, 2004 12:42 pm Post subject: Sound on thinkpad t22 with alsa and 2.6.x kernel |
|
|
Hi,
I have gentoo installed on a thinkpad t22, and everything works fine except that I can't get any sound from it. I have 'alsa' in my USE flags. Sound card is: Code: | bash-2.05b# lspci | grep audio
0000:00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01) | so I need the cs46xx driver, which is compiled as a module in my kernel (currently gentoo-dev-sources-2.6.9-r1, but the same problems were encountered on older 2.6.x kernels).
My /etc/modules.d/alsa says:
Code: | # Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.2 2004/07/18 03:40:55 dragonheart$
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-cs46xx
options snd-cs46xx thinkpad=1 index=0
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
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
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1 |
and lsmod says:
Code: | bash-2.05b# lsmod
Module Size Used by
thinkpad 5028 0
orinoco_cs 6984 1
orinoco 42028 1 orinoco_cs
hermes 7936 2 orinoco_cs,orinoco
snd_seq_midi 6432 0
snd_cs46xx 78728 0
snd_rawmidi 20452 2 snd_seq_midi,snd_cs46xx
snd_ac97_codec 70448 1 snd_cs46xx
snd_seq_oss 32384 0
snd_seq_midi_event 6208 2 snd_seq_midi,snd_seq_oss
snd_seq 50288 5 snd_seq_midi,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6280 4 snd_seq_midi,snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss 50568 0
snd_pcm 87464 2 snd_cs46xx,snd_pcm_oss
snd_timer 22052 2 snd_seq,snd_pcm
snd_page_alloc 7464 2 snd_cs46xx,snd_pcm
snd_mixer_oss 18080 1 snd_pcm_oss |
So everything looks good. I have of course unmuted the sound channels using alsamixer. Still - no sound from the speakers, or from headphones plugged into the machine.
I did notice this in my dmesg output:
Code: | Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC).
ALSA device list:
No soundcards found. |
Is that normal?
The machine was second-hand when I bought it, so it is possible there is a hardware problem, although it does beep at me from time to time.
Any suggestions? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tutaepaki Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Nov 2003 Posts: 279 Location: New Zealand
|
Posted: Tue Nov 16, 2004 7:58 pm Post subject: |
|
|
I have gentoo on a T22, and the sound works fine. You should see
Code: | #0: sound Fusion CS46xx at ........... |
in your ALSA device list.
There is only 2 differences in my modules.d/alsa file...
I don't have this entry
Code: | options snd-cs46xx thinkpad=1 index=0 |
And I have an entry under the OSS/Free portion
Code: | alias sound-slot-0 snd-card-0 |
Which you don't have.
And I compiled the CS-46xx module into the kernel rather than as a module.
tut. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bendy Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11897956083f9ad9d413f51.gif)
Joined: 18 May 2002 Posts: 274 Location: Gloucester, UK
|
Posted: Tue Nov 16, 2004 9:32 pm Post subject: |
|
|
Thanks tut - I changed my /etc/modules.d/alsa to match your's (which is how I had it a while ago), and ran modules-update again, but it still doesn't work.
I am wondering if the "No soundcards found" message I get when booting is because the module is loaded at that time, whereas you have it compiled into the kernel. I might try that next - I certainly can't think of anything else to try.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|