linux question where I figure someone might have the answer on the top of their head:
I have like three microcontrollers plugged into one system and they're all acting as serial ports, so I get /dev/ttyACM0 and ttyACM1 and ttyACM2:
How can I tell which one is which? like, spelunk into /sys/ and figure out the pid/vid of each?
Conversation
Notices
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 11-Apr-2024 13:44:32 JST Foone🏳️⚧️ -
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 11-Apr-2024 13:44:32 JST Foone🏳️⚧️ (I can't really udev them to different names)
-
✧✦✶✷Catherine✷✶✦✧ (whitequark@mastodon.social)'s status on Thursday, 11-Apr-2024 13:47:43 JST ✧✦✶✷Catherine✷✶✦✧ @foone udevadm info -q all
https://lab.whitequark.org/notes/2016-11-20/writing-udev-rules-for-development-boards/ -
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 11-Apr-2024 13:47:43 JST Foone🏳️⚧️ @whitequark thanks, that looks like it does exactly what I need
In conversation permalink -
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 11-Apr-2024 13:48:55 JST Foone🏳️⚧️ looks like whitequark has the solution:
https://digipres.club/@whitequark@mastodon.social/112250741934588244In conversation permalink Attachments
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 11-Apr-2024 18:55:20 JST Foone🏳️⚧️ @wouter I'm writing some software to use on a machine I don't own: no access to root. So that's not doable
In conversation permalink -
Wouter Verhelst (wouter@pleroma.debian.social)'s status on Thursday, 11-Apr-2024 18:55:23 JST Wouter Verhelst @foone
Don't understand this part. Why is this not an option?
(Yes, I saw you have a solution, but you can't nerdsnipe people like that and then leave them hanging 😉)In conversation permalink
-