[sudo-discuss] open thread for update on our door access mechanisms

Jake jake at spaz.org
Thu Jul 4 05:00:22 PDT 2013


a really neat thing about linux these days - i don't know if this will 
work on the pi but when i want to script something involving a USB webcam 
or a USB serial port, instead of referring to it by /dev/ttyACM0 or 
whatever, i look for
/dev/serial/by-id/usb-Keyspan__a_division_of_InnoSys_Inc._Keyspan_USA-19H-if00-port0

you can put that into your thing instead of /dev/ttyUSB0 or whatever, and 
it will always work - no matter what order the serial ports come up in.

i mean not that you took my advice last time...

-jake

max klein wrote:
keypad update: with new self-healing improvements has just set record
uptime at 30 hours. i am monitoring this. the problem is that rpi 
sometimes
chokes and the arduino comes up as a different usb device. so i constantly
scan and to find the right usb device. an issue is that the rfid needs to
be usb0 so it has to grab that first, and normally does in every instance
ive seen it (unless the pyshical usb order gets switched).



More information about the sudo-discuss mailing list