AW: AW: [ltp] T40 & USB
Meidinger Chris
linux-thinkpad@linux-thinkpad.org
Wed, 24 Nov 2004 19:20:48 +0100
Hi Paul,
sorry to see this so late, i can't read all the ltp posts (just too =
many)
and i missed this one.=20
> Chris,
> Thanks for your input.
> I think you're right, it's a loading order problem
>=20
> When I boot and when the external trackpoint is inactive,=20
> there are four files; /dev/input/mouse0-3.
>=20
> cat /dev/input/mouse* shows:
>=20
> /dev/input/mouse0 =3D internal trackpoint
> /dev/input/mouse1 =3D wireless mouse
> /dev/input/mouse2 =3D external trackpad
> /dev/input/mouse3 =3D nothing
>=20
> When I unplug the wireless mouse /dev/input/mouse1 disappears=20
> (as expected) When I then unplug the external keyboard=20
> nothing else changes, even though I would have expected=20
> /dev/input/mouse2 (and possibly 3) to disappear.
That's wierd. When i remove my USB mouse, the device does not =
disappear. No
matter how i boot, i have mouse1-3.
> After I plug the keyboard in:
>=20
> /dev/input/mouse0 =3D internal trackpoint
> /dev/input/mouse1 =3D external trackpad
> /dev/input/mouse2 =3D external trackpoint
>=20
> and there is no /dev/input/mouse3=A0
What distro are you using? Do you have devfs? Or udev?=20
This will make a big difference. I am guessing that you have devfs if
devices are disappearing on you.
> Finally, adding wireless mouse:
>=20
> /dev/input/mouse3 =3D wireless mouse
>=20
> and everything works as desired.
>=20
> My XF86Config-4 file shows only one stanza referring to a=20
> mouse and that is mouse0.
Here is the relevant part from mine:=20
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "PS/2 Mouse" "CorePointer"
# Serial Mouse not active
InputDevice "USB Mouse" "AlwaysCore"
# InputDevice "TouchPad" "AlwaysCore"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "de
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mouse1"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mouse2"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
Section "InputDevice"
Identifier "TouchPad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.06"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
Option "Repeater" "/dev/ps2mouse"
EndSection
> Do you know how to get the external trackppoint/trackpad to=20
> load first? Even better, do you know how I could load only=20
> the external trackpoint (like you I think the trackpad is an=20
> infernal device!)
I am assuming the externam devices are USB. I can't imagine any =
sensible way
to get USB devices to load before builtin devices. Do you have the USB
modules compiled directly in the kernel? That might fix it by chance.
Otherwise, try making both drivers LKM's and change the order in
/etc/modules-${KERNEL_VER}
Good Luck!
Chris