Skip to contentSkip to conversation

OneTouch support on Satellite 3k, and possible thermal control policy for some Omnibook laptop. (was Report:...)

DISCUSSION Bob McElrath 3 participants 4 messages Jul 23, 2002 – Aug 7, 2002 11 messages not in the archive ACPI

lore
Share & tools
lore
#8 lore raw
In reply to a message not in the archive
Quoted 19 lines · Pavel Machek [[email protected]] wrote:

Hi!

Quoted 18 lines
Quoted 6 lines

* Freitag, 28. Juni 2002 um 15:49 (+0200) schrieb Ducrot Bruno:

Quoted 5 lines · Gert Wollny
Quoted 2 lines

The buttons still give no events.

Quoted 8 lines
Quoted 1 line

Yep, but I don't know actually if it is a bug in the AML or in ACPI-CA.

Maybe the same problem as on my Toshiba Satellite 3000-514: It gives events only with a "eisa_set_level_irq(9)"-Statement in "acpi/pci_irq.c" (Thanks to Dominik Brodowski).
But -- after a S1 and a following wakeup the one and only event recognized is the power-button (then without acpi-debug-messages in /v/l/m).

Interresting. Thank for the info. I will look at that.

Quoted 7 lines
Quoted 4 lines

BTW, I just realized that the HP Omnibook XE3-GF and the Satellite 3000 series are made by the same ODM (Compal), and share identical information for the embedded controller in their DSDT.
So far, I think the chipset implied is the same.

Wow... I have omnibook xe3 on the table (athlon one, ALI chipset, is it -GF?)

Neato! Thanks for pointing your project out! Attached is a patch for your omnibook tools for the Compal ACL00 laptop (which is identical to the Toshiba 3k but doesn't report the same BIOS strings). Works great! This laptop is the Excalibur LT-430-S sold by ASLab
(http://www.aslab.com).

I presume once the ACPI code is complete and everyone has patched dsdt's, the omnibook and tosh3k modules won't be necessary, right?

Otherwise, it might be nice to combine this pile of code. ;)

Ducrot, is it possible to control the fan with your tosh3k module? I notice that it reads fan status but:
echo 1 >> /proc/toshiba3k/fan
doesn't do anything. :( Also attached is a patch for your tosh3k module to work with this laptop.

Cheers,
-- Bob

Bob McElrath ([email protected]) Univ. of Wisconsin at Madison, Department of Physics

"No nation could preserve its freedom in the midst of continual warfare."

    --James Madison, April 20, 1795

Only in omnibook-2002-07-17.bob: dmi.o
Only in omnibook-2002-07-17.bob: ec.o
diff -cr omnibook-2002-07-17/main.c omnibook-2002-07-17.bob/main.c
*** omnibook-2002-07-17/main.c Wed Jul 17 00:31:18 2002
--- omnibook-2002-07-17.bob/main.c Tue Jul 23 09:24:49 2002
***************
*** 59,64 ****
--- 59,65 ----
{ "HP OmniBook XT1000", 1, 0, 1 },
{ "HP OmniBook 500 FA", 1, 0, 0 },
{ "S3000-100", 1, 0, 1 }, /* Toshiba Satellite 3000-100 */
+ { "*", 1, 0, 1 }, /* Compal ACL00 (doesn't report a name) */
{ NULL, 0, 0, 0 } /* Unsupported model */
};

***************
*** 327,332 ****
--- 328,342 ----
return 0;
}

