Welcome, Guest! Log In | Create Account

GD Inst FreeBSD

From giantdisc

Jump to: navigation, search

GiantDisc on FreeBSD

Running GiantDisc on BSD seems to be possible after a little bit of fiddling. Here are Rutger van Dierendonck's comments on running GD on FreeBSD:

I think I found the problem(s) with installing GiantDisc on a FreeBSD system. Here is a little tutorial.
It is correct that you changed the serial port to /dev/cuaa1. You are probably using your second COM port.
COM1: /dev/cuaa0 COM2: /dev/cuaa1
> No matching processes belonging to you were found
Just forget this message, it is no error. It is just telling you that there where no processes found and killed by the killall command.
killall '-q' stands for quiet mode. So if you remove the '-q', killall will output information.
> 'hostname -i' to 'hostname' Or change it to 'localhost' when resolving of the ip-address is not possible.
This is the most important part; configuring the serial port. FreeBSD has three different nodes: /dev/cuaiaN; /dev/cualaN and /dev/cuaaN where 'N' stands for the serial port. When you change the settings to the /dev/cuaaN device, the settings are in effect until the device is closed. When it is reopened, it goes back to the default set. To make changes to the default set, you can open and adjust the settings of the 'initial state' device. For example:
stty -f /dev/cuaia0 19200
This command sets the initial state of the serial port speed (COM1) to 19200. This is neccesary because the palm only uses 19200 bps. You can check the speed by typing:
stty -f /dev/cuaa0.
You should see the serial port speed is 19200 now.
I think it is also possible to change the 'gdio.pm' perl script by removing the line:
system("stty $serbaud -echo crtscts <$serdev");
and placing this line:
system("stty -f $serdev $serbaud -echo crtscts");
AFTER opening the serial port. (After, because the port needs to be opened first!). I have not tried it yet because my GiantDisc is ripping this moment.
Now start GiantDisc ...
This is it, it worked for me!