WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: SOLVED - [Xorg] farsi keyboard layout problem  (Read 3995 times)

Offline unforgiven

  • Newbie
  • *
  • Posts: 12
SOLVED - [Xorg] farsi keyboard layout problem
« on: September 30, 2010, 05:30:16 PM »
i want use farsi language on TC, i read about "kmaps.tcz" and "loadkmap" in FAQ. but there is no farsi or iranian or arabic keymap in the package. so i can't load them.

in other linux distro i use xorg and change keyboard layout in xorg.conf, so i install xorg in TC and then make an xorg.conf in /etc/X11/ and it's look like this:

Code: [Select]
Section "InputDevice"
Identifier    "Generic Keyboard"
Driver        "keyboard"
Option        "CoreKeyboard"
Option        "XkbRules"    "xorg"
Option        "XkbModel"    "pc105"
Option        "XkbLayout"    "us,ir"
Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll"
EndSection

i use this config in other distro and it always work, but it doesn't work in TC. when i start X with these config, i can't write a thing not in ir or us langs.

so plz help

p.s: sorry for my bad english
« Last Edit: October 03, 2010, 07:25:47 PM by unforgiven »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: [Xorg] farsi keyboard layout problem
« Reply #1 on: October 01, 2010, 03:59:38 AM »
Please post Xorg.0.log.
The only barriers that can stop you are the ones you create yourself.

Offline unforgiven

  • Newbie
  • *
  • Posts: 12
Re: [Xorg] farsi keyboard layout problem
« Reply #2 on: October 01, 2010, 06:43:49 AM »
here it is  :)
Code: [Select]
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.33.3-tinycore i686
Current Operating System: Linux box 2.6.33.3-tinycore #2012 SMP Wed May 12 17:05:42 EEST 2010 i686
Kernel command line: initrd=/boot/tinycore.gz quiet vga=normal syslog waitusb=5: tce= BOOT_IMAGE=/boot/bzImage
Build Date: 28 May 2010  06:50:29PM
 
Current version of pixman: 0.18.2
Before reporting problems, check www.tinycorelinux.com
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct  1 14:10:29 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
(==) Not automatically adding devices
(==) Not automatically enabling devices
(WW) The directory "/usr/local/lib/X11/fonts/OTF" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/100dpi/" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/75dpi/
(==) ModulePath set to "/usr/local/lib/X11/modules"
(==) |-->Input Device "<default pointer>"
(==) |-->Input Device "Generic Keyboard"
(==) No Layout section. Using the default mouse configuration.
(==) No Layout section. Using the first core keyboard device.
(II) Loader magic: 0x819471c
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 2

