Re: Unable to get APM working -- help!

2004-12-26 Thread security
 On Sun, 26 Dec 2004 13:28, [EMAIL PROTECTED] wrote:
  Try acpiconf -i 1

 Same result :/

 Hmm.. what's your dmesg output when you boot verbose with ACPI enabled?


Check the end of mail

  I prefer acpi_pcc http://www.spa.is.uec.ac.jp/~nfukuda/software/ which
 I
  believe does the same thing but only needs a kernel module to work.

 Does it work on Pentium-M ?

 Yep.


I'll try it out; meanwhile, I've discovered the sysctl to change this
manually. I've checked it works by trying to compile something at the
lowest CPU clock speed. It was slow to hell :-)

  load, and maxing it (1.6GHz) under load, but with ACPI off. With ACPI
 on
  it's always at 1.6GHz. Plus, I've noticed the 'top' CPU values are
 plain
  wrong. I was compiling thunderbird, xmms, and firefox and it showed
 all
  processes with 0.00% CPU.
 
  Do your kernel and userland match?

 5.3-RELEASE from cd and a custom kernel I built. I've just tested, and
 the
 results are widly innacurate ONLY with ACPI turned on.. weird.

 Any chance there is a new BIOS available for that system?


A quick googling session brought up nothing.

 Did you have to do anything in special to make -i 0 work? (it says
 device
 not configured to me.. perhaps I missed something)

 No.. If I try and look at a non existent battery slot it says 'device not
 configured' so maybe it thinks you have no batteries for some strange
 reason.

I've installed klaptop and it shows battery as -1 and 'not charging'
acpiconf -i[0-9] didn't do any good either :/

 --
 Daniel O'Connor software and network engineer
 for Genesis Software - http://www.gsoft.com.au
 The nice thing about standards is that there
 are so many of them to choose from.
   -- Andrew Tanenbaum
 GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C



dmesg (ACPI on, boot verbose)


Copyright (c) 1992-2004 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.3-RELEASE #1: Sat Dec 25 03:41:40 WET 2004
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/laptop-kernel
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Preloaded elf kernel /boot/kernel/kernel at 0xc09cb000.
Calibrating clock(s) ... i8254 clock: 1193164 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter i8254 frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 1598650059 Hz
CPU: Intel(R) Pentium(R) M processor 1.60GHz (1598.65-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6d6  Stepping = 6
  
Features=0xafe9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE
real memory  = 535691264 (510 MB)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x0010 - 0x003f, 3145728 bytes (768 pages)
0x00c26000 - 0x1f5b4fff, 513339392 bytes (125327 pages)
avail memory = 514539520 (490 MB)
bios32: Found BIOS32 Service Directory header at 0xc00f6310
bios32: Entry = 0xfd520 (c00fd520)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xfd520+0x262
pnpbios: Found PnP BIOS data at 0xc00f6350
pnpbios: Entry = f:ab76  Rev = 1.0
Other BIOS signatures found:
wlan: 802.11 Link Layer
null: null device, zero device
random: entropy source, Software, Yarrow
io: I/O
mem: memory
Pentium Pro MTRR support enabled
acpi0: ACER Kestrel on motherboard
acpi0: [MPSAFE]
pci_open(1):mode 1 addr port (0x0cf8) is 0x8000f904
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=80] is there (id=35808086)
pcibios: BIOS version 2.10
Found $PIR table, 9 entries at 0xc00fdd00
PCI-Only Interrupts: none
Location  Bus Device Pin  Link  IRQs
embedded0   30A   0x60  6
embedded0   30B   0x61  10
embedded0   30C   0x62  6
embedded0   30D   0x63  6
embedded26A   0x68  10
embedded26B   0x69  10
embedded26C   0x6a  6
embedded24A   0x61  10
embedded24B   0x62  6
embedded22A   0x63  6
embedded00A   0x60  6
embedded00B   0x61  10
embedded00C   0x62  6
embedded00D   0x63  6
embedded0   31A   0x62  6
embedded0   31B   0x61  10
embedded0   29A   0x60  6
embedded0   29B   0x63  6
embedded0   29C   0x62  6
embedded0   29D   0x6b  10
embedded01A   0x60  6
embedded01B   0x61  10
slot 1  10A   0x60  6
slot 1  10B   0x61  10
AcpiOsDerivePciId: bus 0 dev 31 func 0
AcpiOsDerivePciId: bus 0 dev 31 func 0
AcpiOsDerivePciId: bus 0 dev 31 func 1
acpi0: Power Button (fixed)
atpic: Programming IRQ9 as level/low
AcpiOsDerivePciId: bus 0 dev 0 func 0
AcpiOsDerivePciId: bus 0 dev 0 func 1
acpi_ec0: Embedded Controller: GPE 0x1d port 0x66,0x62 on acpi0

