Ok, here is the 2.4.19-17um version of the user mode linux host controller. This version works ok for me :), I have just tested with a usb smart card reader.
When using it be sure that /proc/bus/usb/* files on the host have R/W access for the user, that the user mode linux is being run as. Also insure that the host side driver modules are not loaded as otherwise they will claim the interface first. I have usually done a chmod -R 777 /proc/bus/usb + rmmod printer scanner etc. on the host before starting the user mode host controller, in my case I also had to stop the host program "pcscd" which had claimed the smartcard reader. On the other hand the host hcd and usbcore are needed and /proc/bus/usb needs to be mounted This patch produces a lot of debugging information, the module is named "umusb.o" and needs to be installed so it can be accessed from the uml root_fs I do a "mount -oloop root_fs /mnt/loop" and "make ARCH=um INSTALL_MOD_PATH=/mnt/loop modules" then "umount /mnt/loop" to set up the UML modules It works on the bucket brigade principle for each urb submitted by the UML it creates a new urb and submits via the /proc/bus/usb/... interface on the host side, completion ripples back the other direction in a similar manner. This patch is for vanilla linux-2.4.19 + uml-patch-2.4.19-17 It is nice to hear that someone else is interested Enjoy, James McMechan
diff-2.4.19-17u
Description: Binary data