(--) PCI:*(0:1:0:0) 10de:0407:1028:0228 rev 161, Mem @ 0xfd000000/16777216, 0xe0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000df00/128, BIOS @ 0x????????/131072
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) LoadModule: "extmod"
(II) Loading /usr/local/lib/X11/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/local/lib/X11/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/local/lib/X11/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/local/lib/X11/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/local/lib/X11/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(==) Matched nv for the autoconfigured driver
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "nv"
(II) Loading /usr/local/lib/X11/modules/drivers/nv_drv.so
(II) Module nv: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 2.1.17
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "mouse"
(II) Loading /usr/local/lib/X11/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.5.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(II) LoadModule: "kbd"
(II) Loading /usr/local/lib/X11/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.4.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2,
Unknown TNT2, Vanta, RIVA TNT2 Ultra, RIVA TNT2 Model 64,
Aladdin TNT2, GeForce 256, GeForce DDR, Quadro, GeForce2 MX/MX 400,
GeForce2 MX 100/200, GeForce2 Go, Quadro2 MXR/EX/Go,
GeForce2 Integrated GPU, GeForce2 GTS, GeForce2 Ti, GeForce2 Ultra,
Quadro2 Pro, GeForce4 MX 460, GeForce4 MX 440, GeForce4 MX 420,
GeForce4 MX 440-SE, GeForce4 440 Go, GeForce4 420 Go,
GeForce4 420 Go 32M, GeForce4 460 Go, Quadro4 550 XGL,
GeForce4 440 Go 64M, Quadro NVS, Quadro4 500 GoGL,
GeForce4 410 Go 16M, GeForce4 MX 440 with AGP8X,
GeForce4 MX 440SE with AGP8X, GeForce4 MX 420 with AGP8X,
GeForce4 MX 4000, GeForce4 448 Go, GeForce4 488 Go, Quadro4 580 XGL,
Quadro4 NVS 280 SD, Quadro4 380 XGL, Quadro NVS 50 PCI,
GeForce4 448 Go, GeForce4 MX Integrated GPU, GeForce3,
GeForce3 Ti 200, GeForce3 Ti 500, Quadro DCC, GeForce4 Ti 4600,
GeForce4 Ti 4400, GeForce4 Ti 4200, Quadro4 900 XGL, Quadro4 750 XGL,
Quadro4 700 XGL, GeForce4 Ti 4800, GeForce4 Ti 4200 with AGP8X,
GeForce4 Ti 4800 SE, GeForce4 4200 Go, Quadro4 700 GoGL,
Quadro4 980 XGL, Quadro4 780 XGL, GeForce FX 5800 Ultra,
GeForce FX 5800, Quadro FX 2000, Quadro FX 1000,
GeForce FX 5600 Ultra, GeForce FX 5600, GeForce FX 5600XT,
GeForce FX Go5600, GeForce FX Go5650, Quadro FX Go700,
GeForce FX 5200, GeForce FX 5200 Ultra, GeForce FX 5200,
GeForce FX 5200LE, GeForce FX Go5200, GeForce FX Go5250,
GeForce FX 5500, GeForce FX 5100, GeForce FX Go5200 32M/64M,
Quadro NVS 55/280 PCI, Quadro FX 500/600 PCI,
GeForce FX Go53xx Series, GeForce FX Go5100, GeForce FX 5900 Ultra,
GeForce FX 5900, GeForce FX 5900XT, GeForce FX 5950 Ultra,
GeForce FX 5900ZT, Quadro FX 3000, Quadro FX 700,
GeForce FX 5700 Ultra, GeForce FX 5700, GeForce FX 5700LE,
GeForce FX 5700VE, GeForce FX Go5700, GeForce FX Go5700,
Quadro FX Go1000, Quadro FX 1100, GeForce 6800 Ultra, GeForce 6800,
GeForce 6800 LE, GeForce 6800 XE, GeForce 6800 XT, GeForce 6800 GT,
GeForce 6800 GT, GeForce 6800 GS, GeForce 6800 XT, Quadro FX 4000,
GeForce 6800 GS, GeForce 6800, GeForce 6800 LE, GeForce 6800 XT,
GeForce Go 6800, GeForce Go 6800 Ultra, Quadro FX Go1400,
Quadro FX 3450/4000 SDI, Quadro FX 1400, GeForce 6600 GT,
GeForce 6600, GeForce 6600 LE, GeForce 6600 VE, GeForce Go 6600,
GeForce 6610 XL, GeForce Go 6600 TE/6200 TE, GeForce 6700 XL,
GeForce Go 6600, GeForce Go 6600 GT, Quadro NVS 440, Quadro FX 550,
Quadro FX 550, Quadro FX 540, GeForce 6200, GeForce 6500,
GeForce 6200 TurboCache(TM), GeForce 6200SE TurboCache(TM),
GeForce 6200 LE, GeForce Go 6200, Quadro NVS 285, GeForce Go 6400,
GeForce Go 6200, GeForce Go 6400, GeForce 6250, GeForce 7100 GS,
GeForce 6800, GeForce 6800 LE, GeForce 6800 GT, GeForce 6800 XT,
GeForce 6200, GeForce 6200 A-LE, GeForce 7800 GTX, GeForce 7800 GTX,
GeForce 7800 GT, GeForce 7800 GS, GeForce 7800 SLI, GeForce Go 7800,
GeForce Go 7800 GTX, Quadro FX 4500, GeForce 7350 LE,
GeForce 7300 LE, GeForce 7300 SE, GeForce Go 7200, GeForce Go 7300,
GeForce Go 7400, GeForce Go 7400 GS, Quadro NVS 110M,
Quadro NVS 120M, Quadro FX 350M, GeForce 7500 LE, Quadro FX 350,
GeForce 7300 GS, GeForce 7650 GS, GeForce 7600 GT, GeForce 7600 GS,
GeForce 7300 GT, GeForce 7600 LE, GeForce 7300 GT, GeForce Go 7700,
GeForce Go 7600, GeForce Go 7600 GT, Quadro NVS 300M,
GeForce Go 7900 SE, Quadro FX 550M, Quadro FX 560, GeForce 7900 GTX,
GeForce 7900 GT, GeForce 7900 GS, GeForce 7950 GX2, GeForce 7950 GX2,
GeForce 7950 GT, GeForce Go 7950 GTX, GeForce Go 7900 GS,
GeForce Go 7900 GTX, Quadro FX 2500M, Quadro FX 1500M,
Quadro FX 5500, Quadro FX 3500, Quadro FX 1500, Quadro FX 4500 X2,
GeForce 6150, GeForce 6150 LE, GeForce 6100, GeForce Go 6150,
Quadro NVS 210S / NVIDIA GeForce 6150LE, GeForce Go 6100,
GeForce 6150SE, GeForce 6100 nForce 405, GeForce 6100 nForce 400,
GeForce 6100 nForce 420, GeForce 8800 GTX, GeForce 8800 GTS,
GeForce 8800 Ultra, Quadro FX 5600, Quadro FX 4600, GeForce 8600 GTS,
GeForce 8600 GT, GeForce 8600 GT, GeForce 8600 GS, GeForce 8400 GS,
GeForce 9500M GS, GeForce 8600M GT, GeForce 9650M GS,
GeForce 8700M GT, Quadro FX 370, Quadro NVS 320M, Quadro FX 570M,
Quadro FX 1600M, Quadro FX 570, Quadro FX 1700, GeForce 8400 SE,
GeForce 8500 GT, GeForce 8400 GS, GeForce 8300 GS, GeForce 8400 GS,
GeForce 8600M GS, GeForce 8400M GT, GeForce 8400M GS,
GeForce 8400M G, Quadro NVS 140M, Quadro NVS 130M, Quadro NVS 135M,
GeForce 9400 GT, Quadro FX 360M, GeForce 9300M G, Quadro NVS 290,
GeForce GTX 295, GeForce GTX 280, GeForce GTX 260, GeForce GTX 285,
GeForce GTX 275, GeForce GTX 295, Quadro CX, Quadro FX 5800,
Quadro FX 4800, Quadro FX 3800, GeForce 8800 GTS 512,
GeForce 9800 GT, GeForce 8800 GT, GeForce 9800 GX2, GeForce 9800 GT,
GeForce 8800 GS, GeForce GTS 240, GeForce 9800M GTX,
GeForce 8800M GTS, GeForce GTX 280M, GeForce 9800M GT,
GeForce 8800M GTX, GeForce 8800 GS, GeForce 9600 GSO,
GeForce 8800 GT, GeForce 9800 GTX, GeForce 9800 GTX+,
GeForce 9800 GT, GeForce GTS 250, GeForce 9800M GTX,
GeForce GTX 260M, Quadro FX 3700, Quadro FX 3600M, Quadro FX 2800M,
Quadro FX 3700M, Quadro FX 3800M, GeForce 9600 GT, GeForce 9600 GS,
GeForce 9600 GSO 512, GeForce GT 130, GeForce GT 140,
GeForce 9800M GTS, GeForce 9700M GTS, GeForce 9800M GS,
GeForce 9800M GTS, Quadro FX 1800, Quadro FX 2700M, GeForce 9500 GT,
GeForce 9400 GT, GeForce 9500 GT, GeForce 9500 GS, GeForce GT 120,
GeForce 9600M GT, GeForce 9600M GS, GeForce 9600M GT,
GeForce 9700M GT, GeForce 9500M G, GeForce 9650M GT, GeForce GT 130M,
GeForce 9500 GT, Quadro FX 380, Quadro FX 580, Quadro FX 1700M,
Quadro FX 770M, GeForce 9300 GE, GeForce 9300 GS, GeForce 8400 GS,
GeForce 9300M GS, GeForce G100, GeForce 9200M GS, GeForce 9300M GS,
Quadro NVS 150M, Quadro NVS 160M, GeForce G 105M, GeForce G 103M,
Quadro NVS 420, Quadro FX 370 LP, Quadro NVS 450, Quadro NVS 295,
GeForce 9100, GeForce 8300, GeForce 8200, nForce 730a, GeForce 9200,
nForce 980a/780a SLI, nForce 750a SLI, GeForce 8100 / nForce 720a,
GeForce 9100M G, GeForce 8200M G, GeForce 9400, GeForce 9400M G,
GeForce 9400M, GeForce 9300 / nForce 730i, GeForce G102M,
GeForce G102M, GeForce 9400, ION, ION LE, GeForce GT 220,
GeForce 210, GeForce GT 230M, GeForce GT 240M, GeForce G210,
GeForce 205, GeForce 310, GeForce 210, GeForce 310, GeForce G210M,
Quadro FX 380 LP, GeForce GT 240, GeForce GTS 260M, GeForce GTS 250M
(II) Primary Device is: PCI 01@00:00:0

Offline unforgiven

  • Newbie
  • *
  • Posts: 12
Re: [Xorg] farsi keyboard layout problem
« Reply #3 on: October 01, 2010, 06:44:48 AM »
and the rest of it, because it don't let me post more than 2000 char.
Code: [Select]
(--) NV: Found NVIDIA GeForce 8600M GT at 01@00:00:0
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/local/lib/X11/modules/libint10.so
(II) Module int10: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Video Driver, version 6.0
(II) NV(0): Initializing int10
(II) NV(0): Primary V_BIOS segment is: 0xc000
(--) NV(0): Console is VGA mode 0x3
(II) NV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
(==) NV(0): Depth 24, (--) framebuffer bpp 32
(==) NV(0): RGB weight 888
(==) NV(0): Default visual is TrueColor
(==) NV(0): Using hardware cursor
(==) NV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) NV(0): MMIO registers mapped at 0xb6095000
(--) NV(0): Total video RAM: 256.0 MB
(--) NV(0):       BAR1 size: 256.0 MB
(--) NV(0):   Mapped memory: 255.0 MB
(II) NV(0): Linear framebuffer mapped at 0xa6195000
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) NV(0): Ignoring unsupported TV output 0
(--) NV(0): Connector map:
(--) NV(0):   Bus 3 -> SOR0 (LVDS)
(--) NV(0):   Bus 0 -> DAC1
(--) NV(0): Load detection: 279
(II) NV(0): I2C bus "I2C0" initialized.
(II) NV(0): Output VGA1 has no monitor section
(II) NV(0): LVDS native size 1280x800
(II) NV(0): Output LVDS has no monitor section
(II) NV(0): I2C bus "I2C3 (LVDS)" initialized.
(II) NV(0): Probing for EDID on I2C bus 0...
(II) NV(0): I2C device "I2C0:ddc2" registered at address 0xA0.
(II) NV(0):   ... none found
(--) NV(0): Trying load detection on VGA1 ... nothing.
(II) NV(0): Probing for EDID on I2C bus 3...
(II) NV(0): I2C device "I2C3 (LVDS):ddc2" registered at address 0xA0.
(--) NV(0): DDC detected a DFP:
(II) NV(0): Manufacturer: LPL  Model: 301  Serial#: 0
(II) NV(0): Year: 2007  Week: 0
(II) NV(0): EDID Version: 1.3
(II) NV(0): Digital Display Input
(II) NV(0): Max Image Size [cm]: horiz.: 33  vert.: 21
(II) NV(0): Gamma: 2.20
(II) NV(0): No DPMS capabilities specified
(II) NV(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
(II) NV(0): First detailed timing is preferred mode
(II) NV(0): redX: 0.600 redY: 0.351   greenX: 0.324 greenY: 0.554
(II) NV(0): blueX: 0.153 blueY: 0.145   whiteX: 0.312 whiteY: 0.328
(II) NV(0): Manufacturer's mask: 0
(II) NV(0): Supported detailed timing:
(II) NV(0): clock: 72.2 MHz   Image Size:  331 x 207 mm
(II) NV(0): h_active: 1280  h_sync: 1328  h_sync_end 1360 h_blank_end 1464 h_border: 0
(II) NV(0): v_active: 800  v_sync: 803  v_sync_end 809 v_blanking: 823 v_border: 0
(II) NV(0): Supported detailed timing:
(II) NV(0): clock: 72.2 MHz   Image Size:  331 x 207 mm
(II) NV(0): h_active: 1280  h_sync: 1328  h_sync_end 1360 h_blank_end 1464 h_border: 0
(II) NV(0): v_active: 800  v_sync: 803  v_sync_end 809 v_blanking: 823 v_border: 0
(II) NV(0):  XU235154W01
(II) NV(0):  $2=Eh‹§˙
(II) NV(0): EDID (in hex):
(II) NV(0): 00ffffffffffff00320c010300000000
(II) NV(0): 00110103802115780ab3409959538d27
(II) NV(0): 25505400000001010101010101010101
(II) NV(0): 010101010101391c00b8502017303020
(II) NV(0): 36004bcf10000019391c00b850201730
(II) NV(0): 302036004bcf10000000000000fe0058
(II) NV(0): 55323335813135345730310a000000fe
(II) NV(0): 0024323d45688ba7ff01010a202000d4
(II) NV(0): EDID vendor "LPL", prod id 769
(II) NV(0): DDCModeFromDetailedTiming: 1280x800 Warning: We only handle separate sync.
(II) NV(0): Output VGA1 disconnected
(II) NV(0): Output LVDS connected
(II) NV(0): Using exact sizes for initial modes
(II) NV(0): Output LVDS using initial mode 1280x800
(II) NV(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
(--) NV(0): Virtual size is 1280x1280 (pitch 1280)
(**) NV(0):  Driver mode "1280x800": 72.2 MHz (scaled from 0.0 MHz), 49.4 kHz, 60.0 Hz
(II) NV(0): Modeline "1280x800"x60.0   72.25  1280 1328 1360 1464  800 803 809 823 -hsync -vsync (49.4 kHz)
(==) NV(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/local/lib/X11/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/local/lib/X11/modules/libxaa.so
(II) Module xaa: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.2.1
ABI class: X.Org Video Driver, version 6.0
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(--) Depth 24 pixmap format is 32 bpp
(--) NV(0): 153.75 MB available for offscreen pixmaps
(II) NV(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Scanline Image Writes
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(==) NV(0): Backing store disabled
(==) NV(0): Silken mouse enabled
(II) NV(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(==) NV(0): DPMS enabled
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/local/lib/X11/modules/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) NV(0): Setting screen physical size to 338 x 211
(WW) <default pointer>: No Device specified, looking for one...
(II) <default pointer>: Setting Device option to "/dev/input/mice"
(--) <default pointer>: Device: "/dev/input/mice"
(==) <default pointer>: Protocol: "Auto"
(**) Option "CorePointer"
(**) <default pointer>: always reports core events
(==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
(**) <default pointer>: ZAxisMapping: buttons 4 and 5
(**) <default pointer>: Buttons: 9
(**) <default pointer>: Sensitivity: 1
(II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE)
(**) <default pointer>: (accel) keeping acceleration scheme 1
(**) <default pointer>: (accel) acceleration profile 0
(II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
(II) <default pointer>: ps2EnableDataReporting: succeeded
(**) Option "CoreKeyboard"
(**) Generic Keyboard: always reports core events
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Generic Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "us,ir"
(**) Generic Keyboard: XkbLayout: "us,ir"
(**) Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll"
(**) Generic Keyboard: XkbOptions: "grp:switch,grp:alt_shift_toggle,grp_led:scroll"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
(II) UnloadModule: "mouse"
(II) UnloadModule: "kbd"
(--) NV(0): 156.09 MB available for offscreen pixmaps
(II) NV(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(==) NV(0): DPMS enabled
(--) RandR disabled
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/local/lib/X11/modules/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) NV(0): Setting screen physical size to 338 x 211
(II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
(**) <default pointer>: Device: "/dev/input/mice"
(==) <default pointer>: Protocol: "Auto"
(**) Option "CorePointer"
(**) <default pointer>: always reports core events
(==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
(**) <default pointer>: ZAxisMapping: buttons 4 and 5
(**) <default pointer>: Buttons: 9
(**) <default pointer>: Sensitivity: 1
(**) <default pointer>: (accel) keeping acceleration scheme 1
(**) <default pointer>: (accel) acceleration profile 0
(II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
(II) <default pointer>: ps2EnableDataReporting: succeeded
(**) Option "CoreKeyboard"
(**) Generic Keyboard: always reports core events
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Generic Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "us,ir"
(**) Generic Keyboard: XkbLayout: "us,ir"
(**) Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll"
(**) Generic Keyboard: XkbOptions: "grp:switch,grp:alt_shift_toggle,grp_led:scroll"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(II) UnloadModule: "mouse"
(II) UnloadModule: "kbd"

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [Xorg] farsi keyboard layout problem
« Reply #4 on: October 01, 2010, 07:17:13 AM »
Quote
and the rest of it, because it don't let me post more than 2000 char.

The quote feature didn't even work for me with this post...

You could use the "Attach" feature of the forum
or
paste to some service like e.g. www.pastebin.com and then link back to the post.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: [Xorg] farsi keyboard layout problem
« Reply #5 on: October 01, 2010, 07:48:19 AM »
The log says everything should be ok. What do you mean exactly? No app takes no kb output? Can you switch to a VT (ctrl-alt-f1), kill X (ctrl-alt-backspace), does caps lock light the led?
The only barriers that can stop you are the ones you create yourself.

Offline unforgiven

  • Newbie
  • *
  • Posts: 12
Re: [Xorg] farsi keyboard layout problem
« Reply #6 on: October 01, 2010, 08:33:07 AM »
when i add ir keylayout, and "startx", my keyboard freeze, none of alphabetical key or number key works, and also none of Caps lock, alt, ctrl, or Esc.
nothings works.

i also try to use "setxkbmap ir" i receive :
Code: [Select]
Error loading new keyboard description

but if i use "setxkbmap us" or for example "setxkbmap ir" it works fine.

Offline unforgiven

  • Newbie
  • *
  • Posts: 12
Re: [Xorg] farsi keyboard layout problem
« Reply #7 on: October 03, 2010, 07:25:22 PM »
I find the solution at last!
for fix the problem just add the following line to "/etx/X11/xorg.conf"
Code: [Select]
Option        "XkbVariant"   ",pes_keypad"

and the whole config file should be somthing like this:
Code: [Select]
Section "InputDevice"
Identifier    "Generic Keyboard"
Driver        "keyboard"
Option        "CoreKeyboard"
Option        "XkbRules"    "xorg"
Option        "XkbModel"    "pc105"
Option        "XkbLayout"    "us,ir"
Option        "XkbVariant"   ",pes_keypad"
Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll"
EndSection
;D ;D