Subject: port-i386/22183: Touchpad mouse fails on Sony PCG-GRX690 laptop
To: None <gnats-bugs@gnats.netbsd.org>
From: Ed Gould <ed@left.wing.org>
List: netbsd-bugs
Date: 07/18/2003 10:40:09
>Number:         22183
>Category:       port-i386
>Synopsis:       Touchpad mouse fails on Sony PCG-GRX690 laptop
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 18 17:41:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ed Gould
>Release:        NetBSD 1.6U
>Organization:
>Environment:
System: NetBSD callebaut.wing.org 1.6U NetBSD 1.6U (CALLEBAUT) #8: Thu Jul 17 16:15:33 PDT 2003 ed@callebaut.wing.org:/usr/src/current/src/sys/arch/i386/compile/CALLEBAUT i386
Architecture: i386
Machine: i386
>Description:
	When running X Windows (specifically xdm), no mouse input
	is recognized from the touchpad.  To do anything useful
	with this hardware, it must use ACPI; hence that is compiled
	in to the lernel.  The dmesg,boot file and error messages
	relating to mouse usage follow.

	Note the line

	    pckbc1: unable to establish interrupt for aux slot

	in the dmesg.

----------- /var/run/dmesg.boot ---------

NetBSD 1.6U (CALLEBAUT) #8: Thu Jul 17 16:15:33 PDT 2003
	ed@callebaut.wing.org:/usr/src/current/src/sys/arch/i386/compile/CALLEBAUT
total memory = 511 MB
avail memory = 469 MB
using 6144 buffers containing 26268 KB of memory
BIOS32 rev. 0 found at 0xfd890
PCI BIOS rev. 2.1 found at 0xfd9ca
pcibios: config mechanism [1][x], special cycles [x][x], last bus 2
PCI IRQ Routing Table rev. 1.0 found at 0xfdf50, size 144 bytes (7 entries)
PCI Interrupt Router at 000:31:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
PIR Entry 0:
	Bus: 0  Device: 30
		INTA: link 0x00 bitmap 0xdef8
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 1:
	Bus: 2  Device: 5
		INTA: link 0x69 bitmap 0x0008
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 2:
	Bus: 2  Device: 8
		INTA: link 0x68 bitmap 0x0200
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 3:
	Bus: 0  Device: 0
		INTA: link 0x00 bitmap 0xdef8
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 4:
	Bus: 0  Device: 31
		INTA: link 0x00 bitmap 0xdef8
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 5:
	Bus: 0  Device: 29
		INTA: link 0x60 bitmap 0x0200
		INTB: link 0x63 bitmap 0x0200
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 6:
	Bus: 0  Device: 1
		INTA: link 0x60 bitmap 0x0200
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
pciintr_link_fixup: PIRQ 0x00 already connected to IRQ 9
pciintr_link_fixup: PIRQ 0x01 not connected, assigning IRQ 9
pciintr_link_fixup: PIRQ 0x02 not connected, assigning IRQ 3
pciintr_link_fixup: PIRQ 0x03 already connected to IRQ 9
pciintr_link_route: route of PIRQ 0x00 -> IRQ 9 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x03 -> IRQ 9 preserved BIOS setting
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:29:0 0x8086 0x2482   A  0x00   9  0    already assigned
000:29:1 0x8086 0x2484   B  0x03   9  0    already assigned
002:05:0 0x1180 0x0476   A  0x02   3  1    already assigned
002:08:0 0x8086 0x1031   A  0x01   9  1    already assigned
------------------------------------------
PCI fixup examining 8086:1a30
PCI fixup examining 8086:1a31
PCI fixup examining 1002:4c57
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 8086:2482
PCI fixup examining 8086:2484
PCI fixup examining 8086:2487
PCI fixup examining 8086:2448
PCI fixup examining 1180:476
PCI bridge 2: primary 2, secondary 3, subordinate 3
PCI fixup examining 1180:476
PCI bridge 3: primary 2, secondary 4, subordinate 4
PCI fixup examining 1180:552
PCI fixup examining 8086:1031
PCI bridge 1: primary 0, secondary 2, subordinate 4
PCI fixup examining 8086:248c
PCI fixup examining 8086:248a
PCI fixup examining 8086:2483
PCI fixup examining 8086:2485
PCI fixup examining 8086:2486
PCI bus #4 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x1a30 
	10h mem  0xec000000 0x04000000
		[OK]
000:01:0 0x8086 0x1a31 
		[OK]
000:29:0 0x8086 0x2482 
	20h port 0x00001800 0x00000020
		[OK]
000:29:1 0x8086 0x2484 
	20h port 0x00001820 0x00000020
		[OK]
000:29:2 0x8086 0x2487 
	20h port 0x00001840 0x00000020
		[OK]
000:30:0 0x8086 0x2448 
		[OK]
000:31:0 0x8086 0x248c 
		[OK]
000:31:1 0x8086 0x248a 
	10h port 0x000001f0 0x00000008
	14h port 0x000003f4 0x00000004
	18h port 0x00000170 0x00000008
	1ch port 0x00000374 0x00000004
	20h port 0x00001860 0x00000010
	24h mem  0xe8000000 0x00000400
		[OK]
000:31:3 0x8086 0x2483 
	20h port 0x00001880 0x00000020
		[OK]
000:31:5 0x8086 0x2485 
	10h port 0x00001c00 0x00000100
	14h port 0x000018c0 0x00000040
		[OK]
000:31:6 0x8086 0x2486 
	10h port 0x00002400 0x00000100
	14h port 0x00002000 0x00000080
		[OK]
001:00:0 0x1002 0x4c57 
	10h mem  0xf0000000 0x08000000
	14h port 0x00003000 0x00000100
	18h mem  0xe8100000 0x00010000
		[OK]
002:05:0 0x1180 0x0476 
	10h mem  0x00000000 0x00001000
		[NG]
002:05:1 0x1180 0x0476 
	10h mem  0x00000000 0x00001000
		[NG]
002:05:2 0x1180 0x0552 
	10h mem  0xe8201000 0x00000800
		[OK]
002:08:0 0x8086 0x1031 
	10h mem  0xe8200000 0x00001000
	14h port 0x00004000 0x00000040
		[OK]
--------------------------[  2 devices bogus]
 Physical memory end: 0x1ff70000
 PCI memory mapped I/O space start: 0x20000000
[PCIBIOS fixup stage]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x1a30 
	10h mem  0xec000000 0x04000000
		[OK]
000:01:0 0x8086 0x1a31 
		[OK]
000:29:0 0x8086 0x2482 
	20h port 0x00001800 0x00000020
		[OK]
000:29:1 0x8086 0x2484 
	20h port 0x00001820 0x00000020
		[OK]
000:29:2 0x8086 0x2487 
	20h port 0x00001840 0x00000020
		[OK]
000:30:0 0x8086 0x2448 
		[OK]
000:31:0 0x8086 0x248c 
		[OK]
000:31:1 0x8086 0x248a 
	10h port 0x000001f0 0x00000008
	14h port 0x000003f4 0x00000004
	18h port 0x00000170 0x00000008
	1ch port 0x00000374 0x00000004
	20h port 0x00001860 0x00000010
	24h mem  0xe8000000 0x00000400
		[OK]
000:31:3 0x8086 0x2483 
	20h port 0x00001880 0x00000020
		[OK]
000:31:5 0x8086 0x2485 
	10h port 0x00001c00 0x00000100
	14h port 0x000018c0 0x00000040
		[OK]
000:31:6 0x8086 0x2486 
	10h port 0x00002400 0x00000100
	14h port 0x00002000 0x00000080
		[OK]
001:00:0 0x1002 0x4c57 
	10h mem  0xf0000000 0x08000000
	14h port 0x00003000 0x00000100
	18h mem  0xe8100000 0x00010000
		[OK]
002:05:0 0x1180 0x0476 
	10h mem  0x20000000 0x00001000
		[OK]
002:05:1 0x1180 0x0476 
	10h mem  0x20001000 0x00001000
		[OK]
002:05:2 0x1180 0x0552 
	10h mem  0xe8201000 0x00000800
		[OK]
