[ Installing Debian | Patching the kernel | Setting up X | Setting up Sound | Power Management | Network, combo drive, and USB configuration | The Application Panel and LED | What doesn't work | Tips and Tricks | How I almost toasted my Linux install | Hard Drive Upgrade | How I set up my removable USB drive | Likes and Dislikes | Thanks and Links | How I set up my removable USB drive ] P2110 Specs (borrowed from Fujitsu's site):
|
P2120 InformationFirst, I should tell you that I don't have a P2120 personally, so all of the information I will give regarding the P2120 is second-hand at best. I have not personally tested it or confirmed that it works, but I will try my best to confirm that the P2120-specific information I detail here has some sort of consensus regarding its accuracy and appropriateness. That having been said, whenever there is some important configuration information that differs between the P2110 and P2120, I plan to add a differently-colored box like you see here, with instructions specificially for the P2120. As I do this, please feel free to send me any corrections/improvements you might have. Let's start with the P2120 hardware specs: P2120 Specs:
|
Setting up XNext up is to set up X. The main thing you need to know is to add the following modeline so you can acheive the 1280x768 resolution: Update 12-27-2002: More detail on building DRI-XV packages from retinalburn.net To get DRI, XV, and GL working under X, I ended up grabbing the patched drivers from http://www.retinalburn.net/linux/. Follow his directions for details, but the following is what I did. First, I downloaded two files, mach64-20020920-linux.i386.tar.bz2, and mach64-dri-xv-20020916.tar.bz2 from his site. Go here for updated files. I then untarred the first file, which unpacks into a directory called "dripkg". Then I went into that directory and ran the install.sh script inside. Note that you will need to have the source for whatever kernel you happen to be using. This script will build and install the mach64 dri modules for your kernel. After I did this, I unpacked the second mach64-dri-xv file, which unpacks into a X11R6-DRI directory. I then made a backup copy of my /usr/X11R6 directory, just in case, and then went into the X11R6-DRI directory and typed as root: greenfly@clover:~/X11R6-DRI$ cp lib/modules/drivers/* /usr/X11R6/lib/modules/drivers/and greenfly@clover:~/X11R6-DRI$ cp lib/modules/multimedia/* /usr/X11R6/lib/modules/multimedia/At this point I restarted X, and xvinfo worked, and xine and mplayer both worked with xv acceleration. For GL to work, you will want to make sure that the only GL libs that exist on your system are under /usr/X11R6. Also, I've noticed that DRI won't work above 16bit color depth. The /var/log/XFree86.0.log complains about needing 9Mb+ of video memory to run at 24bit color depth. I would rather have more colors than GL acceleration at the moment, so I'm running at 24bit, with plans to set up an additional screen section in my XF86Config-4 so I can start a new 16bit X session for games. Without GL acceleration, glxgears pulls between 100 and 120fps, with GL it gets around 220 to 240fps. I got tvout working to some degree by using atitvout which happens to have a package for Debian Sid. It isn't perfect, but it will work as long as you specify to display on the TV only. I haven't been able to get a simultaneous view yet, so I use |
P2120 Specific Information Because the P2120 uses the Radeon Mobility instead of the Rage Mobility, the accelerated drivers from retinalburn.net will not work for the radeon. However, it appears that X 4.3 has support for PCI Radeon cards. Simply specify "radeon" as your driver instead of "ati". An additional note for debian woody users (Added 04-09-2003): I received a tip from Aaron Enright, a P2120 user, on getting a working version of X for the P2120 with Debian Woody "the Debian way." Simply add
A experimental source for X 4.3 for sid users (Added 2003-11-04): That above source doesn't help you much if you are a sid user, so here's the experimental X source for debian:
Then run |
Power ManagementFor power management, I installed the apmd Debian packages. There is one caveat though. I noticed that after a suspend, X would be fine but any consoles wouldn't come back up. Some people offered modifying the /etc/apm/apmd_proxy script so that it says "return 0" instead of "exit 0" at the end. That seems to work, although I am still losing console sometimes. I also installed the longrun Debian package, which was nice enough to create the devices under /dev for me. I haven't been able to get the gkrellm longrun plugin to work, but longrun itself works fine. I set up a "longrun" group and gave it write access to those devices. I modified a hdparm apm script to set up my economy mode under longrun. You can check that out here. I have it currently set up to allow speeds between 300Mhz and 667Mhz when on the battery, and the full 867Mhz when plugged in. I also downloaded a nifty dockapp to monitor longrun status called wmlongrun.
Update 05-11-2003: Enabling LongRun Thermal Extensions (LTX): Another Crusoe user, WildBill, gave me a tip on how to enable Longrun Thermal Extensions in Linux. It's very straightforward. Basically, to enable it you run clover:/home/greenfly# longrun -p LongRun: enabled LongRun Thermal Extensions (LTX): active LTX setting: reserved Current performance window: 100 to 100 Current performance level: 100 LongRun flags: performanceYou might be wondering, what is LTX in the first place? Here's the description from Transmeta's site on Longrun:
Well, that was a nice bit of PR-speech. Anyway, I added the enable and disable commands to my longrun apm script. Update 05-13-2003: Well, that didn't exactly work as planned. I figured that the laptop would get warmest during performance mode, so I enabled thermal extensions during that time, but it really slowed things down. I got an email from dirk, complaining about poor video performance, so I ended up swapping the thermal extensions to only be enabled when on battery power. I actually decided to just leave those commented out, and those of you that wish to use it can simply comment the lines back in. Update 11-26-2002: I have gotten suspend-to-disk working. Here's how: First you need to make sure that you have created a partition of type a0 (IBM Thinkpad Hibernation) on your disk. The partition size should be equal to physical RAM + video memory + 2MB, or 266MB in my case. I set it higher, because I wanted to allow room to grow up to 512MB RAM. Next I downloaded lphdisk using My plan is to try turning off automatic suspend when the panel is closed in the BIOS, and try to set up APM to recognize that event and run apm -S instead of apm -s. Otherwise, if you suspend to RAM and then close the panel, it will go ahead and automatically suspend to disk, which isn't what I would like it to do.
Update 02-22-2003: I have gotten combo drive/modular battery swapping working! Here's how: Yooden from the Leog.net P-2000 Linux forum pointed out in a thread that you can hotswap out the combo drive with the modular battery by simply doing a warm swap instead (swapping out while your machine is suspended). I just tried it out and it works great. The only question I might have now is whether it'll work if the combo drive isn't in the laptop when it originally boots. I will try that out at some point and update this. Even so, it doesn't matter much since I won't be rebooting this machine much at all! Thanks Yooden!
|
P2120 Specific Information Todo: Add ACPI configuration information. In the meantime there are multiple documents, including ACPI's own internal documentation, for instructions on how to use the system. Note that APM no longer works for the P2120 series.
|
Hard Drive UpgradeNew 01-02-2004So, after owning the P2110 for a year, I decided it was time for a hard drive upgrade. I not only wanted to increase the hard drive capacity, but I also wanted to move from a 4200rpm drive to a 5400rpm drive. After shopping around, I decided on the Toshiba MK4019GAX. Here are some specs:
First, I followed the instructions on this site to remove my old hard drive. Having changed out hard drives in other laptops, it was rather straightforward. Then I hooked up my old hard drive to my desktop computer with a 2.5" laptop adapter (you can get them either online or at a decently-stocked electronics/computer store). I then created a temporary mount point for the two partitions I was interested in transferring (my Windows and Linux partitions) and mounted them at /mnt/hdc1 and /mnt/hdc2 respectively. I then cleared up some free space on my desktop and ran the same command I use to transfer any root system, once for each partition:
Then I halted the machine, hooked up my new hard drive, and booted back up. At this point I had to recreate the partitions one by one using fdisk. I created each filesystem one by one how I wanted them, and then, after I had written to the partition table, I created the appropriate filesystems on the Windows and the Linux drives using mkfs. I then mounted the Windows and Linux partitions where I had mounted them previously and did the following for each partition to copy the data back to the new drive:
Once all the data had been copied, I powered down my desktop and installed the new hard drive into the P2110. I then booted off of a KNOPPIX cd so that I could run grub-install to place grub back on the MBR of this new hard drive. I booted the KNOPPIX disc, mounted the Linux root read/write with Once I had booted, I ran a few diagnostics to test the differences in speed. Here are the hdparm benchmarks:
|