Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
keyboard not work after create /etc/X11/xorg.conf.d/50-sy...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
minsoehan
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2015
Posts: 101
Location: Yangon, Burma. (Mother Su's Country)

PostPosted: Sun Jul 26, 2015 6:25 am    Post subject: keyboard not work after create /etc/X11/xorg.conf.d/50-sy... Reply with quote

I am new to gentoo.
I installed gentoo on my acer laptop. I emerged openbox, lxpanel, etc...
I do startx to start openbox. touchpad and keyboard fine. But after I create /etc/X11/xorg.conf.d/50-synaptics.conf and configure touchpad, my keyboard doesn't work any more. If I remove /etc/X11/xorg.conf.d/50-synaptics.conf file then keyboard works fine back.

And also I feel a lot slower to start openbox and lxpanel than before after I create /etc/X11/xorg.conf.d/50-synaptics.conf file.

please help!
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Sun Jul 26, 2015 7:13 am    Post subject: Reply with quote

Please post the config file von X11.
Back to top
View user's profile Send private message
minsoehan
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2015
Posts: 101
Location: Yangon, Burma. (Mother Su's Country)

PostPosted: Sun Jul 26, 2015 8:05 am    Post subject: Reply with quote

yes, here I have two
/etc/X11/xorg.conf.d/00-keyboard.conf and /etc/X11/xorg.conf.d/50-synaptics.conf
if either one of them in /etc/X11/xorg.conf.d/ dir, my keyboard doesn't work.
If I remove them all, keyboard works fine back....
Code:
Section   "InputClass"
   Identifier   "system-keyboard"
   MatchIsKeyboard   "on"
   Option   "XkbLayout"   "us,mm"
   Option   "XkbModel"   "acer_laptop"
   Option   "XkbOptions"   "grp:win_space_toggle"
EndSection

and
Code:
Section   "InputClass"
Identifier   "touchpad"
Driver   "Synaptics"
Option   "ClickPad"   "true"
Option   "EmulateMidButtonTime"   "0"
Option   "SoftButtonAreas"   "50% 0 82% 0 0 0 0 0"
Option   "TapButton1"   "1"
Option   "TapButton2"   "3"
Option   "TapButton3"   "0"
Option   "FingerLow"   "1"
Option   "FingerHigh"   "2"
EndSection
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2617

PostPosted: Sun Jul 26, 2015 3:04 pm    Post subject: Reply with quote

minsoehan wrote:
yes, here I have two
/etc/X11/xorg.conf.d/00-keyboard.conf and /etc/X11/xorg.conf.d/50-synaptics.conf
if either one of them in /etc/X11/xorg.conf.d/ dir, my keyboard doesn't work.
If I remove them all, keyboard works fine back....
Code:
Section   "InputClass"
   Identifier   "system-keyboard"
   MatchIsKeyboard   "on"
   Option   "XkbLayout"   "us,mm"
   Option   "XkbModel"   "acer_laptop"
   Option   "XkbOptions"   "grp:win_space_toggle"
EndSection

Using evdev as driver? See https://wiki.gentoo.org/wiki/Evdev#Keyboard_layout.5B1.5D
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Mon Jul 27, 2015 7:32 pm    Post subject: Reply with quote

afaik you do not need any xorg.conf anymore when you are e.g. using eudev ...

xorg.conf is only needed for static init.

what are you using? https://wiki.gentoo.org/wiki/Comparison_of_init_systems as a bit of reference ...


you may also check what the x-server autoloads without the config file and adapt your config file, but that is not recommended.


did you set the input devices in make.conf?
output of
Code:
grep synaptics /etc/make.conf
please
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1656
Location: United Kingdom

PostPosted: Mon Jul 27, 2015 8:18 pm    Post subject: Reply with quote

In case it is of any help ...

These files were installed automatically when I installed X Windows (I suppose nvidia-drivers installed the file 50-nvidia-drm-outputclass.conf):
Code:
$ ls /usr/share/X11/xorg.conf.d/
10-evdev.conf  10-quirks.conf  50-nvidia-drm-outputclass.conf  50-synaptics.conf

These are files I created for my laptop and external USB keyboards (I use four different keyboards) and touchpad:
Code:
$ ls /etc/X11/xorg.conf.d
10-evdev.conf  30-keyboard.conf  50-synaptics.conf

Code:
$ cat /etc/X11/xorg.conf.d/10-evdev.conf
Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

#Section "InputClass"
#        Identifier "evdev touchpad catchall"
#        MatchIsTouchpad "on"
#        MatchDevicePath "/dev/input/event*"
#        Driver "evdev"
#EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Code:
$ cat /etc/X11/xorg.conf.d/30-keyboard.conf
Section "InputClass"
    Identifier "keyboard"
    # See /usr/share/X11/xkb/rules/base.lst for Options.
    MatchIsKeyboard "yes"
    Option "XkbLayout" "gb,us,br,es"
    Option "XkbModel" "pc104"
#    Option "XkbVariant" ""
    Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

Code:
$ cat /etc/X11/xorg.conf.d/50-synaptics.conf
Section "InputClass"
    Identifier "touchpad catchall"
    Driver "synaptics"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    Option "VertEdgeScroll" "on"
    Option "VertTwoFingerScroll" "on"
    Option "HorizEdgeScroll" "on"
    Option "HorizTwoFingerScroll" "on"
    Option "CircularScrolling" "on"
    Option "CircScrollTrigger" "0"
    Option "EmulateTwoFingerMinZ" "40"
    Option "EmulateTwoFingerMinW" "8"
    Option "CoastingSpeed" "0"
    Option "FingerLow" "35"
    Option "FingerHigh" "40"
EndSection

Section "InputClass"
    Identifier "touchpad ignore duplicates"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/mouse*"
    Option "Ignore" "on"
EndSection

_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Apheus
Guru
Guru


Joined: 12 Jul 2008
Posts: 420

PostPosted: Mon Jul 27, 2015 8:20 pm    Post subject: Reply with quote

X tries to apply the touchpad rules to your keyboard because there is no "MatchIs..." filter. I never had a touchpad myself, but i suspect you need
Code:
MatchIsTouchpad "on"


Like here.

But try without xorg.conf first, if you use udev or eudev and have x11-drivers/xf86-input-evdev and x11-drivers/xf86-input-synaptic.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Mon Jul 27, 2015 9:28 pm    Post subject: Reply with quote

tw04l124 wrote:
afaik you do not need any xorg.conf anymore when you are e.g. using eudev ...

xorg.conf is only needed for static init.

what are you using? https://wiki.gentoo.org/wiki/Comparison_of_init_systems as a bit of reference ...


you may also check what the x-server autoloads without the config file and adapt your config file, but that is not recommended.


did you set the input devices in make.conf?
output of
Code:
grep synaptics /etc/make.conf
please

You are confusing eudev with evdev.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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