From: Felix Homann <fexpop@onlinehome.de>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Several problems with bluez-utils 3.1, kbluetoothd and a Belkin dongle in Debian
Date: Fri, 28 Jul 2006 11:00:44 +0200 [thread overview]
Message-ID: <200607281100.44745.fexpop@onlinehome.de> (raw)
In-Reply-To: <1154049600.7650.6.camel@localhost>
Hi Marcel,
On Friday 28 July 2006 03:20, Marcel Holtmann wrote:
> Hi Felix,
> now you are mixing things.
I don't think so. In my original post I mentioned two issues. One could be
worked around by "hciconfig hci0 inqmode 0". kdebluetoothd can find other
devices afterwards.
(BTW, why is this only necessary for kdebluetoothd, 'hcitool scan' works fine
without setting the inqmode first. Why has this not been an issue with the
2.x series of bluez?)
The other issue didn't get a reply. (Maybe I should have put both issues in
differnet threads like I did in the Debian BTS, sorry..)
> The inquiry mode has nothing to do with the
> scan mode.
Sure, but there's still the other issue: My system can't be found by other
devices. Here's a more detailed report:
1. My system can only be found by other devices if I enable inquiry scan
manually using 'hciconfig hci0 iscan' (or piscan). It's the only way I found
so far. 'hciconfig -a' will show "UP RUNNING ISCAN".
2. "iscan enable;" in hcid.conf will not make my system visible (in
contradiction to what the man page says), 'hciconfig -a' will show "UP
RUNNING PSCAN".
3. "pscan disable;" in hcid.conf will not disable PSCAN. 'hciconfig -a' will
show "UP RUNNING PSCAN".
4. It doesn't matter (with respect to 'hciconfig -a' output and visibility) at
all if there is any 'iscan/pscan enable/disable' line at all: PSCAN will show
up, ISCAN not.
5. All of this happens with every BT card/dongle I have at hand
(SPHINX/Belkin/EPoX).
> The scan mode defines is you are visible and connectable. The D-Bus API
> sets you to connectable only unless you disable the discoverable timeout
> and set your yourself to discoverable.
How do I set the discoverable timeout? How am I supposed to set myself
discoverable? Are there new options in hcid.conf? Where is it documented?
> This is a feature of the new 3.x
> generation that will make you automatically unvisible after a certain
> amount of time.
Where is it documented? (Generally I've been missing such a feature. I just
don't want to be invisble from the start.)
> These two things are not related.
Yes, read above.
> And start sending in "hcidump -X -V" outputs instead of speculating.
I did not know of this. Here's the output of "hcidump -X -V" while my phone is
scanning for devices:
# hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.31
device: hci0 snap_len: 1028 filter: 0xffffffff
That's really all there is. The output doesn't change after
issueing 'hciconfig hci0 piscan', but my phone can see my PC afterwards.
After a minute or so hcidump spits out this:
< HCI Command: Write Scan Enable (0x03|0x001a) plen 1
enable 2
> HCI Event: Command Complete (0x0e) plen 4
Write Scan Enable (0x03|0x001a) ncmd 1
status 0x00
< HCI Command: Read Scan Enable (0x03|0x0019) plen 0
> HCI Event: Command Complete (0x0e) plen 5
Read Scan Enable (0x03|0x0019) ncmd 1
status 0x00 enable 2
Afterwards my system is invisble again, I guess that's the timeout you've
mentioned.
Kind regards,
Felix
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2006-07-28 9:00 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-27 10:40 [Bluez-users] Several problems with bluez-utils 3.1, kbluetoothd and a Belkin dongle in Debian Felix Homann
2006-07-27 10:43 ` Marcel Holtmann
2006-07-27 10:58 ` Felix Homann
2006-07-27 11:04 ` Marcel Holtmann
2006-07-29 12:26 ` Felix Homann
2006-07-29 12:42 ` Marcel Holtmann
2006-07-27 17:16 ` [Bluez-users] Several problems with bluez-utils 3.2, kbluetoothd Paulo Wollny
2006-07-27 20:08 ` [Bluez-users] Several problems with bluez-utils 3.1, kbluetoothd and a Belkin dongle in Debian Felix Homann
2006-07-28 1:20 ` Marcel Holtmann
2006-07-28 9:00 ` Felix Homann [this message]
2006-07-28 9:09 ` Marcel Holtmann
2006-07-28 9:28 ` Felix Homann
2006-07-28 9:38 ` Marcel Holtmann
2006-07-28 10:03 ` Felix Homann
2006-07-28 10:06 ` Marcel Holtmann
2006-07-28 10:14 ` Felix Homann
2006-07-28 10:33 ` Marcel Holtmann
2006-07-28 10:46 ` Felix Homann
2006-07-28 10:51 ` Marcel Holtmann
2006-07-28 10:40 ` hugues
2006-07-28 11:07 ` Felix Homann
2006-07-28 15:00 ` Felix Homann
2006-07-28 15:07 ` Marcel Holtmann
2006-07-29 12:11 ` Felix Homann
2006-07-29 12:33 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2006-07-27 23:18 Alastair Tse
2006-07-28 1:32 ` Marcel Holtmann
2006-07-28 9:43 ` Alastair Tse
2006-07-29 12:58 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200607281100.44745.fexpop@onlinehome.de \
--to=fexpop@onlinehome.de \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox