Hacker News new | ask | show | jobs
by joshz404 1391 days ago
I'm not familiar with that scanner, however that sounds like a scanner issue. I haven't had that issue with GS-128 with the couple scanners I & colleagues have tried. I did a google search and in the Amazon reviews there is someone purporting to be from the manufacturer saying to email them to learn how to make it work, with regards to FNC1.
1 comments

Are you using Chromebooks specifically?

If so, can I ask which barcode scanner(s) you're using which does work? The easiest solution may just be to buy a different scanner.

I did also email the manufacturer - let's see if they have a solution.

Can you determine what USB HID code(s) the scanner is sending for that? (Perhaps using wireshark, or usbmon on linux, …) Some years ago I worked on ChromeOS keyboard input, and I can probably tell you right away what it'd do with it. Basically, is the USB code in https://source.chromium.org/chromium/chromium/src/+/main:ui/...

Alternatively (but probably less usefully), try it on https://w3c.github.io/uievents/tools/key-event-viewer.html

We haven't used Chromebooks, sorry. For scanners a number of cheap to pricey ones were tried. On the cheap end I don't have the exact model number but I think it was about $30USD from Netum, as well as using apps in cheaper smart-phones using the built-in camera.

I'd guess it's the scanner though, I don't think those control characters are supposed to be sent.

I would recommend at least trying the big names - shouldn't be much to buy a few of them.