packetrat / autobearduino

An Arduino project to event-drive animation of a hacked Teddy Ruxpin
6 stars 3 forks source link

[recommendation] Static device name (/dev/teddy_ruxpin) #3

Open renekliment opened 7 years ago

renekliment commented 7 years ago

Sorry, didn't want to register on Ars. Instead of selecting the device like you mentioned in the article, you can just make the device name static according to the serial number.

See http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/ for example. So you can then have /dev/teddy_ruxpin no matter what real device it is.

packetrat commented 7 years ago

Thanks @renekliment, I will. Going to return to the alexa-pi side of it soon and see if I can get this to work with the plugin architecture you did.

renekliment commented 7 years ago

Great :-) Please also