[tlinux-users:07302] Re: ACPI problems with a Sattelite L10

"Howard Coles Jr." <[email protected]>
Newsgroups gmane.linux.hardware.toshiba
Message-ID <[email protected]>
On Thursday 29 September 2005 06:49 am, Fred Thiele wrote:
> > Well, I already know the gentoo doc and the ACPI linux
> > ACPI project, but the problem is elsewhere. The DSDT
> > itself is uncomplete, not buggy but uncomplete. The
> > Toshiba Windows XP provides 2 drivers for the battery
> > management.
>
> Hello,
>
> I am not that deeply involved in acpi hacking, but i managed to get sbs
> working in GNU/Linux using an older patch than the one presented under
>
>     https://sourceforge.net/projects/sbs-linux/
>
> The above didn't work for may L10. I attached two files to this mail. Do
> the following to get it working within your linux.
>
> * acpi_sbs-20050120.tar.gz
> * acpi_sbs-20050120-Toshiba-L10-Patch.diff
>
> The second one is a div/0-bug patch written by myself, you have to apply
> it the the sources in the tar.gz: (do a
>
>     patch -p1 < /path/to/acpi_sbs-2005-0120-Toshiba-L10-Patch.diff
>
> in the extracted tar.gz. Hope you can make use of it ;-)
>
> Here I am again. I recently installed a new Gentoo-Linux on my L10 and
> again ran into the smart-battery-system issue within it. What to do:
>
> 0) Unpack and apply the patch i have attached to this email
>     - unpack it into a temporary folder ~/tmp/ or so
>
> 1) Get a new Kernel
>     - as i dont know what system you run i can't tell you what to take
>     - just have a look for a kernel 2.6.XX, where XX is 10 and above (as
>       for me i have a 2.6.12 running) -- you need the SOURCES!
>
> 2) Patch the Kernel with the patch above
>     - run:  cd /usr/src/linux
>     - then: patch -p1 < ~/tmp/acpi_sbs-20050120/acpi-ec-2.6.10.diff
>       - this does some changes in the kernels acpi-stuff concerning the
>         smart battery systems
>
> 3) Configure necessary kernel options
>     - run: cd /usr/src/linux ; make menuconfig
>     - de-select "AC Adapter" and "Battery" in ACPI_SUPPORT=20
>         - we apply our own acpi drivers with that patch above, so the
>           kernel ones have to be excluded
>     - in "Device Driver"/"I2C-Support" select:
>         - I2C-suppor
>         - I2C-device interface
>
> 4) Now compile your kernel, i hope you have some experiences with it--
> as i dont know what system you are running i cannot provide you help on
> what special things you need to include in the kernel.
>
>     - run: make && make modules_install
>     - then mount your /boot partition (if you have a separate /boot)
>       with: mount /boot
>       and do an: make install
>     - or you can do the install stuff by hand: just copy over the
>       System.map and arch/i386/boot/bzImage over to your /boot and ajust
>       your grub.conf ore lilo.conf to point to the new kernel-image
>
> At this point you should check if your kernel does really work. Reboot.
>
> 5) If everything went well you should now compile the sbs-drivers:
>     - cd ~/tmp/acpi_sbs-20050120/
>     - make && make install
>         - this will build the modules and install them to your
>           /lib/modules/ directory, where all the kernel-modules reside
>
> 6) Now you should be able to get acpi information on your smart
> batteries:
>     - do a:     modprobe i2c-acpi-ec
>     - and a:    modprobe acpi_sbs
>     - check your proc for battery and ac-adapter status:
>         - cat /proc/acpi/sbs/SBS0/SB0/state=20
>         - cat /proc/acpi/ac_adapter/AC0/state

Would any of these patches work on a A75?

-- 

See Ya'
Howard Coles Jr.
John 3:16!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.