AuthorTopic: bluetooth on vector linux (Read 12405 times)

Hi everybody!My brother bougth an usb bluetooth device for his w machine, and i want to try it on my vector box. Looks like vector recognize it well, but I need a suggest for the software to install to try if the device works. I will try to compile BlueZ tonigth, it is the only i know. Any idea will be welcome.

SOURCE=ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/testingThen refresh the package list (using either slapt-get ot gslapt) and you will find two packages that are Bluez related: bluez-libs and bluez-utils. I think both of those should cover what you need

Thank you very much, easuter. Slapt-get did the job. I have one more dumb question, I can't find any bluez-utils bin file, I used whereis and locate with no results. May be a BlueZ user can help me.Cheers, Rodrigo.

Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."Jorge Luis Borges, Avatars of the Tortoise. --Jumalauta!!

hciattachhciconfighcidhid2hcisdpdNow the nice part is that the Bluez devs documented the usage of these binaries in man pages, with the same name as the binaries. So to see what hcitool does, just type

Thank you very much easuter, i will read the man pages, and the wiki is really good (you are rigth about gentoo doc, may be we can make a vector wiki?)By the way, may be I am wrong, but looks like hard autodetection in VL is great, other people i know has a lot of problem with the same bluetooth device in other distros, but not vector.cheers, Rodrigo

Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."Jorge Luis Borges, Avatars of the Tortoise. --Jumalauta!!

# hcitool devDevices: hci0 00:01:02:03:04:05The /etc/bluetooth/hcid.conf file needs to be rigth. I have a lot of work rigth now, I will be back to it soon and post news.

Quote

It's been working on a windows PC.

I think this is because the evil alliance between M$ and hardware producers . That is the worst thing about them, I don´t care about XP security issues or Vista hi requeriments, If they want to do that i have no problems... but this is for The Lounge, or may be we should include a more "philosophical" topic

« Last Edit: February 20, 2007, 11:32:19 am by rbistolfi »

Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."Jorge Luis Borges, Avatars of the Tortoise. --Jumalauta!!

i had downloaded bluez-utils long back. i always have to get hciconfig up manually and that too as superuser. so strict?

anyways i'd learnt how to push object/file from my laptop to cell phone...n was doin it the whole day. the bluez-utils i read that time didn't allow me to transfer files from my cellphone to laptop. for which i needed either of gnome-bluetooth or kde-bluetooth. now with ubuntu being so popular its all gnome gnome gnome...gnome this gnome that....no one writes about kde stuff...i mean you don't see as many articles.

so anyways i had seen kbluetooth frontend once and got the source for it as well as came across kmobiletools which also i compiled from source. kmobiletools doesn't seem to have some AT engine workin properly (for those on who's comp's this works and you got a cellphone...this is useful so check it). so i rebooted (went for dinner in between) n i see the kbluetooth icon. first of all it gives the error sdpd service not started. how can this be started as a service on startup...i used vasm but its services configuration does not show sdpd. sdpd is located in /usr/sbin i started it manually as root. while being root i brought up the hci0 interface which is my bluetooth adaptor. as soon as adaptor is UP, kbluetooth lists the phone's BD address. so clickin on the entry opens a konqueror window with sdp://<bd_address> and enlists a list of services....none of it being clear as to which will transfer files from phone to laptop...but that's not the problem...yet. main irritation is the pin. following a site's instruction i'd set up /etc/bluetooth/pin and a shell script pin-helper. now is there no way to pair without a pin. the funny thing is my cell phone identifies this laptop with the same name as the laptop on which windows is installed but it doesn't do so for other pc's.now i know that /etc/bluetooth/pin is 1234 so when i type in 1234 on the phone when prompted. the laptop tries connecting for quite some time and in between tries to send 2 objects/messages (on my nokia 6670 files and messages are delivered in normal inbox only) and in the end shows a failed to connect error. when i run from the terminal...it shows that timeout has been set to 300 and timer went to 301 or 302? even when i was using command line option...i was never able to make a connection...i wonder if it has to do with the pin not being authenticated properly....i changed security to none in /etc/bluetooth/hcid.conf but i still see the prompt for pin coming on the cell phone.

what am i not doing right?

p.s. kmobiletools requires /var/lock open to normal user...is it safe?

Hi Diabolic! I'm sorry because I cant help you with this bluetooth stuff, I stop my reaserch because of lack of time. To start a service just add the command at the end of your /etc/rc.d/rc.local -just edit it as root with your fav editor- and it will start at each boot.Looks like you are almost there, a little more reaserch

Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."Jorge Luis Borges, Avatars of the Tortoise. --Jumalauta!!

Thank you very much easuter, i will read the man pages, and the wiki is really good (you are rigth about gentoo doc, may be we can make a vector wiki?)By the way, may be I am wrong, but looks like hard autodetection in VL is great, other people i know has a lot of problem with the same bluetooth device in other distros, but not vector.cheers, Rodrigo

This has been discussed before. I'm cool to the idea of a Wiki. We already have an active forum open to anyone for reading. Our forum has a HowTo section, which any forum member can contribute to.

I think a Wiki would just fragment our help system. Better to keep it all in the forum, in my opinion. What would a Wiki add, except for trendy bragging rights so VL can say "we have a Wiki"?--GrannyGeek

I think a Wiki would just fragment our help system. Better to keep it all in the forum, in my opinion. What would a Wiki add, except for trendy bragging rights so VL can say "we have a Wiki"?--GrannyGeek

That is a good point, Granny. I think the only advantage of a wiki is it is more easy to read because it has a "book structure". But because we are a little short of manpower, the wiki could wait, and the howtos sections -and dont forget the VL docs- are great.

Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."Jorge Luis Borges, Avatars of the Tortoise. --Jumalauta!!

I think the only advantage of a wiki is it is more easy to read because it has a "book structure". But because we are a little short of manpower, the wiki could wait, and the howtos sections -and dont forget the VL docs- are great.

I think one problem with our HowTo section is that it's disorganized. This isn't anybody's fault. It's just that as more and more users contribute to the HowTo section, it gets harder to just browse through for something on your topic and you have to guess at good search terms.

I'm sure we could get the HowTo's organized better and I'd be happy to volunteer to try to get them into logical categories. It would be good to have others on the team, too, because there are bound to be different opinions of what belongs where. Of course, we could have one HowTo under several categories. There could be a link on the VectorLinux home page to the HowTo section.