On 02/10/2016 03:35 PM, Richard Weinberger wrote: > Am 10.02.2016 um 15:29 schrieb Vegard Nossum: >> USB has not been usable on UML since this commit: >> >> commit e25df1205f37c7bff3ab14fdfc8a5249f3c69c82 >> Author: Martin Schwidefsky <schwidef...@de.ibm.com> >> Date: Thu May 10 15:45:57 2007 +0200 >> >> [S390] Kconfig: menus with depends on HAS_IOMEM. >> >> Add "depends on HAS_IOMEM" to a number of menus to make them >> disappear for s390 which does not have I/O memory. >> >> Signed-off-by: Martin Schwidefsky <schwidef...@de.ibm.com> >> >> With hopefully all USB Host Controller Drivers that need it now >> depending on HAS_IOMEM, we can remove the dependency from USB_SUPPORT >> itself. This makes it possible to include USB support in UML builds >> again. > > How do you use USB on uml? > Or is it just for build coverage?
You can use usbip_host (USB over ip) to connect with real devices or gadgetfs (e.g. dummy_hcd) to emulate a device in the UML userspace which connects to the USB driver in the UML kernel. James McMechan at one time had some patches for passing through USB devices on the host to the UML kernel but I don't think it was ever merged. Anyway, that might be desirable to bring back at some point in the future. My specific use case is using gadgetfs inside UML for USB device driver fuzzing. Vegard ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel