Closed Bug 711613 Opened 13 years ago Closed 7 years ago

[meta] B2G USB

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 674718

People

(Reporter: qdot, Unassigned)

References

Details

(Whiteboard: [tech-p1])

Meta bug for USB Implementation on B2G
Story so far: 

- WebUSB is somewhat implemented but currently without a lead dev, jstraus is checking with jorendorff about linux status.
- gal is checking out how android implements USB without libusb, is worried about licensing
- jstraus has libusb built for gonk
jorendorff replied that he ended up never working on WebUSB.  He was working on game controllers and didn't need to talk directly to the USB.  May be completely orphaned?  Added the original WebUSB bug to this to keep track of it.
Depends on: 674718
Some clarifications:

- Bug 674718 seems to be around "usb host" implementation. For a phone, shouldn't acting as a "usb gadget" be considered, too?
- The implementation for windows and mac are notifications when a usb device is plugged/unplugged. On gonk this would be receiving uevent. Generic usb programmng is still to be implemented.
- libusb is for usb host implementation. For gadget implementation we might need something like "libusb-gadget".
- If there is concern using libusb, then we may implement it on our own (it doesn't seem to be a very heavy layer of implementation) by opening the device file and perform ioctl calls.
Depends on: 748350
Needed for competitive parity.
Whiteboard: [tech-p1]
Blocks: 1035050
Blocks: 1029961
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.