Re: Keyboard no longer works after upgrading xenocara to -current (amd64, hp g42 laptop)

2011-10-26 Thread Brett
On Tue, 25 Oct 2011 07:53:55 -0300
Gonzalo L. R. gonz...@x61.com.ar wrote:

 http://openbsd.org/faq/current.html#20111015
 
 
 El 10/25/11 04:59, Brett escribis:
  Hi,
  Yesterday morning, I updated my source tree, (after the recent changes to 
  xenocara shown at http://marc.info/?l=openbsd-cvsm=131938646714330w=2) 
  and rebuilt kernel, userland, and xenocara (rebooting before doing each 
  build). I had previously recompiled kernel and userland about a week 
  earlier, though up till that point xenocara was still running from the 
  version installed from 8th Oct snapshot CD. Upon booting into XFCE, the 
  keyboard would not respond (inbuilt laptop keyboard or external usb 
  keyboard). The mouse still works fine - so I can open xterm or 
  xfce4-terminal from the start menu, but then I try to type and nothing 
  happens. Ctrl-alt-backspace does not work but I can still shut down cleanly 
  by pressing the power button.
 

Sorry forgot the faq/current page existed and so didn't check it. Never had a 
situation where I needed to follow its instructions before, usually the 
upgrading to current just works!



Keyboard no longer works after upgrading xenocara to -current (amd64, hp g42 laptop)

2011-10-25 Thread Brett
Hi,
Yesterday morning, I updated my source tree, (after the recent changes to 
xenocara shown at http://marc.info/?l=openbsd-cvsm=131938646714330w=2) and 
rebuilt kernel, userland, and xenocara (rebooting before doing each build). I 
had previously recompiled kernel and userland about a week earlier, though up 
till that point xenocara was still running from the version installed from 8th 
Oct snapshot CD. Upon booting into XFCE, the keyboard would not respond 
(inbuilt laptop keyboard or external usb keyboard). The mouse still works fine 
- so I can open xterm or xfce4-terminal from the start menu, but then I try to 
type and nothing happens. Ctrl-alt-backspace does not work but I can still shut 
down cleanly by pressing the power button.

XFCE rebuilt from ports after this problem showed the same behaviour. 

I then tried doing startx into the base FVWM window system ($ startx after 
removing my .xinitrc file), and still no keyboard.

I'm not complaining, just wanted to report the problem. :-)

Happy to test patches if you have some.

Brett.

OpenBSD 5.0-current (GENERIC.MP) #1: Mon Oct 24 11:20:31 EST 2011
r...@hp.crossmonster.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80clock_battery
real mem = 2946756608 (2810MB)
avail mem = 2854227968 (2722MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe8320 (22 entries)
bios0: vendor Hewlett-Packard version F.17 date 11/07/2010
bios0: Hewlett-Packard HP G42 Notebook PC
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG BOOT SLIC SSDT
acpi0: wakeup devices PB2_(S5) PB3_(S4) PB5_(S5) PB6_(S4) USB0(S3) USB1(S3) 
USB4(S3) USB5(S3) USB6(S3) PS2K(S3) PS2M(S3) P2P_(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Turion(tm) II P540 Dual-Core Processor, 2394.42 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,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Turion(tm) II P540 Dual-Core Processor, 2394.02 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,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpimcfg0 at acpi0 addr 0xf700, bus 0-15
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus -1 (PB2_)
acpiprt3 at acpi0: bus -1 (PB3_)
acpiprt4 at acpi0: bus 2 (PB5_)
acpiprt5 at acpi0: bus 3 (PB6_)
acpiprt6 at acpi0: bus 4 (P2P_)
acpiec0 at acpi0
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0acpitz0: THRM: failed to read _CRT
: no critical temperature defined
acpibtn0 at acpi0: PWRB
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model Primary serial   type NiMH oem Hewlett-Packard
acpibtn1 at acpi0: LID_
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: LCD_
acpivideo1 at acpi0: VGA_
acpivideo2 at acpi0: VGA_
cpu0: 2394 MHz: speeds: 2400 2200 1900 1500 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 AMD RS880 Host rev 0x00
ppb0 at pci0 dev 1 function 0 AMD RS780 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Mobility Radeon HD 4200 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 4 int 18
drm0 at radeondrm0
azalia0 at pci1 dev 5 function 1 ATI Radeon HD 4200 HD Audio rev 0x00: msi
azalia0: no supported codecs
ppb1 at pci0 dev 5 function 0 AMD RS780 PCIE rev 0x00: msi
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 Atheros AR9285 rev 0x01: apic 4 int 17
athn0: AR9285 rev 2 (1T1R), ROM rev 14, address 4c:0f:6e:61:40:ac
ppb2 at pci0 dev 6 function 0 AMD RS780 PCIE rev 0x00: msi
pci3 at ppb2 bus 3
re0 at pci3 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL (0x2480), apic 
4 int 18, address 3c:4a:92:59:48:0f
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x00: apic 4 int 19, AHCI 
1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, SAMSUNG HM321HI, 2AJ1 SCSI3 0/direct fixed 
naa.50024e9203b7cb23
sd0: 305245MB, 512 bytes/sector, 625142448 sectors
cd0 at scsibus0 

Re: Keyboard no longer works after upgrading xenocara to -current (amd64, hp g42 laptop)

2011-10-25 Thread LEVAI Daniel
On Tue, Oct 25, 2011 at 18:59:48 +1100, Brett wrote:
[...]
 installed from 8th Oct snapshot CD. Upon booting into XFCE, the
 keyboard would not respond (inbuilt laptop keyboard or external usb
[...]


There is a workaround for this [1]:

# mv /usr/X11R6/share/X11/xkb /usr/X11R6/share/X11/xkb_orig
# cd /usr/xenocara/data/xkeyboard-config  make build  make install

This assumes you have the xenocara sources in /usr/xenocara.


HTH,
Daniel


[1] http://marc.info/?l=openbsd-cvsm=131914643624601w=2

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: Keyboard no longer works after upgrading xenocara to -current (amd64, hp g42 laptop)

2011-10-25 Thread Brett
 On Tue, Oct 25, 2011 at 18:59:48 +1100, Brett wrote:
  installed from 8th Oct snapshot CD. Upon booting into XFCE, the
  keyboard would not respond (inbuilt laptop keyboard or external usb
 [...]

 There is a workaround for this [1]:
 
 # mv /usr/X11R6/share/X11/xkb /usr/X11R6/share/X11/xkb_orig
 # cd /usr/xenocara/data/xkeyboard-config  make build  make install
 
 This assumes you have the xenocara sources in /usr/xenocara.
 HTH,
 Daniel
 [1] http://marc.info/?l=openbsd-cvsm=131914643624601w=2
 

Thanks, Daniel, works fine again after doing that.
Brett.



Re: Keyboard no longer works after upgrading xenocara to -current (amd64, hp g42 laptop)

2011-10-25 Thread Gonzalo L. R.

http://openbsd.org/faq/current.html#20111015


El 10/25/11 04:59, Brett escribis:

Hi,
Yesterday morning, I updated my source tree, (after the recent changes to xenocara 
shown at http://marc.info/?l=openbsd-cvsm=131938646714330w=2) and rebuilt 
kernel, userland, and xenocara (rebooting before doing each build). I had previously 
recompiled kernel and userland about a week earlier, though up till that point xenocara 
was still running from the version installed from 8th Oct snapshot CD. Upon booting 
into XFCE, the keyboard would not respond (inbuilt laptop keyboard or external usb 
keyboard). The mouse still works fine - so I can open xterm or xfce4-terminal from the 
start menu, but then I try to type and nothing happens. Ctrl-alt-backspace does not 
work but I can still shut down cleanly by pressing the power button.

XFCE rebuilt from ports after this problem showed the same behaviour.

I then tried doing startx into the base FVWM window system ($ startx after 
removing my .xinitrc file), and still no keyboard.

I'm not complaining, just wanted to report the problem. :-)

Happy to test patches if you have some.

Brett.

OpenBSD 5.0-current (GENERIC.MP) #1: Mon Oct 24 11:20:31 EST 2011
 r...@hp.crossmonster.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80clock_battery
real mem = 2946756608 (2810MB)
avail mem = 2854227968 (2722MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe8320 (22 entries)
bios0: vendor Hewlett-Packard version F.17 date 11/07/2010
bios0: Hewlett-Packard HP G42 Notebook PC
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG BOOT SLIC SSDT
acpi0: wakeup devices PB2_(S5) PB3_(S4) PB5_(S5) PB6_(S4) USB0(S3) USB1(S3) 
USB4(S3) USB5(S3) USB6(S3) PS2K(S3) PS2M(S3) P2P_(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Turion(tm) II P540 Dual-Core Processor, 2394.42 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,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Turion(tm) II P540 Dual-Core Processor, 2394.02 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,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpimcfg0 at acpi0 addr 0xf700, bus 0-15
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus -1 (PB2_)
acpiprt3 at acpi0: bus -1 (PB3_)
acpiprt4 at acpi0: bus 2 (PB5_)
acpiprt5 at acpi0: bus 3 (PB6_)
acpiprt6 at acpi0: bus 4 (P2P_)
acpiec0 at acpi0
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0acpitz0: THRM: failed to read _CRT
: no critical temperature defined
acpibtn0 at acpi0: PWRB
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model Primary serial   type NiMH oem Hewlett-Packard
acpibtn1 at acpi0: LID_
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: LCD_
acpivideo1 at acpi0: VGA_
acpivideo2 at acpi0: VGA_
cpu0: 2394 MHz: speeds: 2400 2200 1900 1500 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 AMD RS880 Host rev 0x00
ppb0 at pci0 dev 1 function 0 AMD RS780 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Mobility Radeon HD 4200 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 4 int 18
drm0 at radeondrm0
azalia0 at pci1 dev 5 function 1 ATI Radeon HD 4200 HD Audio rev 0x00: msi
azalia0: no supported codecs
ppb1 at pci0 dev 5 function 0 AMD RS780 PCIE rev 0x00: msi
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 Atheros AR9285 rev 0x01: apic 4 int 17
athn0: AR9285 rev 2 (1T1R), ROM rev 14, address 4c:0f:6e:61:40:ac
ppb2 at pci0 dev 6 function 0 AMD RS780 PCIE rev 0x00: msi
pci3 at ppb2 bus 3
re0 at pci3 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL (0x2480), apic 
4 int 18, address 3c:4a:92:59:48:0f
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x00: apic 4 int 19, AHCI 
1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0:ATA, SAMSUNG HM321HI, 2AJ1  SCSI3 0/direct fixed