Re: ACPI, PS/2 and USB (was: Re: ThinkPad, ACPI, and PS/2 mouse)
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=0x06 card=0x02951279 chip=0x03951279 rev=0x00 hdr=0x00 vendor = 'Transmeta Corp.' device = 'LongRun Northbridge' class= bridge subclass = HOST-PCI none0@pci0:0:1: class=0x05 card=0x02951279 chip=0x03961279 rev=0x00 hdr=0x00 vendor = 'Transmeta Corp.' device = 'SDRAM Controller' class= memory subclass = RAM none1@pci0:0:2: class=0x05 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=0x03 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=0x 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=0x 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=0x02 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=0x 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=0x 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=0x 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
Re: ThinkPad, ACPI, and PS/2 mouse
Hi, I've just noticed strange behavior of psm probing (w/ and w/o acpi). It now appears that some IBM ThinkPad models assign a distinct PnP ID to the PS/2 mouse port. If you have ThinkPad and its pointing device is not recognized when ACPI is loaded in the latest -current system, please do the following 1. Disable ACPI and boot unset acpi_load boot -v 2. Send the entire dmesg output to me. Don't forget to tell me the model name of your ThinkPad too. ThinkPad models currently known to have this behavior: model PnP ID for the PS/2 mouse port ThinkPad 570E IBM3780 I also have a ThinkPad i1620 (PS/2 mouse PnP ID = 0x80374d24) here and now that the mouse is recognized correctly with ACPI module by your last commit. 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). Here is difference between dmesgs of kernel w/o and w/ usb module. --- dmesg-nousb Mon Sep 17 01:24:17 2001 +++ dmesg-usb Mon Sep 17 01:26:47 2001 @@ -3,7 +3,7 @@ The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #52: Mon Sep 17 01:16:21 JST 2001 root@fivavl:/usr/obj/usr/CURRENT/src/sys/FIVA -Calibrating clock(s) ... TSC clock: 597277464 Hz, i8254 clock: 1193158 Hz +Calibrating clock(s) ... TSC clock: 597277748 Hz, i8254 clock: 1193162 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter i8254 frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method @@ -16,16 +16,17 @@ real memory = 251592704 (245696K bytes) Physical memory chunk(s): 0x1000 - 0x0009afff, 630784 bytes (154 pages) -0x0049f000 - 0x0efe7fff, 246714368 bytes (60233 pages) -avail memory = 240271360 (234640K bytes) +0x004be000 - 0x0efe7fff, 246587392 bytes (60202 pages) +avail memory = 240144384 (234516K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f82a0 bios32: Entry = 0xfd770 (c00fd770) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd770+0x11e pnpbios: Found PnP BIOS data at 0xc00f82f0 pnpbios: Entry = f:a965 Rev = 1.0 Other BIOS signatures found: -Preloaded elf kernel /boot/kernel/kernel at 0xc0478000. -Preloaded elf module /boot/kernel/logo_saver.ko at 0xc04780b4. +Preloaded elf kernel /boot/kernel/kernel at 0xc0497000. +Preloaded elf module /boot/kernel/logo_saver.ko at 0xc04970b4. +Preloaded elf module /boot/kernel/usb.ko at 0xc0497164. null: null device, zero device mem: memory I/O random: entropy source @@ -117,11 +118,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 50e000, 1000; 0xc15fa000 - 50e000 -pcm: setmap 4f1000, 1000; 0xc15fd000 - 4f1000 -pcm: setmap 4f3000, 1000; 0xc15ff000 - 4f3000 -pcm: setmap 4d5000, 1000; 0xc1601000 - 4d5000 -pcm: setmap 4d7000, 1000; 0xc1603000 - 4d7000 +pcm: setmap 514000, 1000; 0xc160 - 514000 +pcm: setmap 4f7000, 1000; 0xc1603000 - 4f7000 +pcm: setmap 4f9000, 1000; 0xc1605000 - 4f9000 +pcm: setmap 51b000, 1000; 0xc1607000 - 51b000 +pcm: setmap 51d000, 1000; 0xc1609000 - 51d000 isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 pci0: display, VGA at device 9.0 (no driver attached) @@ -285,7 +286,13 @@ ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1808 ata1: at 0x170 irq 15 on atapci0 pci0: bridge, PCI-unknown at device 17.0 (no driver attached) -pci0: serial bus, USB at device 20.0 (no driver attached) +ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem 0xd-0xd0fff irq 11 at +device 20.0 on pci0 +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 ex_isa_identify() ata-: ata0 already exists, using ata2 instead ata-: ata1 already exists, using ata3 instead @@ -370,7 +377,10 @@ kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d atkbd1: unable to allocate IRQ 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:, flags:, packet size:3 +psm0: syncmask:c0, syncbits:00 bt0 failed to probe on isa0 cs0 failed to probe at port 0x300 on isa0 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 @@ -430,10 +440,8 @@ unknown: PNP0800 failed to probe at port 0x61 on isa0 unknown: PNP0c02 can't assign resources unknown: PNP0c02 at iomem 0xd8000-0xdbfff on isa0 -psmcpnp0: PS/2 mouse port at irq 12 on isa0 -atkbd1: unable to allocate IRQ -psm0:
ACPI, PS/2 and USB (was: Re: ThinkPad, ACPI, and PS/2 mouse)
Hi, I've just noticed strange behavior of psm probing (w/ and w/o acpi). [...] 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! Here is difference between dmesgs of kernel w/o and w/ usb module. [...] @@ -370,7 +377,10 @@ kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d atkbd1: unable to allocate IRQ 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:, flags:, packet size:3 +psm0: syncmask:c0, syncbits:00 bt0 failed to probe on isa0 cs0 failed to probe at port 0x300 on isa0 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 @@ -430,10 +440,8 @@ unknown: PNP0800 failed to probe at port 0x61 on isa0 unknown: PNP0c02 can't assign resources unknown: PNP0c02 at iomem 0xd8000-0xdbfff on isa0 -psmcpnp0: PS/2 mouse port at irq 12 on isa0 -atkbd1: unable to allocate IRQ -psm0: current command byte:0047 -psm0: the aux port is not functioning (-1). This means that the keyboard controller on the motherboard didn't respond when it was asked to test the aux (PS/2 mouse) port. You usually see this error when your system does not have the PS/2 mouse port... 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. +unknown: PNP0f13 can't assign resources +unknown: PNP0f13 at irq 12 on isa0 fdc1: cannot reserve I/O port range (1 ports) unknown: PC standard floppy disk controller failed to probe on isa0 BIOS Geometries: [...] I tried to load acpi module too, but it seems acpi doesn't affect psm probing on this machine. In summary; with USBwithout USB ---+---+- with ACPI OK NG without ACPI OK NG 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? Kazu I enclosed dmesg -v output of kernel w/o usb and acpi. Thanks To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: ThinkPad, ACPI, and PS/2 mouse
Hi, yokota-san thank you very much. It now appears that some IBM ThinkPad models assign a distinct PnP ID to the PS/2 mouse port. If you have ThinkPad and its pointing device is not recognized when ACPI is loaded in the latest -current system, please do the following 1. Disable ACPI and boot unset acpi_load boot -v 2. Send the entire dmesg output to me. Don't forget to tell me the model name of your ThinkPad too. ThinkPad models currently known to have this behavior: model PnP ID for the PS/2 mouse port ThinkPad 570E IBM3780 I also have a ThinkPad i1620 (PS/2 mouse PnP ID = 0x80374d24) here and now that the mouse is recognized correctly with ACPI module by your last commit. Thanks again To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: ThinkPad, ACPI, and PS/2 mouse
On Tue, Sep 11, 2001 at 12:36:54PM +0900, Kazutaka YOKOTA wrote: It now appears that some IBM ThinkPad models assign a distinct PnP ID to the PS/2 mouse port. I don't have an IBM ThinkPad, but my ps/2 mouse no longer works with a current as of yesterday. If you have ThinkPad and its pointing device is not recognized when ACPI is loaded in the latest -current system, please do the following 1. Disable ACPI and boot unset acpi_load boot -v 2. Send the entire dmesg output to me. Don't forget to tell me the model name of your ThinkPad too. ThinkPad models currently known to have this behavior: -- David W. Chapman Jr. [EMAIL PROTECTED] Raintree Network Services, Inc. www.inethouston.net [EMAIL PROTECTED] FreeBSD Committer www.FreeBSD.org To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
ThinkPad, ACPI, and PS/2 mouse
It now appears that some IBM ThinkPad models assign a distinct PnP ID to the PS/2 mouse port. If you have ThinkPad and its pointing device is not recognized when ACPI is loaded in the latest -current system, please do the following 1. Disable ACPI and boot unset acpi_load boot -v 2. Send the entire dmesg output to me. Don't forget to tell me the model name of your ThinkPad too. ThinkPad models currently known to have this behavior: model PnP ID for the PS/2 mouse port ThinkPad 570E IBM3780 Thanks Kazu To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message