LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 12-14-2005, 12:27 AM   #1
Lanix1
LQ Newbie
 
Registered: Dec 2005
Location: Chicagoish
Distribution: Slack
Posts: 19

Rep: Reputation: 0
usb mouse, and tecra 8100 trackpad problems


I am having difficulty getting both my Logitech mx310 usb mouse, and the trackpad in the laptop to work. I don't necessarily want them to work at the same time, but it would be nice if the Logitech was not plugged in, to be able to use the trackpad. I have done quite a lot of configuration changes to the xorg.config file. I have gotten both to work seperately, so I know that the kernel is working to some degree. The PnP options are enabled, and working because I am able to unplug the mouse, and plug it back in and it will work fine.

To let you know I am using the latest version of slackware, kernel version 2.4.31 according to uname. I have used several different protocols in the xorg.config file, including IMPS/2, ExplorerPS/2, auto, PS/2 and a couple others. The only way I was able to get the usb mouse to work was to remove the Option "Device" "/dev/mouse" line and replace it with "/dev/input/mice". Now the interesting part of the whole thing is that I have also tried using multiple Identifiers, i.e. Mouse0 and Mouse1 with their own InputSection and EndSection.

Now for the real question, is there a way to program an "if" statement to recognize whether or not the usb mouse is plugged in? This may seem unnecessary, but it seems as though X11 reads the config file and sets the first Device it runs across in a certain area. And if everything works fine, it will disregard further settings. I have not done a whole lot of programming, but it seems there can be a work around to get both mice to work.

Just so you know I check this site at most a couple times a day, so it may be a while before I can respond back. Thanks in advance.
 
Old 12-19-2005, 07:32 PM   #2
Lanix1
LQ Newbie
 
Registered: Dec 2005
Location: Chicagoish
Distribution: Slack
Posts: 19

Original Poster
Rep: Reputation: 0
Maybe I should elaborate on this a little more. The reason I want to be able to use both the trackpad and the usb mouse, is because I use usb flash memory, and an external CD/RW. Unfortunately I only have one usb port on my machine, and I probably will not purchase another laptop for another six months. If this is going to be too much hassle, I can purchase a usb hub, that might be the simplest solution.
 
Old 12-31-2005, 07:58 PM   #3
Lanix1
LQ Newbie
 
Registered: Dec 2005
Location: Chicagoish
Distribution: Slack
Posts: 19

Original Poster
Rep: Reputation: 0
usb, ps2 mouse solution

Well I finally figured this one out. I kicked myself once I realized how easy this was.

X11 has difficulty recognizing two mice of different protocols. So the trick is to get both mice working with the same protocol, and more importantly the same device. This may not make too much sense, but this is how it works on my system. I recently purchased a new usb keyboard, and I already have a usb mouse, I could only plug one of them into the computer at a time. I plugged the keyboard into the usb slot, and found a usb to PS/2 adaptor, and plugged the mouse into it.

I don't know if you have a usb to PS/2 adaptor, but this worked well for me.

Then I edited the xorg.conf file, so the device option for the mouse is.

Option "Device" "/dev/mouse"

Then the protocol option is IMPS/2.

Option "Protocol" "IMPS/2"

The primary reason this works for me, is because the IMPS/2 protocol works for the trackpad, plus the auxillary PS/2 port. Since X11, or more importantly the version I am running, has a tough time working with two devices with the same Identifier. Finding a device option and protocol option that runs both, becomes essential. Strangely enough, the mouse runs better than in windows, I think part of this would have to do with me manually setting the ZAxisMapping option. That is pretty much hardcoded in Linux, windows has had a tough time getting the scroll function to work, and I am not about the try and figure out where the driver config files are in windows. I hope this helps.
 
  


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
Screen save mode on Toshiba Tecra 8100 with serial mouse hwaage Linux - Laptop and Netbook 0 04-01-2005 03:11 PM
Toshiba Tecra 8100 installation problems w/ mandrake 9.1 CAPGuy Linux - Laptop and Netbook 2 09-28-2004 04:13 PM
Sound problems with Toshiba Tecra 8100 on SuSE 8.1 geeedeee Linux - Laptop and Netbook 13 09-14-2004 11:10 AM
Mandrake 9.1 + Toshiba Tecra 8100 problems with kde? gantti Linux - Laptop and Netbook 2 06-12-2004 11:10 AM
USB Mouse and Trackpad Mouse problems macshark Linux - Hardware 6 12-24-2002 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

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