+ static int __init is_acl00(void)
+ {
+ if ((strncmp(omnibook_dmi_ident[OMNIBOOK_SYS_VENDOR], COMPAL_SIGNATURE, strlen(COMPAL_SIGNATURE)) != 0) &&
+ (strncmp(omnibook_dmi_ident[OMNIBOOK_BOARD_NAME], ACL00_SIGNATURE, strlen(ACL00_SIGNATURE)) != 0))
+ return -ENODEV;
+ printk(KERN_INFO "%s: Compal ACL00 laptop detected.\n", MODULE_NAME);
+ return 0;
+ }
+
static int __init omnibook_ident(void)
{
int model = 0;
***************
*** 335,341 ****
if (omnibook_dmi_scan_machine() != 0)
return -EIO;

! if ((is_omnibook() == 0) || (is_toshiba3k() == 0))
{
while (omnibook_models[model].name) {
--- 345,351 ----
if (omnibook_dmi_scan_machine() != 0)
return -EIO;

! if ((is_omnibook() == 0) || (is_toshiba3k() == 0) || (is_acl00() == 0))
{
while (omnibook_models[model].name)
{
Only in omnibook-2002-07-17.bob: main.o
diff -cr omnibook-2002-07-17/misc/dmi_strings.txt omnibook-2002-07-17.bob/misc/dmi_strings.txt
*** omnibook-2002-07-17/misc/dmi_strings.txt Tue Jul 16 01:23:33 2002
--- omnibook-2002-07-17.bob/misc/dmi_strings.txt Tue Jul 23 09:16:01 2002
***************
*** 69,71 ****
--- 69,84 ----
Asset Tag: No Asset Tag.

---------------------------------------------
+
+ BIOS Vendor: COMPAL
+ BIOS Version: V2.10C
+ BIOS Release: 03/25/02
+ System Vendor: COMPAL.
+ Product Name: *.
+ Version: *.
+ Serial Number: *.
+ Board Vendor: Null.
+ Board Name: ACL00.
+ Board Version: Null.
+ Asset Tag: No Asset Tag.
+
diff -cr omnibook-2002-07-17/omnibook.h omnibook-2002-07-17.bob/omnibook.h
*** omnibook-2002-07-17/omnibook.h Wed Jul 17 00:21:33 2002
--- omnibook-2002-07-17.bob/omnibook.h Tue Jul 23 09:22:45 2002
***************
*** 26,30 ****
--- 26,32 ----
#define OMNIBOOK_SIGNATURE "HP OmniBook PC"
#define TOSHIBA_SIGNATURE "TOSHIBA"
#define S3K_SIGNATURE "S3000" /* Toshiba Satellite 3000 */
+ #define COMPAL_SIGNATURE "COMPAL"
+ #define ACL00_SIGNATURE "ACL00"

/* End of file */
Only in omnibook-2002-07-17.bob: omnibook.o

Only in tosh3k-0.1.0.bob/: test_ioctl
diff -cr tosh3k-0.1.0/tosh3k.c tosh3k-0.1.0.bob/tosh3k.c
*** tosh3k-0.1.0/tosh3k.c Sun May 19 14:34:41 2002
--- tosh3k-0.1.0.bob/tosh3k.c Tue Jul 23 13:26:58 2002
***************
*** 707,712 ****
--- 707,713 ----
char *model;
} supported[] = {
{ "TOSHIBA", "S3000" },
+ { "COMPAL", "*" },
{ NULL, NULL }
};

Only in tosh3k-0.1.0.bob/: tosh3k.o

#11 lore raw
In reply to a message not in the archive
Quoted 7 lines
Quoted 4 lines

For now, with the omke.pl (can be found on http://sf.net/projects/omke)
I can switch LCD on/off (even if actually I found another method) and

What method did you find for switching LCD?
Pavel

The omke.pl fiddles with some XE3 specific register (hw. port), which controls all that. I don't write the omke, but I monitor the lists..

IMHO don't patch your kernel. If a perl script can modify the reg and exit, it's better that way (than adding one more deamon).

For any help with XE3, ask me in personal, I may know.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#14 lore raw
In reply to a message not in the archive

Hi!

Quoted 8 lines · Pavel Machek

Hi!

Quoted 3 lines

For now, with the omke.pl (can be found on http://sf.net/projects/omke)
I can switch LCD on/off (even if actually I found another method) and

What method did you find for switching LCD?
Pavel

I was on vacation, so... Well, sorry for this long standing reply..

On the DSDT, there is a 'S1LD' (or 'S0LD' for 'newer model') in the ERAM field of the EC.

Writting a 1 or 0 switch on or off the LCD display. It is straightforward to modify a little the tosh3k module for that (it is at 0xA3, bit 0).

Signature · 9 lines
Ducrot Bruno
http://www.poupinou.org        Page profaissionelle
http://toto.tu-me-saoules.com  Haume page


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
#13 lore raw
In reply to a message not in the archive
Quoted 8 lines · P. Christeas
Quoted 7 lines
Quoted 4 lines

For now, with the omke.pl (can be found on http://sf.net/projects/omke)
I can switch LCD on/off (even if actually I found another method) and

What method did you find for switching LCD?
Pavel

Quoted 8 lines

The omke.pl fiddles with some XE3 specific register (hw. port), which controls all that. I don't write the omke, but I monitor the lists..

IMHO don't patch your kernel. If a perl script can modify the reg and exit, it's better that way (than adding one more deamon).

For any help with XE3, ask me in personal, I may know.

The module made by Peter Soos can turn on/off the LCD display when we want to blank the console, so that it is usefull if you want to save power when on battery.

Signature · 9 lines
Ducrot Bruno
http://www.poupinou.org        Page profaissionelle
http://toto.tu-me-saoules.com  Haume page


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf