PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Keine AKKU Anzeige !?



firefox7
08.08.05, 16:10
Hallo zusammen.
Ich bin ziemlicher SuSE Neuling. Habe die Version 9.3 installiert. Bis jetzt klappt alles super! Das Einzige, was mich stört ist die fehlende Akku Anzeige in der Taskleiste. Da ich SuSE in Verbindung mit einem Laptop nutze, wäre der genaue Akku-Ladestand wichtig für mich. Wenn der Akku zu neige geht, werde ich nicht gewarnt. Das Notebook geht einfach aus!

In der Taskleiste ist ein SteckerSymbol zu sehen. Dort kann ich die Option: YaST2 Power Management Modul starten auswählen. Hierüber kann ich die Batterie Warnung konfigurieren. Es tut sich aber nichts. Keine Batteriestandsanzeige zu sehen.
Im Kontrollzentrum steht unter Notebook Akku folgendes:

Ihr System verfügt nur über eine Teilunterstützung für ACPI. Wahrscheinlich wurde ACPI eingeschaltet, aber einige der Untereinstellungen wurden nicht eingeschaltet. Die Einstellungen 'AC-Adapter' und 'Control Method Battery' müssen eingeschaltet und der Kernel neu erstellt werden.

Wie kann ich das machen?

Habe schon gegoogelt, die Boardsuche benutzt, und andere Foren kontaktiert. Keiner weiss eine Lösung.

Vielleicht kennt ja irgendjemand das Problem und kann mir weiterhelfen...

Ich benutze ein Acer Travelmate 4001WLMi.

Danke.
Gruß, Daniel.

DaGrrr
08.08.05, 16:21
Vielleicht hilft dir das ein Stück weiter:
http://www.htw-dresden.de/~s51390/tux/4001/4001.html#21
und
http://www.gentoo.de/doc/de/power-management-guide.xml

Ist zwar für Gentoo, das ganze sollte aber auch mit SuSE möglich sein.
Schaus dir einfach mal an.

Grüße
DaGrrr

Th3o
08.08.05, 16:30
die bekannten Anlaufstellen bei Linux auf Notebooks sind

http://tuxmobil.de/
http://tuxmobil.org/
http://www.linux-on-laptops.com/

schau Dir auch diese Seite an http://www.uni-koblenz.de/~dbildh/Linux_On_TM4001/ , ist zwar Debian und kein Suse, aber es erklärt einiges bzgl. Deines Notebooks

solltest Du an Debian Sid Interesse haben, dann empfehle ich Dir Kanotix (siehe Sig), das kann man problem- und gefahrlos ausprobieren, da Live CD und bei Gefallen schnell mittels sudo kanotix-installer auf die Platte installieren. Ich habe Kanotix auf meinem Notebook laufen und bin sehr zufrieden

gl

Th3o

firefox7
09.08.05, 10:10
Wow. Danke für eure wirklich nützlichen Tipps.
Jetzt weiss ich schonmal, dass mein Schleppi eine Smart Battery Unterstützung benötigt.

Ich habe eine Anleitung zum patchen des Kernels gefunden (von Bruno Ducrot) mit entsprechenden Dateien. Ist anscheinend für Gentoo. Eignet sich das auch für SuSE 9.3 ?

Im folgenden habe ich noch einige Fragen:

Anleitung:
1) Ensure that you have the source tree installed for your Kernel
Wie sehe ich das ???

2) If you haven´t already done so, patch your kernel with Bruno Ducrot´s embedded controller patch. From the top of the kernel source tree (usually, /usr/scr/linux), run:
patch -p1 < [path_to_this_dir]/acpi-ec-2.6.10.diff
Wie funktioniert das genau? Und geht das auch mit meinem Kernel, Version 2.6.11 ???

3) If you want to use the legacy battery interface beneath /proc/acpi/battery, ensure that ACPI battery support (CONFIG_ACPI_BATTERY) is *disabled* in the kernel
Wo kann ich das sehen, bzw ändern?

4) Likewise, if you want to use the legacy AC Adapter interface beneath /proc/acpi/ac_adapter, ensure that ACPI AC Adapter support (CONFIG_ACPI_AC) is *disabled* in the kernel
Wo kann ich dies nun wieder sehen, bzw. ändern?

5) Run 'make'
? Einfach in die Konsole make eingeben ? Worauf bezieht sich das, und was wird "gemacht" ???

6) If all went well, run 'make install' as root
? Was genau installieren? Wieder nur make install eingeben?

7) To load the ACPI SBS driver, run 'modprobe i2c-acpi-ec', followed by 'modprobe acpi-sbs'
Muss ich das dann nach jedem Neustart von Linux machen? Oder nur einmal, und dann werden die Treiber bei jedem Start geladen.

