Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 20 Apr 2014, 06:45
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to Connect Nokia Phones to Puppy
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [29 Posts]   Goto page: 1, 2 Next
Author Message
paulski

Joined: 06 Oct 2006
Posts: 126
Location: Cologne, Germany &/or Perth, Australia

PostPosted: Fri 07 Nov 2008, 15:18    Post subject:  How to Connect Nokia Phones to Puppy
Subject description: Starting point for phone tools file exchange etc.
 

The last time I tried to try something with my Nokia phone I realized a lack of a "starting point" threads on using Nokias with puppy.
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:
#!/bin/sh
modprobe usbserial vendor=0×6547 product=0×0232
modprobe ark3116


Note: when using Gnokii the .gnokkirc configuration file will need this in it:
Code:
port = /dev/ttyUSB0


Newer USB cables may be a lot easier. I haven't tried it but I need some feedback to prove it.

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/viewtopic.php?t=52973&search_id=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:
#!/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

Then you can either start an rfcomm connection to allow use of programs like Gnokii and access phone specific stuff like sms or contacts:
Code:
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


Or use Obex to mount an Obex file system and then view it with Rox - great for simple copying of photos, music, etc.
Code:
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


Programs
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-12.1/network/gnokii/0.6.27/gnokii-0.6.27-i486-1sl.tgz
Convert it to a .pet using:
Code:
tgz2pet gnokii-0.6.27-i486-1sl.tgz

It needs a few extra libraries - use the same trick
http://repository.slacky.eu/slackware-11.0/libraries/libical/0.27/libical-0.27-i486-1sl.tgz
I orignially used this library - but the link is now dead
http://repository.slacky.eu/slackware-12.1/utilities/pcsc-lite/1.4.101/pcsc-lite-1.4.101-i486-1mch.tgz
Aarf suggested this link
http://repository.slacky.eu/slackware-12.1/utilities/pcsc-lite/1.5.0/pcsc-lite-1.5.0-i486-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:
gnokii --identify

If you get good feedback then you are ready for other features of xgnokii or gnokii
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:
gammu --identify


Other software
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:
dev/ttyACM0

And then wvdial.conf has to be set up right

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
Quote:
i simply used Connection-Wizzard.pet found here:

http://www.murga-linux.com/puppy/viewtopic.php?p=193795#193795

Modem recognized as /dev/ttyACM0, ISP is Irish O2.


For GPRS EDGE CDMA modems some work has been done.

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

Last edited by paulski on Sat 13 Mar 2010, 09:38; edited 3 times in total
Back to top
View user's profile Send private message 
saima122

Joined: 24 Feb 2010
Posts: 2

PostPosted: Wed 24 Feb 2010, 07:05    Post subject:  

thx ....


Nokia N75
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Wed 24 Feb 2010, 07:27    Post subject:  

Thanks,

I have not tried any of it but it is good to know somebody care about us

Nokia E75
Ooops why did I not wait until the N900 arrived?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Wed 24 Feb 2010, 07:43    Post subject:  

there is an obex tool in ubuntu that does some good phone related things (so i have read). maybe try getting obex tool into upup. (attempted but never found the persistence to actually get there myself.)
else some new things here to me. one day i will get this to work and then i can dump my nokia phone forever. now it is a daunting task to manually transfer over all the info to a new non-nokia phone. my ca42 cable seems to have been blacklisted by XP because it wont now work there on any of the many machines i have tried. refuse to even see the previously see-able driver so I cant use PCsuite any more.
still can and often use the CA42 cable for gprs connect in puppy though. no, there is no removable SDcard on my phone. no bluetooth, and infra red has never work from the absolute beginning.

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Wed 24 Feb 2010, 07:48    Post subject:  

http://repository.slacky.eu/slackware-12.1/utilities/pcsc-lite/1.4.101/pcsc-lite-1.4.101-i486-1mch.tgz
Quote:
Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.
Error 404
repository.slacky.eu
Wed Feb 24 12:31:59 2010
Apache/2.2.14 (Unix) DAV/2 PHP/5.2.12


possibly http://repository.slacky.eu/slackware-12.1/utilities/pcsc-lite/1.5.0/pcsc-lite-1.5.0-i486-1mch.tgz?

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
paulski

Joined: 06 Oct 2006
Posts: 126
Location: Cologne, Germany &/or Perth, Australia

