本文主要是介绍How to use JP108 usb lan adapter under SmartQ7 linux.,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
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 driver,SR9600" 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.
这篇关于How to use JP108 usb lan adapter under SmartQ7 linux.的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!