[ltp] ALSA Sound problem in TP600E with CS4610
Michael Bletzinger
linux-thinkpad@www.bm-soft.com
Fri, 25 Feb 2000 16:48:07 -0600
I have sound working on a TP600E. I used the 4236 module instead of the
4610 and alsa0.41i. Other then that your setup looks ok.
Michael
Hans Nilsson wrote:
>
> I can install ALSA 0.5.3 but I don't get any sound (Yes, I know about
> the default muting). I got the same result with 0.4.1i.
>
> I have an IBM ThinkPad 600E (model 2645550) running RedHat 6.1 kernel
> 2.2.12-20.
>
> The audio controller is a CS4610:
>
> [root@helan ~]# lspci -v -s 00:06
> 00:06.0 Multimedia audio controller: Cirrus Logic CS 4610 (rev 01)
> Subsystem: Unknown device 1014:1010
> Flags: bus master, medium devsel, latency 208, IRQ 11
> Memory at 50100000 (32-bit, non-prefetchable)
> Memory at 50000000 (32-bit, non-prefetchable)
>
> I have rebuilt the kernel with only sound support and then I installed
> the ALSA 0.5.3 as the INSTALL file said.
>
> In /usr/src/linux/.config the sound section is:
>
> #
> CONFIG_SOUND=y
> # CONFIG_SOUND_CMPCI is not set
> # CONFIG_SOUND_ES1370 is not set
> # CONFIG_SOUND_ES1371 is not set
> # CONFIG_SOUND_ESSSOLO1 is not set
> # CONFIG_SOUND_SONICVIBES is not set
> # CONFIG_SOUND_MSNDCLAS is not set
> # CONFIG_SOUND_MSNDPIN is not set
> # CONFIG_SOUND_OSS is not set
>
> [root@helan ~]# cat /etc/conf.modules
>
> alias char-major-116 snd
> alias snd-card-0 snd-card-cs461x
>
> alias char-major-14 soundcore
> 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
>
> I run the 'alsasound start' early in runlevel 3:
>
> [root@helan ~]# ls /etc/rc.d/rc3.d/
> /etc/rc.d/rc3.d:
> K20rstatd@ S05kudzu@ S25netfs@ S50inet@ S99linuxconf@
> K20rusersd@ S10network@ S30syslog@ S60lpd@ S99local@
> K20rwhod@ S11portmap@ S40atd@ S75keytable@
> K55routed@ S16apmd@ S40crond@ S85gpm@
> S03alsasound@ S20random@ S45pcmcia@ S90xfs@
>
> [root@helan ~]# cat /proc/asound/sndstat
> Sound Driver:3.8.1a-980706 (ALSA v0.5.3 emulation code)
> Kernel: Linux helan.du.uab.ericsson.se 2.2.12-20 #2 Thu Feb 24 15:54:20 CET
> 2000 i686
> Config options: 0
>
> Installed drivers:
> Type 10: ALSA emulation
>
> Card config:
> Sound Fusion CS461x at 0x50100000/0x50000000, irq 11
>
> Audio devices:
> 0: CS461x (DUPLEX)
>
> Synth devices: NOT ENABLED IN CONFIG
>
> Midi devices:
> 0: ES1371
>
> Timers:
> 7: system timer
>
> Mixers:
> 0: AC97 generic
>
> [root@helan ~]# amixer
> Group 'Input Gain',0
> Capabilities: volume mute jointly-mute
> Channels: Front-Left Front-Right
> Limits: min = 0, max = 15
> Front-Left: 15 [100%] [on] [---]
> Front-Right: 15 [100%] [on] [---]
> Group 'Master Mono',0
> Capabilities: volume mute capture exclusive-capture
> Capture exclusive group: 1
> Channels: Front-Left Front-Right
> Limits: min = 0, max = 31
> Front-Left: 31 [100%] [on] [---]
> Front-Right: 31 [100%] [on] [---]
> Group 'Master',0
> Capabilities: volume mute capture exclusive-capture
> Capture exclusive group: 1
> Channels: Front-Left Front-Right Rear-Left Rear-Right Woofer
> Limits: min = 0, max = 31
> Front-Left: 31 [100%] [on] [---]
> Front-Right: 31 [100%] [on] [---]
> Rear-Left: 31 [100%] [on] [---]
> Rear-Right: 31 [100%] [on] [---]
> Woofer: 0 [0%] [mute] [---]
> Group 'Aux',0
> Capabilities: volume mute jointly-mute capture exclusive-capture
> Capture exclusive group: 1
> Channels: Front-Left Front-Right
> Limits: min = 0, max = 31
> Front-Left: 31 [100%] [on] [---]
> Front-Right: 31 [100%] [on] [---]
> Group 'Phone',0
> Capabilities: volume mute capture exclusive-capture
> Capture exclusive group: 1
> Channels: Front-Left Front-Right
> Limits: min = 0, max = 31
> Front-Left: 31 [100%] [on] [---]
> Front-Right: 31 [100%] [on] [---]
> Group 'PCM',0
> Capabilities: volume mute jointly-mute
> Channels: Front-Left Front-Right
> Limits: min = 0, max = 31
> Front-Left: 31 [100%] [on] [---]
> Front-Right: 31 [100%] [on] [---]
>
> [root@helan ~]# aplay /usr/share/sounds/phone.wav
> Aplay: version 0.5.3 by Jaroslav Kysela <perex@suse.cz>
> Using soundcard 'Sound Fusion CS461x at 0x50100000/0x50000000, irq 11'
> Playing WAVE '/usr/share/sounds/phone.wav' : Signed 16-bit Little Endian, Rate
> 44100 Hz, Stereo
> ## Here it just hang until I cntl-C
>
> During the "play", cat /proc/dma shows only
> 4: cascade
>
> Question 1: Any idea why there is no sound output?
>
> Question 2: The booting is a bit non-deterministic, sometimes the
> card is not loaded at all, sometimes it is loaded but
> /proc/asound/sndstat tells NOT ENABLED IN CONFIG on
> the audio, synth and midi devices. How early should the
> ALSA sound be started?
>
> /Hans Nilsson
>
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html