[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A bluetooth problem



Rodolfo Medina wrote:

>> I just bought a bluetooth adapter and plugged it in the PC, which can see it:
>>
>>  $ lsusb
>>  Bus 003 Device 001: ID 0000:0000
>>  Bus 002 Device 001: ID 0000:0000
>>  Bus 002 Device 006: ID 1131:1001 Integrated System Solution Corp.
>>  Bus 002 Device 005: ID 0421:0410 Nokia Mobile Phones 6630 Imaging Smartphone
>>  Bus 001 Device 001: ID 0000:0000
>>
>> But my Nokia 6630 doesn't see the PC's bluetooth device: it searches for
>> bluetooth devices and says: noone found.  What am I missing?


Dal <mldal@linuxsystem.cz> writes:

> maybe your computer is invisible, check
> /var/lib/bluetooth/<mac_of_your_bt_adapter>/config
>
> and there should be on the first line something like
> mode connectable (or something like that, it means it's not discoverable, just
> connectable)
>
> You can set it discoverable using this:
>
> $ dbus-send --system --type=method_call --print-reply --dest=org.bluez
> /org/bluez/hci0 org.bluez.Adapter.SetMode string:discoverable
> but this will work until timeout, so you need to run this
> $ dbus-send --system --type=method_call --print-reply --dest=org.bluez
> /org/bluez/hci0 org.bluez.Adapter.SetDiscoverableTimeout uint32:0
> You set discoverable timeout to 0.


Thanks indeed.
Yes, the file /var/lib/bluetooth/00:11:67:64:CB:18/config contains the line

 mode discoverable

; since I gave the second command you suggest, a second line appeared:

 discovto 0

, but that command seems to produce no result.  Instead, the first command you
suggest seems to work, but only for a limited time.

Any other hint?
Thanks, cheers
Rodolfo



Reply to: