![]() |
BT: hcitool missing
Hi,
I flashed my N800 to OS 2008 last night. After that everything worked fine until I tried to us hcitool to scan for a bluetooth device. There was just no hcitool. Bluez-utils are installed and the connection by using the gui works fine too but I really need hcitool and rfcomm which isn't there neither. I googled a while but there was nothing like that so I'm asking here. Is it a common problem on OS 2008? I saw a few post about people working with hcitool on OS 2008 because of I'm a little bit confused why there isn't a hcitool on my device. Does anybody know how to fix this? On 2007 everything worked well. I really hope some of you got an answer. toti |
Re: BT: hcitool missing
Hi,
Same problem here (on a n810). bluez-utils package does not include any binary (except hcid). I've found another bluez-utils package at http://www.mulliner.org/nokia770/, but don't install it, because it seems to break bluetooth (i couldn't use my BT keyboard after trying it, but maybe it justs need to be configured again). Anyways if you really need it you can unpack this package and just extract the binaries. "hcitool scan" works but is really slow and fails to get device name. I'm also interested in a real (and clean) answer to this problem. Eric |
Re: BT: hcitool missing
This is known problem, there are no binaries for this inside bluez-utils anymore. All is done via d-bus now, see
http://lists.maemo.org/pipermail/mae...er/013507.html for one solution.It also quite easy to use bluez over d-bus from python, see http://wiki.bluez.org/ |
Re: BT: hcitool missing
Is there any way to debug a bluetooth dun connection? I am interested in why my Nokia E60 cannot be used with DUN.
|
Re: BT: hcitool missing
i had put together this little script to power up the bluetooth device and setup everything to wardrive with a GPS and Kismet. you could even open a mapping app like maemo mapper and track your position in that while kismet recorded. now that hciconfig and gpsd are not installed in OS2008, how would one go about accomplishing this?
the dbus-bluez-scan doesnt start up the bluetooth device on the tablet. i utterly hate having to open the control panel to start the bluetooth device, when the action can be done via command prompt. now that hcitool and hciconfig are no longer available the following post is completely useless... http://www.internettablettalk.com/fo...ead.php?t=9577 sorry if i am hijacking your thread... |
Re: BT: hcitool missing
probably the only way is to port your script to python or use glib with c and the new bluez d-bus API. That is probably also the reason why the older phones do not work with Nokia N8x0 and OS2008. I tried the dbus-send examples for service discovery that seems to work although the DUN is still not working for my phone :-((((
|
Re: BT: hcitool missing
Quote:
dbus-bluez-adapter-mode script: Code:
#!/bin/shCode:
dbus-bluez-adapter-mode offCode:
dbus-bluez-adapter-mode |
Re: BT: hcitool missing
ok i can power up the bluetooth device. one down more to go.
now how would i create a connection between my GPS and n800? hcitool cc <btaddr> would do it before. is there more dbus scripting to do that? at this point what has been provided above is above my level of expertise. once the connection has been created, you have to hand the connection to gpsd via a device (hci0). what would the device be called when using the dbus method? would it still be hci0? is it different because of the dbus method? again, the dbus-bluez-adapter-mode script is above my head, so please take it easy on me. |
Re: BT: hcitool missing
Yes it is still hci0.
Don't know much about gpsd but according to this page http://gpsd.berlios.de/bt.html gpsd wants rfcomm port so it looks same like with kbdd and hcitool is not needed. How exactly you did it in OS2007 with hcitool? |
Re: BT: hcitool missing
#! /bin/ash
hciconfig hci0 up hcitool cc <your:bt:gps:id:here> gpsd hci0 kismet kill `ps -ef |grep gpsd |grep -v grep |awk '{print $1}'` hciconfig hci0 down i did have to edit the /etc/default/rfcomm.conf and /etc/bluetooth/hcid.conf or some such files. |
| All times are GMT. The time now is 19:33. |
vBulletin® Version 3.8.8