在内核配置菜单中,没有看到340的驱动。
--- USB Serial Converter support │ │
│ │ [*] USB Serial Console device support │ │
│ │ [*] USB Generic Serial Driver │ │
│ │ < > USB Serial Simple Driver │ │
│ │ < > USB AIRcable Bluetooth Dongle Driver │ │
│ │ < > USB ARK Micro 3116 USB Serial Driver │ │
│ │ < > USB Belkin and Peracom Single Port Serial Driver │ │
│ │ < > USB Winchiphead CH341 Single Port Serial Driver │ │
│ │ < > USB ConnectTech WhiteHEAT Serial Driver │ │
│ │ < > USB Digi International AccelePort USB Serial Driver │ │
│ │ < > USB CP210x family of UART Bridge Controllers │ │
│ │ < > USB Cypress M8 USB Serial Driver │ │
│ │ < > USB Empeg empeg-car Mark I/II Driver │ │
│ │ < > USB FTDI Single Port Serial Driver │ │
│ │ < > USB Handspring Visor / Palm m50x / Sony Clie Driver │ │
│ │ < > USB PocketPC PDA Driver │ │
│ │ < > USB IR Dongle Serial Driver │ │
│ │ < > USB Inside Out Edgeport Serial Driver │ │
│ │ < > USB Inside Out Edgeport Serial Driver (TI devices) │ │
│ │ < > USB Fintek F81232 Single Port Serial Driver │ │
│ │ < > USB Fintek F81532/534 Multi-Ports Serial Driver │ │
│ │ < > USB Garmin GPS driver │ │
│ │ < > USB IPWireless (3G UMTS TDD) Driver │ │
│ │ < > USB Infinity USB Unlimited Phoenix Driver │ │
│ │ < > USB Keyspan PDA Single Port Serial Driver │ │
│ │ < > USB Keyspan USA-xxx Serial Driver │ │
│ │ < > USB KL5KUSB105 (Palmconnect) Driver │ │
│ │ < > USB KOBIL chipcard reader │ │
│ │ < > USB MCT Single Port Serial Driver │ │
│ │ < > USB Metrologic Instruments USB-POS Barcode Scanner Driver │ │
│ │ < > USB Moschip 7720 Serial Driver │ │
│ │ < > USB Moschip 7840/7820 USB Serial Driver │ │
│ │ < > USB Moxa UPORT Serial Driver │ │
│ │ < > USB Navman GPS device │ │
│ │ <*> USB Prolific 2303 Single Port Serial Driver │ │
│ │ < > USB Ours Technology Inc. OTi-6858 USB To RS232 Bridge Controller │ │
│ │ < > USB Qualcomm Auxiliary Serial Port Driver │ │
│
离线
我在drivers目录下,发现有ch341.c,但是没有ch341.o。
离线
Makefile 里面加
obj-y += ch341.o进一步的话也要修改 config 那个文件。
是内核根目录下的 .config文件吗?
离线
Makefile 里面加
obj-y += ch341.o进一步的话也要修改 config 那个文件。
我在drivers/serial/目录下的Makefile文件中,发现是有该编译指令的,具体如下:,比较奇怪的是,为什么没有编译?谢谢。
obj-$(CONFIG_USB_SERIAL_AIRCABLE) += aircable.o
obj-$(CONFIG_USB_SERIAL_ARK3116) += ark3116.o
obj-$(CONFIG_USB_SERIAL_BELKIN) += belkin_sa.o
obj-$(CONFIG_USB_SERIAL_CH341) += ch341.o
离线
CONFIG_USB_SERIAL_CH341 这个宏没有选上,可以去config文件里面查,在哪个子菜单选项里面,然后打开就好了。
谢谢,已经弄好了。但是网卡eth0却找不到了。郁闷。
离线