View previous topic :: View next topic |
Author |
Message |
Garrappachc Guru
Joined: 26 Dec 2008 Posts: 362 Location: Kraków
|
Posted: Sat Apr 11, 2009 8:58 am Post subject: [SOLVED] [X11] Nowy xorg i mapowanie klawiarury |
|
|
Witam,
po aktualizacji xorga mam problem z klawiaturą. Udało mi się już ją zmusić do polskich znaków, ale coś się poprzestawiało. Np. kiedy nacisnę strzałkę w górę, to, nie wiedzieć czemu, uruchamia się gnome-snapshot, a jest to strasznie uciążliwe, bo nie można przewijać w górę. Poprzestawiały się też klawisze multimedialne, tak, że nie działa mi xbindkey. Mój xorg:
Code: | Section "ServerLayout"
# InputDevice "Keyboard0" "CoreKeyboard"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CorePointer"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "FGL.renamed.libdri"
Load "GLcore"
Load "dbe"
# Load "dri"
Load "extmod"
Load "glx"
Load "record"
Load "xtrap"
EndSection
#Section "InputDevice"
# Identifier "Keyboard0"
# Driver "evdev"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "pl"
# Option "XkbOptions" "altwin:super_win"
#EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "XkbModel" "logitech_base"
Option "XkbLayout" "pl"
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"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "82945G/GZ Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection |
I jeszcze coś (/etc/hal/fdi/policy/10-keymap.fdi):
Code: | <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.rules" type="string">base</merge>
<!-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). -->
<merge key="input.xkb.model" type="string">keyboard</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.xkb.model" type="string">evdev</merge>
</match>
<merge key="input.xkb.layout" type="string">pl</merge>
<merge key="input.xkb.variant" type="string" />
</match>
</device>
</deviceinfo>
|
Przed aktualizacją było wszystko w porządku. Mam zintegrowaną kartę intela i radeona X1650, ale ta akruat nie działa.
Code: | localhost garrappachc # emerge -pv xorg-server
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-base/xorg-server-1.5.3-r5 USE="hal ipv6 nptl sdl xorg -3dfx -debug -dmx -kdrive -minimal -tslib" INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -tslib -ur98 -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="fglrx intel radeon vesa -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -geode -glint -i128 -i740 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nv -nvidia -r128 -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -via -virtualbox -vmware -voodoo -xgi" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
|
Klawiaturę mam Logitecha (LX 710) bezprzewodową na USB.
Last edited by Garrappachc on Mon Apr 13, 2009 6:21 pm; edited 2 times in total |
|
Back to top |
|
|
gnhorn n00b
Joined: 12 Feb 2009 Posts: 14 Location: Ełk
|
Posted: Sat Apr 11, 2009 10:12 am Post subject: |
|
|
Hej
Usuń z xorg.conf:
W sekcji "ServerLayout"
Code: |
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CorePointer"
|
następnie usuń wszystkie sekcje "InputDevice".
Rozumiem, że masz w kernelu zaznaczony:
Code: | Device Drivers
->Input device support
->Event interface
|
Od teraz urządzenia wejściowe będą obsługiwane przez hal-a.
pozdrawiam _________________ Odmawiam wspierania czegokolwiek co tworzy więcej głupich ludzi |
|
Back to top |
|
|
Garrappachc Guru
Joined: 26 Dec 2008 Posts: 362 Location: Kraków
|
Posted: Sat Apr 11, 2009 10:47 am Post subject: |
|
|
Event interface mam wkompilowane w jądro. Wywalenie tego, co powiedziałeś, nic nie dało. PL znaki mam, ale mapowanie klawiatury jest cały czas złe. |
|
Back to top |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Sat Apr 11, 2009 3:29 pm Post subject: |
|
|
Ustaw w gnome "evdev" odnosnie klawiatury, ponoc to ludzia pomaga. |
|
Back to top |
|
|
Garrappachc Guru
Joined: 26 Dec 2008 Posts: 362 Location: Kraków
|
Posted: Sat Apr 11, 2009 5:16 pm Post subject: |
|
|
O kurczę, moja głupota. Przepraszam.
Okazało się, że wszystkiemu winne było owo xbindkeys. Zmieniły się kody klawiszy, przez co jak kiedyś miałem ustawione gnome-screenshot na "PrintScreen", to teraz było to ustawione na strzałkę w górę ^^
Dzięki za zainteresowanie tematem, można zamknąć. Jeszcze raz przepraszam. |
|
Back to top |
|
|
|
|
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
|
|