Re: Unable to get APM working -- help!

2004-12-26 Thread security
 On Sun, 26 Dec 2004 13:28, [EMAIL PROTECTED] wrote:
  Try acpiconf -i 1

 Same result :/

 Hmm.. what's your dmesg output when you boot verbose with ACPI enabled?


I'll be mailing it right next from other mail account (it's timeouting on
this web mail - subject is 'dmesg from acer laptop')

  I prefer acpi_pcc http://www.spa.is.uec.ac.jp/~nfukuda/software/ which
 I
  believe does the same thing but only needs a kernel module to work.

 Does it work on Pentium-M ?

 Yep.


I'll try it out; meanwhile, I've discovered the sysctl to change this
manually. I've checked it works by trying to compile something at the
lowest CPU clock speed. It was slow to hell :-)

  load, and maxing it (1.6GHz) under load, but with ACPI off. With ACPI
 on
  it's always at 1.6GHz. Plus, I've noticed the 'top' CPU values are
 plain
  wrong. I was compiling thunderbird, xmms, and firefox and it showed
 all
  processes with 0.00% CPU.
 
  Do your kernel and userland match?

 5.3-RELEASE from cd and a custom kernel I built. I've just tested, and
 the
 results are widly innacurate ONLY with ACPI turned on.. weird.

 Any chance there is a new BIOS available for that system?


A quick googling session brought up nothing.

 Did you have to do anything in special to make -i 0 work? (it says
 device
 not configured to me.. perhaps I missed something)

 No.. If I try and look at a non existent battery slot it says 'device not
 configured' so maybe it thinks you have no batteries for some strange
 reason.

I've installed klaptop and it shows battery as -1 and 'not charging'
acpiconf -i[0-9] didn't do any good either :/

 --
 Daniel O'Connor software and network engineer
 for Genesis Software - http://www.gsoft.com.au
 The nice thing about standards is that there
 are so many of them to choose from.
   -- Andrew Tanenbaum
 GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


dmesg
Description: Binary data


dmesg
Description: Binary data


dmesg
Description: Binary data
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to get APM working -- help!

2004-12-26 Thread Daniel O'Connor
On Sun, 26 Dec 2004 15:26, [EMAIL PROTECTED] wrote:
 I'll try it out; meanwhile, I've discovered the sysctl to change this
 manually. I've checked it works by trying to compile something at the
 lowest CPU clock speed. It was slow to hell :-)

That's probably clock throttling which is different..

[Enhanced] Speed Step reduces the clock speed and the CPU core voltage.. clock 
throttling just idles the CPU for a certain proportion of the time. If you 
want slow try forcing them both to the slowest speed.. Pentium-M 75Mhz :)

  Any chance there is a new BIOS available for that system?

 A quick googling session brought up nothing.

How about say, checking the makers web site?

  No.. If I try and look at a non existent battery slot it says 'device not
  configured' so maybe it thinks you have no batteries for some strange
  reason.

 I've installed klaptop and it shows battery as -1 and 'not charging'
 acpiconf -i[0-9] didn't do any good either :/

Without ACPI support being able to read your battery status no userland 
program will work.

Your dmesg shows acpi_cmbat entries, ie
acpi_cmbat0: Control Method Battery on acpi0
acpi_cmbat1: Control Method Battery on acpi0

which I think is pretty fundamental to being able to read battery status ;)


