Probleme mit USB-Tastatur

hades

the unseen one
Hallo liebe Leut',

nachdem ich am Mittwoch OpenBSD5.3 auf meinem nano-PC installiert hatte musste ich feststellen, dass sich weder die Multimedia-Hotkeys noch die in der xorg.conf definierte compose-Taste benutzen lassen.
Ein aehnliches Phaenomen ist mir am alten Desktoprechner aufgefallen; sowie die Tastatur ueber PS/2 angeschlossen war lief alles ohne Probleme, beim Anschluss der identischen Tastatur via USB: keine Hotkeys und keine compose-Taste.
Leider gibt es beim nano-PC keinen PS/2-Anschluss. Da die Tastatur us-Layout hat, gibt es ohne compose keine Umlaute.

Vielleicht hat ja schon jemand die gleichen Probleme gehabt und kann mir einen Tipp geben, wie das Problem zu loesen ist. An der Tastatur liegt es (leider) nicht, auch mit anderen Tastaturen ist das Problem vorhanden.

Folgendes steht in der xorg.conf:
Code:
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
        Option      "XkbOptions" "compose:ralt"
EndSection

Allerdings habe ich das Gefuehlt, dass die xorg.conf gaenzlich ignoriert wird. In der Logdatei ist folgendes zu finden:
Code:
[hades@quadriga: /home/hades]>cat /var/log/Xorg.0.log | grep kbd
[   470.363] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   472.963] (II) config/wscons: checking input device /dev/wskbd
[   472.963] (II) wskbd: using layout us
[   472.963] (II) LoadModule: "kbd"
[   472.965] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[   472.974] (II) Module kbd: vendor="X.Org Foundation"
[   472.974] (II) Using input driver 'kbd' for '/dev/wskbd'
[   472.974] (**) /dev/wskbd: always reports core events
[   472.975] (**) /dev/wskbd: always reports core events
[   472.975] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)

xev(1) gibt beim Betaetigen der rechten Alt-Taste (ralt) folgendes aus:
Code:
KeyPress event, serial 33, synthetic NO, window 0x1e00001,
    root 0x110, subw 0x0, time 19659398, (124,694), root:(706,714),
    state 0x10, keycode 113 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x1e00001,
    root 0x110, subw 0x0, time 19659446, (124,694), root:(706,714),
    state 0x18, keycode 113 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Auch ein manuelles
Code:
setxkbmap -option compose:ralt
wird vollkommen ignoriert.

Dass die Hotkeys fuer Multimedia nicht arbeiten, damit kann ich leben. Ohne Umlaute gehts kaum. Ich bin also fuer jeden Tipp dankbar.

