NetBSD Problem Report #46913

From marcin.wolyniak@2a.pl  Thu Sep  6 09:55:20 2012
Return-Path: <marcin.wolyniak@2a.pl>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 31D2663B9BC
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  6 Sep 2012 09:55:20 +0000 (UTC)
Message-Id: <20120906095520.31D2663B9BC@www.NetBSD.org>
Date: Thu,  6 Sep 2012 12:35:41 +0200
From: "Charlie &" <marcin.wolyniak@2a.pl>
Reply-To: marcin.wolyniak@2a.pl
To: gnats-bugs@gnats.NetBSD.org
Subject: Built-in keyborad not working on Fujitsu Amilo A1650G 
X-Send-Pr-Version: 3.95

>Number:         46913
>Category:       kern
>Synopsis:       Built-in keyboard not working on Fujistu-Siemens Amilo A1650G
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 06 10:00:01 +0000 2012
>Last-Modified:  Sat Sep 29 05:40:02 +0000 2012
>Originator:     Marcin Wolyniak
>Release:        NetBSD 6.0_RC1
>Organization:
user

>Environment:
System: NetBSD nb.lan 6.0_RC1 NetBSD 6.0_RC1 (GENERIC) amd64
Architecture: x86_64
Machine: amd64
>Description:
	When booted plain netbsd built-in keyboard on Fujitsu Siemens Amilo A1650G does not respond to keystrokes. When in boot menu it works. After booting - does not. The same occurs when booting 5.1.2 release. Installation on this machine with built-in keyboard is impossible. Machine doesn't boot with acpi disabled. The same occurs with i386 architecture.
>How-To-Repeat:
	Every boot.
>Fix:
        Only workaround - connect external USB keyboard. But with laptop this is obviously not an option.