-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgp0eP5lW6cb9.pgp
Description: PGP signature


Re: Unable to get APM working -- help!

2004-12-26 Thread security
 On Sun, 26 Dec 2004 15:26, [EMAIL PROTECTED] wrote:
 I'll try it out; meanwhile, I've discovered the sysctl to change this
 manually. I've checked it works by trying to compile something at the
 lowest CPU clock speed. It was slow to hell :-)

 That's probably clock throttling which is different..

Yes, the sysctl included throttle. As I said, I'm new to the laptop
world.. Is the power saving difference a lot if I just throttle the clock,
instead of using enhanced speed step?


 [Enhanced] Speed Step reduces the clock speed and the CPU core voltage..
 clock
 throttling just idles the CPU for a certain proportion of the time. If you
 want slow try forcing them both to the slowest speed.. Pentium-M 75Mhz :)

  Any chance there is a new BIOS available for that system?

 A quick googling session brought up nothing.

 How about say, checking the makers web site?


I also did, nothing :-P

  No.. If I try and look at a non existent battery slot it says 'device
 not
  configured' so maybe it thinks you have no batteries for some strange
  reason.

 I've installed klaptop and it shows battery as -1 and 'not charging'
 acpiconf -i[0-9] didn't do any good either :/

 Without ACPI support being able to read your battery status no userland
 program will work.

 Your dmesg shows acpi_cmbat entries, ie
 acpi_cmbat0: Control Method Battery on acpi0
 acpi_cmbat1: Control Method Battery on acpi0

 which I think is pretty fundamental to being able to read battery status
 ;)


Yesterday I googled a bit for my laptop name+linux and I found a post from
a guy who had the same exact problem under Linux. He had /proc/acpi but no
/proc/acpi/battery.

I know battery status can be seen, as the laptop shipped with win XP home,
which I promptly got rid of, but I installed a game there to see how many
FPS I'd get playing with the laptop. So I still messed around with it
(windows) for around 35 minutes, and could see the little battery icon
discharging.

If the acpi_cmbat0/1 shows up on dmesg, what could be wrong? Perhaps this
ACPI implementation is a bit weird and I should send a copy of my asl to
freebsd-acpi ?



 --
 Daniel O'Connor software and network engineer
 for Genesis Software - http://www.gsoft.com.au
 The nice thing about standards is that there
 are so many of them to choose from.
   -- Andrew Tanenbaum
 GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to get APM working -- help! [no acpi_cmbat entries]

2004-12-26 Thread security
Just a quick add, my dmesg doesn't show acpi_cmbat entries. You probably
confused my dmesg with yours (from the dmesg mail I sent you)

 On Sun, 26 Dec 2004 15:26, [EMAIL PROTECTED] wrote:
 I'll try it out; meanwhile, I've discovered the sysctl to change this
 manually. I've checked it works by trying to compile something at the
 lowest CPU clock speed. It was slow to hell :-)

 That's probably clock throttling which is different..

 Yes, the sysctl included throttle. As I said, I'm new to the laptop
 world.. Is the power saving difference a lot if I just throttle the clock,
 instead of using enhanced speed step?


 [Enhanced] Speed Step reduces the clock speed and the CPU core voltage..
 clock
 throttling just idles the CPU for a certain proportion of the time. If
 you
 want slow try forcing them both to the slowest speed.. Pentium-M 75Mhz
 :)

  Any chance there is a new BIOS available for that system?

 A quick googling session brought up nothing.

 How about say, checking the makers web site?


 I also did, nothing :-P

  No.. If I try and look at a non existent battery slot it says 'device
 not
  configured' so maybe it thinks you have no batteries for some strange
  reason.

 I've installed klaptop and it shows battery as -1 and 'not charging'
 acpiconf -i[0-9] didn't do any good either :/

 Without ACPI support being able to read your battery status no userland
 program will work.

 Your dmesg shows acpi_cmbat entries, ie
 acpi_cmbat0: Control Method Battery on acpi0
 acpi_cmbat1: Control Method Battery on acpi0

 which I think is pretty fundamental to being able to read battery status
 ;)


 Yesterday I googled a bit for my laptop name+linux and I found a post from
 a guy who had the same exact problem under Linux. He had /proc/acpi but no
 /proc/acpi/battery.

 I know battery status can be seen, as the laptop shipped with win XP home,
 which I promptly got rid of, but I installed a game there to see how many
 FPS I'd get playing with the laptop. So I still messed around with it
 (windows) for around 35 minutes, and could see the little battery icon
 discharging.

 If the acpi_cmbat0/1 shows up on dmesg, what could be wrong? Perhaps this
 ACPI implementation is a bit weird and I should send a copy of my asl to
 freebsd-acpi ?



 --
 Daniel O'Connor software and network engineer
 for Genesis Software - http://www.gsoft.com.au
 The nice thing about standards is that there
 are so many of them to choose from.
   -- Andrew Tanenbaum
 GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C



 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to [EMAIL PROTECTED]



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to get APM working -- help! [no acpi_cmbat entries]

