Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mauro

Pages: 1 ... 22 23 [24] 25 26 ... 28
346
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 18, 2018, 06:57:03 am »

If you want USB Mouse/Keyboard add this line:-

BASEDEV=USBHID.SYS

(If using as a guest in VBox you may not need the above line)

Hi Pete,
this is not sufficient for native USB keyboard and mouse support.

But in any case, in order to keep things simple and to not confuse Mauro any further, I strongly recommend to NOT specify any HID drivers (USBHID.SYs, USBKBD.SYS, USBMOUSE.SYS) at all. That's because for the guest, VBOX properly emulates a PS/2 keyboard and PS/2 mouse, no matter what physical keyboard and mouse HW you use.
In short: you need no USB drivers in the guest to have keyboard and mouse support in VBOX.

Lars
ok, clear.
Thanks

347
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 17, 2018, 07:02:39 am »
Your photo gallery shows the additions driver loading. Do you see the rest, as loaded by VBoxService.exe in STARTUP.CMD? You can make that stay on screen, by not having an EXIT command at the end. It should show a few lines indicating the status of the program. Something similar to:
Code: [Select]
[C:\]C:\OS2Additions\VBoxService.exe
VBoxService 5.2.20 r125813 (verbosity: 0) os2.x86 (Oct 15 2018 16:28:06) release
 log
00:00:00.430000 main     Log opened 2018-12-17T04:28:49.058000000Z
00:00:00.450000 main     OS Product: OS/2
00:00:00.450000 main     OS Release: 1
00:00:00.450000 main     OS Version: 2.45
00:00:00.470000 main     Executable: C:\OS2ADDITIONS\VBOXSERVICE.EXE
00:00:00.470000 main     Process ID: 32
00:00:00.470000 main     Package type: OS2_32BITS_GENERIC
00:00:00.510000 main     5.2.20 r125813 started. Verbose level = 0
[C:\]

Hi Doug, a shadow copy of Vboxservice.exe is in the Startup folder (OS2 system folder), not in STARTUP.CMD

348
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 17, 2018, 07:00:06 am »
Hi mauro

Being the author of USBcfg I am a bit surprised at the GETDESC.DLL failure. There are 2 possible causes that I am aware of:-

1] The GETDESC.DLL cannot be found

2] The driver files do not contain any buildlevel information

As you state that GETDESC.DLL is in \os2\dll it should be found - as long as \os\dll is in the config.sys libpath statement

All USB driver files from IBM, Lars Erdmann and ArcaOS/David Azarewicz that I have used contain buildlevel information which, I think, rules out 2] above.


The base USB drivers you need for 1 OHCI and 1 EHCI driver are:-

BASEDEV=USBOHCD.SYS
BASEDEV=USBEHCD.SYS
BASEDEV=USBD.SYS

Notice no parameters to USBD.SYS


If you want USB Mouse/Keyboard add this line:-

BASEDEV=USBHID.SYS

(If using as a guest in VBox you may not need the above line)


If you want USB drive and CD support add these lines:-

BASEDEV=USBMSD.ADD
BASEDEV=USBCDROM.ADD /CDS:1
BASEDEV= USBMSD.ADD /REMOVABLES:8 /FLOPPIES:0


It might also be worth reading the USBcfg Help FAQ "USB Storage FAQ Introduction" which, while a little dated, contains information about preparing and using USB drives in OS/2.


Hope the above is of some help. I would also be interested in discovering the cause of the GETDESC.DLL failure.


Regards

Pete

Hi Pete, thank you, I will get back on those lines as possible, and let you know.  For the GETDESC.DLL appearently missing (but after some attempts usbcfg runs) confirm that it is in the right OS2\DLL folder and the line of DLL calls is in the config.sys as well.

349
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 16, 2018, 07:37:54 pm »
Why do you keep ignoring what people are telling you ?

1) you need to load USBD in any case: BASEDEV=USBD.SYS
2) you have one OHCI host controller, you need to load BASEDEV=USBOHCD.SYS
3) if you enable USB 2.0 in the VBOX gui, you need to add yet another driver: BASEDEV=USBEHCD.SYS
4) you have to load USBD.SYS before you load USBHID.SYS, else USBHID.SYS is not going to load
5) you neither need USBHID.SYS, nor USBKBD.SYS nor USBMOUSE.SYS becauseVBOX emulates a PS//2 mouse and keyboard
6) you do not need to load USBUHCD.SYS, never, ever

You can now continue fumbling around with your system or you can do it right.

