(April 2003)
I want to share files and data between my Nokia 3650 and my JVC XP – 3210 Notebook. Because the JVC lacks IR – Support, i want to use Bluetooth.
On the nokia i use „Mobipocket Reader“, „Smartviewer“ , „SeleQ“ and the builtin Photomanager to read HTML, text and graphics (maps). The Nokia has substitute my Palm – Organizer. All data are stored on a 128MB noName MMC – Card.
Here works a SuSE 8.1 with a selfcompiled 2.4.20 – kernel with acpi and swsusp and grub as bootmanager.
I need this:
Kernel – Source, i use my 2.4.20 – Sources with
the acpi and swsusp – Patch for my Notebook
I suggest that
you install the kernel – sources to /usr/src/linux, this may
be a link to /usr/src/linux-2.4.19 or (like here) to
/usr/src/linux-2.4.20
Kernel – Patch for propper rfcomm – Support
available from www.holtmann.org/linux/kernel/
I
use : patch-2.4.20-mh6.gz
Note:
without this Patch you will get propper Bluetooth – Support
and you can see your mobile, but when you want to get a connection,
you will get an „can't open /dev/rfcomm0“ - error.
Bluetooth – Utilities from Bluez
The
Redhat – Packages bluez-libs-2.3-1.i386.rpm,
bluez-utils-2.3-1.i386.rpm,
works here, you can also download the source
I also installed
the bluefw- and sdp – package.
Download the p3nfs – package from
www.koeniglich.de/p3nfs.html
I
use the p3nfs-5.12.tar.gz
login as root
patch the kernel
Copy the patch to /usr/src
cd /usr/src
patch -p0 < patch-2.4.20-mh6.gz
perhaps you will
use your own patch
enable bluetooth
cd /usr/src/linux
make xconfig
or make
menuconfig
in „Bluetooth support“ enable all things (as module)
enable the other stuff you need (sound, net ...)
Save and Exit
compiling and install the kernel
make dep && make clean && make bzImage &&
make modules && make modules_install
you can also
make separat steps ;)
cp /boot/vmlinuz
/boot/vmlinuz.org
cp /boot/System.map /boot/System.map.org
make
an item for this in your bootmanager
cp arch/i386/boot/bzImage
/boot/vmlinuz
cp System.map /boot
perhaps „make
bzlilo“, because i use grub i dont need this
reboot
goto your downloads and install the bluetooth – packages
„mknod /dev/rfcomm0 c 216 0“
loading the modules bluez, l2cap, rfcomm
edit the „pin_helper“, because the orginal is broken
make a /etc/bluetooth/givepin.sh
– script with 2 lines:
#!/bin/sh
echo „PIN:<yourpin>“
make a chmod ugo+x /etc/bluetooth/givepin.sh
edit the
/etc/bluetooth/hcid.conf:
search the pin_helper – line and
edit the pin_helper – command to /etc/bluetooth/givepin.sh
loading hcid -f /etc/bluetooth/hcid.conf
on the nokia:
enable bluetooth
set to „seen for all“
give a devicename
after a „hcitool scan“ you should see the BADDR and Name of your mobile
Install p3nfs
on nokia install nfsapp-2.4-series60.sis
I use at this
point a mmc – card reader from sitecom, supported as
usb-storage device under linux. On the nokia i had to download a
filemanager with the builtin – browser ( i used
http://www.psiloc.com/pliki.php?id=18),
because the program-manager is not able to install programs from
mmc. Alternative you can use PC-Suite under windows.
You have also to install the linux – application (a binary is included in the package)
make a „rfcomm bind
/dev/rfcomm0 <your BADDR> 4“
for BADDR see
„hcitool scan“, the last „4“ is different
from p3nfs - README, but according to the „Open Bluetooth/11,
Waiting 30s on port 4“ - message on the mobile, when you start
the nfs – app on the mobile.
Start nfs –
application on the mobile, note that the app will open the IrCOMM –
Port and push once the cursorpad to switch to bluetooth
Note
the 30s – timout for the next step!
Mount the nokia with „p3nfsd
-series60 -dir <your mountdir> -tty /dev/rfcomm0“
On
first connection you have to enter your PIN in the mobile. After
this you only have to accept the connection on your mobile.
Now you can copy file between your pc and your mobile. A „ls <your mountdir>/exit“ will unmount the mobile.
Last you may configure your system to load the module while booting or resuming and using the applications as user.
Use a MMC – Card – Reader (here works a SiteCom –
Reader well)
I use this alternative for uploading a little mp3 –
Archiv (yes, i have the „mp3player“ installed ;) )
Use IR with OBEX, see www.saunalahti.fi/~laakkon1/linux/3650.php
Synchronisation between the Nokia – PIM and a PC)
(Not
an issue for me now)
You can send me comments and questions to: heiko.thede_at_gmx.de