Ubuntu 14.04LTS how to pass id vendor and id product to ftdi_sio driver

I have a few ftdi serial devices in which the manufacturer has changed the standard ftdi chips product and vendor numbers to some custom values (you can check those values using the lsusb command, vendor and product ID are two numbers separated by a colon). Until recently this was not a big deal, because there was a way to pass the vendor and product id params to fdti_sio module during the loading with the use of modproble command. So I was always able to do that using this command:

/sbin/modprobe ftdi_sio vendor=0x1424 product=0x1001

but since 3.12 kernel, this two params have been deleted and now I get something like this in my logs:

# dmesg
ftdi_sio: unknown parameter 'vendor' ignored 
ftdi_sio: unknown parameter 'product' ignored 

Basically the developers use these two only for debugging purpose, and they were not intended to be used by the end users. Luckily, they give as a nice interface in which we can change the default vendor and product values. We can find it in the file: /sys/bus/usb-serial/drivers/ftdi_sio/new_id. This file contains a pair of vendor and product id, so all we need is to put those values into this file, doing something like this:

/sbin/modprobe ftdi_sio 
echo "1424 1001" > /sys/bus/usb-serial/drivers/ftdi_sio/new_id 

I also include these two lines in my /etc/rc.local start script, so as to restore this setting on every boot.

16 responses to “Ubuntu 14.04LTS how to pass id vendor and id product to ftdi_sio driver”

  1. 657127 612145I like this internet site very significantly, Its a rattling good spot to read and get info . 384065

  2. 505933 260681I think one of your adverts caused my browser to resize, you may well want to put that on your blacklist. 453940

  3. 275775 32301Spot up for this write-up, I seriously believe this internet site needs a great deal much more consideration. Ill apt to be once a lot more to learn additional, appreciate your that info. 779752

  4. 648747 363116You must take part in a contest for one of the finest blogs on the web. I will recommend this website! 749720

  5. fun88 says:

    832640 961811I havent checked in here for some time because I thought it was obtaining boring, but the last few posts are truly good quality so I guess Ill add you back to my everyday bloglist. You deserve it my friend. insurance guides 815087

  6. 892334 420201Wow ~ Good stuff ~ Come and have a look at MY ?? 268660

  7. keto review says:

    38745 207111Some truly amazing content material on this internet web site , thankyou for contribution. 858629

  8. 874504 38471A lot of thanks for the fantastic post C Id fun reading it! That i adore this blog. 129265

  9. 553441 32376Its superb as your other posts : D, regards for posting . 285475

  10. 363405 155919You made some decent points there. I looked online for that issue and located many people goes coupled with with all your web site. 808020

  11. Bess Pets says:

    898106 43966Some actually quality posts on this web site , saved to favorites . 699854

  12. 354397 23972Wow that was strange. I just wrote an extremely long comment but right after I clicked submit my comment didnt appear. Grrrr nicely Im not writing all that more than again. Regardless, just wanted to say great blog! 356386

  13. vao 12bet says:

    648045 102258 Spot on with this write-up, I truly believe this internet site needs significantly far more consideration. Ill probably be once again to read significantly far more, thanks for that info. 489535

  14. 990899 468107Hmm, I never thought about it that way. I do see your point but I think several will disagree 453314

  15. 411992 579569I see your point, and I completely appreciate your write-up. For what its worth I will tell all my pals about it, quite resourceful. Later. 438344

  16. 749533 110871Attractive part of content. I just stumbled upon your site and in accession capital to claim that I acquire in fact enjoyed account your weblog posts. Any way Ill be subscribing to your feeds and even I achievement you get entry to constantly quickly. 293123

Leave a Reply

Your email address will not be published. Required fields are marked *