Habe ich nach dieser Installation immer noch die Powermanagement Unterstützung um "Suspend Computer" auszuführen?
Erscheint dann eine Akkuanzeige, wo ich die Alarmfunktion aktivieren kann in Form einer grafischen Oberfläche?


In einem anderen Text steht:
With Kernel 2.6.12 you haven't to do all this. It`s enough to patch the kernel with the acpi-dsdt-initrd-patch, enable the dsdt-override in menuconfig (Power Management -> ACPI -> Read custom DSDT from initrd) and then add the fixed dsdt as initial ramdisk.

Wo genau finde ich den angebenen Pfad? Leider funktioniert der Download dieses Patches nicht, da er auf dem Server nicht mehr vorhanden ist. :(
Könnte ich mir also einfach bei kernel.org einen 2.6.12 kernel downloaden und installieren (Wie das geht, weiss ich natürlich auch nicht :confused: )

Evtl. könnt ihr mir ja einige Tipps geben, wie ich das hier alles anstelle. Für einen absoluten SuSE Neuling ist das etwas unverständlich geschrieben.

Danke.
Gruß, Daniel.

firefox7
09.08.05, 12:24
Also ich haber per Zufall hier noch folgende Anleitung gefunden:

which I would like to call it the “Project from HELL”. This alone crippled this laptop to the point that this laptop is better for desktop use than an actual laptop. There is no way around this but to patch and compile a new kernel , which I'm not a fan of by the way. Both frequency scaling and battery status don't work.




First download the 2 patches and a driver is required to fix this:




driver : acpi_sbs-20050120.tar.gz

patch : cpufreq-speedstep-dothan-3.patch

http://shayol.bartol.udel.edu/~rhdt/download/acpi_sbs-20050120.tar.gz

http://localhost.ruhr.de/~stefan/acerTM292/patches/cpufreq-speedstep-dothan-3.patch



now go to yast and install the kernel source. now unzip the acpi-sbs driver then copy the cpufreq patch and the acpi-ec-2.6.10.diff patch (in the unzipped directory driver) to /usr/src/linux. Go to /usr/src/linux directory as root and type something like this:




patch -p1 < acpi-ec-2.6.10.diff

patch -p1 < cpufreq-speedstep-dothan-3.patch




Now the kernel is all patched up and ready. You have to configure it properly. Unfortunately, SuSE doesn't provide the same .config file that they use to build the default kernel and I think that is done on purpose to display the superiority of their own kernel over custom kernels, BAD SuSE BAD, stick with me and I'll show you the way its done. It is preferred if you make a custom Build options so you don't overwrite your existing kernel. Personally I used 2.6.8-25-SuSE. Now take a look around and customize the kernel as you see fit. Go to File Systems and make sure subfs file system support in build as module if you want your cdrom to automount. oh , I use the new mini ipod 4th generation and these don't work because of a bug so make sure you uncheck the File Systems-> Partition Types -> EFI GUID Partition support if you want to use mini iPods. And Vwalaaaa. it's done. save the configuration, rebuild and install the kernel and boot from it to build the battery driver. Read /usr/src/linux/README if you don't know how to build the kernel.



before you start building the acpi-sbs driver go to :




/lib/modules/2.6.8-whatever-u-renamed-it/kernel/drivers/acpi>




and rename the ac.ko to ac.ko.backup and the same for the battery.ko to battery.ko.backup. This is done to get the battery and ac support to work property. go to acpi-sbs directory and make && make install. Now to load the drivers every time SuSE boots add the following lines to /etc/init.d/boot.local




insmod i2c_acpi_ec

insmod acpi_sbs

insmod speedstep-centrino




and thats it. all ACPI components should work fine now, both battery status and frequency scaling and now you can call this thing a laptop.


SORRY für den langen Text!

Warum ich folgendes machen muss, verstehe ich überhaupt nicht, bzw wie und was ich da machen muss kappiere ich nicht:

Now take a look around and customize the kernel as you see fit. Go to File Systems and make sure subfs file system support in build as module if you want your cdrom to automount. oh , I use the new mini ipod 4th generation and these don't work because of a bug so make sure you uncheck the File Systems-> Partition Types -> EFI GUID Partition support if you want to use mini iPods. And Vwalaaaa. it's done. save the configuration, rebuild and install the kernel and boot from it to build the battery driver.????

Ist es wahrscheinlich, dass dieser Patch mit meinem Kernel 2.6.11 auch funktioniert ???

Welche Methode ist die bessere (für mich einfachere?)

DANKE nochmal.
Gruß, Daniel.

firefox7
09.08.05, 19:08
Mein Problem hat sich erledigt.
Auf der Website www.sligger.de unter Tutorials habe ich eine gute Installations-Vorgehensweise auf deutsch gefunden. Dort ist alles verständlich erklärt.

Gruß, Daniel.