deepinlinux v23安装pl2303的usb串口驱动,以前v15 v20时代做过,以为很简单,谁知一番折腾下来又涨知识了
绿联USB转DB9,RS232串口线,Windows驱动下载地址
先下载linux源码,准备编译,从v23看内核远高于驱动源码,找一个源码最高级开编,先复制以下原编译步骤
1. terminal // open terminal AP. S1.png
2. uname -r // found out the nearest Linux kernel version first , S2.png
3. make all // make new driver, if you have meet error message during make kernel driver, please send email to us. , S3.png
4. sudo cp pl2303.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial
// copy new driver to kernel. S4.png
5. sudo gedit /etc/modules // edit modules , S5.png
6. pl2303 // add pl2303, save, close modules , S6.png
7. reboot // reboot OS , S7.png
8. plug in new cable, and then enjoy!
卡在第一步,编译不过,系统化默认gcc有些编译不过,几经折腾
查看报错类型,指针强转错误
找到源文件最下面pl2303_device结构体里
.get_serial =

最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



