Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-07-2003, 07:18 PM
|
#1
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Rep:
|
toshiba laptop mouse problem
I have a Toshiba Satellite 1805 laptop, which I think is one of the last the company produced with the "eraser head" pointer in the middle of the keyboard. I normally use a USB scroll mouse with this computer so I don't normally use the eraser head. But, this means I can't take my computer with me unless I take some sort of external mouse.
How can I fix this, so that I can use both input devices?
|
|
|
04-07-2003, 08:49 PM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: London, UK
Distribution: Slackware
Posts: 5,700
Rep:
|
Create 2 mouse device entries in /etc/X11/XF86Config:
Code:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
EndSection
You'll have to change the option settings for the USB device and the protocol is different for USB, but googling for that should be quick.
Then Monkey with the serverlayout section:
Code:
Section "ServerLayout"
Identifier "Matrox PowerDesk configured."
Screen 0 "Display Merged" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "xinerama" "on"
EndSection
Now if I remember my X crap right, this is going to create 2 mouse devices, and thus, 2 actual screen pointers. Now, if I also remember right, X doesn't need both pointers to start right, just one, so it should work with only one attached... hopefully.
I haven't ever done this before, this is more or less a guess similar to other things I've helped people through.
Cheers,
Finegan
|
|
|
04-08-2003, 10:27 AM
|
#3
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Original Poster
Rep:
|
ok thanks
|
|
|
04-22-2003, 04:09 PM
|
#4
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Original Poster
Rep:
|
i realize it's been a couple weeks, but i finally got around to trying that. it didn't cause any problems (the usb mouse still works fine) but didn't get the eraser head working.
it may not have worked because i left the entry for "Mouse0" as it was (to keep the scroll rate and acceleration, etc. intact) and because I didn't "google" for the USB settings. actually, i was going to and i forgot.
Thanks for your help.
|
|
|
04-22-2003, 06:08 PM
|
#5
|
Member
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404
Rep:
|
I would keep mouse0 the way it is in your current XF86Config file then under server layout add this line:
InputDevice "Mouse1" "AlwaysCore"
and then add this into your XF86Config file
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
EndSection
This works for my touchpad using RH9
Good Luck 
|
|
|
04-23-2003, 04:36 PM
|
#6
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Original Poster
Rep:
|
thank you SO much. Eraser head works now.
|
|
|
04-24-2003, 12:15 AM
|
#7
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
I realize you have it working now, but just for completeness, this is what I've got on my machine:
Code:
Section "InputDevice"
Identifier "Internal Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Option "xinerama"
InputDevice "Generic Keyboard"
InputDevice "Internal Mouse"
InputDevice "USB Mouse"
EndSection
|
|
|
07-05-2003, 01:02 PM
|
#8
|
Member
Registered: Feb 2002
Posts: 38
Rep:
|
Should this also work with a serial mouse instead of a usb mouse? I used this setup, and they both work, but I have to logout to switch.
BFK
|
|
|
07-05-2003, 02:13 PM
|
#9
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
It won't work as well with a serial mouse because the plain old serial bus isn't as adaptable as USB. However, if you know you're going to want to use the serial mouse, you can have it plugged when you boot. Once you boot (and maybe startx), you may be able to unplug the serial mouse while you are not using it and then plug it back in when you are going to use it again. Just make sure the internal mouse is the "core pointer" pointing device.
Let us know if it works. . .
|
|
|
07-05-2003, 03:39 PM
|
#10
|
Member
Registered: Feb 2002
Posts: 38
Rep:
|
If I start with the serial mouse plugge in, I have to logout to switch (and I do have the touchpad set to AlwaysCore). Maybe I should just buy a USB mouse. Thanks for the help.
BFK
|
|
|
07-05-2003, 07:10 PM
|
#11
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
Post the relevant section(s) from your XF86Config. . .
|
|
|
All times are GMT -5. The time now is 02:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|