From: Marcel Holtmann <marcel@holtmann.org>
To: Mr Jie Liu <s4048156@student.uq.edu.au>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] permission denied
Date: Thu, 13 May 2004 23:52:25 +0200 [thread overview]
Message-ID: <1084485145.25099.155.camel@pegasus> (raw)
In-Reply-To: <1858c9181d18.181d181858c9@uq.edu.au>
Hi,
> I am trying to send audio files to my HBH-35 headset. But I found a problem with using bluez. When I try to send packets to the headset,like l2ping x:x:x:x, it works fine. After I use hciconfig or hcitool to do any operation about the headset,including just "hcitool info x:x:x:x", I can't connect with the headset again unless I restart my computer. I always got a error message:"permission denied". But I am running l2ping as root. Sometimes i
> f I restart the hci interface by "hcitool down" and "hcitool up", it works again. But sometimes it just refueses to work anymore. Here is the hcidump when it stopes to work:
check what you've really done, because "hcitool down" etc. don't exists.
> [root@tom cuanyu]# l2ping 00:0E:07:31:5C:5B
> Ping: 00:0E:07:31:5C:5B from 00:0B:0D:21:9E:81 (data size 20) ...
> Recv failed: Permission denied
> [root@tom sbin]# ./hcidump -r=bt.txt
> HCIDump - HCI packet analyzer ver 1.5
> < HCI Command: Create Connection(0x01|0x0005) plen 13
> > HCI Event: Command Status(0x0f) plen 4
> > HCI Event: Link Key Request(0x17) plen 6
> < HCI Command: Link Key Request Reply(0x01|0x000b) plen 22
> > HCI Event: Command Complete(0x0e) plen 10
> > HCI Event: Connect Complete(0x03) plen 11
> < HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
> < ACL data: handle 0x0001 flags 0x02 dlen 28
> L2CAP(s): Echo req: dlen 20
> > HCI Event: Command Complete(0x0e) plen 6
> > HCI Event: Disconn Complete(0x05) plen 4
Run it with -x switch to see the content of the events.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2004-05-13 21:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-13 9:59 [Bluez-users] permission denied Mr Jie Liu
2004-05-13 21:52 ` Marcel Holtmann [this message]
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=1084485145.25099.155.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
--cc=s4048156@student.uq.edu.au \
/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