2004-12-26 Thread Daniel O'Connor
On Mon, 27 Dec 2004 02:47, [EMAIL PROTECTED] wrote:
 Just a quick add, my dmesg doesn't show acpi_cmbat entries. You probably
 confused my dmesg with yours (from the dmesg mail I sent you)

Err, I said you didn't have any cmbat entries.. My point was that the lack of 
those entries is probably a hint as to why you can't see any battery info.

As you suggest, try posting on freebsd-acpi about it.

  On Sun, 26 Dec 2004 15:26, [EMAIL PROTECTED] wrote:
  I'll try it out; meanwhile, I've discovered the sysctl to change this
  manually. I've checked it works by trying to compile something at the
  lowest CPU clock speed. It was slow to hell :-)
 
  That's probably clock throttling which is different..
 
  Yes, the sysctl included throttle. As I said, I'm new to the laptop
  world.. Is the power saving difference a lot if I just throttle the
  clock, instead of using enhanced speed step?
 
  [Enhanced] Speed Step reduces the clock speed and the CPU core voltage..
  clock
  throttling just idles the CPU for a certain proportion of the time. If
  you
  want slow try forcing them both to the slowest speed.. Pentium-M 75Mhz
 
  :)
  :
   Any chance there is a new BIOS available for that system?
 
  A quick googling session brought up nothing.
 
  How about say, checking the makers web site?
 
  I also did, nothing :-P
 
   No.. If I try and look at a non existent battery slot it says 'device
 
  not
 
   configured' so maybe it thinks you have no batteries for some strange
   reason.
 
  I've installed klaptop and it shows battery as -1 and 'not charging'
  acpiconf -i[0-9] didn't do any good either :/
 
  Without ACPI support being able to read your battery status no userland
  program will work.
 
  Your dmesg shows acpi_cmbat entries, ie
  acpi_cmbat0: Control Method Battery on acpi0
  acpi_cmbat1: Control Method Battery on acpi0
 
  which I think is pretty fundamental to being able to read battery status
  ;)
 
  Yesterday I googled a bit for my laptop name+linux and I found a post
  from a guy who had the same exact problem under Linux. He had /proc/acpi
  but no /proc/acpi/battery.
 
  I know battery status can be seen, as the laptop shipped with win XP
  home, which I promptly got rid of, but I installed a game there to see
  how many FPS I'd get playing with the laptop. So I still messed around
  with it (windows) for around 35 minutes, and could see the little battery
  icon discharging.
 
  If the acpi_cmbat0/1 shows up on dmesg, what could be wrong? Perhaps this
  ACPI implementation is a bit weird and I should send a copy of my asl to
  freebsd-acpi ?
 
  --
  Daniel O'Connor software and network engineer
  for Genesis Software - http://www.gsoft.com.au
  The nice thing about standards is that there
  are so many of them to choose from.
-- Andrew Tanenbaum
  GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
 
  ___
  freebsd-hackers@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgp1AkkPDOpbS.pgp
Description: PGP signature


Re: Unable to get APM working -- help!

