pleroma.debian.social

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?

(I can't really udev them to different names)

@whitequark thanks, that looks like it does exactly what I need

@foone I thought udev was off the table?

@Phyxis just in the sense that I can't set up udev rules to rename them, but udevadm is fine

@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 😉)

@wouter I'm writing some software to use on a machine I don't own: no access to root. So that's not doable

@foone
Aaaaahh, that explains everything 😁
replies
0
announces
0
likes
0