Slackware 8.1 and scroll mouse

Montano

Lifer
Jan 26, 2002
14,461
0
0
I've had Linux for about an hour now, so I'm hell-a-newbie. Everything went fine with the install, except I got no sound. When I check in /dev/mixer it tells me I do not have permission. I am logged in as root. I have a SB Live!Value sound card, and from what I can tell, it is bieng detected. I know nothing of Linux, so remember this when you reply :) Thanks
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
what do you mean "from what i can tell"? what is leading you to believe it works? try:

dmesg

lsmod

cat /dev/random >/dev/dsp (turn your volume down first, hit control c to stop it! :p)

 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
If things are working correctly, you should see "emu10k1" mentioned in the output of either dmesg or lsmod. That's the linux kernel module (driver) for the SBLive.
 

Montano

Lifer
Jan 26, 2002
14,461
0
0
dmesg= not sure what I'm looking for there....
lsmod= shows natsemi
cat /dev/random>/dev/dsp= says 'no such device'
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
In dmesg, what you want to see is some mention of your soundcard - it will be recognized by name if things are set up right. From your lsmod output, it looks like the module isn't being loaded. Assuming that you installed the modules package, a modprobe emu10k1 should succeed and report your card. To load the module automatically at boot time, edit the /etc/rc.d/rc.modules file and uncomment the line for emu10k1.

Not sure about the "device not found" error - I'm pretty sure that /dev/dsp should be there by default. But it might fail if you don't have the module loaded already.

edit: typo
 

Montano

Lifer
Jan 26, 2002
14,461
0
0
emu10k1: emu10k1 rev 8 model 0x8022 found, IO at 0xb000-0xb01f, IRQ 9

This is what I found in dmesg
 

Montano

Lifer
Jan 26, 2002
14,461
0
0
To load the module automatically at boot time, edit the /etc/rc.d/rc.modules file and uncomment the line for emu10k1.

Exactly how do I do this??? Like I said, I've had Linux for about 12 hours now :)
 

TheOmegaCode

Platinum Member
Aug 7, 2001
2,954
1
0
$su -
# enter root password
#vi /etc/rc.d/rc.modules
delete the # in front of emu10k1.
Hit Esc, and type :wq
 

Montano

Lifer
Jan 26, 2002
14,461
0
0
Is there a simple way to get a scroll mouse to work?? Fixing the sound was fairly simple. :)
 

TheOmegaCode

Platinum Member
Aug 7, 2001
2,954
1
0
You should have a file XF86Config or XF86Config-4 somewhere. Find this using the locate or whereis command.

Open this file and look for something that says
Section "InputDevice"
Identifier "my mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "XaxisMapping" "4 5"
End Section
 

Montano

Lifer
Jan 26, 2002
14,461
0
0
Wow,, did the XF86Config thing, and messed everything up...........I'm going to reinstall and start over :) I'm sure I'll need your help very soon.
 

Montano

Lifer
Jan 26, 2002
14,461
0
0
Got everything up and going again. Is there a different way to activate the scroll?? I don't want to wipe everything out again. :)
 

Bremen

Senior member
Mar 22, 2001
658
0
0
The file you need to edit is /etc/X11/XF86Config. I'd use pico, however Omega gave an example using vi earlier, if you're comfortable using/learning vi I strongly suggest you do so. Anyway pico XF86Config go down till you see the Core Pointer's Input Device line and under Identifier "Mouse1" under it add the following lines Option "ZAxisMapping" "4 5" also change the protocol option to imps/2. Depending on your mouse however you may have to jump through hopes, my Logitech MouseMan Cordless Optical required some settings which are just weird. Also depending on how many buttons you have the "4 5" may become "5 6" or "6 7"
 

Montano

Lifer
Jan 26, 2002
14,461
0
0
when I type in pico XF86Config, all I get is a blank screen with commands at the bottom?? What am I doing wrong?