[ltp] USB Keyboard and Mouse XF86 Config.
Gonzalo Avaria
linux-thinkpad@linux-thinkpad.org
Mon, 22 Mar 2004 13:38:46 -0400
--Boundary-00=_mSyXAODH05d7toZ
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi experts
I need a little help.
I Have a USB Keyboard with layout "la", and a USB Mouse with wheel. I Use them
on a Thinkpad 600x , that have a "Keyboard Mouse" (a little red dot with 3
buttons).
The thing is that i only have 1 usb port on the laptop, so i have to connect
the mouse to the ps2 port and the keyboard to the usb.
These are the questions:
1.- When i use the mouse on usb i have the wheel working, but if i connect it
to the ps2 i cannot use the wheel anymore. How can i get it working?
2.- The layout on the notebook's keyboard is "us_int", i would like to have
them on different layouts, i mean, if i type something on the notebook
keyboard i woul like it to use the us_int. If i write on the usb keyboard, to
use the "la" layout.
I tried to modify the XF86Config, but didn't work. If i connect the usb
keyboard it changes the layout of the notebook's keyboard. If i try to use
the wheel on the mouse (on PS2) it doesn't work.
I send you the XF86Config as an attachment, so please excuse me for the lenght
of the mail
Thanks for your time.
Gonzalo Avaria
--
Gonzalo Avaria S.
Linux User from the end of the World
CHILE
Registered User #329224 (counter.li.org)
Box #213779
--Boundary-00=_mSyXAODH05d7toZ
Content-Type: text/plain;
charset="us-ascii";
name="XF86Config-4"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="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
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc102"
Option "XkbLayout" "us_intl"
Option "XkbCompat" ""
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Keyboard2"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "la"
Option "XkbCompat" ""
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "on"
Option "Emulate3Timeout" "50"
Option "ZAxisMApping" "4 5"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "Flat Panel 1280x1024"
HorizSync 31.5-67
VertRefresh 50-75
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "Neomagic Corporation"
BoardName "NeoMagic MagicMedia (laptop/notebook)"
Driver "neomagic"
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 15
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "AlwaysCore"
InputDevice "Keyboard2" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "AlwaysCore"
Screen "screen1"
EndSection
--Boundary-00=_mSyXAODH05d7toZ--