Return-Path: From: Mayank BATRA To: "'BlueZ development'" Date: Wed, 28 Mar 2007 15:36:20 +0530 Message-ID: <007801c77120$bb936640$9d0cc70a@dlh.st.com> MIME-Version: 1.0 In-Reply-To: <1175075766.15698.107.camel@cookie.hadess.net> Subject: Re: [Bluez-devel] hcid returning "Device or resource busy"? Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net > > > I've been wondering why my devices weren't showing up in > > > nautilus-sendto, and it looks like DiscoverDevices > doesn't work. Here's > > > the snippet of code: > > > > > > dbus_g_proxy_call (object, "DiscoverDevices", &e, > > > G_TYPE_INVALID, G_TYPE_INVALID); > > > if (e != NULL) { > > > g_warning ("Couldn't start discovery: %s: %s", > > > dbus_g_error_get_name (e), e->message); > > > g_error_free (e); > > > } > > > > > > I do a list ListBondings before that on the same object, > so I know that > > > it works. But I still get that error: > > > Couldn't start discovery: org.bluez.Error.Failed: Device > or resource busy > > > > please run "hcidump -X -V" to see what happens on the HCI > layer. Do you > > have running anything else at the same time. > > Nope, not doing anything else, apart from having the applet > running, let > me attach the hcidump output. [...] > HCI Event: Command Status (0x0f) plen 4 > Remote Name Request Cancel (0x01|0x001a) status 0x01 ncmd 1 > Error: Unknown HCI Command Looks like a BT1.1 dongle to me since Remote Name Request Cancel was introduced after that. And since the device is not yet finished paging during the remote name request, it disallows the Inquiry Command. Solution: Get yourself a dongle > BT1.1 ! Best Regards, Mayank ------------------------------------------------------------------------- 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-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel