Hi,
I'm trying to configure my keyboard to brazilian-portuguese, but I'm unable to get it working properly.
Actually, I could get my keyboard working in br layout, but I had to unset option AddAutoDevices in /etc/xorg.conf, but mouse and other stuff stopped working. So I had to enable AutoAddDevices again.
Looking /var/log/Xorg.0.log, I could see that Xorg was ignoring Section InputDevice, because AutoAddDevices was enabled. Is there a way to keep AutoAddDevices enabled and keep my keyboard configuration in xorg.conf?
By the way, I have read that it's not required to enable hal, so I didn't install it.
Here is the output of Xorg.0.log:
And here is my /etc/xorg.conf:
Any help would be appreciated. Thanks in advance.
I'm trying to configure my keyboard to brazilian-portuguese, but I'm unable to get it working properly.
Actually, I could get my keyboard working in br layout, but I had to unset option AddAutoDevices in /etc/xorg.conf, but mouse and other stuff stopped working. So I had to enable AutoAddDevices again.
Looking /var/log/Xorg.0.log, I could see that Xorg was ignoring Section InputDevice, because AutoAddDevices was enabled. Is there a way to keep AutoAddDevices enabled and keep my keyboard configuration in xorg.conf?
By the way, I have read that it's not required to enable hal, so I didn't install it.
Here is the output of Xorg.0.log:
Code:
[ 62.244]
X.Org X Server 1.14.7
Release Date: 2014-06-05
[ 62.244] X Protocol Version 11, Revision 0
[ 62.244] Build Operating System: FreeBSD 10.1-RELEASE-p8 amd64
[ 62.244] Current Operating System: FreeBSD pandora 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
[ 62.244] Build Date: 26 March 2015 06:44:26AM
[ 62.244]
[ 62.244] Current version of pixman: 0.32.6
[ 62.244] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 62.244] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 62.245] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 8 09:11:54 2015
[ 62.279] (==) Using config file: "/etc/X11/xorg.conf"
[ 62.289] (==) ServerLayout "X.org Configured"
[ 62.289] (**) |-->Screen "Screen0" (0)
[ 62.289] (**) | |-->Monitor "Monitor0"
[ 62.291] (**) | |-->Device "Card0"
[ 62.291] (**) |-->Input Device "Keyboard0"
[ 62.291] (**) Option "DontVTSwitch" "off"
[ 62.291] (**) Option "DontZap" "off"
[ 62.291] (==) Automatically adding devices
[ 62.291] (==) Automatically enabling devices
...
[ 64.544] (II) config/devd: probing input devices...
[ 64.545] (II) config/devd: adding input device (null) (/dev/kbdmux)
[ 64.545] (II) LoadModule: "kbd"
[ 64.557] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[ 64.558] (II) Module kbd: vendor="X.Org Foundation"
[ 64.558] compiled for 1.14.7, module version = 1.8.0
[ 64.558] Module class: X.Org XInput Driver
[ 64.558] ABI class: X.Org XInput driver, version 19.1
[ 64.559] (II) Using input driver 'kbd' for 'kbdmux'
[ 64.559] (**) kbdmux: always reports core events
[ 64.559] (**) kbdmux: always reports core events
[ 64.559] (**) Option "Protocol" "standard"
[ 64.559] (**) Option "XkbRules" "base"
[ 64.559] (**) Option "XkbModel" "pc105"
[ 64.559] (**) Option "XkbLayout" "us"
[ 64.559] (**) Option "config_info" "devd:kbdmux"
[ 64.559] (II) XINPUT: Adding extended input device "kbdmux" (type: KEYBOARD, id 6)
[ 64.560] (II) config/devd: kbdmux is enabled, ignoring device atkbd0
[ 64.561] (II) config/devd: adding input device (null) (/dev/sysmouse)
[ 64.561] (II) LoadModule: "mouse"
[ 64.561] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[ 64.574] (II) Module mouse: vendor="X.Org Foundation"
[ 64.574] compiled for 1.14.7, module version = 1.9.0
[ 64.574] Module class: X.Org XInput Driver
[ 64.574] ABI class: X.Org XInput driver, version 19.1
[ 64.574] (II) Using input driver 'mouse' for 'sysmouse'
[ 64.574] (**) sysmouse: always reports core events
[ 64.574] (**) Option "Device" "/dev/sysmouse"
[ 64.574] (==) sysmouse: Protocol: "Auto"
[ 64.574] (**) sysmouse: always reports core events
[ 64.574] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50
[ 64.574] (**) sysmouse: ZAxisMapping: buttons 4 and 5
[ 64.574] (**) sysmouse: Buttons: 5
[ 64.574] (**) Option "config_info" "devd:sysmouse"
[ 64.574] (II) XINPUT: Adding extended input device "sysmouse" (type: MOUSE, id 7)
[ 64.574] (**) sysmouse: (accel) keeping acceleration scheme 1
[ 64.574] (**) sysmouse: (accel) acceleration profile 0
[ 64.574] (**) sysmouse: (accel) acceleration factor: 2.000
[ 64.574] (**) sysmouse: (accel) acceleration threshold: 4
[ 64.574] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0
[ 64.574] (II) sysmouse: SetupAuto: protocol is SysMouse
[ 64.628] (II) config/devd: adding input device Mouse (/dev/psm0)
[ 64.628] (II) Using input driver 'mouse' for 'Mouse'
[ 64.628] (**) Mouse: always reports core events
[ 64.628] (**) Option "Device" "/dev/psm0"
[ 64.628] (==) Mouse: Protocol: "Auto"
[ 64.628] (**) Mouse: always reports core events
[ 64.682] (==) Mouse: Emulate3Buttons, Emulate3Timeout: 50
[ 64.682] (**) Mouse: ZAxisMapping: buttons 4 and 5
[ 64.682] (**) Mouse: Buttons: 5
[ 64.682] (**) Option "config_info" "devd:psm0"
[ 64.682] (II) XINPUT: Adding extended input device "Mouse" (type: MOUSE, id 8)
[ 64.682] (**) Mouse: (accel) keeping acceleration scheme 1
[ 64.682] (**) Mouse: (accel) acceleration profile 0
[ 64.682] (**) Mouse: (accel) acceleration factor: 2.000
[ 64.682] (**) Mouse: (accel) acceleration threshold: 4
[ 64.700] (II) Mouse: SetupAuto: hw.iftype is 3, hw.model is 0
[ 64.700] (II) Mouse: SetupAuto: protocol is PS/2
[ 65.139] (II) Mouse: ps2EnableDataReporting: succeeded
[ 70.782] (II) config/devd: ignoring device umass1
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
#Screen 1 "Screen1" RightOf "Screen0"
#InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/share/fonts/misc/"
FontPath "/usr/local/share/fonts/TTF/"
FontPath "/usr/local/share/fonts/OTF/"
FontPath "/usr/local/share/fonts/Type1/"
FontPath "/usr/local/share/fonts/100dpi/"
FontPath "/usr/local/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "br"
#Option "XkbVariant" "abnt2"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "Backlight" # <str>
#Option "DRI" # <str>
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "ReprobeOutputs" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "TearFree" # [<bool>]
#Option "PerCrtcPixmaps" # [<bool>]
#Option "FallbackDebug" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "BufferCache" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "ServerFlags"
Option "DontZap" "off"
Option "DontVTSwitch" "off"
#Option "AutoAddDevices" "on"
EndSection