Re: The keyboard doesn't work in X after the most recent update

2011-11-07 Thread Stuart Henderson
On 2011-11-05, Norman Golisz li...@zcat.de wrote:
 On Sat Nov  5 2011 22:39, tkdchen wrote:
 Hi all,
 
 My keyboard does not work in fvwm, GNOME or KDE after the most recent
 update. No key response except the Fn+brightness-up and down.
 I run 5.0-current on Thinkpad x201i. Thanks a lot for your help.

 This is a known bug in xkb. As suggested on tech@:

 _symbols_dir=/usr/X11R6/share/X11/xkb/symbols/srvr_ctrl/srvr_ctrl
 mv ${_symbols_dir}/srvr_ctrl ${_symbols_dir}/_srvr_ctrl 
 mv ${_symbols_dir}/_srvr_ctrl/srvr_ctrl ${_symbols_dir} 
 rmdir ${_symbols_dir}/_srvr_ctrl 

As also suggested on tech@, the file you are mv'ing here is not the
right version. You should remove the directory and reinstall xshare50.tgz.
The simplest way on a system where you have console access is to boot
the install kernel and select 'upgrade'.



Re: The keyboard doesn't work in X after the most recent update

2011-11-06 Thread Andreas Bartelt

Hello Norman,

On 11/05/11 20:13, Norman Golisz wrote:
...

since 5.0, xenocara uses xkeyboard-config instead of the old
/etc/X11/xkb. In the last couple of days, some code has been changed in
xkeyboard-config, however, and made keyboards in X non-functional, when
the /usr/X11R6/share/X11/xkb/symbols/srvr_ctrl directory was present.
This directory was removed and replaced by a bare file [1].

So, chances are, older versions are not affected on your netbook.



Thx -- I suppose I missed the part with the single file. The keyboard 
works now under Xorg on current.


Best Regards
Andreas



Re: The keyboard doesn't work in X after the most recent update

2011-11-06 Thread Matthieu Herrb
On Sat, Nov 5, 2011 at 5:45 PM, Andreas Bartelt o...@bartula.de wrote:
 On 11/05/11 15:39, tkdchen wrote:

 Hi all,

 My keyboard does not work in fvwm, GNOME or KDE after the most recent
 update. No key response except the Fn+brightness-up and down.
 I run 5.0-current on Thinkpad x201i. Thanks a lot for your help.

 I've noticed that the keyboard of an Asus EEE 701 also doesn't work with
 Xorg on current (I followed the steps from current.html). However, I didn't
 test any older versions of OpenBSD on this netbook.

 Does anybody know if this a known or a new problem with this model?



I'm not aware of any specific problem to this model. Without more
details it's hard to give you any useful advice.

Also, normally, the install/upgrade script in binary snapshots
includes code to remove the extra directory. If you upgraded by using
bsd.rd and a snapshot, you should not be affected.


-- 
Matthieu Herrb



The keyboard doesn't work in X after the most recent update

2011-11-05 Thread tkdchen
Hi all,

My keyboard does not work in fvwm, GNOME or KDE after the most recent
update. No key response except the Fn+brightness-up and down.
I run 5.0-current on Thinkpad x201i. Thanks a lot for your help.
My dmesg is:

OpenBSD 5.0-current (GENERIC) #16: Sat Nov  5 13:14:54 CST 2011
c...@chen-laptop.my.domain:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz (GenuineIntel
686-class) 2.27 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF
real mem  = 1998626816 (1906MB)
avail mem = 1955852288 (1865MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/07/10, BIOS32 rev. 0 @
0xfdbe0, SMBIOS rev. 2.6 @ 0xe0010 (78 entries)
bios0: vendor LENOVO version 6QET46WW (1.16 ) date 06/07/2010
bios0: LENOVO 32493DC
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT
TCPA SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4)
EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 13 (EXP1)
acpiprt3 at acpi0: bus -1 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpiprt5 at acpi0: bus 5 (EXP4)
acpiprt6 at acpi0: bus 2 (EXP5)
acpicpu0 at acpi0: C3, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4835 serial40 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000
0xdd000/0x3000! 0xe/0x1
cpu0: Enhanced SpeedStep 2262 MHz: speeds: 2266, 2133, 1999, 1866,
1733, 1599, 1466, 1333, 1199, 1066, 933 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel Core Host rev 0x02
vga1 at pci0 dev 2 function 0 Intel Mobile HD graphics rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16
drm0 at inteldrm0
Intel 3400 MEI rev 0x06 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 Intel 82577LM rev 0x06: msi, address
f0:de:f1:0a:4a:ee
ehci0 at pci0 dev 26 function 0 Intel 3400 USB rev 0x06: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 3400 HD Audio rev 0x06: msi
azalia0: codecs: Conexant/0x5069, Intel/0x2804, using Conexant/0x5069
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 3400 PCIE rev 0x06: apic 1 int 20
pci1 at ppb0 bus 13
ppb1 at pci0 dev 28 function 3 Intel 3400 PCIE rev 0x06: apic 1 int 23
pci2 at ppb1 bus 5
ppb2 at pci0 dev 28 function 4 Intel 3400 PCIE rev 0x06: apic 1 int 20
pci3 at ppb2 bus 2
iwn0 at pci3 dev 0 function 0 Intel WiFi Link 1000 rev 0x00: msi,
MIMO 1T2R, BGS, address 00:26:c7:5b:20:30
ehci1 at pci0 dev 29 function 0 Intel 3400 USB rev 0x06: apic 1 int 19
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xa6
pci4 at ppb3 bus 14
pcib0 at pci0 dev 31 function 0 Intel QM57 LPC rev 0x06
ahci0 at pci0 dev 31 function 2 Intel 3400 AHCI rev 0x06: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, WDC WD2500BEVT-0, 02.0 SCSI3
0/direct fixed naa.50014ee25a080d3b
sd0: 238475MB, 512 bytes/sector, 488397168 sectors
ichiic0 at pci0 dev 31 function 3 Intel 3400 SMBus rev 0x06: apic 1 int 23
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500 SO-DIMM
itherm0 at pci0 dev 31 function 6 Intel 3400 Thermal rev 0x06
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
wsmouse1 at pms0 mux 0
pms0: Synaptics touchpad, firmware 7.4
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub2 at uhub0 port 1 Intel Rate Matching 

