lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87ehcwfd6m.fsf@nemi.mork.no>
Date:	Fri, 24 May 2013 20:25:05 +0200
From:	Bjørn Mork <bjorn@...k.no>
To:	Richard Weinberger <richard@....at>
Cc:	gregkh@...uxfoundation.org, dcbw@...hat.com, jhovold@...il.com,
	linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] serial: Add Option GTM681W to qcserial device table.

Richard Weinberger <richard@....at> writes:
> Am 24.05.2013 15:18, schrieb Bjørn Mork:
>> Richard Weinberger <richard@....at> writes:
>>
>>> The Option GTM681W uses a qualcomm chip and can be
>>> served by the qcserial device driver.
>>
>> Should it also be added to the qmi_wwan driver?
>
> Don't know. But I can happily test it. :)
> Can you please explain me how to use the qmi_wwan driver?
> I've never used it.

The QMI management protocol is delegated to userspace using a
/dev/cdc-wdmX character device.  So you need a userspace component to
test the driver, like for example libqmi. See 
http://sigquit.wordpress.com/2012/08/20/an-introduction-to-libqmi/ for a
short intro.

This library is packaged in Debian.  Don't know the status of other
distros. 

The driver supports dynamic device IDs, so if you have qcserial bound to
all serial ports, and there is a QMI interface with no driver bound yet,
then testing should be as easy as

 modprobe qmi_wwan
 echo "0af0 8120" >/sys/bus/usb/drivers/qmi_wwan/new_id
 qmicli -d /dev/cdc-wdm0 --dms-get-manufacturer



Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