2004-12-25 Thread Daniel O'Connor
On Sun, 26 Dec 2004 05:20, [EMAIL PROTECTED] wrote:
 Still, /dev/apm*'s never show up. Except if I actually disable APM and
 enable ACPI instead, /dev/apm will show.. but no /dev/apmctl.

 I'm new to the laptop world and I really would like to enable power saving
 features on this laptop.. I managed to get est/estctrl running, and it was
 changing my CPU from 600 to 1600 ghz according to the load, but when I
 disabled APM and enabled ACPI this ceases to work and the CPU will always
 run at  1600ghz. Also, acpiconf -i0 says device not configured..

Use ACPI.
It will provide an APM like interface (/dev/apm) for userland apps to use to 
get info.

It's possible your laptop doesn't even _do_ APM :)

 As far as I was able to see, most battery monitoring stuff (integrated on
 KDE and all) will depend on APM.. So I'd really like to enable it!

ACPI will allow you to do this plus a lot more.

If you want to do things based on power related state changes (eg lid close, 
power button press, AC unplugged etc..) you can use devd which can respond to 
ACPI events.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpuATkdKrHJ4.pgp
Description: PGP signature


Re: Unable to get APM working -- help!

2004-12-25 Thread security
Hey,

Thanks for the reply!

Indeed, I do have a /dev/apm with APM off and ACPI on, but..

APM version: 1.2
APM Management: Enabled
AC Line status: unknown
Battery Status: charging
Remaining battery life: invalid value (0x)
Remaining battery time: unknown
Number of batteries: 0

# acpiconf -i0
acpiconf: get battery info (0) failed: Device not configured

o CPU Frequency: 1600ghz
o Battery left : -1%
o Battery time : -1 hrs
o Wireless stat: Radio is ON

