[vox-tech] Re: Problem - PS/2 port still live after shutdown
D & E Radel
vox-tech@lists.lugod.org
Thu, 27 Feb 2003 15:51:22 +1300
> Message: 4
> Date: Wed, 26 Feb 2003 12:58:11 -0800
> To: vox-tech@lists.lugod.org
> Subject: Re: [vox-tech] Re: Problem - PS/2 port still live after shutdown
> From: Peter Jay Salzman <p@dirac.org>
> Reply-To: vox-tech@lists.lugod.org
>
> grasping at straws because i have no idea....
>
> * does your motherboard use the amd76 chipset? i noticed a kernel config
> option in char devices "AMD 76x native power management". there's no
> help for it, and offhand i don't know what it does. you might want to
> google for it.
Nope - VIA KM266 main chip. I think everything else is pretty much VIA.
It's a PC Chips M825L running a dual boot with Debian Sid / Win98SE via
eXtended Operating System Loader (www.xosl.org).
> * do you have SMP compiled into your kernel? some power management
> features are turned off when you have SMP compiled in (note: you don't
> need a dual CPU machine to have SMP compiled into your kernel).
>
> * what is the output of "grep -i .config CONFIG_APM" for your kernel's
> .config file?
These are in my .config:
CONFIG_ACPI=y
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUSMGR=y
CONFIG_ACPI_SYS=y
# CONFIG_ACPI_CPU is not set
# CONFIG_ACPI_BUTTON is not set
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_EC is not set
# CONFIG_APM is not set
I have tried enabling both ACPI and APM. Neither has fixed it.
> * after you shut off your machine, are you SURE it's powered off (as
> opposed to sleeping/suspended)?
Same thing happens if I just power off with big button on front of ATX case
(ie hold down for 5 seconds). If I power off at PSU, no problem. However,
Windows 98SE shuts the port off no problem on shutdown. There must be
a software method of doing this. Perhaps a command to add to the halt script?
> * after you shut off your machine, disconnect the mouse and reconnect
> it. does the light stay on? or does it shut off?
Mouse turns off ok if I unplug and then reinsert.
Have I included too much / enough from the last emails in this post?
Regards,
Dietrich
> grasping at straws...
>
> pete
>
>
> begin D & E Radel <radel@inet.net.nz>
> > > Date: Wed, 26 Feb 2003 10:46:33 -0800
> > > To: vox-tech@lists.lugod.org
> > > Subject: Re: [vox-tech] Problem - PS/2 port still live after shutdown
> > > From: Henry House <hajhouse@houseag.com>
> > > Reply-To: vox-tech@lists.lugod.org
> >
> >
> > > On Wed, Feb 26, 2003 at 03:40:49PM +1300, D & E Radel wrote:
> > > [...]
> > >> When Linux shutsdown with halt -p, my pc will turn off,=20
> > >> but Linux won't switch off the power to my PS/2 port. It is=20
> > >> turned on when X starts, but when X shuts down, or the PC=20
> > >> is shut down, the port remains on - and my Optical Mouse=20
> > >> stays on. Light remains glowing, etc.
> > > [...]
> >
> > > Hard to say what the problem is without more information. Would you please
> > > post the output of the 'dmesg' command?
> >
> > Ok thanks. Here it is:
> >
> > Linux version 2.4.20 (root@debian) (gcc version 3.2.3 20030210 (Debian
> > prerelease)) #5 Sun Feb 23 16:19:08 NZDT 2003
> > BIOS-provided physical RAM map:
> > BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
> > BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
> > BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
> > BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
> > BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
> > BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
> > BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
> > BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
> > BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
> > 255MB LOWMEM available.
> > On node 0 totalpages: 65520
> > zone(0): 4096 pages.
> > zone(1): 61424 pages.
> > zone(2): 0 pages.
> > Kernel command line: auto BOOT_IMAGE=Linux ro root=305
> > Initializing CPU#0
> > Detected 1533.427 MHz processor.
> > Console: colour VGA+ 80x25
> > Calibrating delay loop... 3060.53 BogoMIPS
> > Memory: 256676k/262080k available (1394k kernel code, 5016k reserved, 317k
data,
> > 260k init, 0k highmem)
> > Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
> > Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
> > Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
> > Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
> > Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
> > CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> > CPU: L2 Cache: 256K (64 bytes/line)
> > Intel machine check architecture supported.
> > Intel machine check reporting enabled on CPU#0.
> > CPU: After generic, caps: 0383f9ff c1cbf9ff 00000000 00000000
> > CPU: Common caps: 0383f9ff c1cbf9ff 00000000 00000000
> > CPU: AMD Athlon(tm) XP 1800+ stepping 02
> > Enabling fast FPU save and restore... done.
> > Enabling unmasked SIMD FPU exception support... done.
> > Checking 'hlt' instruction... OK.
> > POSIX conformance testing by UNIFIX
> > mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
> > mtrr: detected mtrr type: Intel
> > PCI: PCI BIOS revision 2.10 entry at 0xfdaf1, last bus=1
> > PCI: Using configuration type 1
> > PCI: Probing PCI hardware
> > PCI: Using IRQ router default [1106/3074] at 00:11.0
> > PCI: Hardcoded IRQ 14 for device 00:11.1
> > Linux NET4.0 for Linux 2.4
> > Based upon Swansea University Computer Society NET3.039
> > Initializing RT netlink socket
> > Starting kswapd
> > udf: registering filesystem
> > ACPI: Core Subsystem version [20011018]
> > ACPI: Subsystem enabled
> > Power Resource: found
> > Power Resource: found
> > Power Resource: found
> > Power Resource: found
> > ACPI: System firmware supports S0 S1 S4 S5
> > parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
> > parport0: irq 7 detected
> > pty: 256 Unix98 ptys configured
> > Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
SERIAL_PCI
> > enabled
> > ttyS00 at 0x03f8 (irq = 4) is a 16550A
> > lp0: using parport0 (polling).
> > gameport0: Emu10k1 Gameport at 0xec00 size 8 speed 1217 kHz
> > input0: Microsoft SideWinder GamePad on gameport0.0 [3-bit id 75 data 5]
> > Uniform Multi-Platform E-IDE driver Revision: 6.31
> > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> > VP_IDE: IDE controller on PCI bus 00 dev 89
> > PCI: Hardcoded IRQ 14 for device 00:11.1
> > VP_IDE: chipset revision 6
> > VP_IDE: not 100% native mode: will probe irqs later
> > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> > VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci00:11.1
> > ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
> > ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA
> > hda: WDC WD1200JB-00CRA1, ATA DISK drive
> > hdc: 12X8X32, ATAPI CD/DVD-ROM drive
> > hdd: JLMS DVD-ROM LTD163, ATAPI CD/DVD-ROM drive
> > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> > ide1 at 0x170-0x177,0x376 on irq 15
> > blk: queue c0316f24, I/O limit 4095Mb (mask 0xffffffff)
> > hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=14593/255/63,
UDMA(100)
> > hdc: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
> > Uniform CD-ROM driver Revision: 3.12
> > hdd: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
> > Partition check:
> > hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 >
> > Floppy drive(s): fd0 is 1.44M
> > FDC 0 is a post-1991 82077
> > PPP generic driver version 2.4.2
> > PPP Deflate Compression module registered
> > PPP BSD Compression module registered
> > Linux agpgart interface v0.99 (c) Jeff Hartmann
> > agpgart: Maximum main memory to use for agp memory: 203M
> > agpgart: unsupported bridge
> > agpgart: no supported devices found.
> > Creative EMU10K1 PCI Audio Driver, version 0.20, 21:28:56 Feb 22 2003
> > emu10k1: EMU10K1 rev 6 model 0x8027 found, IO at 0xe800-0xe81f, IRQ 11
> > ac97_codec: AC97 Audio codec, id: f"v9(SigmaTel STAC9721/23)
> > NET4: Linux TCP/IP 1.0 for NET4.0
> > IP Protocols: ICMP, UDP, TCP, IGMP
> > IP: routing cache hash table of 2048 buckets, 16Kbytes
> > TCP: Hash tables configured (established 16384 bind 32768)
> > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> > VFS: Mounted root (ext2 filesystem) readonly.
> > Freeing unused kernel memory: 260k freed
> > Adding Swap: 514040k swap-space (priority -1)
> > ptserial.o init. country_code = 0
> > AC97 modem device found: devnum = 80008E00, devid = 1106/3068
> > irq = 5, iobase_0 = E000, iobase_1 = 0
> > Serial driver version 4.27.215 (MR) (09-14-2001) with MANY_PORTS SHARE_IRQ
> > SERIAL_PCI enabled
> > ttyS15 at 0xe000 (irq = 5) is a 16C950/954
> > assign pctel_interrupt
> > Trying to free nonexistent resource <0000e000-0000e007>
> > freeing IRQ(5)
> > assign pctel_interrupt
> > freeing IRQ(5)
> >