002:08:0 0x8086 0x1031 
	10h mem  0xe8200000 0x00001000
	14h port 0x00004000 0x00000040
		[OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium 4 (686-class), 1988.65 MHz, id 0xf27
cpu0: features bfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features bfebf9ff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebf9ff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
cpu0: L2 cache 512 KB 64b/line 8-way
cpu0: ITLB 4K/4M: 128 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: 16 page colors
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20030228
acpi0: X/RSDT: OemId <  SONY,      B0,20020801>, AslId <PTL ,00000000>
acpi0: SCI interrupting at int 9
    ACPI-0353: *** Error: Could not install PciConfig handler for PCI0, AE_ALREADY_EXISTS
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
PNP0A03 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0200 at acpi0 not configured
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: using exception 16
PNP0000 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0100 at acpi0 not configured
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
SNY9003 at acpi0 not configured
acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpibat1 at acpi0 (PNP0C0A-2): ACPI Battery (Control Method)
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
com0 at acpi0 (PNP0501)
com0: io 0x3f8-0x3ff irq 4
com0: ns16550a, working fifo
lpt0 at acpi0 (PNP0401)
lpt0: io 0x378-0x37f,0x778-0x77f irq 7 drq 3
spic0 at acpi0 (SNY6001): Sony Programmable I/O Controller
spic0: io 0x1080-0x109f irq 11
wsmouse0 at spic0 mux 0
SNY5001 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: unable to establish interrupt for aux slot
wsmouse1 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
pchb0: Intel 82845 Host (rev. 0x04)
pchb0: random number generator enabled
agp0 at pchb0: aperture at 0xec000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82845 AGP (rev. 0x04)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies Radeon Mobility M7 LW (AGP) (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
uhci0 at pci0 dev 29 function 0: Intel 82801CA/CAM USB Controller (rev. 0x02)
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801CA/CAM USB Controller (rev. 0x02)
uhci1: interrupting at irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801CA/CAM USB Controller (rev. 0x02)
uhci2: interrupting at irq 9
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ppb1 at pci0 dev 30 function 0: Intel 82801BAM Hub-to-PCI Bridge (rev. 0x42)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
cbb0 at pci2 dev 5 function 0: Ricoh 5C476 PCI-CardBus bridge (rev. 0xa8)
cbb1 at pci2 dev 5 function 1: Ricoh 5C476 PCI-CardBus bridge (rev. 0xa8)
Ricoh 5C552 PCI-CardBus bridge/Firewire (Firewire serial bus, interface 0x10) at pci2 dev 5 function 2 not configured
fxp0 at pci2 dev 8 function 0: Intel PRO/100 VE Network Controller, rev 66
fxp0: interrupting at irq 9
fxp0: Ethernet address 08:00:46:7a:15:89
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cbb0: interrupting at irq 9
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 9
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0
pcmcia1 at cardslot1
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801CAM LPC Interface (rev. 0x02)
pciide0 at pci0 dev 31 function 1: Intel 82801CA IDE Controller (ICH3) (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <HITACHI_DK23EA-60>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 57231 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 117210240 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-R6012, , 1S31> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
Intel 82801CA/CAM SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5: i82801CA (ICH3) AC-97 Audio
auich0: interrupting at irq 9
auich0: Yamaha YMF753-S codec; 18 bit DAC, no 3D stereo
auich0: S/PDIF
audio0 at auich0: full duplex, independent
Intel 82801CA/CAM Modem (modem communications, revision 0x02) at pci0 dev 31 function 6 not configured
isa0 at pcib0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
WARNING: Callback scheduled before sysmon task queue thread present.
Kernelized RAIDframe activated
wi0 at pcmcia0 function 0: Lucent Technologies, WaveLAN/IEEE, Version 01.01
wi0: 802.11 address 00:02:2d:4f:c5:13
wi0: using Sony WaveLAN/IEEE
wi0: Lucent Firmware: Station (6.16.1)
wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
umass0 at uhub2 port 1 configuration 1 interface 0
umass0: Sony USB Memory Stick Slot, rev 1.10/1.09, addr 2
umass0: using UFI over CBI
atapibus1 at umass0 channel 0: 2 targets
sd0 at atapibus1 drive 0: <Sony, MSC-U03, 1.00> disk removable
sd0: drive offline
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

----------- Additional dmesg entries when xdm is started ----------

pckbc: command timeout
pms_enable: command error 35
pckbc: command timeout
pms_enable: using no scroll wheel (3 buttons) protocol
pckbc: command timeout
pms_disable: command error
pckbc: command timeout
pms_enable: command error 35
pms_enable: using no scroll wheel (3 buttons) protocol

----------- Additional dmesg entries when xdm is stopped ----------

pckbc: command timeout
pms_disable: command error


>How-To-Repeat:
	Run xdm, try to move the cursor via the touchpad.

>Fix:
	unknown
>Release-Note:
>Audit-Trail:
>Unformatted:
 	-current as of Thu Jul 17 11:55:36 PDT 2003