Acpitool: commandline ACPI status program for laptops

Miscellaneous tools
Message
Author
peter_jammo
Posts: 20
Joined: Thu 26 Mar 2009, 16:03

#16 Post by peter_jammo »

Thanks for the help.

I added the module as suggested, but the results appear to suggest that my bios doesn't support it - error message as per your second post.

I believe that the bios is Toshiba, and on checking the Toshiba web page, there are several newer versions of the bios, the newest being 2003.

I guess the next step is to update the bios, and then maybe that will either fix the problem or enable me to successfully load the toshiba_acpi module. I've done it before on a different incarnation of the Tecra (now a composite of at least 4 machines), using the diskette version, but I seem to remember that had to be run from dos. Any suggestions for a puppy bios update?

EDIT

After reading the new bios readme, it says "For Linux
or other operating systems, a DOS emulator will be required."

Any suggestions what to use?

Thanks again.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#17 Post by muggins »

peter,

which toshiba model do you have? What is the output of lsmod? Have you tried?:

Code: Select all

modprobe -r toshiba_acpi
modprobe omnibook

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#18 Post by muggins »

Ignore the last bit, as it looks like the omnibook module isn't in p412. It will need to be compiled...which pupversion are you using?

peter_jammo
Posts: 20
Joined: Thu 26 Mar 2009, 16:03

#19 Post by peter_jammo »

G'day Muggins,
Thanks for your help. I'm running a stand alone full install of 4.1.2 and have also tried a live CD of 4.2 - no difference - still can't load Toshiba_acpi module.

Its a Tecra 8100 (made 1999 - 2001ish I think). Googling suggests that someone running Knoppix has got toshiba_acpi running on his 8100, and that has fixed his fan problem which makes me think that my old bios version may be the issue.

lsmod doesn't want to paste here, but doesn't show toshiba_acpi, nor any acpi modules. This makes me think that as the bios acpi should be turning on the fan, that I may have a hardware fault, but unless I can find a way to manually switch on the fan I guess I wont know for sure.

I tried modprobe and got:

# modprobe toshiba_acpi
FATAL: Error inserting toshiba_acpi (/lib/modules/2.6.25.16/kernel/drivers/acpi/toshiba_acpi.ko): No such device

the file exists in the correct directory and the error message is the same as the one you posted above.

Any more suggestions greatfully received. At the moment my options (based on what I know how to do) are restricted to reloading Win98 so I can flash the bios, but that requires me to make a boot diskette and I'm not sure I can do that whilst running puppy, or as a last resort hard wiring the fan off the PS2 5V pins.
Last edited by peter_jammo on Sun 05 Apr 2009, 11:10, edited 1 time in total.

peter_jammo
Posts: 20
Joined: Thu 26 Mar 2009, 16:03

#20 Post by peter_jammo »

BTW, pretty sure it's a Toshiba bios. Every Phoenix bios I've loked at in google images has a blue background and Phoenix at the top. They all have a similar style too. Mine has no name, only a version number, has a black background and is a very different style. In Windows (Ie Toshiba utilities loaded in Win) there is Toshiba Hardware config tool which changes some of the bios settings, and that also makes me think it's likely to be an in house bios.

I guess that means that the omnibook acpi wouldn't work even if I did have access.

Somewhat suspiciously, Toshiba lists every BIOS version except from mine on their downloads page. It just skips from 1.6 to 1.8. Just that makes me think that 1.7 may be a bit of a problem child anyway.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#21 Post by muggins »

Two useful sites, for linux on toshiba laptops, are:

http://www.linux-on-laptops.com/toshiba.html

http://newsletter.toshiba-tro.de/main/index.html

Unfortunately the three links on the first, for your machine, are all dead. I had a look at them, though, using the wayback machine, but there's not much there of relevance tou your query.

The second site might give more info.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#22 Post by muggins »

Two links...oddly the first one seems to report success with toshiba_acpi!

http://www.knoppix.net/forum/viewtopic.php?t=23333
http://www.debianhelp.org/node/11882

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#23 Post by muggins »


peter_jammo
Posts: 20
Joined: Thu 26 Mar 2009, 16:03

#24 Post by peter_jammo »

Thanks again for helping with this, but I'm no farther forward. Booting with acpi off doesn't seem to make any difference - fan still doesn't start, toshiba_acpi doesn't load etc. This may mean that the hardware is faulty, but since I can't test that.............

