Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name devices ttyUSB* instead of ttyCH343USB* #14

Open
shuyuan-liu opened this issue Aug 16, 2022 · 0 comments
Open

Name devices ttyUSB* instead of ttyCH343USB* #14

shuyuan-liu opened this issue Aug 16, 2022 · 0 comments

Comments

@shuyuan-liu
Copy link

shuyuan-liu commented Aug 16, 2022

I think the driver should name its devices ttyUSB* like all other USB-serial drivers do (ch341, ftdi_sio, and probably the pl2303 driver although not tested), instead of ttyCH343USB*. Three reasons are:

  • This driver supports multiple chips (CH9102, CH347, …) but names all of them "CH343", which can be confusing;
  • Including "CH343" in the device name is somewhat intrusive and might come off as unwelcome advertising; it's better to use the neutral, generic name ttyUSB*. If a user wants to rename a device to be more specific they could always write udev rules to do so;
  • ttyCH343USB is longer and more cumbersome to type in a terminal than ttyUSB.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant