Skip to contentSkip to conversation

hcitool scan gives timeout on an ipaq 5500

Bluez-users filipe abrantes 2 participants 3 messages Sep 28, 2004 – Mar 30, 2008 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore
maintainer
#1 lore raw
In reply to filipe abrantes

Hi Filipe,

Quoted 39 lines

ive been using bluez on an ipaq, but im having some problems:

how i set up bt on ipaq:

# uname -r
2.4.19-rmk6-pxa1-hh36
# pand
PAN daemon version 1.1rc2
..
# hcitool
hcitool - HCI Tool ver 2.2
# hcid --version
hcid: invalid option -- -
hcid - HCI daemon ver 2.3

#hciattach /dev/tts/1 any 921600

# hciconfig
hci0:   Type: UART
        BD Address: 08:00:17:1F:C5:E4 ACL MTU: 339:4  SCO MTU: 60:9
        UP RUNNING PSCAN ISCAN
        RX bytes:88 acl:0 sco:0 events:11 errors:1
        TX bytes:652 acl:0 sco:0 commands:25 errors:0

... and the hcid.conf files are similar on both the ipaq and my pc

when i try hcitool scan on ipaq:

# hcitool scan
Scanning ...
Inquiry failed.: Connection timed out

when i try on my pc:

# hcitool scan
Scanning ...
        08:00:17:1F:C5:E4       ipaq
Quoted 7 lines

then when i put my pc on: pand --listen --role GN
...and try to connect: pand --connect 00:10:60:A4:89:15 (on the ipaq side)

it doesn t establish connection.

but on the other end if i try to switch roles, the pc can connect to the ipaq (the ipaq is now GN) then it works out ok.

run hcidump -x as root on the iPAQ side to see what is going on.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#3 lore raw
In reply to a message not in the archive

Hi Filipe,

Quoted 10 lines

#hcidump -x
HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff

(#hcitool scan - (gives timeout) )

< HCI Command: Inquiry(0x01|0x0001) plen 5

   33 8B 9E 08 0A
Quoted 7 lines

(#hciconfig -a - (also gives timeout)

< HCI Command: Read Local Name(0x03|0x0014) plen 0

this is too cryptic for me, hope it helps you solving the problem, let me know if you find something.

maybe the Bluetooth support for the iPAQ 5xxx is broken. They use some weird Bluetooth chip and maybe you need some other settings for hciattach, but I don't really not what are the best.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#0 lore raw

hello list:

ive been using bluez on an ipaq, but im having some problems:

how i set up bt on ipaq:

# uname -r
2.4.19-rmk6-pxa1-hh36
# pand
PAN daemon version 1.1rc2
..
# hcitool
hcitool - HCI Tool ver 2.2
# hcid --version
hcid: invalid option -- -
hcid - HCI daemon ver 2.3

#hciattach /dev/tts/1 any 921600

# hciconfig
hci0:   Type: UART
       BD Address: 08:00:17:1F:C5:E4 ACL MTU: 339:4  SCO MTU: 60:9
       UP RUNNING PSCAN ISCAN
       RX bytes:88 acl:0 sco:0 events:11 errors:1
       TX bytes:652 acl:0 sco:0 commands:25 errors:0

... and the hcid.conf files are similar on both the ipaq and my pc

when i try hcitool scan on ipaq:

# hcitool scan
Scanning ...
Inquiry failed.: Connection timed out

when i try on my pc:

# hcitool scan
Scanning ...
       08:00:17:1F:C5:E4       ipaq

then when i put my pc on: pand --listen --role GN
...and try to connect: pand --connect 00:10:60:A4:89:15 (on the ipaq side)

it doesn t establish connection.

but on the other end if i try to switch roles, the pc can connect to the ipaq (the ipaq is now GN) then it works out ok.

any ideas on whats happening?

thanks all

filipe

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users