Of course, your Linux distro will have a ‘Terminal’ application already such as xterm, Gnome Shell or Konsole – but this probably isn’t as good as your emulator could be. And while you’ll likely never be in a position where you’re not able to drop to a straight full-screen shell, having a quick window to the command line on your desktop is always handy. The key, if you’re a terminal-slinging Linux badass, is to make sure you type those commands with as much style and panache as possible. Exactly what to type is beyond the scope of this article – check out the guide here to get yourself started on that front. This concludes the post.If you need something done quickly and efficiently, it’s likely that the best way to do it is with some complex keyboard wrangling. Lastscan – this displays the last parsed scan data. Rawdata – this displays the raw data from the last scan
This shows the drivers license field data output via the USB serial port from IDWedgeKBĮseek – this displays the IDwedgeKB serial number Scan a drivers license in IDWedgeKB – it will output a comma delimited string of fields to the serial port which is displayed below.
Hit the enter key a couple of times, you should see ? which is IDwedgeKB’s response to an unrecognized command. Type - screen /dev/ttyACM0 – this will launch screen and allow communication with IDWedgeKB
If the screen app is not installed on the computer – type - sudo apt-get install screen – note: an internet connection is required Next – run the screen application to open a serial emulator and interface with the IDWedgeKB. Note: The baud rate has been changed on the Raspberry Pi to 115200 Type - stty -F /dev/ttyACM0 115200 – this will set the baud rate to 115K The baud rate is at 9600, but IDWedgeKB uses 115200, so set the baud rate to 115200 by To check the baud rate, type - stty -F /dev/ ttyACM0 There are a few TTY devices, The USB ACM device ttyACM0 is the IDWedgeKB. Type - dmesg |grep ‘tty ‘ to list all the tty devices To find all the TTY devices recognized by LINUX, The IDwedgeKB is recognized as a ttyACM0 device. This displays all the information known to linux based on the IDwedgeKB based on its USB descriptors. Type - dmesg grep | ‘usb 1-1.3′ to list details about this USB device Note: the usb value 1-1.3 – the product ID 0001 is the upload disk which appears briefly during boot and the product ID 0004 is the Serial USB CDC driver. Type - dmesg | grep ‘2d94’ - 2d94 is TokenWorks USB.org vendor ID
The device 2d94:0004 is the CDC USB Serial driver of the IDWedgeKB. The screenshots shown in this post are for a Raspberry Pi. Type- lsusb – which lists the USB devices. Then the IDwedgeKB LED will blink WHITE which indicates its in serial port mode. The IDWedgeKY LED will blink green for about 3 seconds and a flash drive named upload disk may be recognized by the computer. Plug in IDWedgeKB into any USB port of computer. See IDwedgeKB User manual for details – visit for IDWedgeKB user manual. This is done by changing configuration parameters stored in config.txt file inside IDwedgeKB flash drive. Step By Step instructionsĬonfigure IDWedgeKB to use USB Serial Port instead of USB Keyboard. Most clients will use the USB keyboard interface which is plug and play on Linux, Windows and Apple operating systems.
This post details how to connect from Linux to the IDWedgeKB when it’s setup as a serial device and is targeted at developers who which to communicate directly with the IDwedgeKB via the USB Serial port on Linux computers. IDWedgeKB is a drivers license scanner with embedded drivers license parsing that interfaces to a computer as a USB Keyboard or USB Serial port.
How to connection IDWedgeKB using USB Serial CDC driver to Linux Operating system