To Use DBus or libusb (Beginner Question)

Thiago Macieira thiago at kde.org
Wed Sep 3 11:30:47 PDT 2008


Christopher Moore wrote:
>Hey everyone,
>
>I'm new to this whole dbus/libusb programming in general, but let me
>explain what I'm trying to do:
>
>I have a Linksys Cit200 phone that is detected by the kernel as an audio
>and hid device.  What I'm trying to do is to get the phone to talk to
>another application (in this case skype).  The only problem is no sound
>plays through it's speaker nor is any audio recorded via the mic.  I'm
> not sure if I have to send an "activation" to the device somehow or
> what...
>
>Separately, I have figured out what commands are needed (using Python)
> to connect to the device via pyUSB, as well as using the Skype API to
> talk to skype.  What I'm missing is the glue that will allow the phone
> to speak to skype. Would this be the role of dbus?  If that's the case,
> how do I use dbus to communicate with this device?

D-Bus could do that, but given the latency requirements, maybe it's not 
the best option.

In any case, you have to ask the Skype developers first how to inject 
sound data from the phone into skype and the other way around.

It might be easier to just configure Skype to use that, since it detects 
USB sound devices.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/xdg/attachments/20080903/6351b866/attachment.pgp 


More information about the xdg mailing list