Re: Where is APM0 ???

2002-12-01 Thread Sergey V Golitzyn
On Sunday 01 December 2002 07:19, Marcin Dalecki wrote:
 Sergey V Golitzyn wrote:
  Hello, i have a little problem with APM (Adv. Power Managment)
 
  I migrate from 4.7-STABLE to 5.0-CURRENT version. But in process i have
  lost apm0 device in dmesg.
  Device /dev/apm is in, but apmd daemon does not start cozz /dev/apmctl
  device not exist.

 kozaczek# kldload apm
 kozaczek# ls -l /dev/apm
 crw-rw-r--  1 root  operator   39,   0 Dec  1 02:49 /dev/apm
 kozaczek#

 Try it as a module. But generally ACPI should be suprerior.



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message

Hello Again,

Problem can't be solved by your way.

my ls -l /dev/apm contains same information, but i /dev/apmctl device does not 
exist, and APM already builded in the KERNCONF FILE, the question is 
HOW TO ENABLE IT IN device.hints file??? 
apm saver also talks what It need #APM enable# (see dmesg file in prev 
message).

Or, may be exist any another way to shutdown -p now machine. (Means only 
power down by using ACPI functions)

Thanks a lot, Sergey V. Golitzyn (Russia)



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Where is APM0 ???

2002-12-01 Thread Hiten Pandya
On Sun, Dec 01, 2002 at 03:50:59PM +0300, Sergey V Golitzyn wrote the words in effect 
of:
 On Sunday 01 December 2002 07:19, Marcin Dalecki wrote:
  Sergey V Golitzyn wrote:
   Hello, i have a little problem with APM (Adv. Power Managment)
  
   I migrate from 4.7-STABLE to 5.0-CURRENT version. But in process i have
   lost apm0 device in dmesg.
   Device /dev/apm is in, but apmd daemon does not start cozz /dev/apmctl
   device not exist.
 
  kozaczek# kldload apm
  kozaczek# ls -l /dev/apm
  crw-rw-r--  1 root  operator   39,   0 Dec  1 02:49 /dev/apm
  kozaczek#
 
  Try it as a module. But generally ACPI should be suprerior.
 
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-current in the body of the message
 
 Hello Again,
 
 Problem can't be solved by your way.
 
 my ls -l /dev/apm contains same information, but i /dev/apmctl device does not 
 exist, and APM already builded in the KERNCONF FILE, the question is 
 HOW TO ENABLE IT IN device.hints file??? 
 apm saver also talks what It need #APM enable# (see dmesg file in prev 
 message).
 
 Or, may be exist any another way to shutdown -p now machine. (Means only 
 power down by using ACPI functions)

Try disabling ACPI, it _might_ work this way.  But if your system
supports ACPI, then don't bother with APM imho.

-- 
Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED])
http://www.unixdaemons.com/~hiten/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Where is APM0 ???

2002-11-30 Thread Sergey V Golitzyn
Hello, i have a little problem with APM (Adv. Power Managment)

I migrate from 4.7-STABLE to 5.0-CURRENT version. But in process i have lost 
apm0 device in dmesg.
Device /dev/apm is in, but apmd daemon does not start cozz /dev/apmctl device 
not exist.

Tell me please how to modify this strings in /boot/device hints to Enable APM 
device:

hint.apm.0.at=nexus
hint.apm.0.enable=1
hint.apm.0.disabled=0
hint.apm.0.flags=0x20

Or i must use another device like VIAPM 

KERNCONF file contains :

device apm

when i include device VIAPM, system does not booted at all.

Command zzz prints:
acpi0: AcpiGetSleepTypeData failed - AE_NOT_FOUND
Command shutdown -p now going to reboot.
Dmesg file included.

Thanks, Best Regrads
Sergey V. Golitzyn (Russia)


// Dmesg file 

Copyright (c) 1992-2002 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 5.0-CURRENT #17: Sun Dec  1 02:50:49 MSK 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HIHIHAHA
Preloaded elf kernel /boot/kernel/kernel at 0xc0463000.
Preloaded elf module /boot/kernel/vesa.ko at 0xc04630a8.
Preloaded elf module /boot/kernel/linux.ko at 0xc0463154.
Preloaded elf module /boot/kernel/snd_emu10k1.ko at 0xc0463200.
Preloaded elf module /boot/kernel/snd_pcm.ko at 0xc04632b0.
Preloaded elf module /boot/kernel/bktr.ko at 0xc046335c.
Preloaded elf module /boot/kernel/bktr_mem.ko at 0xc0463408.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1336371473 Hz
CPU: AMD Athlon(tm) XP 1500+ (1336.37-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc048MP,AMIE,DSP,3DNow!
real memory  = 268369920 (255 MB)
avail memory = 256053248 (244 MB)
Initializing GEOMetry subsystem
bktr_mem: memory holder loaded
Pentium Pro MTRR support enabled
VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc040dc42 (122)
VESA: NVidia
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: VIA694 AWRDACPI on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 7 entries at 0xc00fdef0
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
acpi_cpu0: CPU on acpi0
acpi_tz0: thermal zone on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 
0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA Generic host to PCI bridge mem 0xd000-0xd7ff at device 0.0 
on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
bktr0: BrookTree 878 mem 0xe200-0xe2000fff irq 10 at device 9.0 on pci0
bktr0: AVer Media TV/FM, Philips PAL tuner.
pci0: multimedia at device 9.1 (no driver attached)
pcm0: Creative EMU10K1 port 0xd000-0xd01f irq 11 at device 12.0 on pci0
isab0: PCI-ISA bridge at device 17.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 8233 ATA100 controller port 0xd800-0xd80f at device 17.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 10 at device 17.2 on 
pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech USB Mouse, rev 1.10/6.20, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1: VIA 83C572 USB controller port 0xe000-0xe01f irq 10 at device 17.3 on 
pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: VIA 83C572 USB controller port 0xe400-0xe41f irq 10 at device 17.4 on 
pci0
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 
0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
orm0: Option 

Re: Where is APM0 ???

2002-11-30 Thread Marcin Dalecki
Sergey V Golitzyn wrote:

Hello, i have a little problem with APM (Adv. Power Managment)

I migrate from 4.7-STABLE to 5.0-CURRENT version. But in process i have lost 
apm0 device in dmesg.
Device /dev/apm is in, but apmd daemon does not start cozz /dev/apmctl device 
not exist.

kozaczek# kldload apm
kozaczek# ls -l /dev/apm
crw-rw-r--  1 root  operator   39,   0 Dec  1 02:49 /dev/apm
kozaczek#

Try it as a module. But generally ACPI should be suprerior.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message