• usb wifi driver run in ubuntu support 360/xiaodu and with 3.13.0-32-generic


    (为了实现usb-wifi用在linux系统上,需求解决方案,过程记录和如何实现)

    重点解决3.13.0-32-generic内核编译 mt7601 usb wifi 驱动问题。

    1:首先下载MT7601U_Linux usb驱动源代码

    2:修改common/rtusb_dev_id.c文件,

    find    {USB_DEVICE(0x148f,0x7601)}, /* MT 6370 */ then add the following rows to support your usb devices(examples)
     45     //modify by zhaoxi int date 3/29 2016 to support 360 wifi
     46     {USB_DEVICE(0x2955,0x0001)}, /* XiaoDu Wifi */
     47     {USB_DEVICE(0x2955,0x1001)}, /* XiaoDu Wifi */
     48     {USB_DEVICE(0x148f,0x760b)}, /* 360 Wifi */
    save and exit.

    3:编译驱动源码,make && makeinstall

    如果编译出错:make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-32-generic' 当前内核版本存在兼容问题

    uname -r (查看内核版本,如果结果和我的内核版本是3.13.0-32-generic)
    解决办法:cd /os/linux vi rt_linux.c

    find current_fsuid();current_fsgid();

    modify  them :

    pOSFSInfo->fsuid = current_fsuid().val;
     pOSFSInfo->fsgid = current_fsgid().val;

    save and exit

    4:then sudo make && make install

     
  • 相关阅读:
    Oracle SQL FAQ
    miniasp(no encode)
    请看用javascript设置和读取cookie的简单例子
    asp流下载(Stream)
    (企业公司)网站开发方案
    asp发消息并代多个附件上传(多对多关系)
    tabpage1
    crystal report (asp调用水晶报表实例)
    上海万千文化传播有限公司(网站项目策划书)
    访问和更新Cookies集合
  • 原文地址:https://www.cnblogs.com/oracleloyal/p/5332913.html
Copyright © 2020-2023  润新知