View previous topic :: View next topic |
Author |
Message |
BrentNorin n00b
Joined: 31 Jan 2007 Posts: 60 Location: Akron, Ohio
|
Posted: Sun Jan 25, 2009 7:19 pm Post subject: [Solved] X no keyboard or mouse |
|
|
Ok, this shouldn't be this hard but I cannot get my Keyboard or Synaptics Touchpad to work with X! Using X11 7.4, Server 1.5.3-r1, xf86-input-keyboard 1.3.2, xkeyboard-config 1.4, and xf86-input-synaptics 0.99.3-r1. This is on an HP dv5020 laptop, x86.
Here's the parts from my xorg.conf.
Code: | Section "ServerLayout"
...
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "AlwaysCore"
...
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Protocol" "event"
Option "Device" "/dev/input/event2"
EndSection |
Last edited by BrentNorin on Thu Jan 29, 2009 2:46 am; edited 1 time in total |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sun Jan 25, 2009 7:32 pm Post subject: |
|
|
Read hal/evdev sticky, by now I think everything is already there. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Jan 25, 2009 9:45 pm Post subject: |
|
|
In fact. |
|
Back to top |
|
|
qwerty013 n00b
Joined: 22 Jan 2009 Posts: 19 Location: Kharkov, Ukraine
|
Posted: Mon Jan 26, 2009 9:17 pm Post subject: |
|
|
look in /var/log/Xorg.0.log
if you grepping there "set empty input" then add to your xorg.conf in section serverflags:
Code: | Option "AllowEmptyInput" "false" |
I steped on this rake yesterday |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Jan 26, 2009 10:07 pm Post subject: |
|
|
qwerty013 wrote: | look in /var/log/Xorg.0.log
if you grepping there "set empty input" then add to your xorg.conf in section serverflags:
Code: | Option "AllowEmptyInput" "false" |
I steped on this rake yesterday |
Please, don't give advices on things you don't understand, cause that's not a solution,
just a paper bag. |
|
Back to top |
|
|
BrentNorin n00b
Joined: 31 Jan 2007 Posts: 60 Location: Akron, Ohio
|
Posted: Tue Jan 27, 2009 1:54 am Post subject: |
|
|
Ok I'm getting close. I got keyboard support, but not synaptics! When I kill X, its saying it can't find the synaptics driver? But I know I have it installed!
Code: | <?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.mouse">
<merge key="input.x11_driver" type="string">mouse</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.x11_driver" type="string">evdev</merge>
</match>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.x11_options.XkbRules" type="string">base</merge>
<!-- If we're using Linux, we use evdev by default (falling back to
kbd otherwise). -->
<merge key="input.x11_driver" type="string">kbd</merge>
<merge key="input.x11_options.XkbModel" type="string">pc105</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.x11_driver" type="string">evdev</merge>
<merge key="input.x11_options.XkbModel" type="string">evdev</merge>
</match>
<merge key="input.x11_options.XkbLayout" type="string">us</merge>
<merge key="input.x11_options.XkbVariant" type="string" />
</match>
<match key="info.capabilities" contains="input.touchpad">
<match key="info.product" contains="Synaptics TouchPad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SHMConfig" type="string">on</merge>
<!-- Tapping -->
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.TapButton2" type="string">2</merge>
<merge key="input.x11_options.TapButton3" type="string">3</merge>
<!-- Scrolling up/down -->
<merge key="input.x11_options.VertEdgeScroll" type="string">1</merge>
<merge key="input.x11_options.HorizEdgeScroll" type="string">1</merge>
<!-- Corner clicks -->
<merge key="input.x11_options.RBCornerButton" type="string">2</merge>
<merge key="input.x11_options.RTCornerButton" type="string">3</merge>
</match>
</match>
</device>
</deviceinfo> |
|
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Jan 27, 2009 2:39 am Post subject: |
|
|
OK, that was your fdi file. Now, what do the hal settings look like
(to make sure that file is correctly applied) ? |
|
Back to top |
|
|
BrentNorin n00b
Joined: 31 Jan 2007 Posts: 60 Location: Akron, Ohio
|
Posted: Wed Jan 28, 2009 2:18 am Post subject: |
|
|
Hal settings? I thought everything was in the fdi. where do I find the settings at?
However I have more info. After I startx and then kill it, I see
Code: | dlopen: /usr/lib/xorg/modules/input//synaptics_drv.so: undefined symbol: miPointerGetMotionEvents
(EE) Failed to load /usr/lib/xorg/modules/input//synaptics_drv.so
(EE) Failed to load modules "synaptics" (loader failed, 7)
(EE) No input driver matching `synaptics'
(EE) config/hal: NewInputDeviceRequest failed |
Notice the two // slashes in the path. Wtf? |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Jan 28, 2009 4:02 pm Post subject: |
|
|
Those slashes don't matter, as the message means it's found anyway,
but 'undefined symbol' is more serious - that the reason it fails to load.
Try recompiling the driver.
And fdi file is what you want it to be, what hal-device prints for that specific
device is it actually is (in case you made a typo or something). |
|
Back to top |
|
|
BrentNorin n00b
Joined: 31 Jan 2007 Posts: 60 Location: Akron, Ohio
|
Posted: Thu Jan 29, 2009 2:46 am Post subject: |
|
|
Ok you were right. Reinstalled the synaptics package and we're all set. Thanks for the help, I'll mark as solved. |
|
Back to top |
|
|
|