Mobile phones: How to get photos off a Nokia 6230 via USB
Hello, I have a Nokia 6230 mobile phone (not the 6230i) and a USB cable to connect it to the computer. I don't have a serial cable. I'm looking for a way to download pictures from the phone. When I connect the phone to the USB bus, lsusb lists the phone correctly, the module cdc_acm is loaded, and a device /dev/ttyACM0 is created. That made me hope that at least some support is there. Up I go in search for an application. I searched on Google, but didn't find anything in the first 60 or so matches. I tried digikam, but that doesn't recognize the phone. Autoscan doesn't work, and manually adding some arbitrary cameras that look like phones doesn't work either. gphoto2 is only for serially connected cameras, AFAICS. The same with gnokii. If that is not true, I would appreciate experience reports to know that I have to dive deeper in the documentation than I did. Then I stumbled over gammu. The example configuration file had the information that the 6230 phone has actually no USB chip and needs to be accessed over a protocol called dku2 or dku2phonet and via the /dev/ttyACM0 that got created. I thought `great', configured and tried it -- but to no avail: gammu --identify outputs a message that the phone does not answer. My 2.5 questions: -- Has anybody had success to connect this phone via USB and access it on Linux? If yes, with which application? -- Which applications are supposed to work with USB-connected phones or cameras? I.e., for which application is it sensible to investigate further? TIA for any answer, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany
On Thu, Aug 31, 2006 at 04:06:14PM +0200, Joachim Schrod wrote:
Hello,
I have a Nokia 6230 mobile phone (not the 6230i) and a USB cable to connect it to the computer. I don't have a serial cable. I'm looking for a way to download pictures from the phone.
When I connect the phone to the USB bus, lsusb lists the phone correctly, the module cdc_acm is loaded, and a device /dev/ttyACM0 is created. That made me hope that at least some support is there. Up I go in search for an application.
I searched on Google, but didn't find anything in the first 60 or so matches.
I tried digikam, but that doesn't recognize the phone. Autoscan doesn't work, and manually adding some arbitrary cameras that look like phones doesn't work either.
gphoto2 is only for serially connected cameras, AFAICS. The same with gnokii. If that is not true, I would appreciate experience reports to know that I have to dive deeper in the documentation than I did.
Then I stumbled over gammu. The example configuration file had the information that the 6230 phone has actually no USB chip and needs to be accessed over a protocol called dku2 or dku2phonet and via the /dev/ttyACM0 that got created. I thought `great', configured and tried it -- but to no avail: gammu --identify outputs a message that the phone does not answer.
My 2.5 questions: -- Has anybody had success to connect this phone via USB and access it on Linux? If yes, with which application? -- Which applications are supposed to work with USB-connected phones or cameras? I.e., for which application is it sensible to investigate further?
Some phones use "OBEX" transfers. obexftp might be your friend here. Some USB things might provide USB Mass Storage, just like any USB stick.ftp Ciao, Marcus
Joachim Schrod wrote:
Hello,
I have a Nokia 6230 mobile phone (not the 6230i) and a USB cable to connect it to the computer. I don't have a serial cable. I'm looking for a way to download pictures from the phone.
When I connect the phone to the USB bus, lsusb lists the phone correctly,
That suggests it DOES have a USB chip, doesn't it?
the module cdc_acm is loaded, and a device /dev/ttyACM0 is created. That made me hope that at least some support is there. Up I go in search for an application.
/dev/tty... makes me think it is trying to connect as a modem. FWIW, I have a Samsung D600 which always tries to connect as a modem, but deep in the settings is an option to change it to usb mass storage (or pictbridge) and after selecting that each time it appears on the desktop. One other gotcha with mine is that it's only memory on an inserted card that shows up. You can't see the phone's internal memory or the SIM card. So without a memory card plugged in, it looks like it's not working.
I searched on Google, but didn't find anything in the first 60 or so matches.
I tried digikam, but that doesn't recognize the phone. Autoscan doesn't work, and manually adding some arbitrary cameras that look like phones doesn't work either.
gphoto2 is only for serially connected cameras, AFAICS. The same with gnokii. If that is not true, I would appreciate experience reports to know that I have to dive deeper in the documentation than I did.
Then I stumbled over gammu. The example configuration file had the information that the 6230 phone has actually no USB chip and needs to be accessed over a protocol called dku2 or dku2phonet and via the /dev/ttyACM0
DKU-2 seems to be the part number of the cable, according to http://www.nokia.co.uk/nokia/0,8764,48614,00.html That page also mentions some other buzzwords that may help (or confuse :). Good luck, Dave
Marcus Meissner wrote:
Some phones use "OBEX" transfers. obexftp might be your friend here.
Thanks for this pointer; the obex homepage lists the 6230 phone as supported. I'll try it out later tonight.
Some USB things might provide USB Mass Storage, just like any USB stick.
I tried that, but no block device is established. In the meantime, I learned that cdc_acm (via /dev/ttyACM*) establishs a serial AT device over USB and that gnokii supports that as well. I'll have to give that a try, too. But full functionality might need an unsupported kernel module nokia_dku2, that got thrown out of the official kernel tree by Greg KH last year. Sadly, his throw-out message was not too informative (``causes problems and is the wrong way to implement anyhow''). I'll keep the list posted on further results; as others might have the same phone and might want to access it as well. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany
On Thu, 2006-08-31 at 16:06 +0200, Joachim Schrod wrote:
My 2.5 questions: -- Has anybody had success to connect this phone via USB and access it on Linux? If yes, with which application? I don't have access to a USB cable for it. But if all else fails, get a bluetooth dongle. I can send photos from my phone (also the 6230) to my notebook and back. I can also connect to the internet via GPRS and EDGE (like now).
I haven't spent too much time fiddling with it - I hardly ever use the camera in the phone (I have a point&shoot digital that goes with my mostly) but as far as I know with bluetooth you can browse it, and even sync calender and contacts. Haven't tried it tho. Hans
participants (4)
-
Dave Howorth
-
Hans du Plooy
-
Joachim Schrod
-
Marcus Meissner