Zu guter letzt noch die dmesg:
Code:
OpenBSD 5.3 (GENERIC.MP) #62: Tue Mar 12 18:21:20 MDT 2013
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1722236928 (1642MB)
avail mem = 1653952512 (1577MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe9270 (50 entries)
bios0: vendor American Megatrends Inc. version "4.6.4" date 10/28/2011
bios0: ZOTAC AMD HUDSON-M1
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG HPET BGRT SSDT SSDT
acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) GEC_(S4) UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) PWRB(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD E-350 Processor, 1600.29 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache
cpu0: 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD E-350 Processor, 1600.00 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache
cpu1: 8 4MB entries fully associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 21, 24 pins
ioapic0: misconfigured as apic 3, remapped to apid 0
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (PE20)
acpiprt2 at acpi0: bus -1 (PE21)
acpiprt3 at acpi0: bus -1 (PE22)
acpiprt4 at acpi0: bus 6 (PE23)
acpiprt5 at acpi0: bus 1 (BR14)
acpiprt6 at acpi0: bus -1 (BR15)
acpiprt7 at acpi0: bus -1 (PCE6)
acpiprt8 at acpi0: bus -1 (PCE7)
acpiprt9 at acpi0: bus -1 (PCE8)
acpicpu0 at acpi0: C2, PSS
acpicpu1 at acpi0: C2, PSS
acpibtn0 at acpi0: PWRB
cpu0: 1600 MHz: speeds: 1600 1280 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00
vga1 at pci0 dev 1 function 0 "ATI Radeon HD 6310" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 1 function 1 "ATI Radeon HD 6310 HD Audio" rev 0x00: msi
azalia0: no supported codecs
ppb0 at pci0 dev 4 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
"NEC xHCI" rev 0x03 at pci1 dev 0 function 0 not configured
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 0 int 19, AHCI 1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 1 lun 0: <ATA, SAMSUNG HM321HI, 2AJ1> SCSI3 0/direct fixed naa.50024e9205ee1583
sd0: 305245MB, 512 bytes/sector, 625142448 sectors
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 18, version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 18, version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 17
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x40: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 0 int 17 for native-PCI interrupt
azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 0 int 16
azalia1: codecs: Realtek/0x0892
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40
ppb1 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40
pci2 at ppb1 bus 2
ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 0 int 18, version 1.0, legacy support
ppb2 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
athn0 at pci3 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 0 int 16
athn0: AR9285 rev 2 (1T1R), ROM rev 14, address 74:2f:68:e0:ec:e5
ppb3 at pci0 dev 21 function 3 "ATI SB800 PCIE" rev 0x00
pci4 at ppb3 bus 6
re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E (0x2c00), apic 0 int 19, address 00:01:2e:40:23:84
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 4
ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 18, version 1.0, legacy support
ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 17
usb2 at ehci2: USB revision 2.0
uhub2 at usb2 "ATI EHCI root hub" rev 2.00/1.00 addr 1
pchb1 at pci0 dev 24 function 0 "AMD AMD64 14h Link Cfg" rev 0x43
pchb2 at pci0 dev 24 function 1 "AMD AMD64 14h Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 14h DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 14h Misc Cfg" rev 0x00
pchb4 at pci0 dev 24 function 4 "AMD AMD64 14h CPU Power" rev 0x00
pchb5 at pci0 dev 24 function 5 "AMD AMD64 14h Reserved" rev 0x00
pchb6 at pci0 dev 24 function 6 "AMD AMD64 14h NB Power" rev 0x00
pchb7 at pci0 dev 24 function 7 "AMD AMD64 14h Reserved" rev 0x00
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb4 at ohci1: USB revision 1.0
uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
it0 at isa0 port 0x2e/2: IT8721F rev 1, EC port 0xa00
usb5 at ohci2: USB revision 1.0
uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb6 at ohci3: USB revision 1.0
uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
uhub7 at uhub0 port 1 "NEC hub" rev 2.00/1.00 addr 2
uhidev0 at uhub7 port 1 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/5.00 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 16 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub7 port 1 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/5.00 addr 3
uhidev1: iclass 3/0, 17 report ids
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 16: input=6, output=6, feature=0
uhid2 at uhidev1 reportid 17: input=19, output=19, feature=0
uhidev2 at uhub3 port 2 configuration 1 interface 0 "Cherry Mikroschalter product 0x0023" rev 2.00/0.32 addr 2
uhidev2: iclass 3/1
ukbd0 at uhidev2: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev3 at uhub3 port 2 configuration 1 interface 1 "Cherry Mikroschalter product 0x0023" rev 2.00/0.32 addr 2
uhidev3: iclass 3/0, 2 report ids
uhid3 at uhidev3 reportid 1: input=2, output=0, feature=0
uhid4 at uhidev3 reportid 2: input=1, output=0, feature=0
ugen0 at uhub4 port 3 "Atheros Communications AR3011" rev 1.10/2.00 addr 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (af3c485d539449f6.a) swap on sd0b dump on sd0b
sd1 at scsibus2 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
sd1: 273435MB, 512 bytes/sector, 559995281 sectors
 

hades

the unseen one
Ich habe zwischenzeitlich OpenBSD5.3 auf meinem bisherigen Desktoprechner aufgespielt, an diesen ist die Tastatur mit PS/2 angeschlossen.
Gleich zu Beginn (noch als root, im fvwm) habe ich getestet ob dort die compose-Taste funktioniert.

Auch dort wird der Eintrag in der xorg.conf geflissentlich ignoriert. Allerdings schafft das Kommando setxkbmap Abhilfe. Danach geht es.
Also Nutzer erstellt, eingeloggt, setxkbmap ausgefuehrt, getestet: und die Compose-Taste wird nicht erkannt.

Mit dieser Erkenntnis bin ich zurueck zum nano-PC und habe auch dort festgestellt, dass als root im fvwm setxkbmap zur Nutzbarkeit der compose-Taste fuehrt.

Vielleicht hat ja nun jemand eine Idee, woran das liegen koennte?
 

hades

the unseen one
Das Layout ist schon korrekt eingestellt:
Code:
[hades@quadriga: /home/hades]>cat /etc/kbdtype 
us

Aber die compose-Taste laesst sich nicht definieren...
 
Oben