All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] "hcitool dev" shows no devices
@ 2005-01-30 20:05 Marco Trudel
  2005-01-30 20:15 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Trudel @ 2005-01-30 20:05 UTC (permalink / raw)
  To: bluez-users

Hello everybody

I've a 2.4.26 kernel. I patched it using the "patch-2.4.26-mh2.gz" from the 
bluez homepage. *
Then, in "make menuconfig" I selected this points:
# Bluetooth support -> Bluetooth subsystem support
#                      L2CAP protocol support (NEW)
#                      RFCOMM protocol support
#                        RFCOMM TTY support (NEW)
# Bluetooth support -> Bluetooth device drivers -> HCI USB driver (new)

Then I compiled and installed the new kernel.
After that I compiled and installed the bluez-libs and bluez-utils.

Everything works well...
Now I try "hcitool dev" but no devices are showed (I have two D-Link DBT120 
connected to usb ports).

Any Ideas why they aren't recognized?
Did I miss to add a feature to the kernel?

kind regards
Marco


* Something gets rejected during the patch (It doesn't seem important to 
me, but maybee it is):

Makefile.rej:
***************
*** 1,7 ****
   VERSION = 2
   PATCHLEVEL = 4
   SUBLEVEL = 26
- EXTRAVERSION =

   KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)

--- 1,7 ----
   VERSION = 2
   PATCHLEVEL = 4
   SUBLEVEL = 26
+ EXTRAVERSION = -mh2

   KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] "hcitool dev" shows no devices
  2005-01-30 20:05 [Bluez-users] "hcitool dev" shows no devices Marco Trudel
@ 2005-01-30 20:15 ` Marcel Holtmann
  2005-01-30 20:40   ` Marco Trudel
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2005-01-30 20:15 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Marco,

> I've a 2.4.26 kernel. I patched it using the "patch-2.4.26-mh2.gz" from the 
> bluez homepage. *
> Then, in "make menuconfig" I selected this points:
> # Bluetooth support -> Bluetooth subsystem support
> #                      L2CAP protocol support (NEW)
> #                      RFCOMM protocol support
> #                        RFCOMM TTY support (NEW)
> # Bluetooth support -> Bluetooth device drivers -> HCI USB driver (new)
> 
> Then I compiled and installed the new kernel.
> After that I compiled and installed the bluez-libs and bluez-utils.
> 
> Everything works well...
> Now I try "hcitool dev" but no devices are showed (I have two D-Link DBT120 
> connected to usb ports).
> 
> Any Ideas why they aren't recognized?
> Did I miss to add a feature to the kernel?

what does "hciconfig -a" say? What is in /proc/bus/usb/devices?

> * Something gets rejected during the patch (It doesn't seem important to 
> me, but maybee it is):
> 
> Makefile.rej:
> ***************
> *** 1,7 ****
>    VERSION = 2
>    PATCHLEVEL = 4
>    SUBLEVEL = 26
> - EXTRAVERSION =
> 
>    KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
> 
> --- 1,7 ----
>    VERSION = 2
>    PATCHLEVEL = 4
>    SUBLEVEL = 26
> + EXTRAVERSION = -mh2
> 
>    KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)

You can ignore this one. It will almost fail if you don't use a vanilla
base.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] "hcitool dev" shows no devices
  2005-01-30 20:15 ` Marcel Holtmann
@ 2005-01-30 20:40   ` Marco Trudel
  2005-01-30 20:48     ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Trudel @ 2005-01-30 20:40 UTC (permalink / raw)
  To: bluez-users

Hello Marcel

I found out why they aren't recognized.
hcid needs to be running in order to start them (HCI dev X up)...
stupid me... I thought that this isn't necessary.

thanks a lot!


But another question arised starting hcid:
The location of etc/bluetooth/pin. Is it hardcoded?
I crosscompiled the bluez libs/utils and hcid now tells me on start:
Can't open PIN file /usr/local/arm/2.95.3/arm-linux/etc/bluetooth/pin. No 
such file or directory(2)

Can I change the location of the pin-file? maybee in the hcid.conf?

kind regards
Marco