Neither APM or acpiconf or estctrl (it's a port) are doing their jobs.
estctrl was correctly lowering the CPU clock to 600ghz, when there was no
load, and maxing it (1.6GHz) under load, but with ACPI off. With ACPI on
it's always at 1.6GHz. Plus, I've noticed the 'top' CPU values are plain
wrong. I was compiling thunderbird, xmms, and firefox and it showed all
processes with 0.00% CPU.

Are there any battery status/etc KDE applications? I've searched, and
found none.

Here is a dmesg:

Copyright (c) 1992-2004 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.3-RELEASE #1: Sat Dec 25 03:41:40 WET 2004
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/laptop-kernel
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1.60GHz (1598.65-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6d6  Stepping = 6
  
Features=0xafe9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE
real memory  = 535691264 (510 MB)
avail memory = 514539520 (490 MB)
acpi0: ACER Kestrel on motherboard
acpi0: Power Button (fixed)
acpi_ec0: Embedded Controller: GPE 0x1d port 0x66,0x62 on acpi0
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU (3 Cx states) on acpi0
acpi_tz0: Thermal Zone on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel Generic host to PCI bridge mem 0xe000-0xefff at
device 0.0 on pci0
pci0: base peripheral at device 0.1 (no driver attached)
pci0: base peripheral at device 0.3 (no driver attached)
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0x1800-0x181f irq
6 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0x1820-0x183f irq
6 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0x1840-0x185f irq
6 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
bfe0: Broadcom BCM4401 Fast Ethernet mem 0xd0204000-0xd0205fff irq 6 at
device 2.0 on pci2
miibus0: MII bus on bfe0
bmtphy0: BCM4401 10/100baseTX PHY on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:c0:9f:6a:8e:1c
bfe0: [GIANT-LOCKED]
pci2: network at device 4.0 (no driver attached)
cbb0: PCI-CardBus Bridge mem 0xd0209000-0xd0209fff irq 10 at device 6.0
on pci2
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
fwohci0: 1394 Open Host Controller Interface mem
0xd020-0xd0203fff,0xd020a000-0xd020a7ff irq 10 at device 6.2 on pci2
fwohci0: [GIANT-LOCKED]
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:c0:9f:00:00:32:14:de
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:c0:9f:32:14:de
fwe0: Ethernet address: 02:c0:9f:32:14:de
sbp0: SBP-2/SCSI over FireWire on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pci2: mass storage at device 6.3 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH4 UDMA100 controller port
0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0

Re: Unable to get APM working -- help!

2004-12-25 Thread Daniel O'Connor
On Sun, 26 Dec 2004 08:25, [EMAIL PROTECTED] wrote:
 Indeed, I do have a /dev/apm with APM off and ACPI on, but..

 APM version: 1.2
 APM Management: Enabled
 AC Line status: unknown
 Battery Status: charging
 Remaining battery life: invalid value (0x)
 Remaining battery time: unknown
 Number of batteries: 0

 # acpiconf -i0
 acpiconf: get battery info (0) failed: Device not configured

 o CPU Frequency: 1600ghz
 o Battery left : -1%
 o Battery time : -1 hrs
 o Wireless stat: Radio is ON

Try acpiconf -i 1

 Neither APM or acpiconf or estctrl (it's a port) are doing their jobs.
 estctrl was correctly lowering the CPU clock to 600ghz, when there was no

I prefer acpi_pcc http://www.spa.is.uec.ac.jp/~nfukuda/software/ which I 
believe does the same thing but only needs a kernel module to work.

 load, and maxing it (1.6GHz) under load, but with ACPI off. With ACPI on
 it's always at 1.6GHz. Plus, I've noticed the 'top' CPU values are plain
 wrong. I was compiling thunderbird, xmms, and firefox and it showed all
 processes with 0.00% CPU.

Do your kernel and userland match?

 Are there any battery status/etc KDE applications? I've searched, and
 found none.

There is a klaptop system tray doodad which works for me, although..
[inchoate 12:10] /usr/src acpiconf -i 0
Battery 0 information
Design capacity:71590 mWh
Last full capacity: 71590 mWh
Technology: secondary (rechargeable)
Design voltage: 11100 mV
Capacity (warn):3000 mWh
Capacity (low): 1000 mWh
Low/warn granularity:   200 mWh
Warn/full granularity:  200 mWh
Model number:   DELL 0004P2
Serial number:  1975
Type:   LION
OEM info:   Sony
State:
Present Rate:   Unknown
Remaining Capacity: 71590 mWh
Volt:   12537 mV
[inchoate 12:10] /usr/src apm
APM version: 1.2
APM Management: Enabled
AC Line status: on-line
Battery Status: high
Remaining battery life: 100%
Remaining battery time: unknown
Number of batteries: 2
Battery 0:
Battery Status: high
Remaining battery life: 100%
Remaining battery time:  0:00:00
Battery 1:
not present
Resume timer: unknown
Resume on ring indicator: disabled

 Here is a dmesg:

 Copyright (c) 1992-2004 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.3-RELEASE #1: Sat Dec 25 03:41:40 WET 2004
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/laptop-kernel
 WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
 WARNING: MPSAFE network stack disabled, expect reduced performance.
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) M processor 1.60GHz (1598.65-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x6d6  Stepping = 6
  
 Features=0xafe9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE real memory  = 535691264
 (510 MB)
 avail memory = 514539520 (490 MB)
 acpi0: ACER Kestrel on motherboard
 acpi0: Power Button (fixed)
 acpi_ec0: Embedded Controller: GPE 0x1d port 0x66,0x62 on acpi0
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
 cpu0: ACPI CPU (3 Cx states) on acpi0
 acpi_tz0: Thermal Zone on acpi0
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 agp0: Intel Generic host to PCI bridge mem 0xe000-0xefff at
 device 0.0 on pci0
 pci0: base peripheral at device 0.1 (no driver attached)
 pci0: base peripheral at device 0.3 (no driver attached)
 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
 pci1: ACPI PCI bus on pcib1
 pci1: display, VGA at device 0.0 (no driver attached)
 uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0x1800-0x181f irq
 6 at device 29.0 on pci0
 uhci0: [GIANT-LOCKED]
 usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0x1820-0x183f irq
 6 at device 29.1 on pci0
 uhci1: [GIANT-LOCKED]
 usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1
 usb1: USB revision 1.0
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0x1840-0x185f irq
 6 at device 29.2 on pci0
 uhci2: [GIANT-LOCKED]
 usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2
 usb2: USB revision 1.0
 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 pci0: serial bus, USB at device 29.7 (no driver attached)
 pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
 pci2: ACPI PCI bus on pcib2
 bfe0: Broadcom BCM4401 Fast Ethernet mem 0xd0204000-0xd0205fff irq 6 at
 device 2.0 on pci2
 miibus0: MII bus on 

Re: Unable to get APM working -- help!

2004-12-25 Thread security
 On Sun, 26 Dec 2004 08:25, [EMAIL PROTECTED] wrote:
 Indeed, I do have a /dev/apm with APM off and ACPI on, but..

 APM version: 1.2
 APM Management: Enabled
 AC Line status: unknown
 Battery Status: charging
 Remaining battery life: invalid value (0x)
 Remaining battery time: unknown
 Number of batteries: 0

 # acpiconf -i0
 acpiconf: get battery info (0) failed: Device not configured

 o CPU Frequency: 1600ghz
 o Battery left : -1%
 o Battery time : -1 hrs
 o Wireless stat: Radio is ON

 Try acpiconf -i 1

Same result :/

 Neither APM or acpiconf or estctrl (it's a port) are doing their jobs.
 estctrl was correctly lowering the CPU clock to 600ghz, when there was
 no

 I prefer acpi_pcc http://www.spa.is.uec.ac.jp/~nfukuda/software/ which I
 believe does the same thing but only needs a kernel module to work.

Does it work on Pentium-M ?


 load, and maxing it (1.6GHz) under load, but with ACPI off. With ACPI on
 it's always at 1.6GHz. Plus, I've noticed the 'top' CPU values are plain
 wrong. I was compiling thunderbird, xmms, and firefox and it showed all
 processes with 0.00% CPU.

 Do your kernel and userland match?

5.3-RELEASE from cd and a custom kernel I built. I've just tested, and the
results are widly innacurate ONLY with ACPI turned on.. weird.


 Are there any battery status/etc KDE applications? I've searched, and
 found none.

 There is a klaptop system tray doodad which works for me, although..
 [inchoate 12:10] /usr/src acpiconf -i 0
 Battery 0 information
 Design capacity:71590 mWh
 Last full capacity: 71590 mWh
 Technology: secondary (rechargeable)
 Design voltage: 11100 mV
 Capacity (warn):3000 mWh
 Capacity (low): 1000 mWh
 Low/warn granularity:   200 mWh
 Warn/full granularity:  200 mWh
 Model number:   DELL 0004P2
 Serial number:  1975
 Type:   LION
 OEM info:   Sony
 State:
 Present Rate:   Unknown
 Remaining Capacity: 71590 mWh
 Volt:   12537 mV
 [inchoate 12:10] /usr/src apm
 APM version: 1.2
 APM Management: Enabled
 AC Line status: on-line
 Battery Status: high
 Remaining battery life: 100%
 Remaining battery time: unknown
 Number of batteries: 2
 Battery 0:
 Battery Status: high
 Remaining battery life: 100%
 Remaining battery time:  0:00:00
 Battery 1:
 not present
 Resume timer: unknown
 Resume on ring indicator: disabled


Did you have to do anything in special to make -i 0 work? (it says device
not configured to me.. perhaps I missed something)


 Here is a dmesg:

 Copyright (c) 1992-2004 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.3-RELEASE #1: Sat Dec 25 03:41:40 WET 2004
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/laptop-kernel
 WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
 WARNING: MPSAFE network stack disabled, expect reduced performance.
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) M processor 1.60GHz (1598.65-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x6d6  Stepping = 6

 Features=0xafe9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE real memory  = 535691264
 (510 MB)
 avail memory = 514539520 (490 MB)
 acpi0: ACER Kestrel on motherboard
 acpi0: Power Button (fixed)
 acpi_ec0: Embedded Controller: GPE 0x1d port 0x66,0x62 on acpi0
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
 cpu0: ACPI CPU (3 Cx states) on acpi0
 acpi_tz0: Thermal Zone on acpi0
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 agp0: Intel Generic host to PCI bridge mem 0xe000-0xefff at
 device 0.0 on pci0
 pci0: base peripheral at device 0.1 (no driver attached)
 pci0: base peripheral at device 0.3 (no driver attached)
 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
 pci1: ACPI PCI bus on pcib1
 pci1: display, VGA at device 0.0 (no driver attached)
 uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0x1800-0x181f
 irq
 6 at device 29.0 on pci0
 uhci0: [GIANT-LOCKED]
 usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0x1820-0x183f
 irq
 6 at device 29.1 on pci0
 uhci1: [GIANT-LOCKED]
 usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1
 usb1: USB revision 1.0
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0x1840-0x185f
 irq
 6 at device 29.2 on pci0
 uhci2: [GIANT-LOCKED]
 usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2
 usb2: USB revision 1.0
 

Re: Unable to get APM working -- help!

2004-12-25 Thread Daniel O'Connor
On Sun, 26 Dec 2004 13:28, [EMAIL PROTECTED] wrote:
  Try acpiconf -i 1

 Same result :/

Hmm.. what's your dmesg output when you boot verbose with ACPI enabled?

  I prefer acpi_pcc http://www.spa.is.uec.ac.jp/~nfukuda/software/ which I
  believe does the same thing but only needs a kernel module to work.

 Does it work on Pentium-M ?

Yep.

  load, and maxing it (1.6GHz) under load, but with ACPI off. With ACPI on
  it's always at 1.6GHz. Plus, I've noticed the 'top' CPU values are plain
  wrong. I was compiling thunderbird, xmms, and firefox and it showed all
  processes with 0.00% CPU.
 
  Do your kernel and userland match?

 5.3-RELEASE from cd and a custom kernel I built. I've just tested, and the
 results are widly innacurate ONLY with ACPI turned on.. weird.

Any chance there is a new BIOS available for that system?

 Did you have to do anything in special to make -i 0 work? (it says device
 not configured to me.. perhaps I missed something)

No.. If I try and look at a non existent battery slot it says 'device not 
configured' so maybe it thinks you have no batteries for some strange reason.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgp5XIpAe3HoZ.pgp
Description: PGP signature


Re: Unable to get APM working -- help!

2004-12-25 Thread security
 On Sun, 26 Dec 2004 13:28, [EMAIL PROTECTED] wrote:
  Try acpiconf -i 1

 Same result :/

 Hmm.. what's your dmesg output when you boot verbose with ACPI enabled?


Attached it.

  I prefer acpi_pcc http://www.spa.is.uec.ac.jp/~nfukuda/software/ which
 I
  believe does the same thing but only needs a kernel module to work.

 Does it work on Pentium-M ?

 Yep.


I'll try it out; meanwhile, I've discovered the sysctl to change this
manually. I've checked it works by trying to compile something at the
lowest CPU clock speed. It was slow to hell :-)

  load, and maxing it (1.6GHz) under load, but with ACPI off. With ACPI
 on
  it's always at 1.6GHz. Plus, I've noticed the 'top' CPU values are
 plain
  wrong. I was compiling thunderbird, xmms, and firefox and it showed
 all
  processes with 0.00% CPU.
 
  Do your kernel and userland match?

 5.3-RELEASE from cd and a custom kernel I built. I've just tested, and
 the
 results are widly innacurate ONLY with ACPI turned on.. weird.

 Any chance there is a new BIOS available for that system?


A quick googling session brought up nothing.

 Did you have to do anything in special to make -i 0 work? (it says
 device
 not configured to me.. perhaps I missed something)

 No.. If I try and look at a non existent battery slot it says 'device not
 configured' so maybe it thinks you have no batteries for some strange
 reason.

I've installed klaptop and it shows battery as -1 and 'not charging'
acpiconf -i[0-9] didn't do any good either :/

 --
 Daniel O'Connor software and network engineer
 for Genesis Software - http://www.gsoft.com.au
 The nice thing about standards is that there
 are so many of them to choose from.
   -- Andrew Tanenbaum
 GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C



dmesg (ACPI on, boot verbose)
** check attached file **



dmesg
Description: Binary data
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]