2005-08-15 06:13:30

by Al

[permalink] [raw]
Subject: RE: [Bluez-devel] Porting BlueZ on embedded uClinux

Hi,

"hciconfig -a hci0" results the same.
-------------------------------------------------
/> new USB device :801aaa04-174d60
hub.c: new USB device 1, assigned address 2
usb.c: USB device 2 (vend/prod 0x1131/0x1001) is not claimed by any active driv.
/>
/> hciconfig -a hci0

Can't get device info: No such device
pid 9: failed 256
/>

---------------------------------------------------
I think bluetooth drivers are not integrated to kernel correctly. hci_usb_init() in hci_usb.c is not run since I can't read the printout in embedded linux while the printout can be read in PC RH9 linux.

int hci_usb_init(void)
{
int err;

BT_INFO("BlueZ HCI USB driver ver %s Copyright (C) 2000,2001 Qualcomm Inc",
VERSION);
BT_INFO("Written 2000,2001 by Maxim Krasnyansky <[email protected]>");

if ((err = usb_register(&hci_usb_driver)) < 0)
BT_ERR("Failed to register HCI USB driver");

return err;
}

-----Original Message-----
From: [email protected] on behalf of Paul Webster
Sent: Mon 8/15/2005 1:38 PM
To: [email protected]
Cc:
Subject: Re: [Bluez-devel] Porting BlueZ on embedded uClinux
> You are right about BlueZ was not initilized. After I force define MODULE in
> af_bluetooth.c , creating bluetooth socket using hciconfig is OK. But command "hciconfig
> -a" still can't read the bluetooth USB dongle information.

What about "hciconfig -a hci0"?


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel




Attachments:
winmail.dat (3.52 kB)