How to use JP108 usb lan adapter under SmartQ7 linux.

来源:互联网 发布:炫酷门户网站源码 编辑:程序博客网 时间:2024/04/28 10:07

SmartQ7 如何使用JP108  USB网卡(买亏了,贪便宜,是个山寨货)

 

I have a SmartQ7, and I bought this JP108 from Taobao website. 

Unfortunately, it is not recognized both by my linux host Ubuntu8.04 and SmartQ7 device at all.

 

By googling, I found this page,

http://21500.org/?p=616

 

It is said this JP108 which on WindowsXP it displays "Sunrising USB Ethernet adapter driverSR9600" is compatiable with the dm9601 driver.

 

Thus I made a mod to dm9601.c in SmartQ7's kernel

by adding the following lines to structure usb_device_id products[]

 

{

USB_DEVICE(0×0fe6, 0×8101) , /* SUNRISING USB Ethernet” */

.driver_info = (unsigned long)&dm9601_info,

},

 

 

After configuring this dm9601 to the linux kernel and rebuilding.

 

Now the JP108 works with SmartQ7.

 

 

 

 

原创粉丝点击