Re: main.conf issues

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

 



Hi,

On Fri, Apr 27, 2012 at 11:26 PM, Steffen Becker
<steffen.becker@xxxxxxxxxxxxx> wrote:
> Hello Torak,
>
> I'm not very familiar with BlueZ (also just asking questions on this mailing
> list), but what I can tell is that:
> You have to setup this file:
> /var/lib/bluetooth/<local-bdaddr>/config
> At the moment I can't look up the right syntax for all the configuration,
> but if i remember right, for enabling discoverable mode you have to enter
> something like this in the config-file:
>
> onmode discoverable
> mode discoverable
>
> For changing the name of your device, you have to edit this line in the
> config-file:
>
> name <your-name>

Please no top-posting here, those files are not supposed to be
manually edited, use D-Bus API otherwise you may cause
inconsistencies.

>> Hello, When I setup the main.conf with the values for Name, Class,
>> PairableTimeout and DiscoverableTimeout, and restart the bluetoothd,
>> hciconfig shows that nothing change name still the same, I cant "see"
>> the device from the outside(iscan is disabled), and the class still
>> 0x000100, and I must re-do hciconfig hci name #### class #### and
>> hciconfig hci0 piscan by hand to make the device visible and try
>> streaming support, OTOH I just can't see and/or connect to the device.
>> a ConWise 6622 Bluetooth dongle.
>> I'm using bluez-4.99 and linux 3.2.15.Any information will be usefull...

You don't have to do that in main.conf, except for class, those values
are only used when there is nothing already configured, so to change
this you really should be using D-Bus. You can find under
tests/test-adapter how to set this permanently in the configuration of
the adapter.

Btw, for the class it actually gets updated automatically when you
register the services.

-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux