Remove/blank this file, for some reason the acx module is blacklisted. Perhaps it causes some issues with other 4000 devices?

You should also check out

/etc/network/interfaces

to add some wireless networks.

You should also get rid of some startup programs (if you don’t need them)

Move the following to a safe place (/root?)

/etc/rc5.d/S10dropbear

/etc/rc5.d/S20syslog

/etc/rc5.d/S23bluetooth

This will disable bluetooth support, logging and remote SSH access.

In order for wireless to work after suspend, you need to make two files.

/etc/apm/suspend.d/S50ifdown

case $1 in
start)
ifdown wlan0
rmmod -f acx
;;
esac

/etc/apm/resume.d/S50ifup

case $1 in
start)
modprobe acx
sleep 1
ifup wlan0
;;
esac

Set up your /etc/network/interfaces file (or use the GUI) for ifdown/ifup to work.

You might also want to remove /etc/apm/resume.d/50-gpe-bluetooth-resume

In Windows, browse to your ‘Storage Card’ and run the exe file. Choose the second of the three options for booting linux, and if all goes well you’ll running linux in no time! You will lose all your Windows settings.

If anything goes wrong, do the following to perform a ‘hard reset’

1. Hold down the power button

2. Use the stylus to press down the reset button on the side of the PDA

3. Let go of the power button while still pressing the reset button

4. Let go of reset. Device should boot into Windows.

Other issues/Comments

For some reason, my battery is not detected under Windows 2003 (can’t tell there’s a battery, nor the charge). Works with Linux, so not sure what’s up with that.

Wireless so far has performed flawlessly. I get the same latency I get from my laptop when pinging yahoo.com, and see 2-4ms latency on the same network. Very surprising, since on Windows internal network latency would be around 20-40, with outside networks having horrible (100-200) latency.

All in all, I think I’m going to have a lot of fun with this device. And for around $80 on ebay, it’s not a bad deal.

This entry was posted on Wednesday, January 30th, 2008 at 9:20 am and is filed under HowTo, Reviews.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

Those I/O errors sound like a bad SD card or a bad card slot. I would suggest trying a different card (or seeing if badblocks returns anything on that card). It could be a filesystem problem as well; might want to fsck/chkdsk it.

A kernel panic isn’t surprising if your PDA was unable to read from the boot sector.

I was able to boot into angestrom, and everything is OK except the wireless.
When i write ifconfig, i see only the lo interface. however, i made the steps you mentioned for making the wireless work. I have a wireless network with WEP encryption. Could you please advice?

Once you load the ‘acx’ module (or make the changes to the filesystem) wireless should work.

Open a terminal and type (as root) ‘lsmod | grep acx’ and see if it’s loaded.

After that, you should be able to ‘ifconfig -a’ to see all interfaces and it should be there as wifi0 or something similar. You can use the graphical tools at that point to use wireless (WEP). I don’t think pass phrases work (mine doesn’t in Windows or Linux), so be sure to use the HEX key.

Hello there termina,
thanks for your tutorial, i’ve been using this system on my h4150 and is wonderful, almost everything works, And now i’m trying to create my programs and compiling it on my device, i have installed gcc and almost every packet that includes gcc on its description, but i’m still unable to compile. I get the next error:
“cc: error trying to exec ‘as’: execvp: No such file or directory”
Thanks for the help, is really appreciated.

I forgot to say, that the same “kernel panic problem” appears with the x11-image and the discription above!
BUT the liveramdisk works!!! And what’s very strange: A few days ago I tried to run the x11-image and it worked!! But when I tried it again later, it didn’t work and it has never worked again since that.

Could it be that there’s a problem with the file system on the SD-Card?? Maybe I don’t have the right permissions to access it??

But why does it all work with die stable x11-image 2007.12 (usb, wlan etc)?? I mean opie is just the desktop environment, isn’t it?? But it’s also Angstrom like the stable x11-image!
Is there a chance of changing some files with files from the x11-image to make usb-networking work?

