Home

Previous Entry | Next Entry

Isle of Wight, Sepia, Natural, Self-photo #2, Cat, Studio, B&W, Self-photo #1, Singapore 2004, Studio #2
I finally took the time to get everything on my HP Special Edition L2000 laptop working - sans modem, which I have no way of testing, and the multi-card reader, which I'm informed is definitely unsupported.

Previously, ndiswrapper worked, so I could get the internal wireless card working, but only in 32-bit mode; this is now working in 64-bit mode. Also, suspend works, under both the original kernel and the newly-released update.


First, grab the ndiswrapper source RPM from livna.org, rebuild, and install both the ndiswrapper and kernel-module-kernel-version binary RPMs. Grab the Windows 64-bit drivers - my card works with the drivers for the Acer Ferrari 4000, YMMV. Check the lspci output and compare with the list on the ndiswrapper wiki. Unzip, ndiswrapper -i the .inf file, confirm that there are no error messages, ndiswrapper -m to create the appropriate entry in modules.conf, and you're set to go as far as wireless is concerned.

You might want to add the Livna.org to the list of Yum repositories, but beware that the latest ndiswrapper release currently does not work with the Broadcomm 64-bit drivers, so when using yum, always use --exclude '*ndiswrapper*'.
rpm -ivh http://rpm.livna.org/fedora/4/i386/RPMS.lvn/livna-release-4-0.lvn.5.4.noarch.rpm

Then optionally install ATI's proprietary graphics driver - the latter is optional, but without it you're limited to stretched 1024x768 on a 1280x768-native LCD display. Not pleasant.


yum install ati-fglrx


Then edit /etc/X11/xorg.conf, change the driver from vesa to fglrx and add 1280x768 to the list of resolutions.

You could optionally install the kernel module to get graphics acceleration, but the performance boost is not that great (from 230 to 700 fps on glxgears), and the kernel module is a bit flaky (thanks, ATi). I've had trouble even switching back from X to the console when rebooting the machine, so trying to get suspend working would be a bit maddening, especially if the kernel module needs to be removed prior to suspending, since that would preclude suspending from X.

Next, modify /etc/grub.conf as such: add the following to the end of the kernel ... line:

no_timer_check noapic ignore_ff_buttons=PWRF acpi_sleep=s3_bios


The first item prevents the clock from going twice as fast, the second is needed for resume to work without freezing, the third stops the kernel from immediately shutting down when you press the power button to resume (need to figure out how to resume from any key a la the *books), and the last item tells the BIOS to reinitialize the display on resume (so you can still use the console virtual terminals - the X display works fine regardless).

Lastly, create /etc/acpi/events/powerbutton.conf and put in the following:
event=button/power.*
action=/opt/sbin/suspendtoram


and, naturally, create the aforementioned action file and make it executable. You need the following at the minimum:

#!/bin/sh
if [ ! -f /tmp/suspended ]; then
        touch /tmp/suspended
        service network stop
        service gpm stop
        rmmod ndiswrapper
        rmmod ehci-hcd
        rmmod ohci-hcd
        echo mem > /sys/power/state
else
        rm -f /tmp/suspended
        modprobe ohci-hcd
        modprobe ehci-hcd
        modprobe ndiswrapper
        service network start
        service gpm start
fi



Remove the default sample.conf - or move it out of the way - as it has a conflicting entry for the power button.

Credits:

Thanks to Guilherme Dias da Fonseca for providing the instructions to get me started.

Comments

[info]mge wrote:
29-a de okt 2005 22:24 (UTC)
HOWTO: Get OSX Working On Your Apple iBook
1) Put the disc in the disc drive.
2) Turn the laptop on.

Clearly, Linux has a long way to go. :-)
[info]salimma wrote:
30-a de okt 2005 04:55 (UTC)
Re: HOWTO: Get OSX Working On Your Apple iBook
I know :) Well, you don't even need the disc until a new OS release comes out anyway.

And let's not talk about setting up the IU VPN on Linux. *Cough* L2TP *Cough*
[info]mge wrote:
30-a de okt 2005 12:26 (UTC)
Re: HOWTO: Get OSX Working On Your Apple iBook
You should use PPTP. I even have to use that on OSX since the L2TP seems to be way less stable.
[info]salimma wrote:
31-a de okt 2005 12:05 (UTC)
Re: HOWTO: Get OSX Working On Your Apple iBook
I use PPTP right now, but on Linux at least, it'd seem that in theory L2TP should be less intrusive - no kernel modules needed that's not already part of the standard Linux kernel. It's just the userland tools.. argh.

Funnily, the PPTP setup tool is the only non-web-based application I've seen written in PHP. With a rather spiffy GTK GUI too.
[info]amplifiedmouse wrote:
7-a de nov 2005 23:19 (UTC)
Re: HOWTO: Get OSX Working On Your Apple iBook
Some older iBooks need to be turned on before cd-rom can be ejected:

UPDATE:
1)Turn the laptop on.
2)Put the disc in the disc drive.


:)

Latest Month

majo 2008
S M T W T F S
    123
45678910
11121314151617
18192021222324
25262728293031

Feeds

I'm also on...

Funkciigita de LiveJournal.com