Difference between revisions of "Practical Computer Matters"
From Jtkwiki
Jump to navigationJump to searchLine 3: | Line 3: | ||
I've recently bought a HTC P3470 (Pharos) smartphone / PDA. This device combines combines mobile phone, satnav, and organiser functionality. However, the jack of all trades is a master of none... there are things that remain to be wished for. My current unresolved issues include: | I've recently bought a HTC P3470 (Pharos) smartphone / PDA. This device combines combines mobile phone, satnav, and organiser functionality. However, the jack of all trades is a master of none... there are things that remain to be wished for. My current unresolved issues include: | ||
− | * File transfer: I can use the <code>obexftp</code> program to transfer any file from my Linux laptop to the P3470. However, getting files doesn't work, unless the files are <code>.vcf</code> or <code>.vcx</code> files. | + | * File transfer: I can use the <code>obexftp</code> program to transfer any file via Bluetooth from my Linux laptop to the P3470. However, getting files doesn't work, unless the files are <code>.vcf</code> or <code>.vcx</code> files. |
* GPS logging: I'd like to create traces of my movements with GPS, e.g. to contribute to the [http://www.openstreetmap.org/ Open Street Map project]. However, I haven't found an application that works reasonably. | * GPS logging: I'd like to create traces of my movements with GPS, e.g. to contribute to the [http://www.openstreetmap.org/ Open Street Map project]. However, I haven't found an application that works reasonably. | ||
Probably I could have spared myself from these troubles by getting a Freerunner from [http://www.openmoko.com/ openmoko]. I'll seriously consider that if they release a model with GPS. | Probably I could have spared myself from these troubles by getting a Freerunner from [http://www.openmoko.com/ openmoko]. I'll seriously consider that if they release a model with GPS. | ||
+ | |||
+ | == Setting up Bluetooth on Linux (Debian) == | ||
+ | |||
+ | My main interest in bluetooth is for file transfer, I haven't tried using a mobile phone as a modem (for accessing the Internet), or as a speaker / headset etc. Setting up Bluetooth was relatively straightforward for me: | ||
+ | * get a USB Bluetooth dongle | ||
+ | * Debian packages I've installed and which I think are required to use Bluetooth: | ||
+ | ** <code>bluetooth</code> | ||
+ | ** <code>bluez-hcidump</code> | ||
+ | ** <code>bluez-utils</code> | ||
+ | ** <code>libbluetooth2</code> | ||
+ | * run <code>tail -f /var/log/messages </code>and connect the dongle to the computer. The message <code>usbcore: registered new interface driver hci_usb</code> indicates that the dongle has been recognised correctly. | ||
+ | * turn on Bluetooth on the mobile device, and make the device discoverable (on the HTC P3470, go to Settings -> Connections -> Bluetooth -> Mode for this). Then, run <code>hcitool scan</code> to find out the MAC address of the device. | ||
+ | * Debian specific: Compile the passkey agent, provided in <code>/usr/share/doc/bluez-utils/examples</code> | ||
+ | * If the device allows file transfer (on the HTC P3470, use Settings -> Connections -> Bluetooth -> FTP), you can use <code>obexftp</code> to list files on the mobile and to transfer files -- if the mobile device cooperates. (The HTC P3470 doesn't, see above). |
Revision as of 12:39, 19 July 2008
HTC P3470 (Pharos)
I've recently bought a HTC P3470 (Pharos) smartphone / PDA. This device combines combines mobile phone, satnav, and organiser functionality. However, the jack of all trades is a master of none... there are things that remain to be wished for. My current unresolved issues include:
- File transfer: I can use the
obexftp
program to transfer any file via Bluetooth from my Linux laptop to the P3470. However, getting files doesn't work, unless the files are.vcf
or.vcx
files. - GPS logging: I'd like to create traces of my movements with GPS, e.g. to contribute to the Open Street Map project. However, I haven't found an application that works reasonably.
Probably I could have spared myself from these troubles by getting a Freerunner from openmoko. I'll seriously consider that if they release a model with GPS.
Setting up Bluetooth on Linux (Debian)
My main interest in bluetooth is for file transfer, I haven't tried using a mobile phone as a modem (for accessing the Internet), or as a speaker / headset etc. Setting up Bluetooth was relatively straightforward for me:
- get a USB Bluetooth dongle
- Debian packages I've installed and which I think are required to use Bluetooth:
bluetooth
bluez-hcidump
bluez-utils
libbluetooth2
- run
tail -f /var/log/messages
and connect the dongle to the computer. The messageusbcore: registered new interface driver hci_usb
indicates that the dongle has been recognised correctly. - turn on Bluetooth on the mobile device, and make the device discoverable (on the HTC P3470, go to Settings -> Connections -> Bluetooth -> Mode for this). Then, run
hcitool scan
to find out the MAC address of the device. - Debian specific: Compile the passkey agent, provided in
/usr/share/doc/bluez-utils/examples
- If the device allows file transfer (on the HTC P3470, use Settings -> Connections -> Bluetooth -> FTP), you can use
obexftp
to list files on the mobile and to transfer files -- if the mobile device cooperates. (The HTC P3470 doesn't, see above).