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 - Rich Walsh

Pages: 1 [2] 3 4 ... 25
16
Setup & Installation / Re: Switch from CSM to UEFI
« on: October 31, 2024, 05:21:21 pm »
Could the MBR-to-GPT converter be used on a win10-disk/NTFS  as well?

This has nothing to do with the filesystem and little to do with the OS.

GPT uses the first 34 sectors  of the disk as well as the last 33 sectors for its headers and partition tables. These sectors are always unused on an LVM-compliant disk, allowing them to be used for GPT without overwriting anything else on the disk except for the MBR itself. An MBR disk that was created by Win probably has the initial sectors free (because it aligns partitions on a 4MB boundary), but the last sectors are likely included in an existing partition which would have to be resized.

Note 1: I overstated the converter's capabilities. Once converted to GPT, the disk cannot be used as an MBR disk without restoring the original MBR sector (which the converter saves so the change can be rolled back).

Note 2: My MBR-to-GPT converter is not freeware. If someone wishes to pay $2,500 USD, I will provide an unlimited-use license allowing them to resell individual copies, post it to hobbes as freeware, include in AOS, or whatever. I have no plans to issue individual-use licenses.

17
Setup & Installation / Re: Switch from CSM to UEFI
« on: October 29, 2024, 09:43:57 pm »
converting the HDD to gpt disc layout is more complex yet again (if you want this). Could Arca Noae have developed this code ? Perhaps. But its pretty complex code.

Years ago I wrote an MBR-to-GPT converter that worked with any LVM-compliant disk and didn't require moving or copying the disk's contents. In fact, after conversion, you could use the disk as MBR _or_ GPT until you changed the partition layout. I offered it to AN but the person I dealt with couldn't imagine any use for it and declined the offer.

18
Programming / Re: VisualAge C++ 3.6.5 (+ Fix2) - WarpIn or RPM?
« on: October 25, 2024, 07:15:13 am »
Attached is a forwarder that eliminates the need for the real 'netscape.exe'.

Unzip, then place the dummy 'netscape.exe' into either your Firefox or Seamonkey directory. You can invoke it from any directory using a f/q pathname (or you can add your FF/SM directory to the PATH).

When it starts, it will change to whatever directory it's in, then see if FF or SM is present. If so, the browser will be started; if not, it will terminate.

19
Programming / Re: VisualAge C++ 3.6.5 (+ Fix2) - WarpIn or RPM?
« on: October 24, 2024, 08:42:20 pm »
While I don't know about VAC 3.6, I know you should use the one from OS/2 for VAC 3.08.

This is almost certainly incorrect. Over the years I've seen numerous warning that installing VACPP would backlevel SOM unless you took steps to prevent it. In any case, v3.65 (which doesn't include an IDE) makes no use of SOM, so it isn't even needed for this package.

The only "valid" version of SOM.DLL is the one in CP2/AOS5.x:  size= 92,009  timestamp= 99/06/30 16:33:04

20
You can run 'bootorder' (C:\sys\bin\BOOTORDER.EXE) from a command prompt to change the boot sequence from within OS/2.

21
I notice that the USB interface descriptor for the speaker specifies a 48000 sample rate but under [WMBWAVEUSB01], it's configured for 44100:
 PARMSTRING=FORMAT=1,SAMPRATE=44100,BPS=16,CHANNELS=2,DIRECTION=PLAY

You may want to try changing SAMPRATE to 48000. After doing so, do NOT open MMSetup (stpm.exe) before you reboot - it always rewrites MMPM2.INI with the values currently in memory, wiping out any manual changes.

22
As the driver level could be the problem, I updated to 12.16 (was using AN 12.14)
Following a reboot there was still no sound

I also downloaded USBAUDIO-12.16.exe which unpackaged itself into \MMOS2\INSTALL\usbaudio but did not install any files anywhere. I replaced the usbaudio.sys/sym files in \mmos2 with the files from \MMOS2\INSTALL\usbaudio and rebooted.

'USBAUDIO-12.16.exe' is the old IBM driver that lacks Lars' additional features. Do not intall it. Also, *.sym exist solely to make debug reports more intelligible. They are completely passive (and generally unused), so copying in the wrong ones isn't helping anything.

Quote
The Desktop Startup sound almost played - started but cut off about 66% of the way through.

So, you rebooted and got no sound, then did something that had no effect and rebooted. Voila, sound! Are you sure you didn't do anything else?

Quote
Do I need to "clean up" the mmos2 setup?

Messing-around when you don't know the correct configuration is seldom helpful.

Quote
I have the files from the Enhanced USB audio packages installed although I am not using the drivers from the package.

What does this mean? If the Enhanced USB audio packages are installed, how can you not be using its drivers?

At this point, I can only think of two possibilities:

* unlikely: maybe this is a USB Audio v2 device. With no audio streams open, set "UAC2 Adapter Wave" as the default in MM Setup, close it, then play a sound. If this fails, go back to "USB Adapter Wave".

* likely: perhaps there are still problems with xHCI isochronous transfers. File a bug report.

23
I may have found the cause of no sound with this usb soundbar.
I'm guessing but think the following applies:-

