--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
Is it necessary and sufficient for a Chrome packaged app to use NaCL to gain access to USB devices that already have OS-level drivers across platforms (ChromeOS, Linux, Windows, Mac)?
AM335x USB:
Product ID: 0x6141
Vendor ID: 0x0451 (Texas Instruments)
Version: 0.00
Speed: Up to 12 Mb/sec
Manufacturer: Texas Instruments
Location ID: 0xfd110000 / 3
Current Available (mA): 500
Current Required (mA): 100
BSD Name: en4Any thoughts on claiming this device?
Per https://code.google.com/p/chromium/issues/detail?id=148836, is it not possible to claim devices already claimed by the OS? This would be rather sad.
On Monday, November 17, 2014 2:46:40 PM UTC-8, Jason Kridner wrote:Is it necessary and sufficient for a Chrome packaged app to use NaCL to gain access to USB devices that already have OS-level drivers across platforms (ChromeOS, Linux, Windows, Mac)?...AM335x USB:
Product ID: 0x6141
Vendor ID: 0x0451 (Texas Instruments)
Version: 0.00
Speed: Up to 12 Mb/sec
Manufacturer: Texas Instruments
Location ID: 0xfd110000 / 3
Current Available (mA): 500
Current Required (mA): 100
BSD Name: en4Any thoughts on claiming this device?Do you control SW running on this device and could maybe pick a device class that isn't automagically claimed by the OS controlling the USB port it's plugged into?
Per https://code.google.com/p/chromium/issues/detail?id=148836, is it not possible to claim devices already claimed by the OS? This would be rather sad.Maybe...but I can imagine a lot of mischief if someone could install an app to took control of USB ethernet (for example) that was primary route for traffic.The "workaround" would be to blacklist the device driver or port the device is connect to - a manual step in either case that requires admin priveleges. I'm assuming that's feasible from Windows/MacOSX/Linux...but not from ChromeOS (unless it's in dev mode).
cheers,grant
On Mon, Nov 17, 2014 at 7:29 PM, ggg <grun...@chromium.org> wrote:
The "workaround" would be to blacklist the device driver or port the device is connect to - a manual step in either case that requires admin priveleges. I'm assuming that's feasible from Windows/MacOSX/Linux...but not from ChromeOS (unless it's in dev mode).i wonder if we can add a hook to debugd where Chrome would send a signal "please release this device" (identified via bus/device and not vid/pid), and the system would take of detaching it. i don't think we can just unload the relevant USB driver (since you might have a "real" USB ethernet or serial device connected).
does USB sysfs provide knobs here we can poke to detach?
Was a bug ever created and/or closed? Search engine isn't finding it for me.