Last Comment Bug 711613 - [meta] B2G USB
: [meta] B2G USB
Status: NEW
Product: Core
Classification: Components
Component: DOM: Device Interfaces (show other bugs)
: unspecified
: ARM Gonk (Firefox OS)
-- normal with 2 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Andrew Overholt [:overholt]
Depends on: webusb 748350
Blocks: b2g-v-next 1029961 1035050
  Show dependency treegraph
Reported: 2011-12-16 14:13 PST by Kyle Machulis [:qdot]
Modified: 2015-11-28 06:47 PST (History)
19 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Kyle Machulis [:qdot] 2011-12-16 14:13:54 PST
Meta bug for USB Implementation on B2G
Comment 1 User image Kyle Machulis [:qdot] 2011-12-16 14:17:51 PST
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
Comment 2 User image Jim Straus 2011-12-16 14:44:20 PST
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.
Comment 3 User image Cervantes Yu [:cyu] [:cervantes] 2012-03-08 02:38:33 PST
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.
Comment 4 User image Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2013-02-26 00:36:16 PST
Needed for competitive parity.

Note You need to log in before you can comment on or make changes to this bug.