Too much speculation...

'usbaudio.sys' supports the USB Audio Standard v1.0 which is implemented by nearly all USB audio devices. 'usbaud2.sys' supports the USB Audio Standard v2.0 and is only implemented by a few newer, high-end devices. The standard operates independently of the transport, so whether you have USB2 or USB3 is irrelevant. (Also, it's highly unlikely you have a "USB3-only" system. Rather, you only have xHCI controllers which typically support both USB2 and USB3.)

Since the datasheet for the soundbar makes no mention of which standard it uses (and it connects to your USB ports using a USB-A connector), it's almost certainly a USB Audio v1.0 device.

Some of the more likely causes of the problem are:
* some machines have USB3-only ports as well as USB2/3 ports: maybe your device is plugged into the wrong one.
* your USB stack is back-level: IIRC, AN's drivers had problems (now fixed) with isochronous connections which are used for audio.
* you have garden-variety settings issues in uniaud: use PMUnimix to set all available input volumes to max
* perhaps your driver installation failed (though I doubt it): confirm both driver lines appear in config.sys and aren't duplicated; open 'mmpm2.ini' and confirm you have sections for "WMBWAVEUSB01" and "WMBWAVE2USB01".

FWIW... I have an xHCI-only system and it all WFM.

24
> you need to install the USB audio driver using Minstall.

Easier:
- mount your AOS ISO
- open 'Programs\Multimedia\Multimedia Installer'
- click on "Audio Drivers on your ArcaOS DVD/ISO"
- on the dropdown list that appears, install both:
  * Enhanced USB Audio - device support
  * Enhanced USB Audio - sample rate support
  (these are from Lars' USB Audio package)

Bonus: this will also clean 'mmpm2.ini' after installation is done.

For those who want to do a cleanup without actually installing anything, select a sound driver you DO NOT have installed, then press "Install/Remove". On the next popup screen select "Remove", then OK.  It won't complain if the driver can't be found and will proceed to do cleanup, then tell you it's done.

25
Will aswitch.exe recognise already attached usb speakers at boot and do it's thing to output audio via usb

It _should_ work as described, but...

If the soundbar is the only speaker you'll ever use, why not open 'Multimedia Setup' to the "USB Adapter Wave" page and make that the default audio device? If this is AOS 5.0.3(?) or later, this will work as expected. On eCS, MCP, etc, the checkbox is broken so 'aswitch.exe' is needed.

26
Setup & Installation / Re: How to get rid of the second boot menue?
« on: September 07, 2024, 03:05:14 am »
Are you using an old or prerelease version of the UEFI ArcaOS boot loader? That menu is part of the loader, but it's been disabled by default in all GA releases.

If there's more than one bootable partition, and the user hasn't specified the one to use (via the commandline), how else is 'os2ldr.efi' supposed to know which one to boot? The partition menu is required for proper operation.

In any case, having it available (e.g. via the "*" menu entry in ANLauncher) allows the user to select a partition that may not be on his bootmanager's menu.

27
Applications / Re: Unzip Version 6.0 hangs when booting to a commandline
« on: August 05, 2024, 04:50:28 pm »
Attached is a standalone version of 'unzip.exe' v6.0 compiled with VACPP 3.65. I have only done minimal testing on this.

Also attached is a diff of the changes. Most of the compile errors came from "#include <ctype.h>" being mispositioned in 'os2cfg.h'; moving it up in the file fixed them. I also added a "vac" target to 'makefile.os2'. It's set up for VAC 3.65 but should(?) work with 3.08.

28
Setup & Installation / Re: ArcaOS 5.1
« on: July 30, 2024, 07:44:22 am »
Just in case the manual says "In addition, it is not possible to upgrade from a traditional BIOS installation to a UEFI installation."

You should't believe everything you read. Months ago, I posted a package to convert from BIOS to UEFI. The process is trivial and fully license-compliant. If you need it, do a search of this forum.

29
Applications / Re: Archive tool problem
« on: May 14, 2024, 06:35:03 pm »
Reinstalling any WPI that was included with AOS is really easy:

* mount the ArcaOS ISO file (doubleclick on it) or load the DVD you burned
* navigate to x:\CID\SERVER\ARCAPKG
* find the WPI you need and doubleclick on it
* ...done

Pretty much anything you'd want to (re)install can be found in one of the subdirectories of \CID\SERVER.

30
Programming / Re: ClassiCube porting thread
« on: May 07, 2024, 09:25:58 pm »
2) "args->filters" is effectively a PAPSZ pointer, that is, a pointer to an array of pointers where the last pointer in the variable array is a NULL pointer

This is not correct. There is absolutely no indication anywhere in the *OS/2* docs that that 'fileDialog.szFullFile' is anything other than a simple string. If you wanted to filter based on multiple extensions, you do it like this: "*.exe;*.cmd" using a semicolon, not a null, to separate the filters.

Regardless, the most appropriate way to determine whether this is the source of the problem (and I doubt it is) is to make the assignment as simple as possible:  strcpy(fileDialog.szFullFile, "*.*");

Quote
see the example code for the Windows implementation

Not helpful.

Pages: 1 [2] 3 4 ... 25