LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Just installed Slackware 10! Just a few questions on mouse, and kernel, and so forth. (https://www.linuxquestions.org/questions/slackware-14/just-installed-slackware-10-just-a-few-questions-on-mouse-and-kernel-and-so-forth-229435/)

RHLinuxGUY 09-11-2004 04:34 PM

Just installed Slackware 10! Just a few questions on mouse, and kernel, and so forth.
 
I just installed Slackware 10, after having a hell of a time with Mandrake, and more over Gentoo. It seemed to go very damn good through the install process. *aplause* I just need a few things configured witch I probably screwed up during the install. One I need my mouse scrolly fixed, so can someone point me to the direction of what im supposed to do to get this to work? Second, it said it comes with experimental 2.6 kernel, but I dont have it as a boot option. Could someone show me how I can install it off the cd of slackware 10? I got more questions, but those are the important ones right now. Thanx in advanced!

ceedeedoos 09-11-2004 04:55 PM

the kernel you want (2.6.7) is located on the second cd in /testing
you can install it with installpkg filename.tgz
make sure you also install the modules and alsa drivers

after this you cd to /boot
I'm assuming you use reiserfs, so the following should do the trick (it did for me)

mkinitrd -c -k 2.6.7 -m reiserfs

Afterwards you should update lilo to look like this:

Code:

image = /boot/vmlinuz-generic-2.6.7
    initrd = /boot/initrd.gz
    root = /dev/hda1
    label = Linux-2.6.7
    read-only

Obviously you might have to change hda1 to the corresponding device...


As for your mouse:
add
Code:

Option "ZAxisMapping" "4 5"
to you xorg.conf in the mouse section. This should do the trick, though the numbers might be different.

RHLinuxGUY 09-11-2004 05:00 PM

O thanx CeeDeeDoos. I have to reinstall slackware, because xserver crashed after I changed the xorg.conf file, to run the nvidia drivers. I tried to change it back through vi. (NOTE: I know how to use vi, its good) But it still wouldnt start, so could someone tell me how they got there nvidia drivers working? It said that my kernel had rivafb installed as a module, just like mandrake 10, but I kept going. Maybe that was the problem, but im sure u guys know more about slack then I do. Thanx.

gbonvehi 09-11-2004 06:04 PM

First of all, don't reinstall just for a X crash, if default X config works then make a backup of the config file (cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak) and in case the one with nvidia doesn't work, put it back (cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf).
The rivafb it's just a warning, as long as the module isn't loaded it should be ok (it isn't loaded by default so you should be ok).
All i had to do to get nvidia drivers working was to download the drivers, run them, they did all for me except to edit the X config file, where you only have to replace a line that says Driver "nv" or Driver "vesa" (i don't remember the default line) for Driver "nvidia"

RHLinuxGUY 09-11-2004 06:28 PM

Ya its now working again, I know I coulda done something, but I dont know what I was thinking. Well anyways, I can seem to get my 2.6.7 kernel to be recognized in the lilo boot loader. Maybe I did something wrong in the config file so here it is, for anyone that knows what to do.

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
image = /boot/vmlinuz-generic-2.6.7
initrd = /boot/initrd.gz
root = /dev/hda1
label = Linux-2.6.7
read-only
# Linux bootable partition config ends

So far thanx u guys.

gbonvehi 09-11-2004 08:43 PM

Glad to know you could advance RHLinuxGUY, but what's the problem you're having now? If it's that the 2.6.7 choice doesn't appear in the loader when you boot, run /sbin/lilo as root.

RHLinuxGUY 09-12-2004 12:52 AM

Ya I just did that (stupid me) thanx for the reply anyways. Now I just got to get my mouse scrolly fixed, get my xine win32 codec fixed, and change my name. (maybe SWLinuxGUY)

gbonvehi 09-12-2004 01:03 AM

Glad to see another SlackHappy user :)
Well to get your mouse to scroll, fireup a editor, open /etc/X11/xorg.conf
change the lines InputDevice where it says Option "Protocol" "auto" (maybe it says something else) to Option "Protocol" "ExplorerPS/2" (it doesn't matter if your mouse isn't ps/2, mine is usb and it works like a charm).
Then add a line (just behing option protocol) with Option "Buttons" "5" (i've 5, change to suit yours) and another one with Option "ZAxisMapping" "4 5" (the latest two numbers of your buttons).
To get win32 codecs, goto http://www.mplayerhq.hu/ and there you can find documentation on how to install them and you can also download the codecs there.


All times are GMT -5. The time now is 05:44 PM.