On Thu, 04 Mar 2004 11:58:10 -0600
Joe Dunsmore <duns0014 at umn.edu> wrote:

> I installed slackware 9.1 and I'm having a problem.  I have the
> standard two button mouse with the scroll wheel in the middle.  When
> I installed I didn't have the option to choose a mouse with a scroll
> wheel (why?), I asked other people about this and they said to put
> Option "ZAxisMapping" "4 5" in /etc/X11/XF86Config, I did, but it
> didn't do anything.  My mouse wheel works in redhat and mandrake. 
> Also, audio doesn't work. when I start firebird or something from
> the command line, I get a message like: alsa_audio: no cards found!,
> again, works under redhat and mandrake.

In addition to the ZAxisMapping setting, I have the following:

Option "Protocol" "IMPS/2"
Option "Buttons" 3

Is gpm running?  If not, try to use the following rc script:

# more /etc/rc.d/rc.gpm
#!/bin/sh
# Start/stop/restart the GPM mouse server:

if [ "$1" = "stop" ]; then
  echo "Stopping gpm..."
  /usr/sbin/gpm -k
elif [ "$1" = "restart" ]; then
  echo "Restarting gpm..."
  /usr/sbin/gpm -k
  sleep 1
  /usr/sbin/gpm -m /dev/mouse -t imps2
else # assume $1 = start:
  echo "Starting gpm:  /usr/sbin/gpm -m /dev/mouse -t imps2"
  /usr/sbin/gpm -m /dev/mouse -t imps2
fi

Depending on your actual mouse, imps2 might not be correct but I think it's general enough to work with most mice.

As far as audio goes, I had a similar problem, did you build a custom kernel?  If so, you'll be missing stuff in /lib/modules/2.4.22/kernel/sound unless you rebuild alsa as well.  If not, make sure you have alsa-driver installed and your modules.conf is correct, here are my settings:

# ALSA setting
alias char-major-116 snd
alias snd-card-0 snd-es18xx
snd_device_gid=81 snd_device_uid=0
snd_mpu_port=0x330 snd_irq=5 snd_dma8=1 snd_dma16=3 snd_mic_agc=0
device_gid=81 device_uid=0
options snd snd_major=116 cards_limit=1 device_mode=0666
options snd-es18xx index=0 id="ES1879" port=0x240 mpu_port=0x330 irq=5 dma1=1 dma2=3 fm_port=0x388 isapnp=0

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# 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

Yours will be different depending on your card, the ALSA homepage (http://www.alsa-project.org/) has great documentation on the Supported Soundcards section.

Josh





_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list