What's new

[SOLVED] screen ttyUSB remotely over ssh showing garbage

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

dony71

Regular Contributor
I have asus merlin router rt-ac68u running entware.
I manage to install screen and cp210x driver for USB serial device.
The intention is to read serial dump remotely by using ssh.
However after executing "screen /dev/ttyUSB0 115200" in ssh session,
I can only see garbage in ssh session.
No garbage if running putty locally from windows machine, tells me nothing wrong with the hardware. Anybody give me hints anything I'm missing ?
 
Here is the screen short how the garbage looks like


t8Pmv3S
 
i try other profilic pl2303 usb-to-serial
it's working properly using pl2303.ko
so based on this finding, confirm cp210x.ko driver is broken
or maybe this cp210x.ko driver does not support cp2104 chip?
any developer knows about this?
 
yayyy .... it's working now
I downlod driver source code directly from siliconlab and recompile
Attached is c source code which fix the issue
 

Attachments

  • cp210x.c.txt
    32.3 KB · Views: 220

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top