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 ... 24
1
Setup & Installation / Re: Switch from CSM to UEFI
« on: November 02, 2024, 08:15:21 pm »
v 2.52. Included with ArcaOS 5.1.0 EN. Built 2023-08-23. Maybe that's to old. But I really tried. Even looked into the help without any hint.

I even cleared start of the disk with DFSee and started again. But could not find how to select GPT when creating the first partition.

I think there's a basic misunderstanding here: neither MiniLVM nor PTE _create_ a GPT disk. They are partition editors that know how to manipulate an *existing* GPT disk. To create one, you must use 'InitDisk.exe' or DFSee.

After a reboot, MiniLVM will clearly identify which disks are GPT and which are MBR. 'PTE' will only display GPT and will ignore MBR (IIRC). The other partition editors ('lvm.exe' and that java thing) are useless for GPT because they can't see the actual GPT disk.


2
Setup & Installation / Re: Switch from CSM to UEFI
« on: November 01, 2024, 07:29:56 pm »
DFSee 17.0 also has the ability to [...] do any other required changes.

Actually, it doesn't.

While a disk is identified by OS/2 as "MBR", DFSee can convert it to GPT and (presumably) create GPT partitions. However, once you reboot and OS/2 identifies the disk as "GPT", DFSee is incapable of performing any changes to the partition table because it is read-only. DFSee doesn't know how to get write-access nor does it know how to coordinate the physical GPT partitions with the emulated MBR disks that LVM sees. The GPT disk itself is invisible to DFSee.

Honestly, this is waaaaay more complicated than it looks. Skip DFSee and use David A's 'InitDisk.exe' to do a destructive conversion, then reboot and use MiniLVM to create partitions (including the UEFI system partition).

Note: DFSee is still able to perform operations within a partition (e.g. finding lost files or editing binary data) because the GPT partitions are always read-write. However, what DFSee thinks it's seeing is the only partition on an MBR disk.

3
Setup & Installation / Re: Switch from CSM to UEFI
« on: November 01, 2024, 06:43:55 pm »
ArcaNoae offers a way to convert MBR to GPT via dfsan. [...] I already saw a menu entry in DFSee some time ago doing that.

When you select that menu entry in DFSee, the one-line help at the bottom of the screen says:
"Convert an MBR-style disk to an EMPTY GPT one [...]". In contrast, my tool takes an in-use MBR disk with up to 127 partitions and converts it in-place without the loss of a single byte of data. They're just not the same.

Quote
ArcaOS also comes with a simple GPT partition creation tool (PTE.exe I think).

I wrote PTE. It was intended to be a temporary GPT partition table editor for use until GPT support could be integrated into existing tools. I did so subsequently by adding GPT support to MiniLVM. As such, PTE is obsolete (though still functional) and should be removed from the distro.

4
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.

5
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.

6
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.

7
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

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

9
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.

10
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.

11
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.

12
> 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.

13
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.

14
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.

15
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.

Pages: [1] 2 3 ... 24