usbip turned on in the kernel modules for chromeos
Reported by
m...@virtualhere.com,
Jun 27 2016
|
|||||
Issue descriptionWith android support coming to chromebooks soon, it would be great to enable usbip support in the chromeOS kernel. My company virtualhere has a USB server for android that works well and without kernel modules, but the usb client requires the usbip client module turned on in the kernel. There are quite a few usecases for allowing a chromebook to connect to a virtual usb device like a USB disk, gaming controller, usb->serial device etc Any chance of turning on usbip in chromeos for apps like mine?
,
Jun 28 2016
,
Jul 11 2016
,
Oct 3
you're free to do the analysis of seeing what modules actually need to be turned on in the kernel config and see what overhead it adds to the filesystem, and send a CL to do it in the common configs. but enabling kernel modules for use in dev mode is a low bar. enabling them for use in normal mode requires more effort in making sure it works, the stack is secure, and is stable. i don't think anyone is looking into this feature currently.
,
Oct 3
,
Oct 3
OK great, i will make a git-cl submission. usbip has been mainlined in the kernel for years so its pretty stable in the 4x kernel
,
Oct 3
Only adding kernel module won't reslve your issue. I think you also need some basic user space program shipped in Chrome Os to connect/disconnect to remote devices. Who will provide those user space stuff? Will apps inside chrome app store have ioctl access to device node exported by usbip?
,
Oct 3
Chrome apps won't get direct ioctl access to anything by design
,
Oct 3
virtualhere is the userspace part and just needs to ioctl access. If thats not possible a wrapper like in android needs to be done. Currently in android the (usb server side) is implemented using android.hardware.usb.UsbDeviceConnection.getFileDescriptor() which works quite well. (Except in Android Runtime for chrome! but anyway thats another ticket)
,
Oct 3
getting kernel modules available for dev mode is easy -- show the overhead that turning on the features is low (just disk usage for modules, and core kernel image doesn't increase) anything that involves userspace daemons/ioctl access needs a design doc
,
Oct 3
ok anyway this feature is pretty useful if you are going to be doing gamestreaming in chrome. So hopefully it goes in a some point
,
Dec 22
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/3f4b596d5e079edd8da9527e91956ec4a5832625 commit 3f4b596d5e079edd8da9527e91956ec4a5832625 Author: David Valleau <valleau@chromium.org> Date: Sat Dec 22 02:11:57 2018 Adding dev-manager ebuild from portage upstream BUG=chromium:885915,chromium:623441 TEST=Emerged and manually tested on an asuka device Change-Id: I84a10f74a04012166b164419020636fc146bc39b Reviewed-on: https://chromium-review.googlesource.com/1387225 Commit-Ready: David Valleau <valleau@chromium.org> Tested-by: David Valleau <valleau@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> [add] https://crrev.com/3f4b596d5e079edd8da9527e91956ec4a5832625/virtual/dev-manager/dev-manager-0-r1.ebuild |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by rsgav...@chromium.org
, Jun 27 2016Status: Available (was: Unconfirmed)