<html><body><div>Hi, <span class="body-text-content">Bjørn<br><br>       Thanks a lot for your kind help and reminding. The backport kernel compilation failed due to it's not a vanilla kernel, it already got some function backported from 3.x.  So we see some redefinition error.<br><br>        I commented out some lines in the file and got the compat.ko /usbnet.ko / cdc-wdm.ko/ qmi_wwan.ko<br>        compiled and loaded on the target system.<br><br>        I am now playing with the modeswitch, /dev/cdc-wdm0 has appeared. Does it mean the device is ready and I can get a qmi-cli/uqmi talk to it ?  Do I have to get something like /dev/qmi_wwan appear in the system ?<br><br>BRs, Jiang Pin ( Richard )<br></span></div><div><br>2015年8月11日 上午12:31,Bjørn Mork <bjorn@mork.no> 写道:<br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch"><span class="body-text-content"><span class="body-text-content">蒋品 <<a href="mailto:jiang.pin@icloud.com" data-mce-href="mailto:jiang.pin@icloud.com">jiang.pin@icloud.com</a>> writes:<br><br></span></span><blockquote class="quoted-plain-text" type="cite">I wonder if it is possible to backport the qmi driver to linux 2.6.32?</blockquote><span class="body-text-content"><span class="body-text-content"><br>It is. But the only remotely sane reason to use a kernel that old is<br>that it is supported by some hardware vendor. Use that support.<br><br></span></span><blockquote class="quoted-plain-text" type="cite">wildc@wildc-HP-Pavilion-dv4-Notebook-PC:~/backports-3.14-1$ echo $KLIB_BUILD</blockquote><blockquote class="quoted-plain-text" type="cite">/home/wildc/ArDroine2.0_LinuxSource/kernel/</blockquote><blockquote class="quoted-plain-text" type="cite"><br></blockquote><blockquote class="quoted-plain-text" type="cite">ARCH=arm CROSS_COMPILE=~/tool-chain/arm-2009q1/bin/arm-none-linux-gnueabi- make</blockquote><blockquote class="quoted-plain-text" type="cite">CC [M] /home/wildc/backports-3.14-1/compat/main.o</blockquote><blockquote class="quoted-plain-text" type="cite">In file included from /home/wildc/backports-3.14-1/compat/compat-2.6.34.h:8,</blockquote><blockquote class="quoted-plain-text" type="cite">from /home/wildc/backports-3.14-1/compat/main.c:5:</blockquote><blockquote class="quoted-plain-text" type="cite">/home/wildc/backports-3.14-1/backport-include/linux/mmc/sdio_func.h:21: error: redefinition of typedef 'mmc_pm_flag_t'</blockquote><blockquote class="quoted-plain-text" type="cite">include/linux/mmc/pm.h:25: error: previous declaration of 'mmc_pm_flag_t' was here</blockquote><span class="body-text-content"><br>In what way is this supposed to be related to the qmi_wwan driver? Did<br>you even look at the code you are trying to build?<br><br><br><br>Bjørn<br></span></div></div></blockquote></div></div></body></html>