Questions tagged [webusb]

WebUSB is a USB API for the web. Use this tag for questions about using the WebUSB API on any browser.

WebUSB is a USB API for the web. Use this tag for questions about using the WebUSB API on any browser.

Resources

206 questions
0
votes
1 answer

WebUSB - Is this just a USB library that works on top of existing JavaScript APIs?

Assumptions: All web browsers can already talk to HID devices with JavaScript A web browser will not tell the user when some JavaScript code is talking to a HID device WebUSB is a JavaScript library. Are my assumptions correct here? Or, have I…
Christian Findlay
  • 6,770
  • 5
  • 51
  • 103
0
votes
0 answers

Is an exact device descriptor required for WebUSB support?

I am running Chrome's WebUSB on Windows 7 to try and open a SmartCard reader. When I use navigator.usb.requestDevices() with no filter on, the device appears sometimes. If I include the vendorId and the productId in the filters, then the device…
P. K. O.
  • 11
  • 3
0
votes
1 answer

WebUSB with FT230x serial chip

I'm hoping to use the newly released WebUSB API to communicate with a device i developed. This devices uses a FT230X USB to serial chip. The drivers of this chip are installed on most devices and communicating with it using minicom works smoothly.…
Maarten Arits
  • 170
  • 1
  • 9
0
votes
1 answer

Sending data blink(1) device

I just started looking into webusb and trying to use it to turn on a blink(1) mk2. I am able to discover the device, open it, claim an interface and call controlTransferOut. The trouble I am now having is not knowing what data I should be sending it…
Ben Thomas
  • 3,180
  • 2
  • 20
  • 38
0
votes
1 answer

WebUSB API addEventListener disconnect not triggering

I am trying to get a disconnect event from a usb device using the WebUSB API. I am getting access to the device and adding an event listener to "disconnect" by the following: navigator.usb.requestDevice({ filters: [{ vendorId: ... ... ...}] }) …
user1
  • 599
  • 1
  • 3
  • 20
-1
votes
1 answer

Can webusb connect a website to a Kmtronic Usb one relay device in a ChromeOs chromebox?

Hi I am trying to give a website direct on/off control of a usb relay on a chrome os device. In the past I just used some terminal scripts to run on start-up on a ubuntu device but chrome os is giving me a hard time making this work.
-1
votes
1 answer

WebUSB for connecting to custom hardware

I would like to talk to a custom piece of hardware via my web application using WebUSB The hardware is already able to communicate to a python script running on a laptop via USB Now I have 2 questions and I hope you can help me :) Does the hardware…
-1
votes
1 answer

WebUSB access mass storage USB serial number

I am trying to access a USB mass storage device using the WebUSB interface. I have read that USB mass storage devices cannot be accessed: "For example, if the device is a USB mass storage device that interface is not claimable and if there are no…
-1
votes
1 answer

Using Java to communicate to a USB device from browser

We have a java web application and now we have a new request: the client wants to communicate with their USB device using our application. They plug the device into their PCs, open a page of our web application and the page will communicate with the…
-3
votes
1 answer

Is there a working code example of webUSB for an Arduino Uno R3 using the CH340 driver?

In a web page am able to find the device, but when I attempt to open the connection with .open() I get "access denied". Through research I came across the winUsb driver, which allows me to open a connection to the device. Unfortunately, when I use…
CarbonMan
  • 4,350
  • 12
  • 54
  • 75
-3
votes
1 answer

show live TV from a connectted USB DVB-T stick (on windows) on a local web page

I want to buy a DVB-T stick which gets connect to PC and laptop by USB and has a software to play live TV on windows. What I want to do with that is to show the live TV stream from that stick on a web browser instead of the original windows…
1 2 3
13
14