Hacker News new | ask | show | jobs
by mkopinsky 1399 days ago
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.

3 comments

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.