LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
LinkBack Search this Thread
Old 08-12-2009, 04:18 AM   #1
dracoid4
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
BlueZ with iMX FreeScale PDK cannot scan


I am using iMX Freescale PDK with the onboard CSR BT chip.

Command sent before:
#hcid -f /etc/bluetooth/hcid.conf
#sdpd
#rfcomm -f /etc/bluetooth/rfcomm.conf
#hciattach -s 115200 /dev/ttymxc1 bcsp 921600
#hciconfig hci0 up

I was able to get the following from hciconfig -a hci0:

hci0: Type: UART
BD Address: 00:02:5B:00:A5:A5 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:723 acl:0 sco:0 events:19 errors:0
TX bytes:621 acl:0 sco:0 commands:18 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'BlueZ(0)'
Class: 0x3e0104
Service Classes: Networking, Rendering, Capturing
Device Class: Computer, Desktop workstation
HCI Ver: 2.0 (0x3) HCI Rev: 0xc5c LMP Ver: 2.0 (0x3) LMP Subver: 0xc5c
Manufacturer: Cambridge Silicon Radio (10)

But when i do a hcitool scan, I will get the error:
Scanning ...
Inquiry failed: Connection timed out

What did I miss out?
 
  


Reply

Tags
bluetooth, bluez, hciconfig, hcid, hcitool


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BlueZ with iMX FreeScale PDK cannot scan dracoid4 Linux - Networking 0 08-07-2009 02:31 AM
Bluez Programming - set scan mode with normal user hadrix Programming 2 07-13-2009 11:52 PM
Bluez + hcitool not able to scan kewl Linux - Software 3 06-23-2009 02:40 PM
Playing of MP3 file on freescale imx31-pdk board.. ganeshpetkar Linux - Newbie 0 06-04-2009 07:06 AM
LXer: iwave announces Linux 2.6.18 support for Freescale IMX evaluation design LXer Syndicated Linux News 0 01-12-2007 11:54 AM


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