[ltp] Fedora Core 1 | ALSA | setpnp ...almost there
Darren Hoch
linux-thinkpad@linux-thinkpad.org
Tue, 09 Mar 2004 22:24:14 -0800
Hello All,
I have been reading the hundreds of posts about ThinkPad 600e's, setpnp,
tpctl, ps2.exe, ALSA, and the associated headaches. I never had any
issues or had to change any BIOS settings with RH9 (used sndconfig) or
SuSE 9.0 (great tutorial on SuSE's website) with the stock cs4232
driver. When I installed FC1, everything came apart. I know there are
plenty of workarounds for every other distro of Linux out there. I am
looking for anyone who has the magic (detailed) steps for the
combination of FC1, setpnp/tpctl, and alsa snd-cs4236 or the stock cs4232.
1) I am using the pre-compiled Alsa packages from www.freshrpms.net
(cool site). I used the alsaconf utility which gave me the following
/etc/modules.conf:
alias char-major-116 snd
alias char-major-14 soundcore
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 snd-card-0 snd-cs4236
alias sound-slot-0 snd-cs4236
options snd-cs4236 port=0x530 cport=0x538 isapnp=0 dma1=1 dma2=0 irq=5
Should I be taking the settings from the last line here and feeding them
to setpnp?
2) The only error I had was that the alsaconf utility could not locate
rcalsasound utility. I then rebooted the machine with an interesting error:
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
ad1848: No ISAPnP cards found, trying standard ones...
cs4232: set synthio and synthirq to use the wavefront facilities.
cs4232: Must set io, irq and dma.
Which leads me to believe that I have to do something with the "Quick
Bios" and the fact that somehow I am calling the cs4232 even though it
is not in my modules.conf anymore. I have a pretty good understanding of
interrupts in the SPARC/Solaris/PROM world, but fall short in the BIOS
world. I disabled "Quick Bios", but can't really find a post with the
correct settings to setpnp/tpctl to hardcode the BIOS outside of being
refered to the sourceforge link or that everyone grumbles about ps2.exe.
3) Here is an lsmod after reboot:
snd-mixer-oss 15888 1 (autoclean)
snd-cs4236 10276 1 (autoclean)
snd-cs4236-lib 13616 0 (autoclean) [snd-cs4236]
snd-pnp 5336 0 (autoclean) [snd-cs4236]
snd-cs4231-lib 21356 0 (autoclean) [snd-cs4236 snd-cs4236-lib]
snd-pcm 84580 0 (autoclean) [snd-cs4236-lib snd-cs4231-lib]
snd-page-alloc 9652 0 (autoclean) [snd-cs4231-lib snd-pcm]
snd-opl3-lib 8708 0 (autoclean) [snd-cs4236]
snd-timer 18980 0 (autoclean) [snd-cs4231-lib snd-pcmsnd-opl3-lib]
snd-hwdep 6144 0 (autoclean) [snd-opl3-lib]
snd-mpu401-uart 5264 0 (autoclean) [snd-cs4236]
snd-rawmidi 18016 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 5848 0 (autoclean) [snd-opl3-lib snd-rawmidi]
snd 45764 0 (autoclean) [snd-mixer-oss snd-cs4236 snd-cs4236-lib
snd-cs4231-lib snd-pcm snd-opl3-lib snd-timer snd-hwd
ep snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6468 1 (autoclean) [snd]
4) It appears that the modules loaded correctly. Using the alsamixer
followed by the gnome-alsamixer gui, I unmuted (including PCM)
everything and cranked up the volume. I tried the stock Gnome CD player
and the alsaplayer to play an MP3. No Sound.
I guess I need a little lovin' on the whole PnP side of things. I am
trying to deploy FC1 across multiple ThinkPad 600e laptops and I am
trying to stay away from compiling source.
Thanks in advance for any help!
Darren
PS- I can offer some of my own tutorials/scripts/packages @
www.ufsdump.org in return for help. Also, I am willing to write up a
nice tutorial on this experience.