linux - Add module to angstrom kernel -


i'm working on altera cyclone v soc fpga dev kit. i'm using gsrd 14.1 angstrom provides rocketboards.com (http://www.rocketboards.org/foswiki/documentation/gsrd141angstromgettingstarted)

root@socfpga_cyclone5:~# uname -a linux socfpga_cyclone5 3.10.31-ltsi 

this kernel don't support usb serial device , think need add usbserial , maybe usbcore drivers communicate gps serial module. kernel includes insmod , modprobe can't find specifics driver board.

dmesg returns:

usb 1-1: new full-speed usb device number 2 using dwc2 usb 1-1: new usb device found, idvendor=10c4, idproduct=ea60 usb 1-1: new usb device strings: mfr=1, product=2, serialnumber=3 usb 1-1: product: cp2104 usb uart bridge controller usb 1-1: manufacturer: silicon labs usb 1-1: serialnumber: 006fa62e 

is there solution add module ? if have rebuild , customize kernel, i'm looking advise :)

thanks in advance.

edit

the solution add serial driver support in menuconfig , update kernel.

first, plug serial device usb port , check output of command :

ls /dev |grep usb

if see "ttyusb0" or "ttyamc0", driver there, either statically compile driver or loaded module. surprised if issue driver isn't present; should included in every distribution.

if nothing comes up, check see if driver loaded (this tell if it's problem usb-serial device:

lsmod | grep serial

(note: module should called "usb_serial", grep subset of string i'm looking catch names don't quite match expect, such names or without underscores in them. "grep serial" can match more "usb_serial", should include while still shortening modprobe output.")

if see driver there, driver loaded , problem usb-serial device. check this text document see if device supported driver. possible device still work if it's not listed supported, because there support generic device in usb serial module. you'll have reload module command take advantage of it:

insmod usbserial vendor=0x#### product=0x####

if driver isn't loaded, use command see if it's available:

modprobe | grep serial

if driver there not loaded, should able find in directory use "insmod" on it:

/lib/modules/`uname -r`/kernel/drivers/usb/serial/`

if of fails, may have recompile drivers enabled. recompile kernel , make sure enable usb_serial under usb menu, , enable kernel support tty, because usb_serial depends on it.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -