LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-02-2013, 08:38 AM   #1
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 421
Blog Entries: 28

Rep: Reputation: 2
hcitool cannot connect


Hi, I am trying to connect to android devices using bluetooth:
Code:
root:# lsusb | grep tooth
Bus 003 Device 003: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
root:# hcitool scan
Scanning ...
        D0:37:61:90:98:58       A70S
root:# hcitool cc D0:37:61:90:98:58
but still no connections made:
Code:
root:# hcitool con
Connections:
I made sure my device was made visible thru the entire process.
Thanks,
Ted
 
Old 03-02-2013, 01:13 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,147

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
I haven't used hcitool, but a quick glance at the man page told me that the default --role option in the cc command is "master." Is it possible that the device you're connecting wants to be the master device? Did you try hcitool cc --role=s D0:37:61:90:98:58?

Last edited by PTrenholme; 03-02-2013 at 01:14 PM.
 
Old 03-02-2013, 06:31 PM   #3
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 421
Blog Entries: 28

Original Poster
Rep: Reputation: 2
hi, thanks for your reply. I tried your suggestion:
Code:
ted:$ sudo hcitool cc --role=s D0:37:61:90:98:58
server:/~
ted:$ sudo hcitool con
Connections:
server:/~
ted:$ sudo hcitool scan
Scanning ...
        D0:37:61:90:98:58       A70S
but still no connection was made.
Thanks,
Ted
 
Old 03-03-2013, 09:30 AM   #4
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 421
Blog Entries: 28

Original Poster
Rep: Reputation: 2
Hi, I am having pin problem:
Code:
root:# rfcomm bind hci0 50:56:63:A6:5E:06 11
root:# dd if=/dev/rfcomm0 of=/dev/audio
dd: opening `/dev/rfcomm0': Connection refused
My phone did ask me for a pin number, but I didn't enter a pin in the terminal, I tried 0000, 1234. Ive also tried creating a file in /etc/bluetooth/pin and entered a pin inside, but none worked.
 
Old 03-11-2013, 09:02 PM   #5
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 421
Blog Entries: 28

Original Poster
Rep: Reputation: 2
bump
 
Old 03-22-2013, 07:56 AM   #6
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 421
Blog Entries: 28

Original Poster
Rep: Reputation: 2
bump still no one knows?
 
  


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
hcitool device not found landorone1 Linux - Mobile 1 10-17-2011 08:57 PM
hcitool landorone1 Linux - Software 5 10-08-2011 04:17 PM
Bluez + hcitool not able to scan kewl Linux - Software 3 06-23-2009 02:40 PM
hcitool cache Josephus Ross Programming 1 03-07-2007 09:37 AM


All times are GMT -5. The time now is 04:46 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