* [Bluez-users] hcid config
@ 2004-07-23 7:01 Chris Searle
2004-07-23 8:41 ` Marcel Holtmann
0 siblings, 1 reply; 9+ messages in thread
From: Chris Searle @ 2004-07-23 7:01 UTC (permalink / raw)
To: bluez-users
Been having some problems with a comOne dongle both before and after
upgrading to kernel 2.6.7 (debian unstable).
So - I've just plugged in a belken dongle from another machine too
(with ideas of using one to test what services the other is showing).
Both appear in /var/log/messages and also in /proc/bus/usb/devices
So - some simple tests:
chris@chris:~$ hcitool dev
Devices:
hci0 00:30:C2:08:0A:A1
hci1 00:0A:3A:54:5B:49
chris@chris:~$ hcitool -i hci0 scan
Scanning ...
00:0A:D9:94:BF:68 Chris Mobile
00:0A:3A:54:5B:49 WINDOWS-2000
chris@chris:~$ hcitool -i hci1 scan
Scanning ...
00:30:C2:08:0A:A1 Chris
00:0A:D9:94:BF:68 Chris Mobile
Now - this is odd - in hcid.conf I have
device {
# Local device name
# %d - device id
# %h - host name
name "%h-%d";
I was expecting two names - chris-0 (where now it's Chris) and chris-1
(where now of all things its WINDOWS-2000).
Any ideas?
--
Chris
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-users] hcid config
2004-07-23 7:01 [Bluez-users] hcid config Chris Searle
@ 2004-07-23 8:41 ` Marcel Holtmann
2004-07-23 8:44 ` [Bluez-users] " Chris Searle
0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2004-07-23 8:41 UTC (permalink / raw)
To: Chris Searle; +Cc: BlueZ Mailing List
Hi Chris,
> Been having some problems with a comOne dongle both before and after
> upgrading to kernel 2.6.7 (debian unstable).
>
> So - I've just plugged in a belken dongle from another machine too
> (with ideas of using one to test what services the other is showing).
>
> Both appear in /var/log/messages and also in /proc/bus/usb/devices
>
> So - some simple tests:
>
> chris@chris:~$ hcitool dev
> Devices:
> hci0 00:30:C2:08:0A:A1
> hci1 00:0A:3A:54:5B:49
> chris@chris:~$ hcitool -i hci0 scan
> Scanning ...
> 00:0A:D9:94:BF:68 Chris Mobile
> 00:0A:3A:54:5B:49 WINDOWS-2000
> chris@chris:~$ hcitool -i hci1 scan
> Scanning ...
> 00:30:C2:08:0A:A1 Chris
> 00:0A:D9:94:BF:68 Chris Mobile
>
>
> Now - this is odd - in hcid.conf I have
>
> device {
> # Local device name
> # %d - device id
> # %h - host name
> name "%h-%d";
>
> I was expecting two names - chris-0 (where now it's Chris) and chris-1
> (where now of all things its WINDOWS-2000).
check if you have hcid running as root.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bluez-users] Re: hcid config
2004-07-23 8:41 ` Marcel Holtmann
@ 2004-07-23 8:44 ` Chris Searle
2004-07-23 8:51 ` Marcel Holtmann
0 siblings, 1 reply; 9+ messages in thread
From: Chris Searle @ 2004-07-23 8:44 UTC (permalink / raw)
To: bluez-users
>>>>> "Marcel" == Marcel Holtmann <marcel@holtmann.org> writes:
Marcel> Hi Chris,
Marcel> check if you have hcid running as root.
chris@chris:~$ ps aux | grep hci
root 3810 0.0 0.1 1896 796 ? Ss 08:35 0:00 hcid: processing events
It's started up from /etc/init.d/bluez-utils script under boot.
Regards
--
Chris
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-users] Re: hcid config
2004-07-23 8:44 ` [Bluez-users] " Chris Searle
@ 2004-07-23 8:51 ` Marcel Holtmann
2004-07-23 8:59 ` Chris Searle
0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2004-07-23 8:51 UTC (permalink / raw)
To: Chris Searle; +Cc: BlueZ Mailing List
Hi Chris,
> chris@chris:~$ ps aux | grep hci
> root 3810 0.0 0.1 1896 796 ? Ss 08:35 0:00 hcid: processing events
>
> It's started up from /etc/init.d/bluez-utils script under boot.
and what do "hciconfig -a" say?
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bluez-users] Re: hcid config
2004-07-23 8:51 ` Marcel Holtmann
@ 2004-07-23 8:59 ` Chris Searle
2004-07-23 9:09 ` Marcel Holtmann
0 siblings, 1 reply; 9+ messages in thread
From: Chris Searle @ 2004-07-23 8:59 UTC (permalink / raw)
To: bluez-users
>>>>> "Marcel" == Marcel Holtmann <marcel@holtmann.org> writes:
Marcel> and what do "hciconfig -a" say?
hci0: Type: USB
BD Address: 00:30:C2:08:0A:A1 ACL MTU: 128:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:2762 acl:20 sco:0 events:74 errors:0
TX bytes:427 acl:10 sco:0 commands:32 errors:0
Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy:
Link mode: SLAVE ACCEPT
Name: 'Chris'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Ver: 1.1 (0x1) HCI Rev: 0x72 LMP Ver: 1.1 (0x1) LMP Subver: 0x72
Manufacturer: Cambridge Silicon Radio (10)
hci1: Type: USB
BD Address: 00:0A:3A:54:5B:49 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:1619 acl:0 sco:0 events:45 errors:0
TX bytes:161 acl:0 sco:0 commands:25 errors:0
Features: 0xff 0xff 0x0b 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy:
Link mode: SLAVE ACCEPT
Name: 'WINDOWS-2000'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 0x20d
Manufacturer: Cambridge Silicon Radio (10)
--
Chris Searle
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-users] Re: hcid config
2004-07-23 8:59 ` Chris Searle
@ 2004-07-23 9:09 ` Marcel Holtmann
2004-07-23 9:14 ` Chris Searle
2004-07-25 11:47 ` Chris Searle
0 siblings, 2 replies; 9+ messages in thread
From: Marcel Holtmann @ 2004-07-23 9:09 UTC (permalink / raw)
To: Chris Searle; +Cc: BlueZ Mailing List
Hi Chris,
> hci0: Type: USB
> BD Address: 00:30:C2:08:0A:A1 ACL MTU: 128:8 SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:2762 acl:20 sco:0 events:74 errors:0
> TX bytes:427 acl:10 sco:0 commands:32 errors:0
> Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
> Link policy:
> Link mode: SLAVE ACCEPT
> Name: 'Chris'
> Class: 0x000000
> Service Classes: Unspecified
> Device Class: Miscellaneous,
> HCI Ver: 1.1 (0x1) HCI Rev: 0x72 LMP Ver: 1.1 (0x1) LMP Subver: 0x72
> Manufacturer: Cambridge Silicon Radio (10)
>
> hci1: Type: USB
> BD Address: 00:0A:3A:54:5B:49 ACL MTU: 192:8 SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:1619 acl:0 sco:0 events:45 errors:0
> TX bytes:161 acl:0 sco:0 commands:25 errors:0
> Features: 0xff 0xff 0x0b 0x00 0x00 0x00 0x00 0x00
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
> Link policy:
> Link mode: SLAVE ACCEPT
> Name: 'WINDOWS-2000'
> Class: 0x000000
> Service Classes: Unspecified
> Device Class: Miscellaneous,
> HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 0x20d
> Manufacturer: Cambridge Silicon Radio (10)
these devices are not brought up by hcid. Activate "autoinit" in
hcid.conf and restart the hcid.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bluez-users] Re: hcid config
2004-07-23 9:09 ` Marcel Holtmann
@ 2004-07-23 9:14 ` Chris Searle
2004-07-25 11:47 ` Chris Searle
1 sibling, 0 replies; 9+ messages in thread
From: Chris Searle @ 2004-07-23 9:14 UTC (permalink / raw)
To: bluez-users
>>>>> "Marcel" == Marcel Holtmann <marcel@holtmann.org> writes:
Marcel> these devices are not brought up by hcid. Activate
Marcel> "autoinit" in hcid.conf and restart the hcid.
Not sure here - here's the hcid.conf file (as it is - the only change
I have made (ages back) is to pin_helper - this is redirected to a
script that returns a fixed PIN). autoinit appears to be set already.
#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.4 2004/04/29 20:14:21 holtmann Exp $
#
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# PIN helper
# pin_helper /usr/bin/bluez-pin;
pin_helper /etc/bluetooth/bluepin
# D-Bus PIN helper
#dbus_pin_helper;
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "%h-%d";
# Local device class
class 0x100;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
#
#lm accept,master;
#
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
#
#lp hold,sniff;
#
lp rswitch,hold,sniff,park;
# Authentication and Encryption
#auth enable;
#encrypt enable;
}
--
Chris Searle
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bluez-users] Re: hcid config
2004-07-23 9:09 ` Marcel Holtmann
2004-07-23 9:14 ` Chris Searle
@ 2004-07-25 11:47 ` Chris Searle
2004-07-25 12:23 ` Marcel Holtmann
1 sibling, 1 reply; 9+ messages in thread
From: Chris Searle @ 2004-07-25 11:47 UTC (permalink / raw)
To: bluez-users
>>>>> "Marcel" == Marcel Holtmann <marcel@holtmann.org> writes:
Marcel> these devices are not brought up by hcid. Activate
Marcel> "autoinit" in hcid.conf and restart the hcid.
Still not getting any further. autoinit is already yes in the config
file (see other post).
Some more info: on hcitool inq that both devices are reporting class
0x000000.
Manually restarting hcid makes no difference (same result as using the
/etc/init.d script). Stopping all other bluez things (sdp, dund etc)
then just starting hcid - no change.
Not sure how to follow this further.
--
Chris Searle
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bluez-users] Re: hcid config
2004-07-25 11:47 ` Chris Searle
@ 2004-07-25 12:23 ` Marcel Holtmann
0 siblings, 0 replies; 9+ messages in thread
From: Marcel Holtmann @ 2004-07-25 12:23 UTC (permalink / raw)
To: Chris Searle; +Cc: BlueZ Mailing List
Hi Chris,
> Still not getting any further. autoinit is already yes in the config
> file (see other post).
>
> Some more info: on hcitool inq that both devices are reporting class
> 0x000000.
>
> Manually restarting hcid makes no difference (same result as using the
> /etc/init.d script). Stopping all other bluez things (sdp, dund etc)
> then just starting hcid - no change.
>
> Not sure how to follow this further.
what version of bluez-utils are you using? Try a newer or an older one
and see if the problem still exists.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-07-25 12:23 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-23 7:01 [Bluez-users] hcid config Chris Searle
2004-07-23 8:41 ` Marcel Holtmann
2004-07-23 8:44 ` [Bluez-users] " Chris Searle
2004-07-23 8:51 ` Marcel Holtmann
2004-07-23 8:59 ` Chris Searle
2004-07-23 9:09 ` Marcel Holtmann
2004-07-23 9:14 ` Chris Searle
2004-07-25 11:47 ` Chris Searle
2004-07-25 12:23 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox