LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-10-2007, 03:56 PM   #16
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141

I'm running 2.6.19.1 etch with a Microsoft Explorer mouse; has a wheel and side buttons. Here is the configuration that works best for me:

Code:
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection
Added: You may also need two lines:
Code:
    Option         "Buttons" "9"
    Option         "ZAxisMapping" "4 5"
In order to get the side buttons working correctly, I have to run the following command. I just added it to my gnome session startups to have it happen for every login. Note that you'll need to put a backslash "\" in front of the two double quotes (") from within gnome's startup script applet to get it to work.

Code:
xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7"

Last edited by Quakeboy02; 01-10-2007 at 04:05 PM.
 
Old 01-10-2007, 04:35 PM   #17
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
actually with Gnome you can just put a file called .Xmodmap in your home directory. put what's inside the quotes from your xmodmap command in that file (without the quotes) and that should be enough(in Gnome).

and that's what I've just gone back to - using the ButtonMapping option in xorg.conf does not work for me.

You should try the evdev driver sometime Quakeboy, it's good stuff.

Last edited by lurko; 01-10-2007 at 04:43 PM.
 
Old 01-10-2007, 04:52 PM   #18
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
"You should try the evdev driver sometime Quakeboy, it's good stuff."

Hey, I just bang on it with a heavy blunt object until it works and then I walk away. LOL
 
Old 01-10-2007, 10:43 PM   #19
jojotx0
Member
 
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Original Poster
Rep: Reputation: 30
OK.
cat /proc/bus/input/devices outputs my keyboard and mouse. It only outputs my mouse when it's plugged into the PS/2 port with a USB->PS/2 connector.

My mouse is just a 3 button wheel mouse. Right now, I am able to scroll, and whatnot with the mouse. But only if it's connected to PS/2, USB is not detected at all.
 
Old 01-11-2007, 06:33 PM   #20
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
is the usbhid kernel module loaded? I'm not sure what else to look for there, perhaps evdev is not the answer for your mouse.
 
Old 01-12-2007, 11:05 AM   #21
jojotx0
Member
 
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Original Poster
Rep: Reputation: 30
usbhid, and ohci-hcd, are both loaded, no error messages.
I get the following out of dmesg | tail -n8
Quote:
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
EDIT//
Just kind of playing around, I plugged my mouse in to a USB port, and for about 1/4 of a second, it comes on.
So, is it obvious to other people, that USB support is foobar'd in my kernel?

Last edited by jojotx0; 01-12-2007 at 01:34 PM.
 
Old 01-12-2007, 01:54 PM   #22
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Back to basics. Was this thing working properly before you upgraded? If so, then it's almost certainly a configuration problem. Have you tried building the kernel with UHCI enabled? Could you tell us which motherboard it is, or did I miss that in a quick scan?
 
Old 01-12-2007, 02:10 PM   #23
jojotx0
Member
 
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Original Poster
Rep: Reputation: 30
Yes, everything was working properly before I did dist-upgrade.
I am using a Soyo P4I865 Plus Dragon2 motherboard.
UHCI is compiled as a module, and is loaded. Should I recompile the kernel, and have it compiled into the kernel?
 
Old 01-12-2007, 03:05 PM   #24
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
I have an Asus A7N8X, so this obviously isn't directly relatable. But, on my machine, UHCI, EHCI, and OHCI are all compiled as modules. "USB Human Interface Device (full HID) support" is also compiled as a module. "HID Layer Input Support" is enabled and has an asterisk. Normally, I use the PS/2 port with a USB->PS/2 adapter due to an old KVM I'm using. However, I plugged the mouse (Microsoft Intellimouse) directly into the USB bus and reboooted and it worked just fine. Unfortunately, I'm not sure I'm going to have any other suggestions for you.
 
Old 01-13-2007, 11:41 PM   #25
jojotx0
Member
 
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Original Poster
Rep: Reputation: 30
Well, unless I just get annoyed by PS/2, or the USB->PS/2 adapter I am using dies, I can live with using the adapter.
Unless someone else has any suggestions?
 
Old 01-14-2007, 03:59 AM   #26
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Hi,

I have one : I had the exact same pbs with an upgrade from sarge to etch. Mouse not recognized, bla-blah..
Download the latest image from debian.org, if you have a fast internet connection, that is.
Then, install and let it configure itself.
In the image I dloaded, there was no option for "desktop environment install".
In fact, that was good. What you need to do is nstall X seperately. Use aptitude to do this.
It is installed in the base system.
If you feel up to the challenge, try a manual install, that is keep your base-system and google to
see what you need in a functional desktop.
That way, your debian system will be the lightest and fastest you can get !

cheers
 
Old 01-14-2007, 04:44 PM   #27
jojotx0
Member
 
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Original Poster
Rep: Reputation: 30
That's what my system is now.
Installed packages that I need for functionality, then updated to etch.
I'm on dialup, and redownloading all of those packages again does not sound nice...
 
Old 01-15-2007, 02:06 PM   #28
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
It might have been better to install the base system, then upgrade to etch, and then install the packages you need/want. As I probably said, I'm no expert, but it seems to me that the less packages you have installed when you upgrade, the less chance of problems in the upgrade.

Glad you found a way to get everything working jojotx0.
 
  


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
Xorg can't detect any devices worldgnat Linux - Software 2 06-20-2006 05:06 PM
recent dist-upgrade of xorg has killed my mouse (and thusly, xorg). Lokathor Debian 4 06-10-2006 04:52 AM
xorg -configure doesn't detect my PS/2 mouse whoever Linux - Newbie 2 08-11-2005 01:01 PM
Disable Xorg Monitor Auto Detect! wh33t Linux - Software 1 06-02-2005 06:02 AM
xorg unable to detect usb mouse athanatos Slackware 3 05-27-2005 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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