特殊:Badtitle/NS100:BarcodeReaders

来自Ubuntu中文
Wikibot留言 | 贡献2009年5月14日 (四) 14:39的版本
跳到导航跳到搜索

{{#ifexist: :BarcodeReaders/zh | | {{#ifexist: BarcodeReaders/zh | | {{#ifeq: {{#titleparts:BarcodeReaders|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BarcodeReaders|1|-1|}} | zh | | }}

Software

See the serial-text project on Launchpad. https://launchpad.net/serial-text. Other serial character input devices should work, too. Somebody should package and put this in the repository. Jiri Bohac wrote it and sent it to me in August of 2007, and until now I've neglected to post it anywhere. --LoyeYoung

Known Barcode Readers working

Hand Held Products (HHP) 3800g

  • Works fine in 8.04 but needs to be set in USB keyboard mode. Otherwise, it won't do anything.

Motorola Symbol LS2208, LS1203

Laser Barcode Reader. Packed with features and works perfectly with 8.04

  • lsusb: Symbol Technologies
  • dmesg: USB HID v1.10 Keyboard [?Symbol Technologies, Inc, 2002 Symbol Bar Code Scanner]

No problem with the "-" to "+" on Code 39 Barcodes

Datalogic Touch 90

  • lsusb: Datalogic S.p.A. Gryphon D120 Barcode Scanner)
  • dmesg: Datalogic 2002 Datalogic Bar Code Scanner.

This barcode-reader converts "-" into "+"

TechScan Korea Barcode reader(v3xx) - TSK-800

  • TSK-800 (from the TechScan site at http://www.techscan.co.kr/product/product_scan1.php ).
  • This is a generic re-branded DSE reader. The TSK-800 has a "plugable/swapable" tail (i.e. you can buy a new lead/tail and open the unit and swap out the lead/tail from a PS/2 to USB or vice versa).
  • Minor problems:
  • Was experiencing crashing and USB disconnects in dmesg the was possibly with the reader having problems responding to device interrogation requests.
  • Swapped to the PS/2 tail and that worked fine.
  • Replaced the USB tail with a newer tail (which seems to contain some sort of inline buffer/converter) and everything worked fine.

Cypress Semiconductor Corp. SO-800

  • SO-800 this is CMOS Barcode reader with PS/2, Serial or USB connector, mine is with USB and works perfectly with usbkbd module loaded

ADESSO CCD Contact Barcode USB Scanner

  • Only works on systems without USB keyboard and mouse
  • 7.10 sees it as a USB HID v1.00 Keyboard, powers it up, but when you scan a valid barcode, it shuts off and doesn't output the barcode.
  • usbkbd.ko was loaded but still didn't work.

Fix

The trick is to make it be handled by the usbkbd driver which isn't as picky about HID compliance. Inserting the usbkbd module isn't enough to fix it though -- the usbhid driver still grabs it first if you check dmesg. However if you edit the modprobe blacklist file (/etc/modprobe.d/blacklist) and change the USB-input driver lines to look like this:

  1. blacklist usbmouse
  2. blacklist usbkbd

blacklist usbhid It works just fine!

CipherLab 1100 USB HID

works fine with usbkbd module (sudo modprobe usbkbd).

Collectorz.com laser barcode scanner (aka: Microvision ROV Scanner)

  • Have not been successful in getting the serial cable to work with or without the supplied Serial-to-USB adapter.
  • Using the "USB Cable - Straight" from Microvision (the supplier of the device's original Windows driver and wedge software) allows you to use it in keyboard emulation. ( http://www.microvision.com/store/USB-Cable-Straight-p-7.html )
  • In the manual that comes with the cable you have to use the Flic Control Bar Codes instead of the Rov Control Bar Codes (like you would think) to reset the Collectorz scanner to the Flic factory settings. The Rov codes would not work for me.

When you get the cable follow these steps:

  • Select the keyboard function on the inline control on the cable.
  • Then go to the back couple pages of the manual
  • Scan the "Flic Clear Bar Codes from Memory" option
  • Scan the "Flic Return to Factory Defaults" option
  • Scan the "Flic Bar Code Prefix (STX) is False" option
  • Scan the Flic Download Delay is 0 milliseconds" option (optional, I just like immediacy)
  • You may experience odd behavior with your Collectorz.com scanner if you don't follow those steps and use it in Ubuntu right after using it in Windows for a while. For instance in Firefox (Ubuntu) if you attempt to scan a code into the search box the scanner will enter the first part of the code into the search box but then open the bookmarks side pane and enter the rest into the bookmarks search box. With these steps the scanner is reset to be a simple keyboard device with a carriage return. Basic enough to work with any basic code recording software. So for instance the code is entered into the Firefox search box followed by the carriage return to take you to the results page of your preferred search engine. This is also true of other programs that only require a carriage return to return results.
  • Keyboard mode is the only mode Microvision says that works with Linux distros. VCOM mode is only for Windows devices.
  • Cable stopped being recognized by all OSes (Linux, Windows, Mac OS X) for a while then started working again. It is unknown what prevented it from working but I isolated it to a cable malfunction of some sort. Possibilities could be bad wiring, incompatibility/intermittent compatibility, or USB device interference. The cable is an active device with circuitry inside of an inline cable wart instead of a passive cable.

Microvision Flic Scanner

Seing as there wasn't any Linux software that supported this scanner using Bluetooth and only one non open source, non free software wedge that supported cabled connections I wrote my own in Perl. My software supports both cabled and Bluetooth connection, supports both server mode where scans are put into a FIFO queue and retrieved with a keyboard shortcut and non-server mode where scans are immediately processed, supports the use of the scanners memory (disconnect the scanner, scan lots of codes, reconnect the scanner and all codes are transfered), allows automatically adding a simulated press of the <Enter> key after processing a code, and is licensed under GPL. Download and instructions: FlicServ 1.0.

datalogic PowerScan PD7100 and QuickScan QD2100

Works fine if set to "Keyboard USB-KBD-Apple"-mode. This is done by scanning the approbiate barcode from the user's manual of the device (keep the trigger pressed for approx. 5 seconds to switch the scanner into programming mode). /!\ The scanner seems to have problems with some BIOSses: sometimes it works right out of the boxes if set to USB-keyboard, sometimes it is recognized by the OS, but not activated.

Kezboard syndrome

If you are using a german keyboard layout (as I do), you have the scanner to be configured in german Country Mode. If you don't, "Y" and "Z" will be swapped, some other character will get misinterpreted ("-" changed to "ß" ... :( ) Probably this applies to other country specific keyboard layouts as well. How to set the Country Mode is described in the scanner's manual, pp. 73. You'll find approbiate scan codes there. The manual can be downloaded from the manufacturer's web site.

Other readers

Please add your barcode-readers to this list!

Keymap correction

Most barcode-readers work out-of-the-box, but have some problems with the selected keymap. For example "-" is often converted into "+" CMP-BARUSBCA1 is read as CMP+BARUSBCA1 I'll try to find a fix for this! If you have a fix, please add in!

Software for barcode creation

Package Describtion In the repository?
kbarcode Easy GUI tool for barcode creation Universe
barcode Commandline tool for barcode creation Universe

Online barcode creation

PHP barcode project<
> EZ Barcodez

Troubleshooting

PS2 scanner, connected to USB with an adapter

There seems to be difficulties using an adapter. Please just find a way to connect it to PS2. (You can buy a PS2 split-cable in most hardware stores! - at least on http://www.elav.dk, but thats a danish site!)