LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-30-2009, 08:32 AM   #1
grezly
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
[Bluetooth] Can't connect device


I'm trying to accomplish a connection between my slackware installation and my barcode scanner (MS9535 Voyager).

The manual says that when i want to connect to a bluetooth device, i have to read the address (MAC) and create a barcode of that address... so far so good.

I've i plugin my bluetooth usb receiver, my kernel recognizes it.
The next thing i do is (00:00:00:00:00:00 isn't my real address )

Code:
root@1:~# hcitool scan
Scanning ...
        00:00:00:00:00:00      VoyagerBT 5607410272

root@1:~# hcitool cc 00:00:00:00:00:00
root@1:~# hcitool con
Connections:
        < ACL 00:00:00:00:00:00 handle 42 state 1 lm MASTER
I type the second command immediately when the first command is finished. If i wait for like 10 seconds after i check the connection, i got the following output:

Code:
root@1:~# hcitool con
Connections:
So my scanner isn't connected to my pc.
But the strange thing is that 'sometimes' i got some output from my hcitool

Code:
root@1:~# hcitool con
Connections:
        > ACL 00:00:00:00:00:00 handle 42 state 1 lm MASTER
root@1:~# hcitool con
Connections:
root@1:~# hcitool con
Connections:
root@1:~# hcitool con
Connections:
root@1:~# hcitool con
Connections:
...SNIP...
Connections:
root@1:~# hcitool con
Connections:
root@1:~# hcitool con
Connections:
root@1:~# hcitool con
Connections:
root@1:~# hcitool con
Connections:
        > ACL 00:00:00:00:00:00 handle 0 state 5 lm SLAVE
root@1:~# hcitool con
Connections:
In my logs i can't find anything about it.
 
Old 10-30-2009, 03:07 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
How are you handling pairing? Are you using the default PIN under /etc/bluetooth/passkeys?

"hcitool cc" rarely seems to work, you are better off trying to connect with whatever protocol the device natively talks. So does this barcode reader talk to the computer over SPP, or is it intended to work like a Bluetooth HID?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
3g and bluetooth help me, i can't connect ! sydoak LinuxQuestions.org Member Intro 5 05-04-2009 10:08 AM
Bluetooth device became permanently down Karimo Slackware 1 11-17-2008 08:07 PM
Can connect only ONCE to Bluetooth device jlinkels Linux - Hardware 4 12-10-2007 05:58 PM
Could not connect to Bluetooth device through the serial port dubrick_vit Linux - Hardware 0 01-16-2006 07:57 AM
Bluetooth Device not showing up? kpsr Linux - Newbie 1 06-27-2005 03:37 PM


All times are GMT -5. The time now is 03:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration