Fishpond 604x90

Tuesday, October 24, 2006

A visit to bird park




Last sunday, I went to the bird park with my roommate. The park is not quite large, but there are lots of birds in it. With my S3 IS, I took a lot of pictures of the birds. Here are some that I like most.

Friday, October 06, 2006

How to change cursor theme under FreeBSD

modifiy the file /usr/X11R6/lib/X11/icons/default/index.theme from

[Icon Theme]
Inherits=core

to

[Icon Theme]
Inherits=your_desired_cursor_theme_name

which should be installed in the same directory as default.

Monday, October 02, 2006

Sending SMS over irda with my new Nokia 6070

After some struggle, with the help of google, I finally found out how to send sms from my computer over infrared connection with my new mobile phone Nokia 6070. To do this under FreeBSD, I have installed birda. Then connect the phone to my computer with

$ ircomm -d /dev/cuad1 -y /dev/ptypv -v 2

This is my second serial port, which is visible after infrared is enabled in the bios. Now the phone should be detected and connected successfully. The screen shows

query completed
discovered Nokia 6070, address=d2250000, hints=PnP, Modem, Fax, Telephony, IrCOMM, IrOBEX
query completed
115200 baud
LAP connected
comm connected

I use minicom to communicate with the phone

$ minicom -p /dev/ttypv
Welcome to minicom 2.1

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Sep 29 2006, 19:56:44.

Press CTRL-A Z for help on special keys

AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
OK

The last line shows that it connects correctly. With the following command, I'm able to send an sms

at+cmgf=1
OK
at+cmgs="your phone number here"
> hello, a new test
> hope it works
>
(Type Ctrl-Z here to send the message)
+CMGS: 12

OK
Done, I got the message instantly. Good luck for your exploring with your mobile phone.