From: Alan Shutko Date: 18 Jul 2000 11:45:29 -0400 The following message is a courtesy copy of an article that has been posted to comp.os.linux.portable as well. Amit Mehrotra writes: > Has anyone been successful in having sound on IBM A20P for linux? The > somewhat succinct description of the getting sound to work found in the > link from the linux laptop page did not work for me. Depends on what you're looking at. The one at http://www.zhlive.ch/zhl_contents_linux.html is correct, though there are a few things which Raphael didn't mention. (Which is why you're getting CCed!) First, sound probably won't work after a warm-boot from Windows. It _definately_ won't work after a suspend. The solution for the suspend problem is to get apmd to down the sound system and up it after a suspend. I have this in my /etc/sysconfig/apm-scripts/apmcontinue script (RH6.2... don't know how other dists do it). If you have sound programs running when you suspend, they won't be killed... I haven't bothered to figure out yet how to integrate alsa with RH's automatic sound-downing stuff (which can kill and restart sound apps), so I just make sure I kill xmms first. (And don't use ESD!) #!/bin/sh case "$1" in suspend) /etc/rc.d/init.d/alsasound stop ;; resume) /etc/rc.d/init.d/alsasound start ;; esac Second, you need to have fully installed alsa, including the various additions to conf.modules/modules.conf. Sounds like you may not have done this. Mine looks like # ALSA portion 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-12 snd-pcm-oss Finally, make sure you go and unmute/set volumes for all the things with alsamixer or something. Right now, I have sound perfectly working with the exception of midi files, which I think is because the chip doesn't have midi on board. So I've downloaded TiMidity++ and will be playing with that soon. -- Alan Shutko - In a variety of flavors! 115 days, 23 hours, 57 minutes, 44 seconds till we run away. A hacker does for love what others would not do for money.