Lars, I'm swimming among all your indications posted which I entirely appreciate. I'm applying time by time everything suggested and providing feedback after that, as you could understand I'm not confortable working with this system but I like it, and thanks to this forum members help have successfully implemented something like: WPS printing system, Vbox guest addition, Firefox 45.5.9, Videolan 3.02, rmp-yum package manager, video drivers additional resolution mode and other minor implementations.  This said just to tell that I can get almost everywhere with a little bit of patience, although limited both by language and knowledge filters .
Anyhow -back to the topic- , my config.sys was already modified as per you indication, I repeat here below the lines, maybe you still find something wrong :
REM BASEDEV=USBUHCD.SYS
BASEDEV=USBOHCD.SYS
BASEDEV=USBEHCD.SYS
BASEDEV=USBD.SYS /REQ:USBUHCD$
BASEDEV=USBHID.SYS
REM BASEDEV=USBMSD.ADD
REM BASEDEV=USBCDROM.ADD
BASEDEV= USBMSD.ADD /REMOVABLES:5 /FLOPPIES:0 /CDS:1
REM DEVICE=C:\OS2\BOOT\USBKBD.SYS
REM DEVICE=C:\OS2\apps\AMOUSE\AMOUSE.SYS
REM DEVICE=C:\OS2\BOOT\USBMOUSE.SYS
REM DEVICE=C:\OS2\BOOT\USBCOM.SYS

here below I attach what booting messages say (anyway it boots regularly), what HCIMONIT shows, and what USBCFG shows (before the panel appears I have to click many times OK on the GTDESK.DLL error message, although it is present in C:\OS2\DLL as it should be).
Thank you




350
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 16, 2018, 06:29:29 pm »
It is not a standard install program, which is why I posted it.  Just copy hcimonit.exe to C:\os2 and then run it again but as Lars said it should show the same as my screen grab - one ohci and one ehci.

Sorry I can't be of much help but I only use VBox with OS/2 as host to run one program in win XP which is the opposite of what you are doing.

understood.  here's what found after runned HCIMONIT.EXE

351
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 16, 2018, 11:32:56 am »
As Dave says without a USB host controller driver you are never going to see any USB device.

To help speed things up I have attached HCIMONIT.EXE just run it in an OS/2 Command window and it will give the information you need to know. 

You will also need to remove the REM from most of the USB items.  If hcimonit shows more than one host controller it needs to appear that many times in config.sys

There is also the output of hcimonit from my workstation.

