19/11/2004
Installation of the OPUSH functionnality on my vaio laptop with debian installed
I could send a file from my pc to the phone (a nokia 6230) but not the oposite
i learn it the hard way : i could not push or send a file from my phone to the vaio debian laptop
in order to do that i had to deactivate the launch of rfcomm in /etc/init.d/bluez-util i
in order to get that command functionning at last :
vaio:/etc/bluetooth# sdptool browse FF:FF:FF:00:00:00 Failed to connect to SDP server on FF:FF:FF:00:00:00: Connection refusedmaybe that will break some other stuff around rfcomm i'll report if i find something weird
$ sdptool add --channel=4 OPUSHafter adding/changing the class variable in /etc/bluetooth/hcid.con
class 0x100100;before retrying to launch gnome-obex-server or obexserver i try the tooltip in "Linux Unwired" book after the sdptool trick
$ obex_test -b ff:ff:ff:00:00:00 4 > si successfully could send a file from my phone to my laptop :-)
19/10/2004
Installation of a bluetooth printer in cups on
debian/linux
setup cups, bluetooth, with your default apt-get
stanza
configure correctly /etc/bluetooth/printers.conf
as
default {
# Bluetooth address of the device
# you
obtain that addresse with the command « hcitool scan »
# try « l2ping xx:xx:xx:xx:xx:xx » to check the
connection
device 00:40:8C:5E:5D:A4;
# Bluetooth
printing protocol
protocol serial;
# Description of the
connection
comment "My Bluetooth printer";
}
then you really have to download the
bluetooth cups package
from
http://www.holtmann.org/linux/bluetooth/cups.html
cups-bluetooth-0.3.tar.gz
(at the time of this writing)
even if it seems too old for your
distrib
and try to compile it correctly
for this you have to
edit the configure file
replace libsdp.a reference with
libbluetooth.a
and then issue the « regular tryptique »
./configure
./make
./make install
but thus last one does nothing
so go to the src directory and
copy the newly generated bluetooth file
to
/usr/lib/cups/backend
restart cups.... and you now have your
printer in
the device list
contact : <bluez at n0rg dot org>