APM and unwelcome messages

John Summerfield (summer@os2.ami.com.au)
Sun, 9 Aug 1998 20:00:33 +0800 (WST)


I have hundreds of these:
apm_bios: set display standby: Unrecognized device ID
apm_bios: set display ready: Unrecognized device ID
apm_bios: set display standby: Unrecognized device ID
apm_bios: set display ready: Unrecognized device ID
apm_bios: set display standby: Unrecognized device ID
apm_bios: set display ready: Unrecognized device ID
apm_bios: set display standby: Unrecognized device ID
apm_bios: set display ready: Unrecognized device ID
apm_bios: set display standby: Unrecognized device ID
apm_bios: set display ready: Unrecognized device ID
apm_bios: set display ready: Unrecognized device ID
apm_bios: set display ready: Unrecognized device ID
apm_bios: set display ready: Unrecognized device ID
apm_bios: set display ready: Unrecognized device ID
apm_bios: set display ready: Unrecognized device ID
apm_bios: set display ready: Unrecognized device ID

I've been scouting around the source (kernel 2.0.34 GA, not the RH
imitation), found where they come from. Got lost about where it calls the
BIOS.

I've turned on DPMS support in XFree86-3.3.2-13. Screen blanks nicely,
turns off. Turns on when required.

SVGA adaptor is Diamond Stealth Trio 64. Custom-compiled kernel with APM
support turned on.

Here are the APM bits from .config
CONFIG_APM=y
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y

Here are the boot-time messages (/var/log/dmesg):
[summer@emu log]$ cat dmesg
Console: 8 point font, 480 scans
Console: colour VGA+ 80x60, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fb0c0
pcibios_init : BIOS32 Service Directory entry at 0xfb560
pcibios_init : PCI BIOS revision 2.10 entry at 0xfb590
Probing PCI hardware.
Calibrating delay loop.. ok - 53.04 BogoMIPS
Memory: 95440k/98304k available (796k kernel code, 384k reserved, 1684k
data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Intel Pentium with F0 0F bug - workaround enabled.
alias mapping IDT readonly ... ... done
Linux version 2.0.34 (root@emu.my.ami.com.au) (gcc version 2.7.2.3) #4 Thu
Jun 11 18:26:37 WST 1998
Starting kswapd v 1.4.2.2
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
lp1 at 0x0378, (polling)
PS/2 auxiliary pointing device detected -- driver installed.
APM BIOS version 1.1 Flags 0x07 (Driver version 1.2)
Entry f000:80d8 cseg16 f000 dseg fdfc cseg len eff5, dseg len a0
Connection version 1.1
AC on line, battery status unknown, battery life unknown
battery flag 0x80, battery life 0 seconds
Real Time Clock Driver v1.09
ide: i82371 PIIX (Triton) on PCI bus 0 function 57
ide0: BM-DMA at 0x3000-0x3007
ide1: BM-DMA at 0x3008-0x300f
hda: ST31270A, 1223MB w/256kB Cache, CHS=621/64/63
hdb: WDC AC32100H, 2014MB w/128kB Cache, CHS=1023/64/63, DMA
hdd: , ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
(scsi0) <Adaptec AHA-294X SCSI host adapter> found at PCI 20/0
(scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs
(scsi0) BIOS enabled, IO Port 0x6200, IRQ 9
(scsi0) IO Memory at 0xf0802000, MMAP Memory at 0x6807000
(scsi0) Resetting channel
(scsi0) Downloading sequencer code... 406 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.0.14/3.2.4
<Adaptec AHA-294X SCSI host adapter>
scsi : 1 host.
(scsi0:0:-1:-1) Scanning channel for devices.
scsi : detected total.
PPP: version 2.2.0 (dynamic channel allocation)
TCP compression code copyright 1989 Regents of the University of
California
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
Partition check:
hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 >
hdb: hdb1 < hdb5 >
JAVA Binary support v1.01 for Linux 1.3.98 (C)1996 Brian A. Lantz
VFS: Mounted root (ext2 filesystem) readonly.

Now I know I can get rid of those messages by simply not reporting them,
and I know enough to be able to do that w/o help.

Better, though, to resolve the problem properly.

Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html