[ltp] Re: 600E and sound...sigh...

Thomas Hood linux-thinkpad@www.bm-soft.com
Tue, 30 Nov 1999 10:01:45 -0500


It looks to me like you may need more entries
in your /etc/conf.modules file.  Please compare
with the file on my website
http://jhunix.hcf.jhu.edu/~thood/tp600lnx.htm .
I think you want to be loading snd-card-cs4236,
not snd-card-cs4232.

Here are the sound modules that I have loaded
(partial output of lsmod):
--------------------------------------------------
snd-mixer-oss           3580   1  (autoclean)
snd-pcm1-oss           12588   0  (autoclean)
snd-card-cs4236         3856   1
snd-mpu401-uart         1528   0  [snd-card-cs4236]
snd-midi               12012   0  [snd-card-cs4236 snd-mpu401-uart]
snd-seq-device          3068   1  [snd-card-cs4236]
snd-opl3                1732   0  [snd-card-cs4236]
snd-hwdep               2284   0  [snd-card-cs4236 snd-opl3]
snd-cs4236             18512   0  [snd-card-cs4236]
snd-cs4231             16268   0  [snd-card-cs4236 snd-cs4236]
snd-mixer              25600   0  [snd-mixer-oss snd-card-cs4236
snd-cs4236 snd-cs4231]
snd-pcm1               16892   0  [snd-pcm1-oss snd-cs4236 snd-cs4231]
snd-timer               7388   0  [snd-opl3 snd-cs4231 snd-pcm1]
snd-pcm                 8428   0  [snd-pcm1-oss snd-card-cs4236
snd-cs4236 snd-cs4231 snd-pcm1]
snd                    33484   1  [snd-mixer-oss snd-pcm1-oss
snd-card-cs4236 snd-mpu401-uart snd-midi snd-seq-device snd-opl3
snd-hwdep snd-cs4231 snd-mixer snd-pcm1 snd-timer snd-pcm]
soundcore               2372   4 
[snd]                                         
-----------------------------------------

Try swapping the DMA channel assignments in your
/etc/conf.modules.

Try removing your network card.

Try using IRQ5 instead of IRQ9.  This means using
PS2.EXE to change the IRQ and editing your /conf.modules
so that snd_irq=5 .

Open a mixer and crank the PCM and Volume levels
up to near maximum.

--
Thomas

Torbjorn Tornkvist wrote:
> 
> Hi everyone !
> 
> I've been tracking this mailing list now for a while
> in hope to be able to get sound to work on my 600E.
> I think I've now tried every possible combination
> both with and without the Alsa drivers. From Windows
> the Thinkpad configuration programs say the following:
> 
>  0530-0537
>  0388-038b
>  0240-0253
>  DMA 1
>  DMA 0
>  IRQ 9
> 
> I'm running Mandrake 6.1 which means kernel 2.2.13.
> As other people has pointed out, sndconfig just
> say it is a 4610 chip and suggests ALSA drivers.
> I've installed: alsa-driver-0.4.1f2, alsa-lib-0.4.1e,
> alsa-utils-0.4.1. and have followed the instructions
> from Thomas Hoods web-page. When running alsasound
> I get:
> 
>  > ./alsa-driver-0.4.1f2/utils/alsasound start
>  Starting sound driver: snd-card-cs4232
>  /lib/modules/2.2.13-7mdk/misc/snd-card-cs4232.o: init_module: Device
>  or resource busy
>  snd-midi: Device or resource busy
>  done
>  alsactl: Cannot open configuration file '/etc/asound.conf'...
> 
> My /proc/interrupts looks like this:
> 
>  > cat /proc/interrupts
>             CPU0
>    0:     307657          XT-PIC  timer
>    1:       6409          XT-PIC  keyboard
>    2:          0          XT-PIC  cascade
>    3:       3539          XT-PIC  eth0
>    8:          1          XT-PIC  rtc
>   10:          4          XT-PIC  i82365
>   12:     115470          XT-PIC  PS/2 Mouse
>   13:          1          XT-PIC  fpu
>   14:     146366          XT-PIC  ide0
>   15:          4          XT-PIC  ide1
> 
> My /etc/conf.modules look like this:
> -----------------------------------------------------------------
> alias parport_lowlevel parport_pc
> pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start
> alias eth0 3c589_cs
> ### ALSA sound ###
> #
> # ALSA native device support
> #
> alias char-major-116 snd
> options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666 snd_device_gid=0 snd_device_uid=0
> #
> alias snd-card-0 snd-card-cs4236
> #
> alias sound snd-card-0
> options snd-card-cs4236 snd_port=0x530 snd_cport=0x538 \
> snd_fm_port=0x388 snd_irq=9 snd_dma1=1 snd_dma2=0 snd_isapnp=0 \
> # snd_mpu_port=0x330 snd_mpu_irq=7 # snd_dma1_size=xxx snd_dma2_size=xxx
> #
> # OSS/Free emulation setup
> 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-pcm1-oss
> alias sound-service-0-12 snd-pcm1-oss
> 
> keep     # Added by tpctlify
> path[thinkpad]=/lib/modules    # Added by tpctlify
> 
> alias char-major-10-170 thinkpad    # Added by tpctlify
> 
> options thinkpad enable_smapi=1 enable_superio=1 enable_rtcmosram=1  # Added by tpctlify
> -----------------------------------------------------------------
> 
> If anyone has any ideas on what to do I would be most greatful.
> 
> Cheers /Tobbe
> 
> ----- 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