TuxMobil
site map · index a-z · search   





Resources

· ViViDress vintage wedding dresses on ViViDress.
· Autoclave For Sale.




Nokia 7250i and 5510 Mobile Phone with Linux Mandrake on Gericom Laptop

Nokia 7250i

Gammu

The Nokia 7250 can be connected to a laptop through the IrDA port (ircomm). Although Linux drivers works fine, I could find only one application supporting 7250 Gammu. I have compiled gammu-0.92.9-1mdk.i386.rpm (link outdated) for my Mandrake 9.2. 7250 does not have Bluetooth but you will probably have to install bluez-libs as well, to get Gammu running.

My ~/.gammurc file looks very simple:

[gammu]
port = /dev/ircomm0
connection = irda

To get the pictures from the phone you may get the list of all files with gammu --getfilesystem -flatall and then just download only the ones you want gammu -getfile nn where nn is the number of the file you want to get. Or use --getfilefolder function to get all files in a certain folder to upload pictures to the Nokia phone.

Setting up IrDA

Do not forget to set up the IrDA stuff if you have not yet. The IrCOMM device should be configured. I had to install irda-utils, and put the following into my /etc/modules.conf:

# IrDA Configuration
#------------------------
probeall irda irtty ircomm ircomm-tty irlan
# IrDA over a normal serial port, or a serial port compatible IrDA port (SIR)
alias tty-ldisc-11 irtty
# IrCOMM (for printing, PPP, Minicom etc)
alias char-major-161 ircomm-tty
# if you want IrCOMM support
# IRLAN
# But currently the IrLAN protocol is no longer maintained
# by the Linux/IrDA core team.
alias irlan0 irlan

Put in /etc/sysconfig/irda

IRDA=yes
DEVICE=/dev/ttyS1
DISCOVERY=yes

Then, use irattach /dev/ttyS1 -sto bind IrDA to second serial port, it is used by many software.

GPRS IP Internet access

This setup was developed by somebody else (I believe it to be in public domain, there was neither copyright nor contact information on the document) for russian MTS.ru operator, but I have tested it in o2-Germany operator network. My phone I have received with preconfigured GPRS settings in the phone. (so called o2 Active version). So I could already surf with GPRS prior starting with the setup. If you still need to set up GPRS in your phone, call the customer support to get the necessary information. Sometimes, it is possible that your cellular operator has a special configuration SMS that could be sent to your phone and it will get configured automatically.

1. Set up PAP-authorisation (probably irrelevant) echo 'mts * mts *' >> /etc/ppp/pap-secrets

2. Create a pppup script

==================== CUT HERE ==============================
#!/bin/sh
DIALTIMEOUT=20

# If your phone is connected to COM1 and not IR, substitute ircomm0 with ttyS0
case "$1" in
mts0885)
   MODEM=ircomm0 SPEED=57600 MODEM_INIT=""
   IH_IP=" ipcp-accept-local ipcp-accept-remote noipdefault user mts"
   LOGSCRIPT="CONNECT"
   PHONE="0885"
   ;;
mtsgprs|*)
   MODEM=ircomm0 SPEED=115200 MODEM_INIT='AT+CGDCONT=1,\"IP\",\"internet.mts.ru\" OK'
   IH_IP="ipcp-accept-local ipcp-accept-remote noipdefault debug usepeerdns user mts novj nobsdcomp \
          novjccomp nopcomp noaccomp"
   LOGSCRIPT="CONNECT"
   PHONE="*99#"
   ;;
esac

# Before start pppd removes default router, but by exit it restores it back
# Right thing would be to put these actions into /etc/ppp/ip-up.local and /etc/ppp/ip-down.local
DR=`route -n | egrep '^0.0.0.0'| grep -v ppp | sed 's/^[^ ]* *\([^ ]*\)
.*/default gw \1/'` ;
if [ -n "$DR" ] ; then
   trap "echo route add $DR ; route add $DR ; exit" 2 3 9 15

   route delete $DR

   echo route delete $DR

fi
  
# In case of connection breakdown the pppd restarts
while true ; do
pppd \

connect 'chat -v ABORT "NO DIALTONE" ABORT "NO
CARRIER" ABORT BUSY "" '"$MODEM_INIT"' ATDP'$PHONE' '"$LOGSCRIPT"' ;' \

 crtscts defaultroute modem -detach mru 1500 \

 $NASH_IP:$IH_IP /dev/$MODEM $SPEED
sleep $DIALTIMEOUT
done
======================== END CUT HERE ==============================

To fire up the script do pppup mtsgprs To stop CTRL+C If the phone freezes - reboot it. These phones demand different numbers (equivalent of dial up numbers) to activate GPRS connection Siemens: *99***1# Motorola, Nokia, Ericsson: *99#

Nokia 5510

The phone has awesome MP3 player with great sound. That's pretty much the only reason I have it.

Except for the MP3 player the phone is a big dissapointment. I do not really understand what could be a strategical point of Nokia to make the format of the songs to be incompartible to standard MP3, even if they essentially stay MP3 encoded. It really makes the overall customer experience so much worse! Instead of just reusing existing MP3's user have to convert them first into Nokia's proprietary format using their GUI tool. Wich is soooo poorly designed! It is really a pain in the mouse to put the music into the phone, while it could be as easy as drag and drop. As you will learn from the links below, the proprietary format of the songs does not add any value to the user, they are basically the same MP3 just made unusable outside the phone. The functionality of the phone per se is rather crappy, but it does the basics.

I am not using 5510 that much these days, so do not expect any updates soon.

Links

Author

This document is a courtesy for TuxMobil by Egor Kobylkin.



TuxMobil: Linux with Laptops, Notebooks, PDAs, Mobile Phones and Portable Computers








print · i-mode · WAP · PDA
contact · imprint · privacy (P3P) · sponsors · RSS

© Werner Heuser 1997-2015 · http://tuxmobil.org/nokia7250i_mobile_linux.html · last change Mon Nov 12 2007