Cannot open device with path
See original GitHub issueI’m trying to read input from a Acan barcode scanner that emulates a keyboard.
However var device = new HID.HID('USB_05fe_1010_14200000');
returns cannot open device with path USB_05fe_1010_14200000
.
Currently, when scanning the scanner “types” the read characters followed by a return key. Do I need to set a particular config setting for this to be read as a HID directly?
Full output
[ { vendorId: 1534,
productId: 4112,
path: 'USB_05fe_1010_14200000',
serialNumber: '',
manufacturer: 'OKE Electron Company',
product: 'OKE PS2-USB V1.61',
release: 1,
interface: -1 },
{ vendorId: 1452,
productId: 611,
path: 'USB_05ac_0263_1d182000',
serialNumber: '',
manufacturer: 'Apple Inc.',
product: 'Apple Internal Keyboard / Trackpad',
release: 546,
interface: -1 },
{ vendorId: 1452,
productId: 611,
path: 'USB_05ac_0263_1d182000',
serialNumber: '',
manufacturer: 'Apple Inc.',
product: 'Apple Internal Keyboard / Trackpad',
release: 546,
interface: -1 },
{ vendorId: 1452,
productId: 611,
path: 'USB_05ac_0263_1d182000',
serialNumber: '',
manufacturer: 'Apple Inc.',
product: 'Apple Internal Keyboard / Trackpad',
release: 546,
interface: -1 },
{ vendorId: 0,
productId: 0,
path: '',
serialNumber: '',
manufacturer: '',
product: 'Apple Mikey HID Driver',
release: 0,
interface: -1 },
{ vendorId: 1452,
productId: 611,
path: 'USB_05ac_0263_1d182000',
serialNumber: '',
manufacturer: 'Apple Inc.',
product: 'Apple Internal Keyboard / Trackpad',
release: 546,
interface: -1 } ]
Issue Analytics
- State:
- Created 9 years ago
- Reactions:1
- Comments:17 (5 by maintainers)
Top Results From Across the Web
TypeError: cannot open device with path 0001:0002:00 - GitHub
I am running node-hid on a raspberry pi with the most current versions of node.js and npm. The output from lsusb is: Bus...
Read more >"Windows cannot access the specified device, path, or file ...
Method 1: Check the permission of the file or folder · Right-click the file or folder, and then select Properties. · Select the...
Read more >Cannot open device with path /dev/hidraw - Kernel & Hardware
I got today an Anne Pro 2 and tried to run obinskit (the software for the keyboard). It couldn't install from AUR (failed...
Read more >Fix Windows Cannot Access the Specified Device Path/File ...
The error “Windows cannot access the specified device path or file” is common when users try to install, update or start Windows 10....
Read more >Fix Windows Cannot Access The Specified Device Path or File ...
Windows cannot access the specified device ? When you try to install, update or start a program or a file, you receive the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Try with
sudo
, i.e.sudo node yourapp.js
. Worked for me on Mac and Linux.I have this issue as well using a barcode scanner. Has anyone figured out why this happens?