(SOLVED) PL-2303 Usb Serial Module Communication Problem

Discussion in 'General Discussion' started by emrebektas, Jul 4, 2014.

  1. emrebektas

    emrebektas New Member

    Joined:
    Jan 27, 2014
    Messages:
    19
    Likes Received:
    4
    Hi friends,
    I have a problem with usb-serial. I bought clone arduino and this use Prolific PL-2303 serial module. When i plug the usb ,udoo can recognize the PL-2303 module (lsusb).

    [​IMG]

    Then I add module;
    “sudo modprobe ftdi_sio vendor=0x067b product=0x2303”
    After that i can see /dev/ttyUSB0 port.
    I also change chmod.
    “sudo chmod 777 /dev/ttyUSB0”
    I send value from my external arduino but i cannot obtain any data with /dev/ttyUSB0 port.
    and i got errors when i write dmesg from terminal

    [​IMG]

    How can i fix this problem? Is there anyone can communication with PL-2303?

    (i try offical arduino uno connect udoo usb and assign ttyACM0. Communication works great.)
     
  2. peter247

    peter247 New Member

    Joined:
    Mar 10, 2014
    Messages:
    263
    Likes Received:
    2
    Re: PL-2303 Usb Serial Module Communication Problem

    Not try to use that serial adapter , but the one i`ve gone doesn`t work too.
    I think the problem with the udoo is you have to work hard to get anything working which just works on other sbc`s .

    I would also try compiling the kernel with internal modules for your adapter , for I had problem getting my dvb-t adapter with external modules.
     
  3. emrebektas

    emrebektas New Member

    Joined:
    Jan 27, 2014
    Messages:
    19
    Likes Received:
    4
    I solved my problem. I built pl2303.ko and copy " /lib/modules/3.0.35/kernel/drivers/usb/serial"
    and run "sudo modprobe pl2303"
    I can compile and upload sketch from arduino nano :)
     
    spacm likes this.
  4. kotter65

    kotter65 New Member

    Joined:
    Mar 7, 2015
    Messages:
    1
    Likes Received:
    0
    Hi all,
    I'm trying to use a similar usb-serial cable with an Udoo Quad. How to build the pl2303.ko?
    Thanks
     
  5. spacm

    spacm New Member

    Joined:
    Jan 14, 2016
    Messages:
    1
    Likes Received:
    1
    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)
     
    delba likes this.
  6. mclang

    mclang New Member

    Joined:
    Oct 11, 2013
    Messages:
    4
    Likes Received:
    0
    I have same problem, except that I am using Prolific USB-Serial converter that has the same PL-2303 chip.

    Is there updated link to the kernel and module compilation documentation, because that one does not work?

    In another note, I am doing a datalogger that writes debug messages coming through the USB-Serial port converter into a file. Is it stupid to do this using converter, should some internal pins of UDOO instead?
     

Share This Page