Marcel Holtmann wrote:
> Hi Marco,
> 
> 
>>I've a 2.4.26 kernel. I patched it using the "patch-2.4.26-mh2.gz" from the 
>>bluez homepage. *
>>Then, in "make menuconfig" I selected this points:
>># Bluetooth support -> Bluetooth subsystem support
>>#                      L2CAP protocol support (NEW)
>>#                      RFCOMM protocol support
>>#                        RFCOMM TTY support (NEW)
>># Bluetooth support -> Bluetooth device drivers -> HCI USB driver (new)
>>
>>Then I compiled and installed the new kernel.
>>After that I compiled and installed the bluez-libs and bluez-utils.
>>
>>Everything works well...
>>Now I try "hcitool dev" but no devices are showed (I have two D-Link DBT120 
>>connected to usb ports).
>>
>>Any Ideas why they aren't recognized?
>>Did I miss to add a feature to the kernel?
> 
> 
> what does "hciconfig -a" say? What is in /proc/bus/usb/devices?

hci0:   Type: USB
         BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
         DOWN
         RX bytes:0 acl:0 sco:0 events:0 errors:0
         TX bytes:0 acl:0 sco:0 commands:0 errors:0
         Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
         Packet type: DM1 DH1 HV1
         Link policy:
         Link mode: SLAVE ACCEPT

hci1:   Type: USB
         BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
         DOWN
         RX bytes:0 acl:0 sco:0 events:0 errors:0
         TX bytes:0 acl:0 sco:0 commands:0 errors:0
         Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
         Packet type: DM1 DH1 HV1
         Link policy:
         Link mode: SLAVE ACCEPT

>>* Something gets rejected during the patch (It doesn't seem important to 
>>me, but maybee it is):
>>
>>Makefile.rej:
>>***************
>>*** 1,7 ****
>>   VERSION = 2
>>   PATCHLEVEL = 4
>>   SUBLEVEL = 26
>>- EXTRAVERSION =
>>
>>   KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
>>
>>--- 1,7 ----
>>   VERSION = 2
>>   PATCHLEVEL = 4
>>   SUBLEVEL = 26
>>+ EXTRAVERSION = -mh2
>>
>>   KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
> 
> 
> You can ignore this one. It will almost fail if you don't use a vanilla
> base.
> 
> Regards
> 
> Marcel
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] "hcitool dev" shows no devices
  2005-01-30 20:40   ` Marco Trudel
@ 2005-01-30 20:48     ` Marcel Holtmann
  2005-01-30 21:11       ` Marco Trudel
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2005-01-30 20:48 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Marco,

> But another question arised starting hcid:
> The location of etc/bluetooth/pin. Is it hardcoded?
> I crosscompiled the bluez libs/utils and hcid now tells me on start:
> Can't open PIN file /usr/local/arm/2.95.3/arm-linux/etc/bluetooth/pin. No 
> such file or directory(2)
> 
> Can I change the location of the pin-file? maybee in the hcid.conf?

there is no option for that. However you can provide a patch if you
think such an option is usefull.

You forgot "--sysconfdir=/etc" when you call configure as it is written
in the README.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] "hcitool dev" shows no devices
  2005-01-30 20:48     ` Marcel Holtmann
@ 2005-01-30 21:11       ` Marco Trudel
  0 siblings, 0 replies; 5+ messages in thread
From: Marco Trudel @ 2005-01-30 21:11 UTC (permalink / raw)
  To: bluez-users

Hello Marcel

Marcel Holtmann wrote:
> Hi Marco,
> 
> 
>>But another question arised starting hcid:
>>The location of etc/bluetooth/pin. Is it hardcoded?
>>I crosscompiled the bluez libs/utils and hcid now tells me on start:
>>Can't open PIN file /usr/local/arm/2.95.3/arm-linux/etc/bluetooth/pin. No 
>>such file or directory(2)
>>
>>Can I change the location of the pin-file? maybee in the hcid.conf?
> 
> 
> there is no option for that. However you can provide a patch if you
> think such an option is usefull.
 >
> You forgot "--sysconfdir=/etc" when you call configure as it is written
> in the README.

that does exactly what I need (and my c knowledge is very limited, I'd 
require a couple of weeks for a patch :-))!

thanks a lot for your help!

kind regards
Marco


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-30 21:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-30 20:05 [Bluez-users] "hcitool dev" shows no devices Marco Trudel
2005-01-30 20:15 ` Marcel Holtmann
2005-01-30 20:40   ` Marco Trudel
2005-01-30 20:48     ` Marcel Holtmann
2005-01-30 21:11       ` Marco Trudel

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.