From: Steven M. <smi...@gm...> - 2016-04-24 19:33:21
|
John, Not knowing your exact barcode scanner is a real hindrance. One good piece of information you forgot to provide was what exactly you were interfacing to. USB barcode scanner is too generic, you need read http://catb.org/esr/faqs/smart-questions.html That being said the VID is from Honeywell, so here is on of their manuals for a 2d barcode reader. See page 2-4 of http://www.honeywellaidc.com/CatalogDocuments/Xenon-UG.pdf Clearly it states that to enable the USB CDC mode you scan that barcode. To enable USB-CDC mode of the barcode scanner. Windows needs a driver, but mac and linux will use the generic USB-CDC driver. Now you will connect with pySerial and communicate with your barcode scanner as a serial device. Happy hacking, Steve > On Apr 24, 2016, at 7:22 AM, Dietmar Schwertberger <mai...@sc...> wrote: > > On 24.04.2016 14:34, John Thornton wrote: >> I've established communications with it and added a udev rule and added >> myself to the scanner group so I could talk to the scanner. And the >> results so far are: > A long way to go... > >> On 4/24/2016 6:06 AM, Dietmar Schwertberger wrote: >>> button and they send keystrokes. >>> You should have info from the manufacturer of your scanner. Maybe he has >>> implemented CDC (aka Virtual COM Port). > For Windows, Honeywell offers a USB Serial Driver. > So you may try CDC as well, either as serial port or via pyusb. > > Regards, > > Dietmar > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > pyusb-users mailing list > pyu...@li... > https://lists.sourceforge.net/lists/listinfo/pyusb-users |