How do you configure to mouses, a laptop mouse and a Logitc USB Mouse
Linux - HardwareThis 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.
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.
How do you configure to mouses, a laptop mouse and a Logitc USB Mouse
I read the tutorial that comes with Mandrake 9.1, but still can't get it to work.
In my directory /etc/X11 I have a bunch of X86Config files such as
X86Config, X86Config-4, X86Config.old, X86Config.test.old. After
reading your tutorial I liked the XFree 4.x method the best, but my
X86Config doesn't contain that format with Section "InputDevice", but
has the Section "Pointer". So does that mean I am using XFree 3.x? Or
can you just replace the X86Config with the content in the X86Config-4?
I tried modifying the X86Config-4 as you suggested in your tutorial on
X86Config but after I restarted, it wouldn't load the graphic login and
put my in a terminal window. Luckily I had backed up the config and
copied it back.
Can you give me some advice? I am using a laptop which when I original
setup linux, I configured it with my Logitec USB mouse and it worked
fine, but say if I am on a train or something I wanted to be able to use
my laptop mouse.
Anyways here are my files, any help you can provide would be most grateful.
Regards,
David Bratton
Note on my XF86Config, even after I put it back to "Device
"/dev/usbmouse" only my laptop mouse works now.
==================
XF86Config
==================
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server
independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse
doesn't work
EndSection
# This is a set of standard mode timings. Modes that are out of
monitor spec
# are automatically deleted by the server (provided the HorizSync and
# VertRefresh lines are correct), so there's no immediate need to
# delete mode timings (unless particular mode timings don't work on your
# monitor). With these modes, the best standard mode that your monitor
# and video card can support for a given resolution is automatically
# used.
=============
XF86Config-4
=============
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server
independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse
doesn't work
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
on mouse1...your device can either be /dev/psaux or /dev/mouse...if one doesn't work try the other
on mouse 2...your device could be /dev/usbmouse...but most likely it is /dev/input/mice...once again if one fails to work try the other
find this section...and make sure it looks like this
Section "Screen"
Identifier "screen1"
Driver "svga"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Now to make both mice work at once...go to the ServerLayout section in the XF86Config file...which i noticed your's does not have so you will need to add it
either make sure it reads this...or add it at the very end if it is not there
Thanks for the feedback, I haven't tried it yet. But here is my issue, in my XF86Config, it doesn't contain the "Section "InputDevice" but contains the following below. Can I delete my current XF86Config and replace the contents of XF86Config-4 which contains the Section "InputDevice" and modify as you specified?
Thanks again for your assistance.
Hello, I went ahead and modified my "XF86Config" as you specified and just changed the Section "Pointer" to Section "InputDevice" but no luck with my usb mouse, but my laptop mouse still works and I don't get thrown to a terminal and reboot. I have included some logs, maybe that can help you determine what I am missing?
Mar 5 16:03:45 localhost kernel: hub.c: USB hub found
Mar 5 16:03:45 localhost kernel: hub.c: 2 ports detected
Mar 5 16:03:45 localhost kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Mar 5 16:03:45 localhost kernel: usbdevfs: remount parameter error
Mar 5 16:03:45 localhost kernel: grsec: mount none to /proc/bus/usb by (mount:2858) UID(0) EUID(0), parent (initlog:28813) UID(0) EUID(0)
Mar 5 16:03:45 localhost kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), internal journal
Mar 5 16:03:45 localhost kernel: grsec: mount /dev/hda8 to / by (mount:2707) UID(0) EUID(0), parent (initlog:10139) UID(0) EUID(0)
Mar 5 16:03:45 localhost kernel: Adding Swap: 506008k swap-space (priority -1)
Mar 5 16:03:45 localhost kernel: hub.c: new USB device 00:1d.0-1, assigned address 2
Mar 5 16:03:45 localhost kernel: usb.c: USB device 2 (vend/prod 0x46d/0xc025) is not claimed by any active driver.
Mar 5 16:03:45 localhost kernel: usb.c: registered new driver hiddev
Mar 5 16:03:45 localhost kernel: usb.c: registered new driver hid
Mar 5 16:03:45 localhost kernel: input0: USB HID v1.10 Mouse [B16_b_02 USB-PS/2 Optical Mouse] on usb1:2.0
Mar 5 16:03:45 localhost kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
Mar 5 16:03:45 localhost kernel: hid-core.c: USB HID support drivers
Mar 5 16:03:45 localhost kernel: mice: PS/2 mouse device common for all mice
Mar 5 16:03:45 localhost kernel: usb.c: registered new driver usb_mouse
Mar 5 16:03:45 localhost kernel: usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
Mar 5 16:03:45 localhost kernel: SCSI subsystem driver Revision: 1.00
Mar 5 16:03:45 localhost kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Mar 5 16:03:45 localhost kernel: Vendor: HL-DT-ST Model: RW/DVD GCC-4240N Rev: D110
Mar 5 16:03:45 localhost kernel: Type: CD-ROM ANSI SCSI revision: 02
Mar 5 16:03:45 localhost kernel: grsec: mount none to /dev/pts by (mount:32371) UID(0) EUID(0), parent (initlog:9523) UID(0) EUID(0)
Mar 5 16:03:45 localhost kernel: kjournald starting. Commit interval 5 secondsMar 5 16:03:45 localhost kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,10), internal journal
Mar 5 16:03:45 localhost kernel: EXT3-fs: mounted filesystem with ordered data
mode.
Here is my XF86Config
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection
# This is a set of standard mode timings. Modes that are out of monitor spec
# are automatically deleted by the server (provided the HorizSync and
# VertRefresh lines are correct), so there's no immediate need to
# delete mode timings (unless particular mode timings don't work on your
# monitor). With these modes, the best standard mode that your monitor
# and video card can support for a given resolution is automatically
# used.
then ok towards the last lines...in the serverlayout section..
right after "Mouse2
change "AlwaysCore"
to "SendCoreEvents"
and then give it a shot
if that doesn't work
go to the Input Device section
Mouse2...the USB one
and change the device from /dev/usbmouse to /dev/input/mice
if neither thing works still
i'll need you to run "cat /dev/usbmouse" from a terminal
and "cat /dev/input/mice" and tell me which of the 2 displays jibberish in the terminal window when you move the usb mouse
one last thing...make a copy of your XF86Config and replace XF86Config-4 with it...so they're both the same...just incase i'm missing the fac t that file is actually used
Hey I just want to say thanks for all the help you provided. I went back to an one of the entries I tried before with Option "Device" "/dev/mouse" for the first mouse. I also made XF86Config and XF86Config-4 the same.
Here is the final file
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
yes, it was pretty late. I see that I didn't specify that in my last message to you. It worked perfectly, and once again, I appreciate all your help on this.
Originally posted by dbratton yes, it was pretty late. I see that I didn't specify that in my last message to you. It worked perfectly, and once again, I appreciate all your help on this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.