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 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: Thinkpad x201 OBSD compatibility

2011-02-13 Thread tkdchen
2011/2/12 Vadim Zhukov persg...@gmail.com:
 On 11 February 2011 P3. 23:26:33 Chris wrote:
 I'm planning to buy a Thinkpad x201 laptop (not the tablet one) and
 wondering if anyone using it with OpenBSD at the moment. If so, is it
 100% OpenBSD compatible?

 Using X201i now. Almost all is working OK. Here are all problems I saw:

  - Bluetooth causes panics sometimes, especially after suspend/resume
 cycle. Do not try to disable radio while in OpenBSD. Also note that
 Bluetooth chip here does not allow to save even one key in his memory,
 but this looks like hardware limitation.

  - After switching away from X console is blank, but suspend/resume
 usually helps.

  - Note that Lenovo changed the fingerprint sensor, which is not
 supported by login_fingerprint.

  - NTFS causes problems exhausting kernel memory when, for example,
 running find(1) on Windows folder.

 All those are minorities, the machine itself works cool. I had no
 problems using OpenBSD, including lockups, except noted above.

 --
  Best wishes,
Vadim Zhukov

 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?



Plus:
1. After resuming, USB doesn't work any more.
2. In X, when starting X, playing video using VLC, closing the
screensaver and resuming, the screen's brightness seems to be changed
to the maximum.
3. Also in X, machdep.lidsuspend would cause crash.