Replies: 3 comments 1 reply
-
|
[Not an official/educated response] For time being I have the notes below, note that you can remove the idVendor and idProduct filter if you desire to map any device. |
Beta Was this translation helpful? Give feedback.
-
|
I use wsl2 to develop embedded software, Restart udev service every boot is boring, so I do this. write to /etc/wsl.conf and it will make all serial belong to dialout group at startup |
Beta Was this translation helpful? Give feedback.
-
|
Just closing the loop on this as I've now found what I think is an ideal answer. Enabling systemd on your wsl2 instances will cause the default udev scripts to run when the device is attached and everything just works as normal. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Typically on linux ttyUSB and similar devices will have their group owner be dialout and then providing group membership to a user they can use the device as non-root. Ubuntu in wsl doesn't do any of that, presumably because USB doesn't exist out of the box. Is there a generic udev rule that exists that would provide a similar experience or do I just need to write one that looks for the vid/pid for the specific device I'm plugging in? Specifically I'm using an ftdi board.
Beta Was this translation helpful? Give feedback.
All reactions