Re: The keyboard doesn't work in X after the most recent update

2011-11-05 Thread Norman Golisz
On Sat Nov  5 2011 22:39, tkdchen wrote:
 Hi all,
 
 My keyboard does not work in fvwm, GNOME or KDE after the most recent
 update. No key response except the Fn+brightness-up and down.
 I run 5.0-current on Thinkpad x201i. Thanks a lot for your help.

This is a known bug in xkb. As suggested on tech@:

_symbols_dir=/usr/X11R6/share/X11/xkb/symbols/srvr_ctrl/srvr_ctrl
mv ${_symbols_dir}/srvr_ctrl ${_symbols_dir}/_srvr_ctrl 
mv ${_symbols_dir}/_srvr_ctrl/srvr_ctrl ${_symbols_dir} 
rmdir ${_symbols_dir}/_srvr_ctrl 

Norman.



Re: The keyboard doesn't work in X after the most recent update

2011-11-05 Thread Norman Golisz
On Sat Nov  5 2011 22:39, tkdchen wrote:
 Hi all,
 
 My keyboard does not work in fvwm, GNOME or KDE after the most recent
 update. No key response except the Fn+brightness-up and down.
 I run 5.0-current on Thinkpad x201i. Thanks a lot for your help.

Remember to read http://www.openbsd.org/faq/current.html, before
applying snapshots or updating your local cvs checkout and compiling
from it.

Norman.



Re: The keyboard doesn't work in X after the most recent update

2011-11-05 Thread tkdchen
2011/11/5 Norman Golisz li...@zcat.de:
 On Sat Nov  5 2011 22:39, tkdchen wrote:
 Hi all,

 My keyboard does not work in fvwm, GNOME or KDE after the most recent
 update. No key response except the Fn+brightness-up and down.
 I run 5.0-current on Thinkpad x201i. Thanks a lot for your help.

 Remember to read http://www.openbsd.org/faq/current.html, before
 applying snapshots or updating your local cvs checkout and compiling
 from it.


Solved. Thank you all. :)

 Norman.



Re: The keyboard doesn't work in X after the most recent update

2011-11-05 Thread Andreas Bartelt

On 11/05/11 15:39, tkdchen wrote:

Hi all,

My keyboard does not work in fvwm, GNOME or KDE after the most recent
update. No key response except the Fn+brightness-up and down.
I run 5.0-current on Thinkpad x201i. Thanks a lot for your help.


I've noticed that the keyboard of an Asus EEE 701 also doesn't work with 
Xorg on current (I followed the steps from current.html). However, I 
didn't test any older versions of OpenBSD on this netbook.


Does anybody know if this a known or a new problem with this model?

Best Regards
Andreas



Re: The keyboard doesn't work in X after the most recent update

2011-11-05 Thread Norman Golisz
Hi Andreas,

On Sat Nov  5 2011 18:45, Andreas Bartelt wrote:
 On 11/05/11 15:39, tkdchen wrote:
 Hi all,
 
 My keyboard does not work in fvwm, GNOME or KDE after the most recent
 update. No key response except the Fn+brightness-up and down.
 I run 5.0-current on Thinkpad x201i. Thanks a lot for your help.
 
 I've noticed that the keyboard of an Asus EEE 701 also doesn't work
 with Xorg on current (I followed the steps from current.html).
 However, I didn't test any older versions of OpenBSD on this
 netbook.
 
 Does anybody know if this a known or a new problem with this model?

since 5.0, xenocara uses xkeyboard-config instead of the old
/etc/X11/xkb. In the last couple of days, some code has been changed in
xkeyboard-config, however, and made keyboards in X non-functional, when
the /usr/X11R6/share/X11/xkb/symbols/srvr_ctrl directory was present.
This directory was removed and replaced by a bare file [1].

So, chances are, older versions are not affected on your netbook.

Best regards,
Norman.