I had a look through the links you gave me (thanks for the effort) and the most common fix for fan problems (lots on fixing up CPU freq scaling - I'm happy to set it to permanent low - 550Mhz still works plenty well for me) seems to be to get toshiba_acpi loaded, with the only other tack I saw being to use FNFX. I haven't been able to track down that programme as a .pet, and as a newbie I'm not confident with trying to load anything else. Any help with that would be appreciated.

I also tried eeepc, but when I try to read the outputs, there is always an error message that the file had been truncated, and unchanging, implausable readouts ie 255 for cpu temperature. In case eeepc interfered with anything I uninstalled it again.

Given that several tecra 8100 users (Knoppix, Suse) seem to have fixed the problem with toshiba_acpi, do you see anything other than a bios version issue that is preventing me from loading it?

Hard wiring the fan and scaling back the cpu freq from the bios is starting to seem like the likely best bodge, but I'd really prefer to fix it properly. Puppy goes so well in almost every other way that I'm very reluctant to quit.

Again any further ideas would be greatly appreciated.

peter_jammo
Posts: 20
Joined: Thu 26 Mar 2009, 16:03

#25 Post by peter_jammo »

OK, with no further suggestions in, I decided last night that flashing the bios without resorting to Win98 was too risky, and hard wired the fan off the ps2 port instead.

Result is a great running (though a little noisy - not too bad though) laptop suitable for mains operation (battery buggered anyway), with everything working well except audio cd playback. I can live with that.

Thanks again for all the help.

xav795
Posts: 26
Joined: Sat 18 Jul 2009, 11:03
Location: France, Paris

#26 Post by xav795 »

Hi,

I tried to use ACPI with the -s option on my laptop Inpiron DELL 6400.
The PC has been well suspended.
I uses then the on/off button to tell him to stop being suspended.
The screen then has appear but one thing did not go well :

i am using puppy 4.1.2 on usb flash, and when i boot, the device corresponding to the usb, is pointed with an orange circle. For the other one that are mounted, the circle is green.
So after the suspend i found that the usb flash device had no circle, if i mount it, it will be only green.

If i try to launch some usual applications, i can see that someone does not start then. So i think, something has to be mounted after the pc return from suspend, but i dont know what.

What is the significance of this? Is it a real problem for me to save to my puppy_save.sfs automatically?

Xavier

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#27 Post by muggins »

When you say some apps don't start, can you mention a few of them? Plus, can you try running these malfunctioning apps from the commandline, (Menu>Utility>Rxvt), to see what errors are generated?

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#28 Post by muggins »

Uploaded v0.5.1.
- various minor fixes (fixing memleaks, removing of limit on thermal zones): patches provided by Sergei Trofimovich and Erwan

User avatar
barefoot
Posts: 16
Joined: Sun 14 Feb 2010, 22:42
Location: Hana, HI, USA

success

#29 Post by barefoot »

installing this tool and running 'acpitool -s' allows my dell inspiron 5100 laptop to successfully suspend and wake up, even with mounted hd partitions and a mounted usb stick. i'm running puppy 4.3.1 full install. i dropped the command into a script on my dekstop so i can suspend with a single click.

before i found this tool, i tried various scripts found on this forum, and was unable to fully resume from suspend.

thank you muggins and whomever else may be connected with putting out this tool.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#30 Post by jpeps »

Acpitool -s works nicely on a Dell Latitude D600; certainly way better than sending messages to /sys/power/state.

Nooblet0218
Posts: 105
Joined: Fri 21 May 2010, 17:50

#31 Post by Nooblet0218 »

i've been trying to get this to work on my sony vaio desktop but i'm having some trouble. i'd love any ideas

acpitool -s seems to work fine but when i attempt to reboot i simply get a black screen and the power light on my monitor flashes orange and green. My usb devices are not powered, and neither is my keyboard. i don't pass go or collect 200$

I cleared /var/log/messages before trying to standby and i get this

Code: Select all

Jul  7 16:45:59 puppypc user.info kernel: PM: Syncing filesystems ... 
Jul  7 16:45:59 puppypc user.info kernel: done.
Jul  7 16:46:14 puppypc user.warn kernel: Freezing user space processes ... 
Jul  7 16:46:14 puppypc user.info kernel: (elapsed 0.01 seconds) done.
Jul  7 16:46:14 puppypc user.warn kernel: Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Jul  7 16:46:14 puppypc user.warn kernel: Suspending console(s) (use no_console_suspend to debug)
Jul  7 16:46:14 puppypc user.notice kernel: sd 0:0:1:0: [sdb] Synchronizing SCSI cache
Jul  7 16:46:14 puppypc user.notice kernel: sd 0:0:1:0: [sdb] Stopping disk
Jul  7 16:46:14 puppypc user.notice kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Jul  7 16:46:14 puppypc user.notice kernel: sd 0:0:0:0: [sda] Stopping disk
Jul  7 16:46:14 puppypc user.info kernel: serial 00:0b: disabled
Jul  7 16:46:14 puppypc user.info kernel: parport_pc 00:0a: disabled
Jul  7 16:46:14 puppypc user.debug kernel: ACPI handle has no context!
Jul  7 16:46:14 puppypc user.info kernel: Intel ICH 0000:00:02.7: PCI INT C disabled
Jul  7 16:46:14 puppypc user.info kernel: ohci_hcd 0000:00:02.3: PCI INT A disabled
Jul  7 16:46:14 puppypc user.info kernel: ohci_hcd 0000:00:02.2: PCI INT D disabled
Jul  7 16:46:14 puppypc user.info kernel: PM: suspend of devices complete after 656.107 msecs
Jul  7 16:46:14 puppypc user.info kernel: PM: late suspend of devices complete after 0.308 msecs
Jul  7 16:46:14 puppypc user.info kernel: ACPI: Preparing to enter system sleep state S3
Jul  7 16:46:14 puppypc user.warn kernel: Disabling non-boot CPUs ...
Jul  7 16:46:14 puppypc user.debug kernel: Back to C!
Jul  7 16:46:14 puppypc user.info kernel: ACPI: Waking up from system sleep state S3
Jul  7 16:46:14 puppypc user.debug kernel: pci 0000:00:01.0: restoring config space at offset 0x7 (was 0xd0e0, writing 0x200000f0)
Jul  7 16:46:14 puppypc user.debug kernel: pci 0000:00:01.0: restoring config space at offset 0x3 (was 0x10000, writing 0x14000)
Jul  7 16:46:14 puppypc user.info kernel: pci 0000:00:02.0: Enabling SiS 96x SMBus
Jul  7 16:46:14 puppypc user.debug kernel: ohci_hcd 0000:00:02.2: restoring config space at offset 0x1 (was 0x2800017, writing 0x82800013)
Jul  7 16:46:14 puppypc user.debug kernel: ohci_hcd 0000:00:02.3: restoring config space at offset 0x1 (was 0x2800017, writing 0x2800013)
Jul  7 16:46:14 puppypc user.debug kernel: pata_sis 0000:00:02.5: restoring config space at offset 0x3 (was 0x802000, writing 0x808000)
Jul  7 16:46:14 puppypc user.debug kernel: Intel ICH 0000:00:02.7: restoring config space at offset 0x1 (was 0x2900005, writing 0x2900001)
Jul  7 16:46:14 puppypc user.info kernel: PM: early resume of devices complete after 0.552 msecs
Jul  7 16:46:14 puppypc user.info kernel: ohci_hcd 0000:00:02.2: PCI INT D -> GSI 20 (level, low) -> IRQ 20
Jul  7 16:46:14 puppypc user.info kernel: ohci_hcd 0000:00:02.3: PCI INT A -> GSI 23 (level, low) -> IRQ 23
Jul  7 16:46:14 puppypc user.info kernel: Intel ICH 0000:00:02.7: PCI INT C -> GSI 21 (level, low) -> IRQ 21
Jul  7 16:46:14 puppypc user.info kernel: ata2.01: ACPI cmd ef/03:42:00:00:00:b0 (SET FEATURES) filtered out
Jul  7 16:46:14 puppypc user.info kernel: ata2.01: ACPI cmd ef/03:0c:00:00:00:b0 (SET FEATURES) filtered out
Jul  7 16:46:14 puppypc user.info kernel: ata2.00: ACPI cmd ef/03:42:00:00:00:a0 (SET FEATURES) filtered out
Jul  7 16:46:14 puppypc user.info kernel: ata2.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
Jul  7 16:46:14 puppypc user.info kernel: ata2.00: configured for UDMA/33
Jul  7 16:46:14 puppypc user.info kernel: ata2.01: configured for UDMA/33
Jul  7 16:46:14 puppypc user.info kernel: eth0: link down
Jul  7 16:46:14 puppypc user.info kernel: ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[18]  MMIO=[e5000000-e50007ff]  Max Packet=[2048]  IR/IT contexts=[4/4]
Jul  7 16:46:14 puppypc user.info kernel: parport_pc 00:0a: activated
Jul  7 16:46:14 puppypc user.info kernel: serial 00:0b: activated
Jul  7 16:46:14 puppypc user.notice kernel: sd 0:0:0:0: [sda] Starting disk
Jul  7 16:46:14 puppypc user.info kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Jul  7 16:46:14 puppypc user.info kernel: ata1.01: ACPI cmd ef/03:45:00:00:00:b0 (SET FEATURES) filtered out
Jul  7 16:46:14 puppypc user.info kernel: ata1.01: ACPI cmd ef/03:0c:00:00:00:b0 (SET FEATURES) filtered out
Jul  7 16:46:14 puppypc user.info kernel: ata1.00: ACPI cmd ef/03:45:00:00:00:a0 (SET FEATURES) filtered out
Jul  7 16:46:14 puppypc user.info kernel: ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
Jul  7 16:46:14 puppypc user.info kernel: ata1.00: configured for UDMA/100
Jul  7 16:46:14 puppypc user.info kernel: ata1.01: configured for UDMA/100
Jul  7 16:46:14 puppypc user.notice kernel: sd 0:0:1:0: [sdb] Starting disk
Jul  7 16:46:14 puppypc user.info kernel: PM: resume of devices complete after 7040.954 msecs
Jul  7 16:46:14 puppypc user.warn kernel: Restarting tasks ... done.
it seems like everything is in order yes? this is strange.

i've been googling it and i read that a bios update may be needed in order to solve the problem. and i also read that for some reason suspend to ram doesnt always work but suspend to disk might, i don't have a linux-swap partition so i'll make one and try it.

i'll keep this thread updated just in case someone else stumbles across the same problem

User avatar
morgonzola
Posts: 161
Joined: Thu 22 Apr 2010, 03:14
Location: Los Angeles, CA

#32 Post by morgonzola »

hey i couldnt gather if this was solved yet or not but i am using a dell dimension 8400 and i tried to use acpitool -s. it did suspend, but then on wake up, it turns everything back on but i get a blank screen, however the lcd is not on standby mode.

i have tried turning the lcd on/off and that does not work

and when i force restart, it has to perform a filesystem check.

i believe i have acpi on

any suggestions?

User avatar
str4y
Posts: 42
Joined: Mon 01 Aug 2011, 22:59
Location: No. California
Contact:

do you have a suspend button?

#33 Post by str4y »

morgonzola wrote:any suggestions?
I only recently discovered this thread, having gotten joy as far as suspending my Dell D600-series laptop by way of pemasu's laptop001.pet ..
http://www.murga-linux.com/puppy/viewto ... 993#484993

.. but the bulk of that .pet is Frisbee, which I found clunky and unneeded since Barry's connection scripts work fine for me. So I made a stripped-down .pet that's just the part that makes my Fn+Suspend button work! And maybe yours?
http://www.murga-linux.com/puppy/viewtopic.php?p=550279

Sure was a relief, too-- I only have a laptop and only get the net by gallivanting around between wifi hotspots.. so preserving battery etc is paramount. Prior to finding that, my only other Linux solution to get the functionality was a whole partition I created to devote to Mandriva, which made every last button work flawlessly right out of the box.. which ran a bit slow to my mind (I'm used to Puppy!) and which I rendered DOA after going into the update utility and selecting a heapload of packages that looked swell, trying to do the whole bunch at once but not knowing all the subpackages & version compatibilities needed and the result was a non-booting OS. Kept the partition around quite awhile though, was quite handy to pull over a /usr/lib/* file to Puppy now and then. But I digress.

ps. I dig your avatar. Cheese is good food. :mrgreen:
[size=75]laptop.pet: [url]http://www.murga-linux.com/puppy/viewtopic.php?p=550279[/url]
K3B-1.0.5 self-contained .pet [url]http://www.murga-linux.com/puppy/viewtopic.php?t=71862[/url]
:oops: bitcoin: [url]http://xmail.net/str4y/bitcoin/[/url][/size]

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#34 Post by snayak »

Hi,

For me, on my Lenovo G570 laptop and LighthousePup64,
acpitool -e
shows everything except Thermal info.

It says:

"Thermal info : <not available>"

What can I do to get thermal info?

Sincerely,
Srinivas Nayak
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

acpitool on ASUS U5F

#35 Post by sindi »

apcitool works in lupu slacko precise and tahr on a Compaq CQ50 (2008 or 9)
to suspend (-s). Screen blanks, fan goes off.

It works in lupu 5.2.8.7 on a similarly aged ASUS 5UF but NOT in tahr 6.0.2 (updated to .3).
"You must have write access to /proc/acpi/sleep to suspend your computer".

How do we suspend (to RAM, swapfile, or anything else) in tahr on the ASUS?

Does tahr come with some way to suspend/sleep/hibernate.....?

I found a pm-utils directory but no pm-suspend. Is there a suspend-utils
package for puppy, or some command line way to suspend?

If I close the lid the screen goes blank but fan still runs.

Trying to reduce summer energy usage. 90s out, don't want the heat.

My partner has been using Windows instead of linux because he does not want to
have to turn the computer off and on again. He can use lupu with acpitool.
But I got netflix working with Ubuntu chrome 38 in tahr.

In order to suspend to hard disk do we need a swapfile the same size as RAM?
Did not make one because of 1.5GB of memory.

Not using precise because it lacks fbcon (module or kernel) and I prefer terminal mode.

acpitool -s is not supported on my DELL 8100 Pentium III. Would pm-suspend work there?

Post Reply