LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-21-2004, 07:15 PM   #1
Wiggy
Member
 
Registered: Apr 2004
Distribution: Slackware 12.1
Posts: 48

Rep: Reputation: 15
Anyone with a Laptop/Slackware 9.1 and a USB Mouse


Could you tell me whats in your /etc/X11/XF86Config to enable your USB mouse. I want to add the USB as well a keep my trackpad working, I've tried afew things and I always get error on line blah blah blah and X wount start.
 
Old 05-22-2004, 12:50 AM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Try to set mouse protocol to "auto".
 
Old 05-22-2004, 05:45 AM   #3
Shah
LQ Newbie
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Red Hat, Fefora, Mandrake, Cygwin
Posts: 13

Rep: Reputation: 0
I've got slackware 9.1 on my laptop with usb mouse, I don't know if the setting auto in for the device worked, tell me, I'm not using my laptop at the moment, I'll be using it later tonight or tomorrow, I'm getting too lazy these days

I'll check back here and if you still need it I'll send then send you my config file.

Sahand
 
Old 05-22-2004, 07:46 AM   #4
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
Identifier "UsbMouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "UsbMouse" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

The important point is that you cannot have 2 CorePointer devices, & /dev/input/mice is where slackware finds a usb mouse
 
Old 05-22-2004, 09:31 AM   #5
Wiggy
Member
 
Registered: Apr 2004
Distribution: Slackware 12.1
Posts: 48

Original Poster
Rep: Reputation: 15
My current mouse and keyboard are set to 'Mouse1', 'Keyboard1' so shall I just keep them as that or just change them to 0?

Is this what it should look like?

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
Identifier "UsbMouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "UsbMouse" "AlwaysCore"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Last edited by Wiggy; 05-22-2004 at 09:51 AM.
 
Old 05-22-2004, 10:04 AM   #6
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
It doesn't matter what they are, only that they are the same between the "Inputdevice" and "ServerLayout" section.

e.g. Mouse1 in both places.

That looks correct, if you are still having problems post any errors found in /var/log/XFree86.0.log
 
Old 05-22-2004, 11:24 AM   #7
Wiggy
Member
 
Registered: Apr 2004
Distribution: Slackware 12.1
Posts: 48

Original Poster
Rep: Reputation: 15
Okay I've added that without any errors comming up but I still can't use the USB. I've also tried adding the auto protocal.

Last edited by Wiggy; 05-22-2004 at 12:11 PM.
 
Old 05-22-2004, 08:14 PM   #8
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
Did you restart x?
 
Old 05-22-2004, 09:17 PM   #9
Wiggy
Member
 
Registered: Apr 2004
Distribution: Slackware 12.1
Posts: 48

Original Poster
Rep: Reputation: 15
yeap
 
Old 05-23-2004, 12:01 AM   #10
Shah
LQ Newbie
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Red Hat, Fefora, Mandrake, Cygwin
Posts: 13

Rep: Reputation: 0
And have you restarted your laptop, try it I know that you need rc.hotplug restarted in order for it to be picked up. The hotplug services are for usb devices such as your mouse and stuff. So try restarting your slackware box first.

That is if you have enabled hotplug when you installed slackware. In the installation there should have been a question asking if you would want this or not.
 
Old 05-23-2004, 11:34 AM   #11
Wiggy
Member
 
Registered: Apr 2004
Distribution: Slackware 12.1
Posts: 48

Original Poster
Rep: Reputation: 15
yeah I tried restarting to no avail, as for the hotplug thing im not to sure, I can't remember it asking me but if it did I most likey said yes to it.
 
Old 05-23-2004, 10:32 PM   #12
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
What are the error messages in /var/log/XFree86.0.log

also what does

ls -l /dev/input/mice

show
 
Old 05-24-2004, 10:28 AM   #13
Wiggy
Member
 
Registered: Apr 2004
Distribution: Slackware 12.1
Posts: 48

Original Poster
Rep: Reputation: 15
at the end of the log I'm getting this

(**) Option "Protocol" "Auto"
(**) Mouse1: Protocol: "Auto"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/mouse"
(**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse1: Buttons 3
(EE) UsbMouse: No Protocol specified
(EE) PreInit failed for input device "UsbMouse"
(II) UnloadModule: "mouse"
(II) Keyboard "Keyboard1" handled by legacy driver
(II)XINPUT: Adding extended input device "mouse1" (type: MOUSE)
(--) Mouse1: PnP-detected protocol: "ImPS/2"
(II) Mouse1: ps2EnableDataReporting: succeeded


Code:
bash-2.05b$ ls -l /dev/input/mice
crw-r--r--    1 root     root      13,  63 Jan  7  2001 /dev/input/mice
 
Old 05-24-2004, 10:42 AM   #14
Wiggy
Member
 
Registered: Apr 2004
Distribution: Slackware 12.1
Posts: 48

Original Poster
Rep: Reputation: 15
Heres what I put in for the usb in XF86config just see if you can see anywhere I went wrong.

Section "InputDevice"
Identifier "UsbMouse"
Driver "mouse"
Option "Protocal" " ImPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"

EndSection

Section "ServerLayout"
Identifier "simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "UsbMouse" "AlwaysCore"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection
 
Old 05-24-2004, 12:25 PM   #15
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
Option "Protocal" " ImPS/2"

Protocol is spelled incorrectly
 
  


Reply



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
Using my usb mouse with laptop Kaao Linux - Hardware 1 09-05-2005 06:45 AM
Can't get a LogiTech USB mouse to work on HP nx9010 laptop with SlackWare. rafaelandy Linux - Hardware 1 09-01-2005 08:38 AM
laptop usb mouse marlor Slackware 1 07-02-2004 07:32 AM
How do you configure to mouses, a laptop mouse and a Logitc USB Mouse dbratton Linux - Hardware 8 03-06-2004 05:02 PM
touchpad mouse + usb mouse on laptop guild Libranet 1 11-28-2003 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration