LinuxQuestions.org
Help answer threads with 0 replies.
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 02-12-2003, 10:53 AM   #1
mhibbs
LQ Newbie
 
Registered: Feb 2003
Location: dallas
Distribution: debian woody
Posts: 3

Rep: Reputation: 0
Intellimouse Problems - debian XF86 4.2


I am definitely a Linux newbie, and I am having trouble getting my Intellimouse to run under XF 4.2. I have searched google and read some threads in these forums, and I am still having problems. I am using Debian Woody, and my current kernel doesn't have USB HID complied, and at this point, I don't think I have the knowledge to attempt to recompile my kernel, so I am just going to attempt to stick w/ PS/2 for now. My XF86Config-4 looks like the following....

----------------------------------------------------------------
Identifier "USB Mouse"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
----------------------------------------------------------------
InputDevice "CorePointer" "USB Mouse"
----------------------------------------------------------------

XF will render, but the pointer will not move, and the XF interface locks up forcing me to cycle the power to reboot....

I even tried using the USB port and turning on legacy USB mouse PS/2 emulation in my bios, and that was actually the most successful as the XF interface would render, and I could move the pointer, but it goes haywire....doesn't move correctly, clicks randomly on its own, etc. I just can't figure out why it won't work via the PS/2 port...unless there is something I am missing in the XF86Config-4???


Any help would be greatly appreciated....


mitch
 
Old 02-12-2003, 12:42 PM   #2
Tih8710
Member
 
Registered: Jan 2003
Location: Finland
Distribution: ElementaryOS Freya as main, every other ubuntu-based as testing
Posts: 124

Rep: Reputation: 15
So, a MS-intelliMouse, you said? I have one too...
Well, Firs I suggest you go see (hmm, was it the same in debian? Of course..)
/lib/modules/<version.xx.xx.xx>, and do a "find -name "*usb*" [ret]
and If you see something like:

[root@localhost 2.4.18-14]# find -name "*usb*"
./kernel/drivers/bluetooth/hci_usb.o
./kernel/drivers/usb/storage/usb-storage.o
....
./kernel/drivers/usb/usbcore.o
./kernel/drivers/usb/usb-ohci.o
./kernel/drivers/usb/usbvideo.o
./modules.usbmap

then you *have* the kernel modules installed, and you'll probably get the
mouse working on a USB port too. (See USB-HOWTO for more details.)

If those (well, the 2 files u actually need are usbcore.o and usb-ohci.o) don't exist, well, you just have to try configuring the mouse on ps2...
The funny thing is, that I had problems installing it into my old RH7, but it worked just fine through PS2 - port with the adapter that comes with the mouse..

Well, anyway, Here's my X86Config-4 file: (My USB-mouse configuration, the one installer made..)

********************************************************
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"

*******************************************************'
...Hope that helps...

-Tih-
_________________________________________________________
Never trust an OS you don't have the sources for...
Registered Linux-user #303866.
 
Old 02-12-2003, 01:08 PM   #3
mhibbs
LQ Newbie
 
Registered: Feb 2003
Location: dallas
Distribution: debian woody
Posts: 3

Original Poster
Rep: Reputation: 0
I'll check for those when I get home tonight, but my gut feeling is that they are not there. I tried the insmod XXX commands that should activate the USB HID, and I get 'module not found' so I am guessing that they aren't in the kernel. I had my config similar to yours (exactly like yours actually) and I get '/dev/input/mice No device found' or something similar to that. I also have a USB keyboard, but I have set 'USB Keyboard = Enabled' in my bios, which causes the board to do legacy PS2 emulation for the keyboard...I am wondering if that may be causing some unknown conflict. There is also a 'USB Mouse' setting in the bios, which is what I was referring to in my original post about using the USB port w/ PS2 emulation. I may try using the PS2 adapter that came w/ the keyboard also, so the bios doesn't try to do any emulation at all. I wouldn't think the keyboard emulation would affect the mouse, but hell if I know....I guess it could. I am just pretty confident that my XFConfig-4 is ok for a PS2 mouse...so I don't know what is going on...
 
Old 02-12-2003, 02:15 PM   #4
Tih8710
Member
 
Registered: Jan 2003
Location: Finland
Distribution: ElementaryOS Freya as main, every other ubuntu-based as testing
Posts: 124

Rep: Reputation: 15
Well, the XF...-4 file you have is for a PS2 mouse, that can be seen from the "/dev/psaux" - line. (psaux stands for aka-compatibility, ==ps-2..)
Just let that line be as it is right now, but Change the BIOS parameters into defaults, and
yes, do try it with that little-green-piece-of-plastic that M$ calls the "adapter"

I believe that it will work for you as well as it did on my RH7.0.

Oh, and Yes, the fact that you have USB KB emulation enabled by BIOS is pretty surely the reason for the problems you are dealing with. After all,
having two different emulations on *could* be a-bit-too-hard to understand.. for the OS, i mean.
 
Old 02-12-2003, 03:06 PM   #5
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You'll have to include the usb support module (as root i.e. if user use #su);
#modconf
This will present a menu. Go down the list and find /kernel/drivers/usb and select this will give another list and select uhci and usbcore and that should give the modules you need.

my XF86Config-4 with intellimouse I use;
driver "mouse"
device "/dev/psaux"
protocol "ImPS/2"
Zaxismapping "4 5"

If you have problems in X do not reboot as you risk corrupting the os. To exit X use Ctrl-Alt-Backspace which will take you to a root login. If you need to sutdown from there use the "halt" command and you can edit using "vi"

Last edited by TigerOC; 02-12-2003 at 03:17 PM.
 
Old 02-12-2003, 07:09 PM   #6
mhibbs
LQ Newbie
 
Registered: Feb 2003
Location: dallas
Distribution: debian woody
Posts: 3

Original Poster
Rep: Reputation: 0
I turned off the keyboard USB emulation, and used the adapter for the keyboard as well as the one for the mouse. Left the config the same...and all is working fine. I may try to add USB support, but at this point, the fact that it is working is good enough for me. Thanks for the help guys....
 
  


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
debian ppc XF86 problem ati rage... Elim Debian 6 08-19-2005 04:12 PM
success with matrox g400/XF86 Dualhead 2 monitor display in Debian arjay Linux - Hardware 0 08-14-2005 06:12 AM
debian-ppc on imac partition & xf86 questions Linux.tar.gz Debian 5 07-23-2004 08:16 AM
XF86 and Debian 3.0 r2 Andysname Debian 1 05-27-2004 05:46 PM
debian 3 xf86 config problem-help needed ronss Linux - Distributions 6 11-24-2002 10:10 PM

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

All times are GMT -5. The time now is 07:08 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