(→USB-HID)
|
(→USB-HID)
|
Line 4: | |||
Most of Opticon's scanners can be configured to transmit data as USB keyboards (This is the USB-HID mode). Since the Linux kernel provides good support for USB keyboards, this means that Opticon's scanners work very well under Linux in this mode. The scanner will act like a keyboard in this mode, meaning the bar code scanner will output scanned data into the Linux Host keyboard buffer. The output will be seen on the application that is open at the time. This mode is for one way communications only (i.e. thes scanner outputs data to the host ONLY. | Most of Opticon's scanners can be configured to transmit data as USB keyboards (This is the USB-HID mode). Since the Linux kernel provides good support for USB keyboards, this means that Opticon's scanners work very well under Linux in this mode. The scanner will act like a keyboard in this mode, meaning the bar code scanner will output scanned data into the Linux Host keyboard buffer. The output will be seen on the application that is open at the time. This mode is for one way communications only (i.e. thes scanner outputs data to the host ONLY. | ||
- | If two way communication is necessary, then the scanner needs to be placed in USB-VCP mode and then two way communication is performed through the creation of a virtual COM port. | + | If two way communication is necessary (i.e. send scanned data or receive commands from the host), then the scanner needs to be placed in USB-VCP mode and then two way communication is performed through the creation of a virtual COM port. |
==USB Serial Drivers for USB-VCP Mode== | ==USB Serial Drivers for USB-VCP Mode== | ||
There are two ways that Opticon's devices can be accessed in Linux while in USB-VCP (Virtual COM Port) mode. Our 1D devices (in USB-VCP mode) do not need a separate driver for serial communication (Linux has the proper device driver). As well, our 2D products use a generic CDC/ACM driver for serial communication. Since this is also well-supported in Linux, all of our products are supported. | There are two ways that Opticon's devices can be accessed in Linux while in USB-VCP (Virtual COM Port) mode. Our 1D devices (in USB-VCP mode) do not need a separate driver for serial communication (Linux has the proper device driver). As well, our 2D products use a generic CDC/ACM driver for serial communication. Since this is also well-supported in Linux, all of our products are supported. |