libqmi-glib

Aleksander Morgado aleksander at lanedo.com
Wed May 16 23:23:59 PDT 2012


On 05/13/2012 07:27 PM, Bjørn Mork wrote:
> BTW, there was a request for a quick way to detect QMI devices on
> linux-usb today, and I revisited the idea about a libusb based method.
> I took a quick look at qmi-device.{c,h} with the intent to try to make
> something, but found that it would take me more time than I had, given
> my severely limited knowledge of C and glib... So I coded another quick
> and dirty hack instead.  In perl.  Attaching it, as it still may be
> useful to someone here too.
> 
> A libusb based device type for libqmi-glib would be a much nicer
> solution, though.  But something like that will never be anything but a
> test utility (since there won't be any network device) so I guess there
> isn't much point in putting a lot of work into it.  The perl script may
> suffice. 

I'm not sure I fully get why libusb would be a good thing to have when
detecting a QMI device. Is it just to completely avoid any kernel driver
handling the device and talking directly to it with raw USB transfers?

-- 
Aleksander


More information about the libqmi-devel mailing list