Re: Activating a serial connection with qdbus

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

 



Hi Johan,
thank for the quick and precise answer for what qdbus concerns.

On Wed, Oct 20, 2010 at 4:40 PM, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote:

>
>> If so I do not understand why it is not possible to set the Powered
>> property using hciconfig since if the device property Powered is false
>> it is not possible to initialize HCI device.
>
> I'm not quite following your question. You can use "test-adapter powered
> yes/no" and even "hciconfig hci0 up/down" should also work.
>

You are right.
The issue I have is therefore associated with blueman:
when you switch off the adapter with blueman and then kill blueman-applet
hciconfig hci0 up does not work and returns an error (Can't init
device hci1: Unknown error 132 (132) )
and sometimes
dbus-send and test-adapter do the same (
dbus.exceptions.DBusException: org.bluez.Error.Failed: Unknown error
132)
while blueman-applet can solve the problem if restarted.

Igor


-- 
-----------------------------------------------------------
fatti non foste a viver come bruti,
ma per seguire virtute e canoscenza.
Dante, Inf. XXVI 119-120

Ye were not made to live like unto brutes,
But for pursuit of virtue and of knowledge.
(Trans. H.W. Longfellow)
--
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