Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2001 01:30:05 +0900 (JST)
From:      Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
To:        yokota@zodiac.mech.utsunomiya-u.ac.jp
Cc:        current@freebsd.org, acpi-jp@jp.freebsd.org
Subject:   Re: ACPI, PS/2 and USB (was: Re: ThinkPad, ACPI, and PS/2 mouse)
Message-ID:  <20010918.013005.74756527.iwasaki@jp.FreeBSD.org>
In-Reply-To: <200109170630.PAA17762@zodiac.mech.utsunomiya-u.ac.jp>
References:  <20010915.234817.92590934.iwasaki@jp.FreeBSD.org> <20010917.020321.74756726.iwasaki@jp.FreeBSD.org> <200109170630.PAA17762@zodiac.mech.utsunomiya-u.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
> >This is not a ThinkPad, but FIVA 206VL (PS/2 mouse PnP ID = 0x130fd041;
> >normal one), the psm is no longer recognized if USB is not compiled (or
> >USB module is not loaded at loader).
> 
> I have never heard of this type of error before!

Me too!  I was surprised when I noticed this.

> I cannot think of a reason why the presence or absence of the usb
> module affects the behavior of the motherboard keyboard
> controller...
> 
> I must say this is the most arcane error.

Yes, very odd.  But I think I was lucky to find a workaround...

> Ok, this is strictly the psm and usb modules' problem, then.
> 
> Do you remember when your PS/2 mouse was detected correctly without
> the usb module?

I'm not sure, but I think I used compile USB stuff in my kernel all
the time.  Then I noticed this strange behavior when I tried to remove
USB stuff from kernel config.

BTW, I've found that this appear on 4-STABLE too.  I attached dmesg diffs.

And I heard that some Acer Labs Inc. PCI South Bridge chips has
support for integrated controllers including USB and PS/2.
Perhaps Ali specific problem?
# If so, is anyone already working on this?
The following is pciconf -lv output on this laptop (FIVA 206VL).

Thanks

hostb0@pci0:0:0:	class=0x060000 card=0x02951279 chip=0x03951279 rev=0x00 hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'LongRun Northbridge'
    class    = bridge
    subclass = HOST-PCI
none0@pci0:0:1:	class=0x050000 card=0x02951279 chip=0x03961279 rev=0x00 hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'SDRAM Controller'
    class    = memory
    subclass = RAM
none1@pci0:0:2:	class=0x050000 card=0x02951279 chip=0x03971279 rev=0x00 hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'BIOS scratchpad'
    class    = memory
    subclass = RAM
pcm0@pci0:4:0:	class=0x040100 card=0x01001265 chip=0x545110b9 rev=0x01 hdr=0x00
    vendor   = 'Acer Labs Inc.'
    device   = 'ALI M5451 PCI AC-Link Controller Audio Device'
    class    = multimedia
    subclass = audio
isab0@pci0:7:0:	class=0x060100 card=0x153310b9 chip=0x153310b9 rev=0x00 hdr=0x00
    vendor   = 'Acer Labs Inc.'
    device   = 'M1533 PCI South Bridge'
    class    = bridge
    subclass = PCI-ISA
none2@pci0:9:0:	class=0x030000 card=0x0712126f chip=0x0712126f rev=0xa0 hdr=0x00
    vendor   = 'Silicon Motion'
    device   = 'SM712 LynxEM+'
    class    = display
    subclass = VGA
pcic0@pci0:10:0:	class=0x060700 card=0x00000000 chip=0xac51104c rev=0x00 hdr=0x02
    vendor   = 'Texas Instruments'
    device   = 'PCI1420 PC card Cardbus Controller'
    class    = bridge
    subclass = PCI-CardBus
pcic1@pci0:10:1:	class=0x060700 card=0x00000000 chip=0xac51104c rev=0x00 hdr=0x02
    vendor   = 'Texas Instruments'
    device   = 'PCI1420 PC card Cardbus Controller'
    class    = bridge
    subclass = PCI-CardBus
none3@pci0:11:0:	class=0x0c0010 card=0x8011104c chip=0x8020104c rev=0x00 hdr=0x00
    vendor   = 'Texas Instruments'
    device   = 'OHCI Compliant FireWire Controller'
    class    = serial bus
    subclass = FireWire
rl0@pci0:12:0:	class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00
    vendor   = 'Realtek Semiconductor'
    device   = 'RT8139 (A/B/C/8130) Fast Ethernet Adapter'
    class    = network
    subclass = ethernet
atapci0@pci0:15:0:	class=0x0101a4 card=0x00000000 chip=0x522910b9 rev=0xc3 hdr=0x00
    vendor   = 'Acer Labs Inc.'
    device   = 'M1543 Southbridge EIDE Controller'
    class    = mass storage
    subclass = ATA
none4@pci0:17:0:	class=0x068000 card=0x00000000 chip=0x710110b9 rev=0x00 hdr=0x00
    vendor   = 'Acer Labs Inc.'
    device   = 'M7101 Power Management Controller'
    class    = bridge
    subclass = PCI-unknown
ohci0@pci0:20:0:	class=0x0c0310 card=0x00000000 chip=0x523710b9 rev=0x03 hdr=0x00
    vendor   = 'Acer Labs Inc.'
    device   = 'ALI M5237 USB Host Controller'
    class    = serial bus
    subclass = USB


--- dmesg-4-nousb	Mon Sep 17 22:41:14 2001
+++ dmesg-4-usb	Mon Sep 17 22:41:14 2001
@@ -1,12 +1,12 @@
 Copyright (c) 1992-2001 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
