LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-22-2005, 03:27 PM   #1
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
slack newbie questions, vi, xorg 3button mouse, tripleboot with lilo


I just installed slackware 10.1 and I have some questions.

In debian when I run vi and use i (for insert) I get a huge message at the bottom with --INSERT--. I think this is the mode the program is in. But in slack whether I run vi or vim I don't get that functionality. Can I fix that?

I want my mouse scroll wheel to work. I opened the /etc/X11/xorg.conf file and tried uncommenting the line about logitech mouses there but it didn't work. Neither did the m$ mouse thing work. I have a logitech mouse. How do I check if my dev is right. I just found out that the middle button works for copying and pasting files, how do I make it scroll then?

Quote:
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

# Option "Protocol" "Auto"

# The available mouse protocols types that you can set below are:
# Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
# Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
# MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
# ThinkingMouse ThinkingMousePS/2 Xqueue
Option "Protocol" "PS/2"

# The mouse device. The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

# Option "Device" "/dev/mouse"
Option "Device" "/dev/psaux"
# Option "Device" "/dev/ttyS0"
# Option "Device" "/dev/ttyS1"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

Option "ChordMiddle"
I'm a bit confused how lilo does the triple boot now. I have one HD with windows on it that works fine. The other HD has debian and slackware on it. What is shared between those. Cause I installed slack with a 2.4 kernel and after I ran lilo in debian slack uses the 2.6.8.1 kernel I use in debian.

When I run make install after the kernel compile I get this error:

Quote:
root@slackware:/usr/src/linux# make install
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.8.1/arch/i386/boot/install.sh 2.6.8.1 arch/i386/boot/bzImage System.map ""
Warning: The boot sector and map file are on different disks.
Fatal: open /boot/vmlinuz-2.6.8.1: No such file or directory
make[1]: *** [install] Error 1
make: *** [install] Error 2
I assume this has something to do with my current setup with more kernels.

Quote:
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.8.1
root = /dev/hdb1
label = Debian
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb7
label = Slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
label = windows
table = /dev/hda
# Windows bootable partition config ends
 
Old 02-22-2005, 03:35 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
When I run lilo from slack I get the 2.4 kernel in debian where I'd normally had a 2.6.8.1 kernel and if I run lilo in debian I get a 2.6.8.1 kernel in slack. So should I have made a small partition instead of trying to run 2 images from 2 different /boot folders?
 
Old 02-22-2005, 03:45 PM   #3
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
hi dark leaf. The 'this is how i do it all' sticky in the slack forum shouldp point u in the right direction about the mouse.

Basically u need to specify Z X axis mapping and a 5 button mouse.....

The 2.4 kernel is still default in slack.

download the 2.6.10 kernel. Again the sticky above this post will guide you through. I can help if u run into probs (or try!!)

running two different boot images i fine. I imagine a kernel compiled in debian won't work in slack...
 
Old 02-22-2005, 03:56 PM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by satinet
hi dark leaf. The 'this is how i do it all' sticky in the slack forum shouldp point u in the right direction about the mouse.

Basically u need to specify Z X axis mapping and a 5 button mouse.....

The 2.4 kernel is still default in slack.
Thanks I know how that works but I thought that was just for xfree86 and not for x.org

Quote:

download the 2.6.10 kernel. Again the sticky above this post will guide you through. I can help if u run into probs (or try!!)

running two different boot images i fine. I imagine a kernel compiled in debian won't work in slack...
I know how to download and compile kernels and stuff and I choose not to use 2.6.10 now since it breaks my video card driver (nvidia tnt2).

The strange thing is that the kernels are quite interchangeable. Some options don't work but for most part there's no problem. And I the kernel from the distro I last ran lilo from. So something is wrong with my setup and I guess that's that I don't have a seperate /boot partition but try to run 2 images from 2 different partitions now?

Thanks for the help!

edit: I looked in that thread and getting the mouse working is in xf86 there not xorg

Last edited by darkleaf; 02-22-2005 at 03:59 PM.
 
Old 02-22-2005, 04:04 PM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
why don't you use the 2.6.8.1.kernel for both....?
just copy the module_tree from <deb>/lib/modules to <slack>/lib/modules,
and edit the lilo.conf to boot only that kernel with 2 diff. root part.'s.

egag
 
Old 02-22-2005, 04:14 PM   #6
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
So also having both the /boot folders the same? Sounds like the easiest solution I already tries installing that kernel in slack but just copying will do as well I guess and since it gives an error anyway now. Think I'll do that but I'm still curious on how it's possible that the kernel from a completely different partition loads cause lilo was run last in there.
 
Old 02-22-2005, 08:11 PM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
About the vi "problem" you should copy /usr/share/vim/vim63/vimrc_example.vim to ~/.vimrc
That will give you a nice configuration to start
 
Old 02-24-2005, 04:59 AM   #8
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
Thanks for the info on vi!

I got my mouse working now too. Had to use IMPS/2 protocol.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie just installed slack - quick questions ksl Slackware - Installation 3 07-04-2005 09:01 AM
Slackware newbie... Questions about usb mouse, power, bootsplash, GNOMEs big_syner Slackware 3 02-12-2005 01:02 PM
newbie questions about kernel and mouse someone04 Linux - Newbie 3 07-27-2004 07:09 PM
Slack Newbie Questions tubatodd Slackware 7 07-01-2004 05:03 PM
Slack Newbie: lilo Help pibby Slackware - Installation 10 01-31-2004 11:03 AM


All times are GMT -5. The time now is 08:18 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration