I've a keyboard with a german layout. At console level (exit to prompt) my keyboard works correct (with de-latin1.kmap). But at gui level it works like a us keyboard. I collected infos I found here in the forum and made some changes but didn't have success so far. Some hints what I make wrong or missed to setup? Below is a detailed description what I did so far. My keyboard is a speedlink usb hub keyboard (type SL6477-SSV). By the way, I'm a newbie (simple basic problem?) and use picore 5.3.1 with a raspberry pi rev.b.
detailed steps I did so far:
1) loaded kmaps.tcz and put it into onboot.lst by OnBoot Maintenance;
2) modified /opt/bootlocal.sh:
#!/bin/sh
# put other system startup commands here
loadkmap < /usr/share/kmap/qwertz/de-latin1.kmap
3) created /usr/share/local/X11/xorg.conf:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbLayout" "de"
Option "XkbModel" "pc105"
EndSection
4) lsusb, lsmod, version, uname, dmesg ...
root@box:/home/tc# lsusb
sh: lsusb: not found
root@box:/home/tc# lsmod
Module Size Used by Not tainted
root@box:/home/tc# version
5.3.1
root@box:/home/tc# uname -a
Linux box 3.14.4-piCore+ #1 PREEMPT Tue May 13 17:48:51 CEST 2014 armv6l GNU/Linux
root@box:/home/tc# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.14.4-piCore+ (root@beta.hasix.org) (gcc version 4.8.2 20130603 (prerelease) (crosstool-NG 1.19.0) ) #1 PREEMPT Tue May 13 17:48:51 CEST 2014
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: BCM2708
[ 0.000000] cma: CMA: reserved 8 MiB at 1b800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 114688
[ 0.000000] free_area_init_node: node 0, pgdat c06c3824, node_mem_map db474000
[ 0.000000] Normal zone: 896 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 114688 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113792
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=768 bcm2708.boardrev=0xe bcm2708.serial=0xfa0c7db1 smsc95xx.macaddr=B8:27:EB:0C:7D:B1 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 initrd=0xa00000,3540895 root=/dev/ram0 elevator=deadline rootwait nortc loglevel=3 waitusb=5
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 435424K/458752K available (5015K kernel code, 265K rwdata, 1452K rodata, 161K init, 696K bss, 23328K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xdc800000 - 0xff000000 ( 552 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0658e34 (6468 kB)
[ 0.000000] .init : 0xc0659000 - 0xc06814b4 ( 162 kB)
[ 0.000000] .data : 0xc0682000 - 0xc06c44a0 ( 266 kB)
[ 0.000000] .bss : 0xc06c44ac - 0xc07727b0 ( 697 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Dump stacks of tasks blocking RCU-preempt GP.
[ 0.000000] NR_IRQS:394
[ 0.000020] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
[ 0.000054] Switching to timer-based delay loop
[ 0.000461] Console: colour dummy device 80x30
[ 0.000654] console [tty1] enabled
[ 0.100183] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[ 0.100211] pid_max: default: 32768 minimum: 301
[ 0.100552] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.100573] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.101319] Initializing cgroup subsys devices
[ 0.101347] Initializing cgroup subsys freezer
[ 0.101362] Initializing cgroup subsys net_cls
[ 0.101374] Initializing cgroup subsys blkio
[ 0.101449] CPU: Testing write buffer coherency: ok
[ 0.101859] Setting up static identity map for 0x4c6be8 - 0x4c6c20
[ 0.103874] devtmpfs: initialized
[ 0.118876] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.120555] NET: Registered protocol family 16
[ 0.126293] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.126945] cpuidle: using governor ladder
[ 0.126964] cpuidle: using governor menu
[ 0.127792] bcm2708.uart_clock = 0
[ 0.129609] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.129625] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.129639] mailbox: Broadcom VideoCore Mailbox driver
[ 0.129735] bcm2708_vcio: mailbox at f200b880
[ 0.129838] bcm_power: Broadcom power driver
[ 0.129856] bcm_power_open() -> 0
[ 0.129865] bcm_power_request(0, 8)
[ 0.630570] bcm_mailbox_read -> 00000080, 0
[ 0.630620] bcm_power_request -> 0
[ 0.630897] Serial: AMBA PL011 UART driver
[ 0.631026] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
[ 0.631367] console [ttyAMA0] enabled
[ 0.662143] bio: create slab <bio-0> at 0
[ 0.663369] SCSI subsystem initialized
[ 0.663767] usbcore: registered new interface driver usbfs
[ 0.663869] usbcore: registered new interface driver hub
[ 0.664158] usbcore: registered new device driver usb
[ 0.664342] media: Linux media interface: v0.10
[ 0.664422] Linux video capture interface: v2.00
[ 0.666679] Switched to clocksource stc
[ 0.667074] FS-Cache: Loaded
[ 0.667294] CacheFiles: Loaded
[ 0.680382] NET: Registered protocol family 2
[ 0.681483] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.681584] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.681682] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.681772] TCP: reno registered
[ 0.681795] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.681825] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.682194] NET: Registered protocol family 1
[ 0.682751] RPC: Registered named UNIX socket transport module.
[ 0.682774] RPC: Registered udp transport module.
[ 0.682783] RPC: Registered tcp transport module.
[ 0.682791] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.683156] Trying to unpack rootfs image as initramfs...
[ 1.125039] Freeing initrd memory: 3456K (c0a00000 - c0d60000)
[ 1.141222] bcm2708_dma: DMA manager at f2007000
[ 1.141378] bcm2708_gpio: bcm2708_gpio_probe c0690340
[ 1.141798] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 1.142849] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 1.143126] audit: initializing netlink subsys (disabled)
[ 1.143208] audit: type=2000 audit(1.130:1): initialized
[ 1.294518] zbud: loaded
[ 1.294861] VFS: Disk quotas dquot_6.5.2
[ 1.294949] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.295348] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.295417] FS-Cache: Netfs 'nfs' registered for caching
[ 1.295823] NFS: Registering the id_resolver key type
[ 1.295920] Key type id_resolver registered
[ 1.295935] Key type id_legacy registered
[ 1.296291] msgmni has been set to 873
[ 1.301453] Key type asymmetric registered
[ 1.301479] Asymmetric key parser 'x509' registered
[ 1.301615] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 1.301923] io scheduler noop registered
[ 1.301944] io scheduler deadline registered (default)
[ 1.301982] io scheduler cfq registered
[ 1.307550] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[ 1.307569] crc32: self tests passed, processed 225944 bytes in 2649000 nsec
[ 1.309604] crc32c: CRC_LE_BITS = 64
[ 1.309616] crc32c: self tests passed, processed 225944 bytes in 987000 nsec
[ 2.203393] crc32_combine: 8373 self tests passed
[ 3.109293] crc32c_combine: 8373 self tests passed
[ 3.110781] BCM2708FB: allocated DMA memory 5bc00000
[ 3.110843] BCM2708FB: allocated DMA channel 0 @ f2007000
[ 3.129552] Console: switching to colour frame buffer device 160x48
[ 3.236683] Serial: AMBA driver
[ 3.236828] uart-pl011 dev:f1: no DMA platform data
[ 3.236877] kgdb: Registered I/O driver kgdboc.
[ 3.247779] brd: module loaded
[ 3.253749] loop: module loaded
[ 3.255244] nbd: registered device at major 43
[ 3.266135] zram: Created 1 device(s) ...
[ 3.266432] vchiq: vchiq_init_state: slot_zero = 0xdb800000, is_master = 0
[ 3.267613] st: Version 20101219, fixed bufsize 32768, s/g segs 256
[ 3.267794] osst :I: Tape driver with OnStream support version 0.99.4
[ 3.267794] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[ 3.268831] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[ 3.269665] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[ 3.270730] tun: Universal TUN/TAP device driver, 1.6
[ 3.270759] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 3.271342] usbcore: registered new interface driver smsc95xx
[ 3.271566] usbcore: registered new interface driver cdc_ncm
[ 3.271586] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 3.471920] Core Release: 2.80a
[ 3.471951] Setting default values for core params
[ 3.471994] Finished setting default values for core params
[ 3.672123] Using Buffer DMA mode
[ 3.672148] Periodic Transfer Interrupt Enhancement - disabled
[ 3.672159] Multiprocessor Interrupt Enhancement - disabled
[ 3.672170] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 3.672185] Dedicated Tx FIFOs mode
[ 3.672594] WARN::dwc_otg_hcd_init:1042: FIQ DMA bounce buffers: virt = 0xdbc14000 dma = 0x5bc14000 len=9024
[ 3.672629] FIQ FSM acceleration enabled for :
[ 3.672629] Non-periodic Split Transactions
[ 3.672629] Periodic Split Transactions
[ 3.672651] dwc_otg: Microframe scheduler enabled
[ 3.672710] WARN::hcd_init:473: FIQ at 0xc033fd10
[ 3.672726] WARN::hcd_init:474: FIQ ASM at 0xc033ffc0 length 36
[ 3.672755] WARN::hcd_init:500: MPHI regs_base at 0xdc80e000
[ 3.672787] dwc_otg bcm2708_usb: DWC OTG Controller
[ 3.672842] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 3.672895] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 3.672931] Init: Port Power? op_state=1
[ 3.672942] Init: Power Port (0)
[ 3.673242] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.673264] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.673279] usb usb1: Product: DWC OTG Controller
[ 3.673293] usb usb1: Manufacturer: Linux 3.14.4-piCore+ dwc_otg_hcd
[ 3.673306] usb usb1: SerialNumber: bcm2708_usb
[ 3.674158] hub 1-0:1.0: USB hub found
[ 3.674242] hub 1-0:1.0: 1 port detected
[ 3.674759] dwc_otg: FIQ enabled
[ 3.674775] dwc_otg: NAK holdoff enabled
[ 3.674785] dwc_otg: FIQ split-transaction FSM enabled
[ 3.674807] Module dwc_common_port init
[ 3.675286] usbcore: registered new interface driver usb-storage
[ 3.675885] mousedev: PS/2 mouse device common for all mice
[ 3.676602] i2c /dev entries driver
[ 3.676862] bcm2708_i2c_init_pinmode(0,0)
[ 3.676881] bcm2708_i2c_init_pinmode(0,1)
[ 3.677346] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100k)
[ 3.677412] bcm2708_i2c_init_pinmode(1,2)
[ 3.677426] bcm2708_i2c_init_pinmode(1,3)
[ 3.677968] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100k)
[ 3.679632] : bcm2835-v4l2: error -1 while loading driver
[ 3.680530] bcm2708 watchdog, heartbeat=10 sec (nowayout=0)
[ 3.680796] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[ 3.680979] bcm2835-cpufreq: switching to governor performance
[ 3.680997] bcm2835-cpufreq: switching to governor performance
[ 3.681144] sdhci: Secure Digital Host Controller Interface driver
[ 3.681157] sdhci: Copyright(c) Pierre Ossman
[ 3.681236] sdhci: Enable low-latency mode
[ 3.726753] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[ 3.726903] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[ 3.727114] usbcore: registered new interface driver ushc
[ 3.727130] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.733836] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.737579] usbcore: registered new interface driver usbhid
[ 3.737598] usbhid: USB HID core driver
[ 3.738057] ipip: IPv4 over IPv4 tunneling driver
[ 3.738870] TCP: cubic registered
[ 3.738890] Initializing XFRM netlink socket
[ 3.738929] NET: Registered protocol family 17
[ 3.739038] 8021q: 802.1Q VLAN Support v1.8
[ 3.739166] Key type dns_resolver registered
[ 3.742995] registered taskstats version 1
[ 3.749964] console [netcon0] enabled
[ 3.749984] netconsole: network logging started
[ 3.750828] Freeing unused kernel memory: 160K (c0659000 - c0681000)
[ 3.801036] mmc0: new high speed SDHC card at address e624
[ 3.802510] mmcblk0: mmc0:e624 SL16G 14.8 GiB
[ 3.817842] mmcblk0: p1 p2
[ 3.866989] Indeed it is in host mode hprt0 = 00021501
[ 4.097005] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 4.097215] Indeed it is in host mode hprt0 = 00001101
[ 4.377277] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 4.377311] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.378227] hub 1-1:1.0: USB hub found
[ 4.378380] hub 1-1:1.0: 5 ports detected
[ 4.656964] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 4.757245] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 4.757278] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.760414] smsc95xx v1.0.4
[ 4.823561] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:0c:7d:b1
[ 4.917012] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[ 5.038179] usb 1-1.2: New USB device found, idVendor=05e3, idProduct=1106
[ 5.038211] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 5.038225] usb 1-1.2: Product: Generic USB K/B Hub
[ 5.040699] hub 1-1.2:1.0: USB hub found
[ 5.042544] hub 1-1.2:1.0: 3 ports detected
[ 5.126987] usb 1-1.3: new low-speed USB device number 5 using dwc_otg
[ 5.235166] usb 1-1.3: New USB device found, idVendor=045e, idProduct=0040
[ 5.235202] usb 1-1.3: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[ 5.235218] usb 1-1.3: Product: Microsoft 3-Button Mouse with IntelliEye(TM)
[ 5.235232] usb 1-1.3: Manufacturer: Microsoft
[ 5.249615] input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:045E:0040.0001/input/input0
[ 5.251817] hid-generic 0003:045E:0040.0001: input,hidraw0: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-bcm2708_usb-1.3/input0
[ 5.328431] usb 1-1.2.3: new full-speed USB device number 6 using dwc_otg
[ 5.450521] usb 1-1.2.3: New USB device found, idVendor=05e3, idProduct=1107
[ 5.450557] usb 1-1.2.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 5.450572] usb 1-1.2.3: Product: Generic USB K/B Hub
[ 5.472571] input: Generic USB K/B Hub as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.3/1-1.2.3:1.0/0003:05E3:1107.0002/input/input1
[ 5.475006] hid-generic 0003:05E3:1107.0002: input,hidraw1: USB HID v1.10 Keyboard [Generic USB K/B Hub] on usb-bcm2708_usb-1.2.3/input0
[ 5.520004] input: Generic USB K/B Hub as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.3/1-1.2.3:1.1/0003:05E3:1107.0003/input/input2
[ 5.521534] hid-generic 0003:05E3:1107.0003: input,hidraw2: USB HID v1.10 Device [Generic USB K/B Hub] on usb-bcm2708_usb-1.2.3/input1
[ 9.392662] random: mkswap urandom read with 44 bits of entropy available
[ 9.405902] Adding 106888k swap on /dev/zram0. Priority:-1 extents:1 across:106888k SSFS
[ 12.075463] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 12.204145] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 12.345067] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 13.010167] random: nonblocking pool is initialized
[ 26.989655] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 28.505310] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
root@box:/home/tc#
[EDIT]: Added code tags. Rich