>Audit-Trail:
From: Marcin =?iso-8859-2?Q?Wo=B3yniak?= <marcin.wolyniak@2a.pl>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/46913
Date: Thu, 6 Sep 2012 12:20:23 +0200 (CEST)

 ------=_20120906122023_52408
 Content-Type: text/plain; charset="iso-8859-2"
 Content-Transfer-Encoding: 8bit

 Hello,
 Dmesg output when booted with boot netbsd -x. At the end there are
 messages from connecting external USB keyboard ( uhidev0: Tsunami product
 0x1233, rev 2.00/2.30, addr 2, iclass 3/1 ).

 Regards
 Marcin Wolyniak
 ------------------
 ------=_20120906122023_52408
 Content-Type: text/plain; name="dmesg.txt"
 Content-Transfer-Encoding: 8bit
 Content-Disposition: attachment; filename="dmesg.txt"

 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 6.0_RC1 (GENERIC)
 total memory = 446 MB
 avail memory = 418 MB
 timecounter: Timecounters tick every 10.000 msec
 No bootinfo commands at boot
 timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 SMBIOS rev. 2.3 @ 0xdc010 (37 entries)
 FUJITSU SIEMENS AMILO A1650G (-1             )
 mainbus0 (root)
 cpu0 at mainbus0 apid 0cpu0: 16 page colors
 cpu0: calibrating local timer
 cpu0: apic clock running at 200 MHz
 : AMD Turion(tm) 64 Mobile Technology ML-37, id 0x20f42
 cpu0: testing for erratum 89
 cpu0: testing for erratum 122
 cpu0: erratum 122 patched
 cpu0: PAT enabled
 ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 21, 24 pins
 acpi0 at mainbus0: Intel ACPICA 20110623
 acpi0: X/RSDT: OemId <PTLTD ,  RSDT  ,06040000>, AslId < LTP,00000000>
 acpi0: SCI interrupting at int 9
 acpi0: fixed power button present
 timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
 acpi0: ACPI-Safe 32-bit timer
 acpiec0 at acpi0 (EC0, PNP0C09): io 0x62,0x66
 acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
 acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
 acpiwmi0 at acpi0 (AMW0, PNP0C14-0): ACPI WMI Interface
 acpiwmi0: {D9F41781-F633-4400-9355-601770BEC510} oid 4141 count 01 flags 00
 acpiwmi0: {67C3371D-95A3-4C37-BB61-DD47B491DAAB} oid 4241 count 01 flags 02
 acpiwmi0: {40D1BF71-A82D-4E59-A168-3985E03B2E87} oid 00B0 count 01 flags 08
 acpiwmi0: failed to enable expensive WExx: AE_NOT_FOUND
 acpiwmibus at acpiwmi0 not configured
 MEMR (PNP0C02) at acpi0 not configured
 pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
 midi0 at pcppi1: PC speaker
 sysbeep0 at pcppi1
 attimer1 at acpi0 (TIME, PNP0100): io 0x40-0x43 irq 0
 pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
 pckbc2 at acpi0 (PS2M, SYN0305) (aux port): irq 12
 SYSR (PNP0C02) at acpi0 not configured
 MEM (PNP0C01) at acpi0 not configured
 acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery
 acpibat0: SMP-PA LION rechargeable battery
 acpibat0: model number Bat 6Cell, serial number  3484
 acpibat0: granularity: low->warn 0.080 Ah, warn->full 3.821 Ah
 acpiacad0 at acpi0 (ADP1, ACPI0003): ACPI AC Adapter
 acpivga0 at acpi0 (VGA): ACPI Display Adapter
 acpivga0: capabilities: _DOS _DOD
 acpiout0 at acpivga0 (CRT, 0x0100): ACPI Display Output Device
 acpiout0: capabilities: _DCS _DGS _DSS
 acpiout1 at acpivga0 (LCD, 0x0110): ACPI Display Output Device
 acpiout1: capabilities: _DCS _DGS _DSS
 acpiout2 at acpivga0 (TVO, 0x0200): ACPI Display Output Device
 acpiout2: capabilities: _DDC _DCS _DGS _DSS
 acpivga0: connected output devices:
 acpivga0:   0x0100 (acpiout0): Ext. Monitor, head 0
 acpivga0:   0x0200 (acpiout2): TV, head 0
 acpivga0:   0x0110 (acpiout1): LCD Panel, head 0
 acpitz0 at acpi0 (TZS0): cpu0
 acpitz0: polling interval 30.0 seconds
 acpitz0: levels: critical 96.0 C, passive 85.0 C, passive cooling
 acpitz1 at acpi0 (TZS2)
 acpitz1: polling interval 30.0 seconds
 acpitz1: levels: critical 82.0 C, passive cooling
 attimer1: attached to pcppi1
 pckbdprobe: reset error 60
 pckbd0 at pckbc1 (kbd slot)
 pckbc1: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 pms0 at pckbc1 (aux slot)
 pms0: synaptics_probe: Identify Touchpad error.
 pckbc1: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 pci0 at mainbus0 bus 0: configuration mode 1
 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 pchb0 at pci0 dev 0 function 0: vendor 0x1002 product 0x5950 (rev. 0x10)
 ppb0 at pci0 dev 1 function 0: vendor 0x1002 product 0x5a3f (rev. 0x00)
 pci1 at ppb0 bus 1
 pci1: i/o space, memory space enabled
 vga0 at pci1 dev 5 function 0: vendor 0x1002 product 0x5955 (rev. 0x00)
 wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
 wsmux1: connecting to wsdisplay0
 radeondrm0 at vga0pci_mem_find: void region
 pci_mem_find: void region
 pci_mem_find: void region
 : ATI Radeon XPRESS 200M 5955
 radeondrm0: Initialized radeon 1.29.0 20080613
 ohci0 at pci0 dev 19 function 0: vendor 0x1002 product 0x4374 (rev. 0x00)
 ohci0: interrupting at ioapic0 pin 19
 ohci0: OHCI version 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 usb0: WARNING: power management not supported
 ohci1 at pci0 dev 19 function 1: vendor 0x1002 product 0x4375 (rev. 0x00)
 ohci1: interrupting at ioapic0 pin 19
 ohci1: OHCI version 1.0, legacy support
 usb1 at ohci1: USB revision 1.0
 usb1: WARNING: power management not supported
 ehci0 at pci0 dev 19 function 2: vendor 0x1002 product 0x4373 (rev. 0x00)
 ehci0: interrupting at ioapic0 pin 19
 ehci0: dropped intr workaround enabled
 ehci0: EHCI version 1.0
 ehci0: companion controllers, 4 ports each: ohci0 ohci1
 usb2 at ehci0: USB revision 2.0
 usb2: WARNING: power management not supported
 piixpm0 at pci0 dev 20 function 0: vendor 0x1002 product 0x4372 (rev. 0x11)
 piixpm0: interrupting at SMI, polling
 iic0 at piixpm0: I2C bus
 ixpide0 at pci0 dev 20 function 1: ATI Technologies IXP IDE Controller (rev. 0x00)
 ixpide0: bus-master DMA support present
 ixpide0: primary channel configured to compatibility mode
 ixpide0: primary channel interrupting at ioapic0 pin 14
 atabus0 at ixpide0 channel 0
 ixpide0: secondary channel configured to compatibility mode
 ixpide0: secondary channel interrupting at ioapic0 pin 15
 atabus1 at ixpide0 channel 1
 pcib0 at pci0 dev 20 function 3: vendor 0x1002 product 0x4377 (rev. 0x00)
 ppb1 at pci0 dev 20 function 4: vendor 0x1002 product 0x4371 (rev. 0x00)
 pci2 at ppb1 bus 2
 pci2: i/o space, memory space enabled
 ath0 at pci2 dev 5 function 0: Atheros 2413
 ath0: interrupting at ioapic0 pin 20
 ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
 ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
 ath0: mac 7.8 phy 4.5 radio 5.6
 ath0: device_pmf_lock1.2379, swapper dvl_nlock 1 dvl_nwait 0 dv_flags 7
 ath0: device_pmf_unlock.2406, swapper dvl_nlock 0 dvl_nwait 0 dv_flags 3f
 rtk0 at pci2 dev 7 function 0: Realtek 8139 10/100BaseTX (rev. 0x10)
 rtk0: interrupting at ioapic0 pin 23
 rtk0: Ethernet address 00:0a:e4:b5:8a:4b
 rlphy0 at rtk0 phy 7: Realtek internal PHY
 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 cbb0 at pci2 dev 9 function 0: vendor 0x104c product 0x8031 (rev. 0x00)
 fwohci0 at pci2 dev 9 function 2: vendor 0x104c product 0x8032 (rev. 0x00)
 fwohci0: interrupting at ioapic0 pin 21
 fwohci0: OHCI version 1.10 (ROM=0)
 fwohci0: No. of Isochronous channels is 4.
 fwohci0: EUI64 00:0a:e4:06:05:10:50:37
 fwohci0: Phy 1394a available S400, 2 ports.
 fwohci0: Link S400, max_rec 2048 bytes.
 ieee1394if0 at fwohci0: IEEE1394 bus
 fwip0 at ieee1394if0: IP over IEEE1394
 fwohci0: Initiate bus reset
 vendor 0x104c product 0x8033 (miscellaneous mass storage) at pci2 dev 9 function 3 not configured
 cbb0: osock_ctrl 0x400 sock_ctrl 0x400
 cbb0: wait took 0.040033s
 cbb0: cacheline 0x10 lattimer 0x40
 cbb0: bhlc 0x824010
 cbb0: secondary bus number uninitialized; try PCI_BUS_FIXUP
 cbb0: interrupting at ioapic0 pin 20
 cardslot0 at cbb0
 pcmcia0 at cardslot0
 auixp0 at pci0 dev 20 function 5: vendor 0x1002 product 0x4370 (rev. 0x02)
 auixp0: interrupting at ioapic0 pin 17
 auixp0: soft resetting aclink
 vendor 0x1002 product 0x4378 (modem communications, revision 0x02) at pci0 dev 20 function 6 not configured
 pchb1 at pci0 dev 24 function 0: vendor 0x1022 product 0x1100 (rev. 0x00)
 pchb2 at pci0 dev 24 function 1: vendor 0x1022 product 0x1101 (rev. 0x00)
 pchb3 at pci0 dev 24 function 2: vendor 0x1022 product 0x1102 (rev. 0x00)
 pchb4 at pci0 dev 24 function 3: vendor 0x1022 product 0x1103 (rev. 0x00)
 isa0 at pcib0
 acpicpu0 at cpu0: ACPI CPU
 acpicpu0: C1: HLT, lat   0 us, pow     0 mW
 acpicpu0: C2: I/O, lat  18 us, pow     0 mW
 acpicpu0: C3: I/O, lat  83 us, pow     0 mW
 acpicpu0: P0: FFH, lat 100 us, pow 35000 mW, 2000 MHz
 acpicpu0: P1: FFH, lat 100 us, pow 29200 mW, 1800 MHz
 acpicpu0: P2: FFH, lat 100 us, pow 24200 mW, 1600 MHz
 acpicpu0: P3: FFH, lat 100 us, pow  8400 mW,  800 MHz
 acpicpu0: id 0, lapic id 0, cap 0x0000, flags 0x00042ea3
 fwohci0: BUS reset
 fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
 ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
 ieee1394if0: bus manager 0
 Initializing SSP: 43874904d9e13e84 9de13a8d6d5d35c1 388b64df3f9ce39 eb3259025f304903 e9bf3acf59088a1e eb5e0a3df44d68 fccd7e60b94567ca 6a0b7728f6828260 
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 TSC not known safe on this CPU
 auixp0: ac97: Avance Logic ALC655 codec; no 3D stereo
 auixp0: ac97: ext id 0x9c4<AC97_23,LDAC,SDAC,CDAC,SPDIF>
 auixp0: ac97: Conexant unknown (0x43585423) codec; no 3D stereo
 auixp0: codec spdif support detected but disabled for now
 audio0 at auixp0: full duplex, playback, capture, mmap, independent
 audio1 at auixp0: full duplex, playback, capture, mmap, independent
 acpicpu0: ACPI CPUs started
 acpiec0: command takes over 10 sec...
 ACPI Exception: AE_ERROR, Returned by Handler for [EmbeddedControl] (20110623/evregion-522)
 ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPC0.EC0_.ADP1._PSR] (Node 0xfffffe801bb15ed8), AE_ERROR (20110623/psparse-560)
 acpiacad0: failed to evaluate _PSR: AE_ERROR
 uhub0 at usb0: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 4 ports with 4 removable, self powered
 uhub1 at usb1: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 4 ports with 4 removable, self powered
 uhub2 at usb2: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub2: 8 ports with 8 removable, self powered
 wd0 at atabus0 drive 0
 wd0: <FUJITSU MHV2080AT>
 wd0: drive supports 16-sector PIO transfers, LBA addressing
 wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
 wd0: 32-bit data port
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 wd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
 atapibus0 at atabus1: 2 targets
 cd0 at atapibus0 drive 0: <_NEC DVD_RW ND-6750A, , 2.41> cdrom removable
 cd0: 32-bit data port
 cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
 cd0(ixpide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
 raidattach: Asked for 8 units
 Kernelized RAIDframe activated
 pad: requested 1 units
 pad0: outputs: 44100Hz, 16-bit, stereo
 audio2 at pad0: half duplex, playback, capture
 Searching for RAID components...
 boot device: wd0
 root on wd0a dumps on wd0b
 root file system type: ffs
 uhidev0 at uhub0 port 2 configuration 1 interface 0
 uhidev0: Tsunami product 0x1233, rev 2.00/2.30, addr 2, iclass 3/1
 ukbd0 at uhidev0
 wskbd1 at ukbd0 mux 1
 wskbd1: connecting to wsdisplay0
 uhidev1 at uhub0 port 2 configuration 1 interface 1
 uhidev1: Tsunami product 0x1233, rev 2.00/2.30, addr 2, iclass 3/0
 uhidev1: 2 report ids
 uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
 uhid1 at uhidev1 reportid 2: input=3, output=0, feature=0
 ------=_20120906122023_52408--


From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/46913
Date: Thu, 6 Sep 2012 17:53:13 +0100

 On Thu, Sep 06, 2012 at 10:25:02AM +0000, Marcin Wo?yniak wrote:
 ...
 >  Dmesg output when booted with boot netbsd -x.
 ...
 >  pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
 >  pckbc2 at acpi0 (PS2M, SYN0305) (aux port): irq 12
 ...
 >  pckbdprobe: reset error 60
 >  pckbd0 at pckbc1 (kbd slot)
 >  pckbc1: using irq 1 for kbd slot
 >  wskbd0 at pckbd0: console keyboard
 >  pms0 at pckbc1 (aux slot)
 >  pms0: synaptics_probe: Identify Touchpad error.
 >  pckbc1: using irq 12 for aux slot
 >  wsmouse0 at pms0 mux 0

 I suspect the 'reset error 60' is the start of the problems!
 Not looked to see what it means though.

 	David

 -- 
 David Laight: david@l8s.co.uk

From: =?UTF-8?B?TWFyY2luIFdvxYJ5bmlhaw==?= <marcin.wolyniak@2a.pl>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/46913
Date: Thu, 06 Sep 2012 22:08:53 +0200

 On 06.09.2012 19:05, David Laight wrote:
 > The following reply was made to PR kern/46913; it has been noted by GNATS.
 >
 > From: David Laight <david@l8s.co.uk>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: kern/46913
 > Date: Thu, 6 Sep 2012 17:53:13 +0100
 >
 >   On Thu, Sep 06, 2012 at 10:25:02AM +0000, Marcin Wo?yniak wrote:
 >   ...
 >   >  Dmesg output when booted with boot netbsd -x.
 >   ...
 >   >  pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
 >   >  pckbc2 at acpi0 (PS2M, SYN0305) (aux port): irq 12
 >   ...
 >   >  pckbdprobe: reset error 60
 >   >  pckbd0 at pckbc1 (kbd slot)
 >   >  pckbc1: using irq 1 for kbd slot
 >   >  wskbd0 at pckbd0: console keyboard
 >   >  pms0 at pckbc1 (aux slot)
 >   >  pms0: synaptics_probe: Identify Touchpad error.
 >   >  pckbc1: using irq 12 for aux slot
 >   >  wsmouse0 at pms0 mux 0
 >
 >   I suspect the 'reset error 60' is the start of the problems!
 >   Not looked to see what it means though.
 >
 >   	David
 >
 >   --
 >   David Laight: david@l8s.co.uk
 >
 >
 Thank you for Your reply,
 hmmm I'm an ordinary user, so ".. reset error...." doesn't tell me a 
 lot.... :-(

 If You or somebody else culd investigate the problem or/and tell how can 
 I help in this situation - it will be great. I really like NetBSD and 
 like to run it on this hardware. :-)

 Regards
 Marcin

From: =?UTF-8?B?TWFyY2luIFdvxYJ5bmlhaw==?= <marcin.wolyniak@2a.pl>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/46913
Date: Sat, 29 Sep 2012 07:36:57 +0200

 Hello,
 I ran additional test.
 Tried to run other BSDs on mentioned machine and with OpenBSD 5.1 amd64 
 and FreeBSD 9.1RC1 and 8.3 amd64 builtin keyboard works.

 Regards
 Marcin

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.