PostPosted: Thu 25 Feb 2010, 07:33    Post subject:  

aarf
Thanks for the feedback on the link. First post edited accordingly.

Should you have success or none with the Obex program in upup - please post something.
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Fri 26 Feb 2010, 03:28    Post subject:  

paulski wrote:
aarf
Thanks for the feedback on the link. First post edited accordingly.

Should you have success or none with the Obex program in upup - please post something.
http://manpages.ubuntu.com/manpages/hardy/man1/obextool.1.html
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>

Last edited by aarf on Sat 06 Mar 2010, 08:21; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Fri 26 Feb 2010, 06:07    Post subject:  

Has anybody used Upup and confirmed it to work with obex?

I am too newbie so most of the Dpup and Upup crash when I go to their repository and then try to pupsave it after install. I am not experienced enough to get it working.

I maybe buy Nokia N900 eventually so would be cool to be able to use it in linux too. Smile It already have a version of linux on it. Maemo which will update to Megoo linux later. Meego or Megoo? = Maemo + Moblin.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 06 Mar 2010, 08:24    Post subject:  

jemimah may have done the obex pets and dependency stuff at Bluez 4.61 with GUI
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
paulski

Joined: 06 Oct 2006
Posts: 126
Location: Cologne, Germany &/or Perth, Australia

PostPosted: Sat 13 Mar 2010, 09:42    Post subject:  

Thanks again aarf for the link.
I've noted it in the first post until I can update the information

Looks like everything in bluetooth needs overhauling in newer Puppies due to changes in how the kernel operates, what modules are available etc.
Back to top
View user's profile Send private message 
paulski

Joined: 06 Oct 2006
Posts: 126
Location: Cologne, Germany &/or Perth, Australia

PostPosted: Sat 17 Sep 2011, 14:41    Post subject:  

Some work has been done lately with Lucid Puppy to get bluetooth going.

It appears with some installs and tweaking it will work in 5.2. 5.28 is still looking like it needs some work but it looks promising.

The thread cross linked here below is a bit messy but its full of gold and some hard work by other forum members.

http://www.murga-linux.com/puppy/viewtopic.php?t=67113

I'm going to try it myself and one day come up with something simple to install. In the meantime I have to revert to an older puppy to get stuff off my phone. It worked well back then.
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5458
Location: Finland

PostPosted: Sat 17 Sep 2011, 17:13    Post subject:  

I just couldnt resist. Nokia is not connecting people anymore, they are mostly disconnecting people in Finland. Thousands of them. Lol. Joke which is not a joke.
Back to top
View user's profile Send private message 
majorfoo

Joined: 07 Mar 2011
Posts: 445
Location: Wish I knew

PostPosted: Sat 17 Sep 2011, 19:06    Post subject: How to Connect Nokia Phones to Puppy  

Here's how I did it for nokia 6555b and nokia 6350

Adapter cable is required with usb connector on one end and phone adapter on other. Mine is Nokia Type CA-101.

Plug cable to phone and PC

On phone
Open Settings Menu
Select Connectivity
Select USB Data Cable
Select Data storage
STOP at this point on phone

Go to Pc and mount USB device
Pictures are in folder = images

You can copy from/to this folder
When you are finished, UNMOUNT USB device on PC first.
Then press back button on the phone which disconnects phone from PC..

My wife has a Nokia model 6350

Steps are same as above. Only difference is where 6355 uses Data Storage, the 6350 uses Data Select.

Finding answer to this question, will allow me to basically retire my windows XP machine

majorfoo
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Sun 18 Sep 2011, 04:00    Post subject:  

Thanks I have to test this. Lost internet three times now for hours. Smile
So would be cool to be able to use the ordinary computer and the smart phone as a modem and get internet that way.

pemasu sorry I missed the joke. Nokia is connecting people to M$ Microsoft Windows 8 maybe Smile or to Meego but that is kind of too late?
The N9 is suppose to be Meego but not many care do they. Kind of sad that Meego was that late coming out so it failed to get popular.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Sun 18 Sep 2011, 11:37    Post subject:  

majorfoo that worked well for me on Nokia.

Now I get curious on if I can use it as a modem but realize that teh operator charge much money for using it so I will do it on my android instead. That one is only 3SEK per day in cost.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [29 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0976s ][ Queries: 12 (0.0090s) ][ GZIP on ]