no valid command - program - batch file  :-[

still to be installed in the system?



352
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 16, 2018, 09:38:14 am »
Vbox Guest Additions are correctly installed in OS2 as per readme instructions: mouse integration, clipboard integration, shared folder, video driver, everything which comes with the OS2 Guest Addition installation is working

Hope you didn't downgrade libc accidentally. The official additions comes with an old libc066.dll along with the forwarder DLLSs.

Hi Dave
no, the most recent version of the LIBC downloaded from netlabs repositories are untouched, I've skipped that step installing the additions, furthermore now I switched to the saved version of the config.sys before these specific modification, and lvmgui is back. Not even the simple lvm was working before this.  My mind about those warning lines appearing on booting (see image) is they're indicating something like "these controller/drivers are not present, and the rem on their lines in the config.sys are for this reason", of course I had not remmed those config.sys lines myself, it should have done automatically in an installation of something, maybe the USB 11.17 driver downloaded from The Arca Noae subscription.

353
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 15, 2018, 09:36:34 pm »

HI Doug

Quote
Hi Doug, I have not prepared anything for OS2, believing that the sufficient requisite were Fat32 fs driver and the USB driver installed.

Bad assumption. You must prepare the stick for use with OS/2, but you need to get it mounted first. If OS/2 can't understand the file system, it should still mount the device, but it will complain that it needs to be formatted.

this is not happening: no USB volume detected is the situation

Quote
-If I go to x:\Program Files\Oracle\VirtualBox I don't recognize anything usefull except for the folder ExtensionPacks whick contains directories with the name of other OS, none about OS2.
- if I go to the link https://www.virtualbox.org/manual/ch01.html#intro-installing I read references to the Extension Pack which, again, is same I already have.
Quote
From what you say here, I think you have installed the extensions pack in VBox, but you haven't installed them in the OS/2 guest. Open the guest, then click (in the VBox menu) Devices-> Insert Guest additions CD image (the bottom option - nothing will be apparent). Now use the Drives object to open the CD drive. One of the directories is called "OS/2" Open that. READ Readme.txt, and follow the instructions. HOWEVER, if you have installed the LIBC support, in any other way, DO NOT overwrite any of those files with the ones from the CD. The files on the CD image are old. Reboot, and you should see the extensions load from Startup.CMD. Then, you should be able to mount the USB device.

Vbox Guest Additions are correctly installed in OS2 as per readme instructions: mouse integration, clipboard integration, shared folder, video driver, everything which comes with the OS2 Guest Addition installation is working

354
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 15, 2018, 09:30:57 pm »
What does LVM show now? My guess is that you are now running into the situation where OS/2 can't handle your sticks. This is usually due to most all sticks appearing as large floppy drives and OS/2 only being able to handle them up to 2GBs.
You have a choice, fix the sticks by partitioning and adding LVM. I believe you said you have DFSee, which is good at doing this, see under the scripts menu IIRC. Or installing Lars's drivers. Lars's drivers have lots of bug fixes and a workaround to handle sticks formatted as large floppies, as well you can back up your old drivers while doing so so not that hard to go back. There's also the vbox snapshot feature.

lvmgui does not open anymore, the config.sys modifications is causing something wrong with it.   I've the mind that usb volume format/size isn't the problem, since none of the usb devices appear to work

355
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 15, 2018, 07:33:58 pm »
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


356
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 14, 2018, 09:01:11 pm »
Looks like when you installed the USB drivers and maybe still, there was/is no USB hardware

means that devices had to be connected during the drivers installation?

Possibly, can you post the part of your config.sys that has the USB device drivers listed?

Hi Dave, here I attach my config.sys lines about IFS and USB :

IFS=C:\OS2\JFS.IFS /AUTOCHECK:*
IFS=C:\OS2\HPFS.IFS /CACHE:2048 /CRECL:4 /AUTOCHECK:C
IFS=C:\OS2\FAT32.IFS /cache:2048 /h /q /ac:* /largefiles
IFS=C:\OS2\BOOT\UDF.IFS
IFS=C:\OS2\BOOT\CDFS.IFS /Q /W
IFS=C:\IBMLAN\NETPROG\NETWKSTA.200 /I:C:\IBMLAN /N
IFS=C:\OS2\BOOT\VBoxSF.ifs
REM BASEDEV=USBUHCD.SYS
REM BASEDEV=USBD.SYS /REQ:USBUHCD$
REM BASEDEV=USBHID.SYS
REM BASEDEV=USBMSD.ADD
REM BASEDEV=USBCDROM.ADD
REM DEVICE=C:\OS2\BOOT\USBKBD.SYS
REM DEVICE=C:\OS2\apps\AMOUSE\AMOUSE.SYS
REM DEVICE=C:\OS2\BOOT\USBMOUSE.SYS
REM DEVICE=C:\OS2\BOOT\USBCOM.SYS
REM DEVICE=C:\OS2\BOOT\USBMOUSE.SYS
REM DEVICE=C:\OS2\BOOT\USBKBD.SYS
DEVICE=C:\OS2\BOOT\USBCOM.SYS
DEVICE=C:\OS2\BOOT\USBPRT.SYS
DEVICE=C:\OS2\BOOT\USBAUDIO.SYS
DEVICE=C:\OS2\BOOT\USBRESMG.SYS

thank you

357
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 14, 2018, 08:45:52 pm »
Hi mauro,
  The 2 screen grabs are from my workstation with OS/2 - not a vbox install.

In the logical view the USB stick appears as Phys D7 and shows the drive letter y:
The physical view shows the same stick as STORE N GO with the drive letter Y: and FAT 32

Since you don't seem able to see any USB sticks I think that your problem might well be that you haven't given it any LVM information and/or the stick isn't formatted fat32 or hpfs or jfs those being the only formats that os/2 understands.  You can check the LVM information, or lack of it, using DFSee.  DFSee will also add the missing LVM information if it isn't there and is also able to format the USB stick as fat32.
Out of curiosity, why don't you use the 'attachments and other options' available here to post your screen shots?  It saves having to go to another site and then return back here.
Hi Ivan, i take your suggestion for Attachements and other options.  Have also have installed DFsee.
Here you find what DFsee shows, again LVMgui with both physical/logical volume display, my USB stick infoes taken in Win 10, the Resources Manager display in OS2 Warp 4.52 (Vbox guest system), the VBox USB connected Menu . Everything tells that no USB device is being detected although it is connected in Vbox filter.




358
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 14, 2018, 12:58:06 pm »
What happens if you run lvmgui or minilvm?


359
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 14, 2018, 12:48:05 pm »
Looks like when you installed the USB drivers and maybe still, there was/is no USB hardware

means that devices had to be connected during the drivers installation?

360
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 13, 2018, 09:16:09 pm »
Quote
don't know any other misterious reason why the USB volume could not be read from my OS2 Vbox installation.

Is the USB stick properly prepared for use with OS/2? It needs to have a partition created (by OS/2), then it needs to be formatted with a file system that OS/2 knows about. If it was created by windows, it won't work if it is larger than 2 GB, unless you are using Lars' USB drivers, which fudge the partition stuff for OS/2 (I am not convinced that that is a good idea, but it seems to work).

Does it work in a real OS/2 system? Boot the installer (on the real system), go to the System Management thing, and see what the tools think of the stick.

Hi Doug, I have not prepared anything for OS2, believing that the sufficient requisite were Fat32 fs driver and the USB driver installed. Apart of it, if you see the picture in the first post, it seems like the USB devices have the driver ready but no device is connected/ready to work as no irq/dma address appear associated with.  Lars'USB drivers "fudge the partition stuff" is something that I cannot fully translate. If it means that something else is not going to work anymore or preventing other system funcionality, then I would prefer not to try that.
I've no physical OS2 system available.

Thank you

Pages: 1 ... 22 23 [24] 25 26 ... 28