LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-10-2009, 02:43 PM   #1
Slackervaara
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva
Posts: 19

Rep: Reputation: 0
[Solved]Serial Microsoft mouse not working with Mandriva 2010


Installed Mandriva 2010, but my serial Microsoft mouse 2.0A does not work after installation, but it worked during installation. Reinstalled but with identical result.

Booted to failsafe mode and through drakconf configured a serial general 2 button mouse, but it did not make any change. I have looked in xorg.conf, but can't find anything about the mouse.

The mouse worked with Mandriva 2006 that I had earlier.

Grateful for suggestions!

Last edited by Slackervaara; 11-18-2009 at 03:01 AM.
 
Old 11-10-2009, 09:01 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi you might be able to add the device manually.

Here is part of my old layout..../etc/X11/xorg.conf

Be care full with the device numbers...

Section "ServerLayout"
Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection
Section "InputDevice" (Mouse and keys....)
Code:
Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from data in "/etc/sysconfig/keyboard"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "us"
    Option         "XkbModel" "pc105"
EndSection
Section "Screen" (probably don't need this bit, but it shows the numbers used)
Code:
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option	   "HWCursor"
    Option         "PixmapCacheSize" "1000000"
    
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
http://www.x.org/releases/X11R7.5/do...ousedrv.4.html
Regards Glenn

Last edited by GlennsPref; 11-10-2009 at 09:05 PM. Reason: link
 
Old 11-11-2009, 03:23 PM   #3
Slackervaara
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva
Posts: 19

Original Poster
Rep: Reputation: 0
Many thanks! I have tried your suggestions and some variants in xorg.conf, but the Microsoft mouse is dead. Tried both Protocol auto and Microsoft. I put Inputdevice just above ServerLayout, which were last in the file.
 
Old 11-11-2009, 04:49 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, xorg has not changed that much since 2006,

The config file from 2006 should give you the answers you require.

I've just checked the XFdrake "sudo XFdrake" interface and there is no mouse config there to adjust. But it lists the mouse at the end for confirmation.

man xsetpointer
Code:
xsetpointer(1)                                                         xsetpointer(1)

NAME
       xsetpointer - set an X Input device as the main pointer

SYNOPSIS
       xsetpointer -l | device-name

DESCRIPTION
       Xsetpointer  sets  an XInput device as the main pointer.  When called with the
       -l flag it lists the available devices.  When called with the -c/+c  flag,  it
       toggles  the  sending of core input events, for servers which implement a vir‐
       tual core pointer; -c disables core events, and +c enables.

AUTHOR
       Frederic Lepied

X Version 11                      xsetpointer 1.0.1                    xsetpointer(1)
you may need root access to change that.

In the mean time, you could configure the numberpad to move the cursor....
But I don't know how to do that with out a mouse, sorry.

also have a look at the manual for xsetmode
Code:
man xsetmode
Code:
man xset
and
Code:
man X
Also have you tried unplugging the mouse, wait one, the plug it back in?

That's all I have, all the best. Glenn
 
Old 11-12-2009, 01:15 PM   #5
Slackervaara
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva
Posts: 19

Original Poster
Rep: Reputation: 0
Many thanks for your help! XFdrake did not work, because it needs mouse function. xsetpointer is not available in Mandriva 2010.

I did install Mandriva 2007, where mouse functioned OK and thus I got the correct mouse entry for xorg.conf, but it did not work either with this entry for InputDevice, when I installed Mandriva 2010 again. In 2007 Protocol Microsoft was used for the mouse. Maybe I have to buy a more modern mouse, because this serial mouse is at least 10 years old.
 
Old 11-12-2009, 03:38 PM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
<edit> I think you're missing some packages</edit>

see if X package is installed...
Code:
rpm -qa | grep x11-driver-input-mouse
Quote:
xsetpointer is not available in Mandriva 2010...
Not true, I have it, Mandriva 2010.0 free. Therefore I assume, you do not have it installed.

Try urpmi on these packages...
Code:
xset-1.1.0-1mdv2010.0
xsetmode-1.0.0-7mdv2010.0
xsetpointer-1.0.1-4mdv2010.0
Also try to get a list of missing dependent packages from your install...
This might take a while....
Code:
rpm -Va | grep miss
I redirect the output to a file, I can read later, like this...(Has date in file name)
Code:
sudo rpm -Va | grep miss > /home/glenn/build/rpm-Va-grep-miss-list-`date +%Y-%m-%d-%H`.txt
similarly, for a list of installed rpm's...
Code:
sudo rpm -qa | sort | less > /home/glenn/build/note-rpm-installed-list-`date +%Y-%m-%d-%H`.txt
See how you go, we're not done yet...
:-) Glenn

Last edited by GlennsPref; 11-12-2009 at 04:07 PM. Reason: see if X package is installed
 
Old 11-13-2009, 01:11 PM   #7
Slackervaara
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva
Posts: 19

Original Poster
Rep: Reputation: 0
Most grateful for your suggestions, because it got me into right direction. I installed all programs you suggested, but xsetpointer listed no mouse.

I read that a similar problem was solved by inputattach, so I found it was in gpm, so I installed it with urpmi.

As root:

inputattach --microsoft /dev/ttyS0

And the mouse started to work. However, if I reboot I have to issue the command again. Is there in Mandriva a rc.local where I can put it in?
 
Old 11-13-2009, 09:20 PM   #8
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
yes there is,

/etc/rc.d/rc.local

I use it for some things too.
 
Old 11-14-2009, 08:28 AM   #9
Slackervaara
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks! I put it in rc.local and it is working now. One minor thing is that the mouse is not working, when I login, but after when in the KDE Desktop. It is no problem though.

I checked xsetpointer and now the mouse is available as an option. Probably, this problem with serial mouse might be a Mandriva 2010 bug.
 
  


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
Mandriva 2010: Wireless working...then not working, Landshark Mandriva 2 11-08-2009 02:48 PM
serial mouse not working filelicker Linux - Hardware 14 02-05-2007 03:20 PM
Old serial mouse not working Rojon Linux - Hardware 4 05-13-2006 05:33 PM
serial mouse isn't working right lynchmob09 DamnSmallLinux 2 04-09-2004 01:29 PM
Serial Mouse not working salgrant Linux - Distributions 1 11-28-2002 06:24 PM

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

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