Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] X no keyboard or mouse
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
BrentNorin
n00b
n00b


Joined: 31 Jan 2007
Posts: 60
Location: Akron, Ohio

PostPosted: Sun Jan 25, 2009 7:19 pm    Post subject: [Solved] X no keyboard or mouse Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Jan 25, 2009 7:32 pm    Post subject: Reply with quote

Read hal/evdev sticky, by now I think everything is already there.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Jan 25, 2009 9:45 pm    Post subject: Reply with quote

In fact.
Back to top
View user's profile Send private message
qwerty013
n00b
n00b


Joined: 22 Jan 2009
Posts: 19
Location: Kharkov, Ukraine

PostPosted: Mon Jan 26, 2009 9:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Jan 26, 2009 10:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
BrentNorin
n00b
n00b


Joined: 31 Jan 2007
Posts: 60
Location: Akron, Ohio

PostPosted: Tue Jan 27, 2009 1:54 am    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue Jan 27, 2009 2:39 am    Post subject: Reply with quote

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
View user's profile Send private message
BrentNorin
n00b
n00b


Joined: 31 Jan 2007
Posts: 60
Location: Akron, Ohio

PostPosted: Wed Jan 28, 2009 2:18 am    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Jan 28, 2009 4:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
BrentNorin
n00b
n00b


Joined: 31 Jan 2007
Posts: 60
Location: Akron, Ohio

PostPosted: Thu Jan 29, 2009 2:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum