Time to step in I guess:
Virtualbox aka VBOX emulates exactly one OHCI USB host controller for USB 1.x and, if you enable USB 2.0, exactly one EHCI host controller, regardless of what HW you PHYSICALLY have in your PC.
That said, this is what you need in your config.sys in the OS/2 guest installation to get things to work:
BASEDEV=USBD.SYS
BASEDEV=USBOHCD.SYS
BASEDEV=USBEHCD.SYS
and then, of course, the various USB class drivers, usually that is:
BASEDEV= USBMSD.ADD /REMOVABLES:5 /FLOPPIES:0 /CDS:1 (as an example)
BASEDEV=USBHID.SYS
DEVICE=C:\OS\BOOT\USBKBD.SYS
DEVICE=C:\OS2\BOOT\USBMOUSE.SYS
Please note that you really do not need to install the HID/KBD/MOUSE drivers as VBOX emulates a PS/2 mouse and PS/2 keyboard even if you use a USB mouse !
What you then need to do when you plug in a USB stick is to "pass over" the USB stick from the host to the guest. That works via the VBOX GUI where you can explicitely claim a USB device from the host in which case it will disappear in the host and show up in the guest.
You can even automate this step for a specific device the moment that device is plugged in (read the VBOX manual on how that is done). Once the stick is "passed over" it will pop up in OS/2 just like in a native installation.
Lars
Hi Lars, let me begin from the last: I confirm that VBox passes over the usb resource connected in the Host just recalling it from the Device/Usb menu in the active Guest window, and at same time it disappear from the Host, at least this is correct.
Then, I have modified the config.sys as suggested. Here what happens:
-the system initially boots with a
USBEHCD.SYS controller not found warning, but no problem after that, it boots regularly. Also the USBMOUSE.SYS and USBKB.SYS warning was expected, it desappear by remming out the two lines in config,sys.
-in my OS2 Drives now I see one more drive. Before this, I had A-B with floppy icon (not ready when called), C OS2 installation, D CD/DVD drive or ISO (working), E Vbox shared folder.
With the new situation I have same A-B-C-D, E is now iconized as a CD/DVD removable but not ready when called and I think that it could represent the new usb stick volume, F is now what E use to be (Vbox shared folder).
-I had connected to the Guest system 3 usb device consisting in one old Blackberry, one Canon Lide 100 scanner, and of course the Kingstone Data Traveler 109 USB stick. They're connected into an USB HUB. These four hardware resources appeared somehow listed in the OS2 Resource Manager.
Here below the images of what described