Double Tall Iced Mocha, Lite on the Chocolate

September 27, 2006

Linux Tablet: P1510D

Filed under: /geek — Ken @ 12:23 am

Back in January I bought a Fujitsu P1510D sub-notebook tablet PC. I had been using a powerbook at a previous job and had become quite fond of OS X, however when I decided to buy a laptop on my own dime, I really lusted for something extremely small and something not apple. A long time ago I bought a Sony Picturebook PCG-C1 sub notebook and used it for many years, its small size was great taking to conferences, I could slide it into pockets on some of my larger coats, and I really missed having a laptop that small. The fujitsu is very close in the size to the old picture book and has the benefit of a tablet swivel screen.

At the reccomendation of my roomate, I decided to try Ubuntu, he was running on his powerbook, desktop, and seemed quite pleased with it.
I started with the Ubuntu Breezy install CD booting off an external CDROM and did a normal install. Using the synaptic package manager (graphical interface to “apt”) I installed all the updates and proceeded to upgrade straight to the most recent release, Dapper. After completing the upgrade I was quite pleased with the results. I had sound and ethernet working. The Atheros A/B/G was recognzied. However configuring wireless throug the GUI tools was and still is quite problematic, I have never gotten it work right and resorted to writing a shell script to configure wireless. Basically what I found was that after “upping” the ath0 interface, the card refused to connect to the AP and would not change channels. However it would start to work if you chose the SSID “ANY” which for a lot of wireless cards means connect to whatever network you can find. So I ended up with this:

#!/bin/bash

INT=ath0

ESSID=$1

sudo ifconfig ath0 up

sudo iwconfig $INT essid ANY mode managed

sudo sleep 5

sudo iwconfig $INT essid $ESSID mode managed

sudo sleep 5

sudo dhclient $INT
A quick dirty hack to get working, now I just do wifi.sh desired-ssid.

At this point I still had a decent list of things to get working:

-Suspend to disk - out of the box this failed miserably, it resulted in my laptop powering down and the system going down ungracefully
-Suspend to ram - similar results
-Touch screen

-Tablet screen rotation

To get the touch screen working I tracked down a driver for xorg which can be found here.

After adding that to my xorg.conf and adding the following line to /etc/serial.conf:

/dev/ttyS0 uart 16550 port 0×220 irq 4
My touch screen was working in X, sweet.

For suspend to disk I ended up using Bernard’s kernel with experimental support for Suspend2. The fact that he has apt repository setup made it really easy.
So at this point I still had:

-Suspend to ram

-Tablet screen rotation

At some point along the way, probably in the kernel upgrades, suspend to RAM started working, however the screen would remain blank after waking up, very annoying. Adding a shell script in /etc/acpi/resume.d/ that did the following fixed it:

echo 4 > /proc/acpi/video/GFX0/LCD/brightness
So at this point, tablet screen rotation is the only major thing left. There are some buttons that would be nice, but I am not really concerned about them. Xrandr does not appear to work on this laptop with Dapper and Xorg 7.0, so the screen rotation is out for now. From what I hear, in the 7.1 it works fine, but upgrading to 7.1 is not something I want to undertake at the moment.

I am just pretty happy that everything else works. Thanks to the people who posted the following pages documenting their experience with the P1510d, it made my life so much easier:

 http://www.psionik.com/p1510d/

http://www.linux-on-laptops.com/fujitsu.html 

http://www.xmission.com/~bmidgley/p1510/ 

technorati tags:, , , , , , ,

September 14, 2006

Toorcon Workshop

Filed under: /dev/random, /freenetworks, /geek, /seattlewireless, /travel, /work, cons, pyramid — Ken @ 4:24 pm

Myself and Matt will be doing a workshop at Toorcon 8. It will be a one day workshop covering the basics of boot strapping an embedded wireless device ( Soekris based ) and setting up a wireless mesh using OLSR. Participants in the class get an embedded wireless device from my company Metrix that they take home with them in addition to learning the skills required to continue hacking on it. Pre-registration ends this Friday and is currently $1200, after Friday it will be $1500 at the door any open seats will likely sell out fast. There are currently 5 seats left. If you have a group of people (3-5) interested, we might able to get you group discount ( email me: ken at ipl31 net ). But you need to act before Friday midnight!

Fall Ultimate

Filed under: /me, /seattle — Ken @ 4:11 pm

So I finally got off my ass this year and joined one of the Disc Northwest ultimate leagues. Its a “hat league” which has people of varying skill levels. Some how I managed to end up the captian of the Central District team even though I probably know less about Ultimate than anyone else on the team.

The league teams are based on Seattle hoods, which is why our team is the Central District, however I am one of only two people on the team who actually live in the CD :). I am slowly but surely learning about the offensive stack, zone defense, forcing and all other sorts of good stuff.