Julian Waller

Results 526 comments of Julian Waller

I don't expect to look into this myself (not for a while at least) as I don't think I have anything on my network which uses SSDP, so testing anything...

Ooh, I do have something which does SSDP, Sonos uses that. So I could look into this and use that module as a reference implementation https://github.com/bitfocus/companion-module-sonos-speakers I'll add this to...

This is possible in the latest release https://github.com/node-hid/node-hid#devices--await-hiddevicesasync

could you try doing `hid.setNonBlocking(1)`? It looks like it is expecting a numeric parameter

This sounds like the crash that https://github.com/node-hid/node-hid/pull/533 fixes, perhaps the build in my npm fork will resolve this for you? https://www.npmjs.com/package/@julusian/hid

my fork on npm includes precompiled binaries for this library, its a drop in replacement. If you're using yarn, you can setup the dependency/resolution in your package.json with `"node-hid": "npm:@julusian/[email protected]"`....

I don't have any ideas currently. Could you make a small reproduction project that I can try and debug the issue with?

I don't think I have tried this in electron myself in a while. Could this be happening when the hid device is disconnected/closed? Does it behave any differently if you...

This sounds like it could be fixed by #533 You can try the fix by using `@julusian/hid` v3.0.1-0

Could be hitting https://github.com/denoland/deno/issues/21376 And bun doesn't have full node-api coverage https://github.com/oven-sh/bun/issues/158, so it is expected to not work there. From a quick skim we are using `napi_open_escapable_handle_scope`, possibly other...