Re: [Bluez-users] MS Optical Desktop for bluetooth - Stops working after a time

Marcel Holtmann
2004-09-17T10:06:07Z

Hi Daniel,

> > show us the output of "hciconfig -a".
> >
>
> Here it is, I see there are quite a few errors, is this the problem?
>
> hci0: Type: USB
> BD Address: 00:50:F2:E4:C2:F5 ACL MTU: 192:8 SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:543843 acl:38475 sco:0 events:262 errors:0
> TX bytes:4403 acl:176 sco:0 commands:36 errors:0
> Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
> Link policy:
> Link mode: SLAVE ACCEPT
> Name: 'SCOTTD'
> Class: 0x000000
> Service Classes: Unspecified
> Device Class: Miscellaneous,
> HCI Ver: 1.1 (0x1) HCI Rev: 0x1f9 LMP Ver: 1.1 (0x1) LMP Subver: 0x1f9
> Manufacturer: Cambridge Silicon Radio (10)

the correct settings for the link policy are missing. A Bluetooth mouse
or keyboard needs at least role switch and sniff mode to work correctly.

# hciconfig hci0 lp
hci0: Type: USB
BD Address: 00:02:xx:xx:xx:xx ACL MTU: 384:8 SCO MTU: 64:8
Link policy: RSWITCH HOLD SNIFF PARK

Regards

Marcel