ttyUSB not showing up, modprobe unknown parameter 'vendor' & 'product'
来源:互联网 发布:linux基本命令使用 编辑:程序博客网 时间:2024/05/23 19:13
I have tried this on Ubuntu 12.04.5 and 14.04
I have one evice that I connect with usb adapter. The instruction states that I should do this:
rmmod ftdi_siomodprobe ftdi_sio vendor=0x0403 product=0xf248
this is step by step for 14.04
so step by step:
1. connect usb
dmesg:
[ 273.398522] usb 2-2.2: new full-speed USB device number 5 using uhci_hcd[ 273.582354] usb 2-2.2: New USB device found, idVendor=0403, idProduct=f248[ 273.582360] usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3[ 273.582364] usb 2-2.2: Product: DA2 Adapter Kit[ 273.582366] usb 2-2.2: Manufacturer: ITL[ 273.582368] usb 2-2.2: SerialNumber: FT5UN01W
Bus 002 Device 005: ID 0403:f248 Future Technology Devices International, Ltd
[CODE
Bus 002 Device 005: ID 0403:f248 Future Technology Devices International, Ltd
][/CODE]
3. when I try to modprobe it I get no error, but there is no ttyUSB in dev
dmesg:
[ 952.847812] usbcore: registered new interface driver usbserial[ 952.847848] usbcore: registered new interface driver usbserial_generic[ 952.847863] usbserial: USB Serial support registered for generic[ 952.888754] ftdi_sio: unknown parameter 'vendor' ignored[ 952.888762] ftdi_sio: unknown parameter 'product' ignored[ 952.889247] usbcore: registered new interface driver ftdi_sio[ 952.889265] usbserial: USB Serial support registered for FTDI USB Serial Device
help please
EDIT: here is something that I fond, but this solution didnt work.
From kernel 3.12, the ftdi-sio module no longer accepts the "vendor" and "product" parameters (commit link). I think it was assumed that this was a debugging feature that should not be used by end users, and so the change was not at all publicised.
The new way to add a new VID/PID pair for the ftdi-sio driver is to write them both, one after the other, to /sys/bus/usb-serial/drivers/ftdi_sio/new_id:
# modprobe ftdi-sio
# echo 0403 f248 > /sys/bus/usb-serial/drivers/ftdi_sio/new_id
EDIT2: I also updated the repo to include lateset repo, and I deleted usb-serial and install the latest
Ok it worked after all. What I had to do is:
sudo chmod 666 /sys/bus/usb-serial/drivers/ftdi_sio/new_idnano /sys/bus/usb-serial/drivers/ftdi_sio/new_id
0304 f248
- ttyUSB not showing up, modprobe unknown parameter 'vendor' & 'product'
- Vistual Studio User Controls not showing up in the toolbox
- VS2010 debug output not showing up in DbgView
- (win7)IIS7下处理sqlsrv not showing up in my phpinfo
- git系列--contributions not showing up on my profile问题的解决
- laravel Passport Components not showing up in Laravel 5.5(走过的坑)
- ttyUSB
- wxpython ubuntu statusbar not showing
- DataTables Requested unknown parameter
- LRM-00109: could not open parameter file '/u01/oracle/product/10.2.0/db_1/dbs/initCRM.ora'
- could not open parameter file '/opt/oracle/product/10.2/db_1/dbs/initorcl.ora
- could not open parameter file '/opt/oracle/product/10.2/db_1/dbs/initorcl.ora
- could not open parameter file '/opt/oracle/product/10.2/db_1/dbs/initorcl.ora
- could not open parameter file "..../product/11.2/db_1/dbs/initorcl.ora
- could not open parameter file '/u01/app/oracle/product/11.1.0/db_1/dbs/initorc11g.ora
- DataTables错误: requested unknown parameter
- Vendor code “Vendor number” is not authorized for “item number”
- IE6 not showing background image on hover
- 线性表带头结点的单链表的链式表示和实现
- 优秀的相关网站留存-不定时更新
- https原理:证书传递、验证和数据加密、解密过程解析
- js简单记录
- 类似DiaLog的Activity
- ttyUSB not showing up, modprobe unknown parameter 'vendor' & 'product'
- 关于CoreData的整理
- bzoj-4196 NOI-2015 软件包管理器
- Docker入门教程(一)介绍
- 打包jar文件以及运行jar时的注意点
- 股票学习36(公司财务分析)
- poj2251-dungeon master(bfs广搜)
- linux页表创建与更新
- Django应用部署 - 上线指南