2004-11-03 15:37:50

by Peter K. Martin

[permalink] [raw]
Subject: Again dund

Hi Marcel,
I tried to start hcid by typing it at the command-line, but I don't know how
to control if this daemon runs.

Hcidump -x gives nearly no response, only the version-no

Some other informations, but I don't know how to step further in oredr to
get the BT connection

Linux-Notebook:~ # hcitool scan

Scanning ...

00:0B:CE:00:01:8F Bluetooth-Modul

Linux-Notebook:~ # hciconfig

hci0: Type: USB

BD Address: 00:03:7A:08:54:80 ACL MTU: 192:8 SCO MTU: 64:8

UP RUNNING PSCAN ISCAN

RX bytes:676 acl:0 sco:0 events:22 errors:0

TX bytes:334 acl:0 sco:0 commands:16 errors:0



Linux-Notebook:~ # hciconfig hci0 up

Linux-Notebook:~ # hciconfig -a

hci0: Type: USB

BD Address: 00:03:7A:08:54:80 ACL MTU: 192:8 SCO MTU: 64:8

UP RUNNING PSCAN ISCAN

RX bytes:676 acl:0 sco:0 events:22 errors:0

TX bytes:334 acl:0 sco:0 commands:16 errors:0

Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00

Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3

Link policy: RSWITCH HOLD SNIFF PARK

Link mode: SLAVE ACCEPT

Name: 'BlueZ (0)'

Class: 0x000100

Service Classes: Unspecified

Device Class: Computer, Uncategorized

HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:
0x20d

Manufacturer: Cambridge Silicon Radio (10)





Linux-Notebook:~ # hcitool scan

Scanning ...

00:0B:CE:00:01:8F Bluetooth-Modul

Linux-Notebook:~ # hcitool info 00:0B:CE:00:01:8F

Requesting information ...

BD Address: 00:0B:CE:00:01:8F

Device Name: Bluetooth-Modul

LMP Version: 1.1 (0x1) LMP Subversion: 0x175

Manufacturer: Cambridge Silicon Radio (10)

Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00

<3-slot packets> <5-slot packets> <encryption> <slot offset>

<timing accuracy> <role switch> <hold mode> <sniff mode>

<park state> <RSSI> <channel quality> <SCO link> <HV2
packets>

<HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme>

<power control> <transparent SCO>

Linux-Notebook:~ # rfcomm show

Linux-Notebook:~ # rfcomm bind 0 00:0B:CE:00:01:8F 1

Linux-Notebook:~ # rfcomm show

rfcomm0: 00:0B:CE:00:01:8F channel 1 clean

Linux-Notebook:~ # rfcomm release 0

Linux-Notebook:~ # rfcomm show

Linux-Notebook:~ # rfcomm connect 0 00:0B:CE:00:01:8F 1

Can't connect RFCOMM socket: Connection refused





Linux-Notebook:~ # sdptool browse 00:0B:CE:00:01:8F

Failed to connect to SDP server on 00:0B:CE:00:01:8F: Connection refused



Marcel, please be so kind to help me and give me some more ideas.



In the meantime I tried to change to kernel-version 2.6.8.1 --> the only
result was a KERNEL PANIC

I have a SuSE 9.1 Distri and now I met the wall, so I remove to the running
kernel



Thanks for help on BT

Peter


2004-11-03 19:24:21

by Marcel Holtmann

[permalink] [raw]
Subject: [Bluez-users] Re: Again dund

Hi Peter,

> I tried to start hcid by typing it at the command-line, but I don't
> know how to control if this daemon runs.

check with ps. You must run it as root and only one hcid process at the
same time is allowed.

> Hcidump -x gives nearly no response, only the version-no

Then there is something wrong. You must at least see something when you
run an inquiry or create a connection. Do this as root.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users