rs232 to usb prolific pl2303.ko module setup

Discussion in 'UDOO NEO' started by Tony White, Jul 18, 2016.

Tags:
  1. Tony White

    Tony White New Member

    Joined:
    Jul 10, 2016
    Messages:
    1
    Likes Received:
    0
    It seems that default kernel on latest Udoo Neo software does not include necessary modules for communication with cheap rs232 to usb converters. This issue is mentioned in a few other posts, and seems solvable- I lack expertise in kernel driver installation (compilation?)
    http://www.udoo.org/forum/threads/need-help-with-usb-to-serial-rs-232-adapter.516/
    http://www.udoo.org/forum/threads/solved-pl-2303-usb-serial-module-communication-problem.1558/

    Solution is apparently:
    "I solved my problem. I built pl2303.ko and copy " /lib/modules/3.0.35/kernel/drivers/usb/serial"
    and run "sudo modprobe pl2303""

    but even web archive of broken link doesn't provide specific help.

    " Hi,
    Built kernel and module following http://www.udoo.org/docs/Advanced_Setup/Compile_The_Linux_Kernel_And_The_Modules
    This worked well and easily.
    Some details for beginners:
    When editing menuconfig:
    go to: Device drivers > USB Support > USB serial converter support
    then find your device and select the module (USB Prolific 2303 in my case)
    Once kernel and modules compiled, install them on your SD card.
    (copy uImage to /boot/uImage on you card, and /lib content to your /lib on your card. I renamed my the original uImage and /lib/modules dir for backup)
    "
    Help!

    Thanks!!
    Code:
    dmesg:
    [ 1093.535695] usbcore: registered new interface driver usbserial
    [ 1093.536425] usbcore: registered new interface driver usbserial_generic
    [ 1093.536607] usbserial: USB Serial support registered for generic
    [ 1093.555645] usbcore: registered new interface driver ftdi_sio
    [ 1093.557509] usbserial: USB Serial support registered for FTDI USB Serial Device
    [ 1274.179866] usb 1-1.4: new full-speed USB device number 5 using ci_hdrc
    lsusb
    Bus 001 Device 008: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
    Bus 001 Device 009: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
    Bus 001 Device 006: ID 2109:2812 VIA Labs, Inc. VL812 Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    lsmod
    udooer@udooneo:~$ lsmod
    Module  Size  Used  by
    ftdi_sio  31965  0
    usbserial  25760  1  ftdi_sio
    cmac  2670  2
    ipv6  296096  26
    rfcomm  32463  8
    bnep  10900  2
    usb_f_acm  5204  1
    u_serial  9688  3  usb_f_acm
    usb_f_rndis  15931  1
    g_multi  4951  0
    usb_f_mass_storage  44068  2  g_multi
    u_ether  12278  2  usb_f_rndis,g_multi
    libcomposite  35715  4  usb_f_acm,usb_f_rndis,g_multi,usb_f_mass_storage
    wl18xx  86282  0
    wlcore  180035  1  wl18xx
    mac80211  407114  2  wl18xx,wlcore
    cfg80211  211480  3  mac80211,wl18xx,wlcore
    mxc_vadc  6519  1
    mxc_dcic  6519  0
    mx6s_capture  13372  0
    fxos8700  11442  0
    fxas2100x  7939  0
    tsl2563  5797  0
    mpl3115  3083  0
    si70xx  3645  0
    industrialio_triggered_buffer  1499  1  mpl3115
    lm75  4736  0
    hwmon  3635  2  lm75,si70xx
    wlcore_sdio  6710  0
    ci_hdrc_imx  7536  0
    usbmisc_imx  8816  1  ci_hdrc_imx
    ci_hdrc  30958  1  ci_hdrc_imx
    udc_core  8716  2  libcomposite,ci_hdrc
    ehci_hcd  43026  1  ci_hdrc
    usbcore  173703  4  usbserial,ehci_hcd,ftdi_sio,ci_hdrc
    usb_common  3308  4  udc_core,libcomposite,usbcore,ci_hdrc
    btwilink  4171  0
    bluetooth  310254  22  bnep,rfcomm,btwilink
    rfkill  18057  5  cfg80211,bluetooth
    st_drv  18541  2  btwilink
    fuse  74400  0
    
     
    Last edited by a moderator: Jul 19, 2016
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580

Share This Page