Listening to USB device - Raspberry Pi Forums
hi,
have couple of usb devices. want listen and/or send data. problem have trouble opening port device.
connecting arduino-based controller name changes between '/dev/ttyacm1' , '/dev/ttyacm0'
have barcode scanner , yet unable find port connected.
line use open port looks this:
device = open('/dev/ttyacm1', 'rb')
so, question: there way connect specific usb port constant name?
have couple of usb devices. want listen and/or send data. problem have trouble opening port device.
connecting arduino-based controller name changes between '/dev/ttyacm1' , '/dev/ttyacm0'
have barcode scanner , yet unable find port connected.
line use open port looks this:
device = open('/dev/ttyacm1', 'rb')
so, question: there way connect specific usb port constant name?
yes, google "udev rules"
raspberrypi
Comments
Post a Comment