I am not able to open the serial port, the programs block inmediately after i called open in my program, i am using /dev/ttyS0. I tried an echo “test” > /dev/ttyS0
but also blocks the console, when i press Ctrl+C, I get Interrupted system call.
Do you know something about it?
Another interesting is that when i use the GPE applet serial port assignment and i set to free the port A, looks like doesn’t frees the port. I’m thinking that the port is blocked to the console so i cannot read or write . But that’s only my guess. Is there any configuration file for the port assignment?

Termina:
Thanks for your great tutorial. I did all exactly as specified in your tutorial, nevertheless, every time I do run the Angstrom-boot-2.6.21-hh20-r6-h4000.exe file which is on the FAT partition of the SD card, HaRET actually starts, prints a warning dialog and then the screen turns into a random pixels pattern and/or vertical lines pattern. Nothing else happens and the hp4150 gets stuck in that step, until a hard reset that is.

Question is: what could be happening. Could it be a firmware issue? (maybe my ipaq is too old..?)
Your comments are more than welcome. Thanks in Advance

there are 2 filesystems, one is the FAT16 partition (preferrably 16-32 MB) and the second is an EXT2 partition, not EXT3 as i don’t think that the angstrom boot loader supports EXT file journaling? It seems that when the boot loader tries to switch to the second file system, it’s not finding the Linux OS on the second partition because its a) not a Linux filesystem? b) not an EXT2 filesystem? c) the files were not extracted to the filesystem properly? Let me know what you’re stuck on and i’ll see if i can help

I have been experimenting with several of these images. I was able to make all but the opie images work. I was able to use the x11 images with good success. After running ipkg update, my wlan0 quit working. I went in and modified the settings for the wlan again and then did a hard reset and now the image will not boot. It hangs at about 20% on the sliding graph the same as the opie images do.

ok – I saw above how to disable the psplash and found I am getting the same error as above, (kernel panic – cant create loopback error)

It seems that this problem only shows up with the X11 version after a “ipkg upgrade” is run, so I assume the latest version of some package has a bug. I am going to reload and not do the upgrade, then do some searching in the bug tracker.

Hello all!
I have an hx4700, but those instructions fits smooth on it!
First I should thanks to Termina for this great tutorial, and for everyone about the excellent feedback!

Smith and Fabian:
I’ve got the same problem that you described (kernel panic on loopback device). It occured just after running the ipkg upgrade (but I think that it really occurs when running the package manager and installing a package (in my case, Abiword) because the package manager installs/updates Abiword’s dependencies packages).
I’ll try later to prevent g_ether.

I tried the prebuilt x11 and opie images for 4150 (file added: 24-nov-2008).

– the opie version (Angstrom-opie-image-glibc-ipk-2007.12-r18-h4000.rootfs.img.bz2 24-Nov-2008 04:0) just hangs during first boot
– the x11 version (Angstrom-x11-image-glibc-ipk-2007.12-h4000.rootfs.img.bz2 24-Nov-2008 04:06) boots fine, but unlike the live image, it doesn’t ask me to calibrate, but after boot it asks me to enter the root password. But since there was no calibration, the stylus does not work, and I cannot use the virtual keyboard.

FractalSpace is right: for people who have problems (freeze on bootsplash) do not use Angstrom-boot-2.6.21-hh20-r6-h4000.exe but the newest version of Haret with its configuration file and the right kernel. Work for me !

I’ve been able to install the last Opie and the last kernel from Angstrom by partionning my sd card directly from my pocket pc. To do so I use RamdiskRescue (you can modify the script to chose the size of the partition you will create) and follow the instruction from their site but I choose my images from Angstrom. I needed to modify the haret script in order to boot the new images. I also needed to convert the opie.tar.gz in .bz2 so that haret may detect it. Once it is intalled I used the latest haret program with the latest stable zimage (with r16 in the name) from Angstrom. I boot perfectly without any problem.

Things seems to work well. Enabling bluetooh allow me to see my laptop from windows (but can’t see my ipaq from my laptop). When I connect in Ubuntu and Windows the green light is on indicating me that I’m connnected. If I plug my iPaq on charge the red light flashes.

My main problem is my lack of knowledge to configure it. So is there someone who could help me to do the following:

– How to connect to internet using usb
– How to configure my bluetooth and my wlan to work