All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Wright <jwright@hasborg.com>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] Reset card
Date: Wed, 17 Aug 2005 15:16:27 -0400	[thread overview]
Message-ID: <43038D0B.1060209@hasborg.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'd like to programatically reset my CSR USB dongle after running
"bdaddr" from bluez-utils, but I haven't found a way to do that (short
of manually removing and inserting the dongle).

I tried "hciconfig hci0 reset", but this does not reflect the changes
from the bdaddr utility, even after hciconfig down/up.  I also tried
"hcitool -i hci0 cmd 0x03 0x0003" (OGF_HOST_CTL, OCF_RESET), but had the
same results with "hciconfig hci0 reset".

I even tried to detach the device manually with libusb and usb_reset()
and usb_detach_kernel_driver_np().  The former causes BlueZ to become
intermittent with the USB dongle until I run a "hciconfig hci0 reset",
but still no BD_ADDR change until I manually remove and reinsert the
card.  The latter causes the system to ignore the USB dongle until I
manually remove and re-insert.

Any suggestions?  Many thanks,

- -Josh
- --
- -Joshua Wright
jwright@hasborg.com

2005-2006 pgpkey: http://802.11ninja.net/pgpkey.htm
fingerprint: F00E 7A42 8375 0C55 964F E5A4 4D2F 22F6 3658 A4BF

Today I stumbled across the world's largest hotspot.  The SSID is "linksys".
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDA40LTS8i9jZYpL8RAjYoAKCITpoODWDNaJSgCQNbz7UqRk8tuQCfRR2R
H1Dboc+GfktjC33pzhXxG0s=
=knrV
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2005-08-17 19:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 19:16 Joshua Wright [this message]
2005-08-19  9:23 ` [Bluez-devel] Reset card Ronny L Nilsson
2005-08-19  9:28   ` Simon Vogl
2005-08-19 14:49     ` Marcel Holtmann
2005-08-19 16:21       ` Joshua Wright
2005-08-21 14:03         ` Marcel Holtmann
2005-08-22 19:20           ` Joshua Wright
2005-08-22 20:42             ` 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=43038D0B.1060209@hasborg.com \
    --to=jwright@hasborg.com \
    --cc=bluez-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.