This thread aims to pool the knowledge from many "I need help with my model 1234 nokia" threads.
..and hopefully provide a starting point for beginners and experts alike
trying to do stuff with Nokias and Puppy together.
I am no expert -but hopefully enough Nokia-Puppy users will jump on the bandwagon and add corrections and experience to this thread and make the whole process a little less confusing for newbies.
First the principles
Connection
1. Serial Cable
This is for older phones and perhaps the least problematic.
Usually no special drivers are needed- the hard work is in getting
the software setup right to read the correct serial "tty" port (i.e. gnokii's .gnokiirc file).
2. USB cables
Older phones using DKU5 cables often are really a usb to serial cable in
disguise.
You may have to find out the converter chip type built into the cable and
activate it at the modprobe level
see:
http://www.murga-linux.com/puppy/viewtopic.php?t=27298
Example - For a third party DKU5 cable using an Ark3116 chip
Code: Select all
#!/bin/sh
modprobe usbserial vendor=0×6547 product=0×0232
modprobe ark3116
Code: Select all
port = /dev/ttyUSB0
3. Infrared
I haven't tried this but I think it is a little problematic
4. Bluetooth
Note: 13-March 2010
The bluetooth method needs to be updated as it appears the hci-usb module is not in Puppy 4.31 and higher.
This link is sort of the new cutting edge for puppy and bluetooth
http://www.murga-linux.com/puppy/viewto ... =126886675
What follows is the old stuff which may still be useful
Either built in or usb dongle bluetooth is possible.
There are some perculiar tricks.
This thread should get you going..
http://www.murga-linux.com/puppy/viewtopic.php?t=25009
In essence get your bluetooth working and communicating with the phone before you try any programs.
Using a startup script helps. In the above mentioned thread I have two Xdialog based scripts that may get you going.
Once you have installed the .pets for BlueZ, Dbus and Obex (you can find them in the thread above), then the following script could work. I've commented it for understanding:
Code: Select all
#!/bin/sh
rm /var/run/dbus/dbus.pid #delete the lockout for dbus if it was left behind from a bad shutdown
dbus-daemon --system #start the dbus system
hcid #start the hci stuff
modprobe rfcomm #get the rfcomm bit going
modprobe hci-usb #need this as I have a usb bluetooth adapter
hciconfig hci0 up #wake it up
hciconfig # not sure but you need this line somehow
passkey-agent --default 123 & #allow a 123 password to connect with the phone
Code: Select all
hcitool cc 00:15:2A:20:7E:41 # replace the numbers with your phone's MAC - use hcitool scan to find it
echo Check your phone now and acknowledge link
rfcomm connect 0 00:15:2A:20:7E:41 1 #connect to chn1 makeport /dev/rfcomm0 - usual for Nokias
Code: Select all
obexftp -b 00:15:2A:20:7E:41 -l #replace the number with your phone's MAC
obexfs -b 00:15:2A:20:7E:41 -B 10 /mnt/bluetooth #again, replace the MAC - the 10 is the channel number - most Nokias use 10 for obex
rox /mnt/bluetooth/ # open up the folder and have a look
As far as I know there is no Linux version of Nokia PC Suite. Fortunately there are programs that do some of the tasks of it and in many cases much much faster than PC Suite in Winblows.
Gnokii and Xgnokii are my favourites and puppy friendly
While an older version as a .pup exists at dotpups.de, a more recent version is available from slackware
http://repository.slacky.eu/slackware-1 ... 86-1sl.tgz
Convert it to a .pet using:
Code: Select all
tgz2pet gnokii-0.6.27-i486-1sl.tgz
http://repository.slacky.eu/slackware-1 ... 86-1sl.tgz
I orignially used this library - but the link is now dead
http://repository.slacky.eu/slackware-1 ... 6-1mch.tgz
Aarf suggested this link
http://repository.slacky.eu/slackware-1 ... 6-1mch.tgz
With Gnokii you can send sms, copy and export sms, work your calendar and contacts.
Note - as far as I can try it has difficulties uploading contacts with more than one number per name to the phone
The hardest part is the configuration script .gnokiirc that lives in your root folder.
The homepage for gnokii is quite good, and heaps of threads for other distros usually help.
http://www.gnokii.org/
Best to try and find an example script for you phone from the above site or google it, make small modifications
and then test if it works with
Code: Select all
gnokii --identify
Note: The xgnokki icons may not show up in your menus on all versions of puppy.
Make sure xgnokii.desktop is in usr/share/applications and when you open it with a text editor and check if it has a valid category like "calendar".
Also through my experience Xgnokii is great, but for real power use use gnokii at the command line
Wammu/Gammu
Wammu is the gui frontend for gammu.
I have compiled both and made a .pet - but still need someone to host it
- It needs wx-python and the entire picture is a little mb heavy for me
see:
http://www.murga-linux.com/puppy/viewtopic.php?t=27298
It looks good, more along the PC suite lines but it is actually quite buggy.
I would recommend either waiting till it gets better or use it and help the developers with lots of good error
feedback.
http://wammu.eu/
http://www.gammu.org/
Similar to gnokii, get gammu configured at the command line before using wammu. Wammu's inbuilt autoconfiguration is unreliable, but if the .gammurc file works for your phone, wammu will notice it.
Gammu has its own configuration utility to make it easier. (check the website for the command)
To test your configuration:
Code: Select all
gammu --identify
There are a few other programs out there, usually spinoffs from gnokii
Try them and add comments if you like.
Nokia Phone as a Modem
I have not tried this but others have. Puppy 4.1 apparently has some new wizard features for doing such things.
It seems from my limited knowledge if you can get the connection to the phone to work (usb, usb.serial, bluetooth) then you may be in a good position to do the rest. Unfortunately I don't have a clear step by step on the principles.
In essence to do it the right modprobe commands need to be set to make you phone work as device:
Code: Select all
dev/ttyACM0
Perhaps someone who has done it can post something clear and easy to understand. Until then here are some links to get you started:
Rebellioschicken got a 5310 to work
http://www.murga-linux.com/puppy/viewtopic.php?t=30817
He said
For GPRS EDGE CDMA modems some work has been done.i simply used Connection-Wizzard.pet found here:
http://www.murga-linux.com/puppy/viewto ... 795#193795
Modem recognized as /dev/ttyACM0, ISP is Irish O2.
HairyWill did it with Nokia 6230i and a DKU2 usb cable
http://www.murga-linux.com/puppy/viewtopic.php?t=26516
This post is also good
http://www.murga-linux.com/puppy/viewtopic.php?t=27759
Some good work has been done here
http://www.murga-linux.com/puppy/viewtopic.php?t=31224
Someone got a nokia 6600 to work as a usb modem using umtsmon:
http://www.murga-linux.com/puppy/viewtopic.php?t=31364
If you can read spanish, a N70 was connected. If you cannot then look at the scripts:
http://www.murga-linux.com/puppy/viewtopic.php?t=34779
Other links
This is a great stop to find out settings and ideas from other distros
http://tuxmobil.org/phones_survey_nokia.html
And for hard to find threads use
http://wellminded.com/puppy/pupsearch.html