Diego
Diego

Reputation: 503

Barcode scanner, reading data from python USB or serial, how to identify what /dev/tty* is using the scanner

I´m trying to reed some data from a barcode scanner in python, using the serial library. My inconvenient is that I´m connecting the barcode scanner to a Virtual Machine where I have a Debian running. I connect the scanner and ir read the data but I cannot identify what /dev/tty* is using, so I can pass as an argument to a server and parse the data it is pacing. In Debian theres is no /dev/ttyACM0 and don´t know why.

Answer to comment:

So is recognizing the device, but not mapping to /dev/ttyACM0.

Upvotes: 0

Views: 1389

Answers (1)

Diego
Diego

Reputation: 503

I finally get It, I haveI finally discovered it, I had the Scanner configured as PS2, instead of USB Com Port Emulation. Once I set up the scanner everything started to work fine.

Upvotes: 0

Related Questions