-FreeBSD 4.4-STABLE #3: Mon Sep 17 18:16:17 JST 2001
-    root@fivavl:/usr/STABLE/src/sys/compile/FIVA
-Calibrating clock(s) ... TSC clock: 597298266 Hz, i8254 clock: 1360243 Hz
-1360243 Hz differs from default of 1193182 Hz by more than 1%
+FreeBSD 4.4-STABLE #4: Mon Sep 17 18:43:25 JST 2001
+    iwasaki@fivavl:/usr/STABLE/src/sys/compile/FIVA
+Calibrating clock(s) ... TSC clock: 597300672 Hz, i8254 clock: 1276722 Hz
+1276722 Hz differs from default of 1193182 Hz by more than 1%
 Timecounter "i8254"  frequency 1193182 Hz
-CPU: Transmeta(tm) Crusoe(tm) Processor TM5600 (573.41-MHz 586-class CPU)
+CPU: Transmeta(tm) Crusoe(tm) Processor TM5600 (597.30-MHz 586-class CPU)
   Origin = "GenuineTMx86"  Id = 0x543
   Processor revision 1.3.1.2
   Code Morphing Software revision 4.1.7-7-154
@@ -15,8 +15,8 @@
 real memory  = 251592704 (245696K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009afff, 630784 bytes (154 pages)
-0x004b7000 - 0x0efe7fff, 246616064 bytes (60209 pages)
-avail memory = 240250880 (234620K bytes)
+0x004e1000 - 0x0efe7fff, 246444032 bytes (60167 pages)
+avail memory = 240078848 (234452K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00f82a0
 bios32: Entry = 0xfd770 (c00fd770)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0x11e
@@ -24,7 +24,7 @@
 pnpbios: Entry = f0000:a965  Rev = 1.0
 Other BIOS signatures found:
 ACPI: 000f82d0
-Preloaded elf kernel "/kernel4" at 0xc0491000.
+Preloaded elf kernel "/kernel4-usb" at 0xc04bb000.
 longrun0: Transmeta Crusoe series CPU power management interface
 md0: Malloc disk
 Creating DISK md0
@@ -37,8 +37,8 @@
 apm: found APM BIOS v1.2, connected at v1.2
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
-i586_bzero() bandwidth = 154679040 bytes/sec
-bzero() bandwidth = 343760742 bytes/sec
+i586_bzero() bandwidth = 154583397 bytes/sec
+bzero() bandwidth = 342583076 bytes/sec
 pcib0: <Host to PCI bridge> on motherboard
 found->	vendor=0x1279, dev=0x0395, revid=0x00
 	class=06-00-00, hdrtype=0x00, mfdev=1
@@ -110,11 +110,11 @@
 pcm0: ac97 codec id 0x41445348 (Analog Devices AD1881A)
 pcm0: ac97 codec features headphone, 6 bit master volume, Analog Devices Phat Stereo
 pcm0: ac97 primary codec extended features variable rate PCM
-pcm: setmap e914000, 1000; 0xc1100000 -> e914000
-pcm: setmap e937000, 1000; 0xc1103000 -> e937000
-pcm: setmap e939000, 1000; 0xc1105000 -> e939000
-pcm: setmap e93c000, 1000; 0xc1108000 -> e93c000
+pcm: setmap e916000, 1000; 0xc1102000 -> e916000
+pcm: setmap e919000, 1000; 0xc1105000 -> e919000
+pcm: setmap e93b000, 1000; 0xc1107000 -> e93b000
 pcm: setmap e91e000, 1000; 0xc110a000 -> e91e000
+pcm: setmap e940000, 1000; 0xc110c000 -> e940000
 isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 pci0: <VGA-compatible display device> (vendor=0x126f, dev=0x0712) at 9.0 irq 9
@@ -147,7 +147,14 @@
 ata1: mask=00 status0=ff status1=ff
 ata1: probe allocation failed
 chip1: <AcerLabs M15x3 Power Management Unit> at device 17.0 on pci0
-pci0: <AcerLabs M5237 (Aladdin-V) USB controller> (vendor=0x10b9, dev=0x5237) at 20.0 irq 11
+ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xd0000-0xd0fff irq 11 at device 20.0 on pci0
+	using shared irq11.
+usb0: OHCI version 1.0, legacy support
+usb0: SMM does not respond, resetting
+usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
+usb0: USB revision 1.0
+uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
+uhub0: 2 ports with 2 removable, self powered
 ata-: ata0 exists, using next available unit number
 ata-: ata1 exists, using next available unit number
 pcic-: pcic0 exists, using next available unit number
@@ -201,7 +208,10 @@
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
 psm0: current command byte:0047
-psm0: the aux port is not functioning (-1).
+psm0: <PS/2 Mouse> irq 12 on atkbdc0
+psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
+psm0: config:00000000, flags:00000000, packet size:3
+psm0: syncmask:c0, syncbits:00
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 fb0: vga0, vga, type:VGA (5), flags:0x7007f
 fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
@@ -245,11 +255,11 @@
  0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
  0 accounted for
 Device configuration finished.
+bpf: lo0 attached
 bpf: ppp0 attached
-new masks: bio 684000, tty 630412, net 670c12
+new masks: bio 684800, tty 631412, net 671c12
 bpf: sl0 attached
 bpf: faith0 attached
-bpf: lo0 attached
 ata0-master: success setting UDMA2 on Acer chip
 Creating DISK ad0
 ad0: <IC25N030ATDA04-0/DA4OA70A> ATA-5 disk at ata0-master


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010918.013005.74756527.iwasaki>