11h.net

The blog of 11h

November 16th, 2005

I know what I want for xmas!

Nokia is about to release an Internet tablet that uses the BusyBox Linux. Sweet!

It’s the 770.

What makes this so special is the fact that the device has an 800×480 screen, 220 MHz TI OMAP ARM processor (with DSP), 64M of RAM, 128M of flash, USB port, 802.11b/g wireless, Bluetooth, IR, and a MMC slot.

The best part… A nice looking portable SSH terminal!
Nokia 770

If this will sync with Microsoft Outlook I’m buying one ASAP!

November 8th, 2005

Nokia 6230 as an Mp3 Player

Note: This post is a draft. It will be modified with more content and details as Eric & I find time to enhance this post.

Cingular’s iTunes phone? Ha… its $149 with a 2 year agreement. I’ve been with Cingular 10 months and already can’t stand them. My Nokia 6230 was free after rebates with a 1 year agreement. The ROKR has a 512MB memory card, yet is software-restricted to 100 audio tracks. As of this writing, I have a 2GB memory card in my 6230 with 270 songs. Although the user interface on the 6230 isn’t elegent with this many tracks, it serves its purpose for me quite well. Well, except one thing: The Nokia 6230 does not have a standard 3.5mm stereo line-out jack. Well, we fixed that by modifing the HS-23 nokia stereo headset. (All pictures available here)

[PICTURE]

Read the rest of this entry »

November 5th, 2005

FreeBSD Parallel Port interface

I’m too impatient for Dallas Semi to send samples of the DS2408 so I implemented a switch using the parallel port on my FreeBSD server.

The idea is to use the DS2408 or parallel port to drive a relay to switch the HVAC “call for heat” line. This way I can cron my heating schedule.

Brian and Smart-Works were nice enough to loan me two temperature sensors and some space on their web server for the temperature log.

I thought I would be able to echo 1 > /dev/lpt0. Ha. No…

FreeBSD includes the ability to use the “geek” port. I wish I were making that up, but that’s what `man ppi` says. FreeBSD uses ioctl to access the parallel port interface. Here’s the sample from the ppi man page:

#include stdio .h
#include dev/ppbus/ppi.h
#include dev/ppbus/ppbconf.h
#include fcntl .h
//The includes above need less than greater than brackets.

int main (void)
{
int fd;
u_int8_t val;

fd = open (”/dev/ppi0″, O_RDWR);
val = 0×1;

ioctl (fd, PPISDATA, &val);
ioctl (fd, PPIGCTRL, &val);
val |= STROBE;
ioctl (fd, PPISCTRL, &val);
val &= ~STROBE;
ioctl (fd, PPISCTRL, &val);
}

I’m actually going to use some logic so that I can use more than eight devices connected to the parallel port.