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 - Pete

Pages: [1] 2 3 ... 90
1
Hardware / Re: Report Your Working ArcaOS-OS2 Hardware Month
« on: November 02, 2024, 04:29:09 am »
Hi Martin

Looking at https://www.os2world.com/wiki/index.php?title=Dell_Slim_Soundbar_SB521A I think you need to correct the "with Netlabs' USB Drivers" to something like "with Netlabs' USB Drivers - latest versions are usually found at https://www.hobbesarchive.com/?search=usbdrv".

Reasons: Earlier Netlabs (Lars) build, v10.250, did not work and the Netlabs page only links to https://hobbesarchive.com/ rather than the location of the latest package - just trying to make it easy for people to find the working drivers.


Regards

Pete

2
Programming / Re: [SDL2] SDL_ListModes and emulation
« on: November 02, 2024, 04:05:03 am »
Hi Lars

Installed the sdl2*.dll files from SDL2_2-0-4_2020-09-07 which work at least as well as the SDL2_2-0-4_20160225 files they replaced.
Going by file sizes and dates only sdl2.dll has changed.


Regards

Pete

3
Hardware / Re: Report Your Working ArcaOS-OS2 Hardware Month
« on: November 02, 2024, 01:13:06 am »
Hi Martin

I have been told that the following line in the lsusb output indicates that it is a USB1.0 device so uses USBAUDIO.SYS
   bcdADC = 1


Regards

Pete

4
Hardware / Re: Report Your Working ArcaOS-OS2 Hardware Month
« on: November 01, 2024, 07:36:59 pm »
Hi Martin

Following USB Audi driver updates available from Lars - not sure if they are actually available for download yet - I can report my Dell Slim Soundbar SB521A - https://www.dell.com/en-uk/shop/dell-slim-soundbar-sb521a/apd/520-aasi/pc-accessories - works when plugged into a USB2 port on my system box.
It does not work when plugged into a USB3 port or when using the AN supplied USBAUDIO-12.16 driver.


The lsusb output for this soundbar:-
Code: [Select]
Bus 002 Device 002: ID 413c:a510 Dell Computer Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x413c Dell Computer Corp.
  idProduct          0xa510
  bcdDevice            2.06
  iManufacturer           3
  iProduct                1
  iSerial                 2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0080
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4 DELL Slim Soundbar SB521A
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0
      iInterface              6 DELL Slim Soundbar SB521A
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x003a
        bInCollection           1
        baInterfaceNr(0)        1
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID            14
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0
        iTerminal              18 Speaker
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID            15
        wTerminalType      0x0301 Speaker
        bAssocTerminal         14
        bSourceID               4
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                16
        bSourceID              14
        bControlSize            2
        bmaControls(0)     0x0003
          Mute Control
          Volume Control
        bmaControls(1)     0x0000
        bmaControls(2)     0x0000
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                15
        bDescriptorType        36
        bDescriptorSubtype      8 (EXTENSION_UNIT)
        bUnitID                 4
        wExtensionCode     0x0bda
        bNrInPins               1
        baSourceID(0)          16
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0
        bControlSize            1
        bmControls(0)        0x01
        iExtension              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink          14
        bDelay                  1 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           3
        bBitResolution         24
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x07  EP 7 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0150  1x 336 bytes
        bInterval               4
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Regards

Pete

5
Programming / Re: [SDL2] SDL_ListModes and emulation
« on: November 01, 2024, 01:16:01 am »
Hi David

Yes, have the latest of those already, Thanks. They work.


Regards

Pete

6
Programming / Re: [SDL2] SDL_ListModes and emulation
« on: October 31, 2024, 08:28:45 pm »
Hi Lars

I deleted the sdl2*.dll files that starfighter definitely uses and updated SDL2 to 2.28.1-1 then tried running Starfighter.
Result: Error window displayed stating Cannot start J:\Games.eCS\StarFighter\starfighter.exe ...

Dropped starfighter.exe onto the PMdll object which shows starfighter needs the following files to run
sdl2.dll
sdl2mix.dll
sdl2img.dll

The above are not included in SDL2 2.28.1-1
Maybe you already have those somewhere on the libpath? - Or am I missing some sort of "forwarder" dll file where calls to sdl2*.dll files get passed to sdl2200.dll?


Regards

Pete




7
Programming / Re: [SDL2] SDL_ListModes and emulation
« on: October 30, 2024, 03:11:43 pm »
Hi Mentore

I have not played any ZX Spectrum games in many years, would not mind having another go at pacman as I think the Speccy version was the best.

Starfighter (downloaded from hobbes) is an SDL2 game that runs in a window so SDL2 for OS/2 should not be fullscreen only.

However, Starfighter does not work with SDL2 files installed by ANPM - currently at 2.0.18-3 -   but requires an earlier package http://hobbes.nmsu.edu/download/pub/os2/dev/SDL2-2.0.4-20160225.zip in order to run.

So, I guess the question is: Are you using the right variant of SDL2?


Regards

Pete





8
Hi Lars

The SDL package in use is SDL-1.2.15-5.oc00.pentium4.rpm (from netlabs-rel) which provides the sdl120.dll required by dosbox074_2020-11-04.wpi which seems to be the latest release.

No response to my email to Jochen


Regards

Pete

9
Hi Dave

I did think of that but it seems SNAP needs to be installed for the SNAP dependency as just having sddhelp.sys loading in config.sys results in:-

J:\GAMES.ECS\SDLVERSIONS\SDLINVADERS>sdlinvaders.exe

SDLInvaders Version 0.8.0

[SNAP_Initialize] : Initializing...
[SNAP_ThreadFunc] : Starting...
[SNAP_ThreadFunc] : Calling DosSetPriority!
[SNAP_ThreadFunc] : Calling WinInitialize!
[SNAP_ThreadFunc] : Calling WinCreateMsgQueue!
[SNAP_ThreadFunc] : Calling GA_loadDriver!
[SNAP_ThreadFunc] : Could not load graphics driver!
[SNAP_Initialize] : SNAP-Thread could not initialize itself!
[FSLib_Initialize] : Could not initialize SNAP!
[os2fslib_CreateDevice] : Could not initialize FSLib!
Unable to initialize SDL: No available video device

J:\GAMES.ECS\SDLVERSIONS\SDLINVADERS>


Other sdl games briefly flash what is probably the above message before closing the window containing the message.


Regards

Pete

10
Hi All

I can confirm that the only sdl2 game I have installed plays sound using Lars usb audio driver packages.
I have several sdl games installed but cannot test with them as they all need snap installed to run...


Regards

Pete

11
Hi Lars

I tried the mmpm2.ini change you suggested but, sorry to say, it made no difference.

Happy to do the "guinea pig" bit but, as Dave says, dosbox is not a dos vdm which may make you rethink your idea(s).

I have emailed Jochen - dosbox porter - to get his input but I think dosbox "fakes" a soundcard then routes any sound to the host os sound driver for processing. Hopefully Jochen will clarify the way it works.


@Dave
Still have my last ISA soundcard boxed somewhere: AWE32 P'n'P which I seem to recall had drivers/software for DOS, Win16/95 and OS/2 - including midi - and worked very well.
The end of ISA was when I stopped bothering installing DOS/Win16 support - only needed it to play a few games which play better with sound support - dosbox and uniaud to the rescue  :-)


Regards

Pete



12
Hi Lars

The AN build is

 ::::::@@USB Audio Driver (c) 2024 Arca Noae LLC
Vendor:          Arca Noae LLC
Revision:        12.16
Date/Time:       15 Jul 2024 12:50:13


Progress report on soundbar and your latest USB audio packages:-

I uninstalled both USB Enhanced packages and the AN driver.

Installed the audio packages from usbdrv251_2024_08_04.zip

Rebooted with soundbar plugged into a usb3 port which had the same sort of results as when trying the AN driver package - startup sound did not complete and other system sounds were wrong.

Plugging the soundbar into a usb2 port (via usb2 extension lead) results in sound working properly - except startup sound which I discovered over several reboots sometimes plays OK but usually it is truncated. Yes, the mmfix.exe line is in config.sys.

System sounds play OK, volume adjustments work OK in both Sound and Volume apps

Sound seems to be working well with the apps I have tried: vlc/2, (s)mplayer, "os/2 games"

Sound no longer works from dos games running in dosbox which "fakes" a soundblaster (sb16) for dos games to use which has always worked well when using the uniaud driver.
Anyone know if dos games can output sound in a standard (os/2 supplied/installed) dos environment using a usb soundbar? - don't have dos/win16 installed here.


So, happy to report your latest usb audio driver packages work well when usb soundbar is plugged into a usb2 port except for the startup sound. Not sure if sound from dos games running in dosbox should work with the usb soundbar and driver packages...


Thanks

Pete


13
Hi Lars

Thanks for looking into this for me.

The MMPM2.INI file is attached as MMPM2.INI.txt for your perusal.

Current results with the Enhanced USB Audio packages installed is no sound output regardless of whether the soundbar is plugged into a usb3 or usb2 port. Opening System Setup -> Sound I can select a sound but clicking Play results in no noise.


Possibly of interest - simply because it shows sound should be possible:
If I delete the usbaudio.sys file and replace it with the version from USBAUDIO-12.16.exe following a reboot the Startup sound plays but does not complete and attempting to play any other sound results in various noises, system sounds play like they are "speeded up" and get worse with every attempt - timing problem maybe?

I rebooted with the soundbar plugged into a usb2 port. Startup sound does not complete, System Setup -> Sound plays the selected sound but Volume is stuck on 100% ie lowering the volume does not lower volume of sound.
I tried Klondike Solitaire which played a "dealing sound" for the 1st card then displayed "No connection found" for the rest, then hung until closed, Mahjongg works on 1st tile selected but displays "No connection found" when clicking on a matching tile then simply does not play sound or display the message again for further tile clicks - at least it does not hang.
Sound does not work in dosbox.
Sound does work with mplayer and vlc/2 - and volume control works with both apps.


So, with the Enhanced USB Audio packages installed but the usbaudio.sys file replaced by the usbaudio.sys file from USBAUDIO-12.16.exe we have some success.

However, if I Uninstall the Enhanced USB Audio packages and Install the USBAUDIO-12.16.exe files properly after a reboot there is no sound from either usb2 or usb3 ports with USB Wave selected.


Regards

Pete


14
Hi Lars

I used the Programs -> Multimedia -> Multimedia Installer to select and Install both the Enhanced USB Audio packages from the ArcaOS5.1 iso file, mmpm2.ini looks fine with sections for WMBWAVEUSB01, WMBWAVE2USB01 and
[defaultnames]
 Waveaudio=WMBWAVEUSB01
 Ampmix=WMBAMPMIXUSB01


The lsusb output for this soundbar:-

Bus 002 Device 002: ID 413c:a510 Dell Computer Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x413c Dell Computer Corp.
  idProduct          0xa510
  bcdDevice            2.06
  iManufacturer           3
  iProduct                1
  iSerial                 2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0080
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4 DELL Slim Soundbar SB521A
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0
      iInterface              6 DELL Slim Soundbar SB521A
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x003a
        bInCollection           1
        baInterfaceNr(0)        1
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID            14
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0
        iTerminal              18 Speaker
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID            15
        wTerminalType      0x0301 Speaker
        bAssocTerminal         14
        bSourceID               4
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                16
        bSourceID              14
        bControlSize            2
        bmaControls(0)     0x0003
          Mute Control
          Volume Control
        bmaControls(1)     0x0000
        bmaControls(2)     0x0000
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                15
        bDescriptorType        36
        bDescriptorSubtype      8 (EXTENSION_UNIT)
        bUnitID                 4
        wExtensionCode     0x0bda
        bNrInPins               1
        baSourceID(0)          16
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0
        bControlSize            1
        bmControls(0)        0x01
        iExtension              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink          14
        bDelay                  1 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           3
        bBitResolution         24
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x07  EP 7 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0150  1x 336 bytes
        bInterval               4
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)


Regards

Pete

15
Hi Rich

Glad your setup works for you - gives me hope  :-)

The soundbar is made as an accessory for my monitor and is supplied with a very short captive usb(3? - internal colour is blue) lead which plugs into any of the 4 usb3 ports built into the monitor. The monitor's usb3 hub is connected to the system box using a usb3 lead into a usb3 port.

I tried plugging the soundbar into the system box usb2 ports, doublechecked USB Adapter Wave was set as Default Waveaudio device and Rebooted - no sound. Yes, the usb2 ports are known to work as they are located at front of box and get used for flash drive access frequently.

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.

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

Opening Sound I see the Current scheme has gone missing (shows <none>) but selecting a selecting a sound always ends up with a \desktop\ sound.

Sadly the sound produced when Play is clicked on any selected sound is definitely not the noise intended.

Do I need to "clean up" the mmos2 setup? - I have the files from the Enhanced USB audio packages installed although I am not using the drivers from the package.

Should I MInstall the USBAUDIO-12.16 files?

Or is this a case of opening a ticket an AN?


Thanks for your thoughts

Pete




Pages: [1] 2 3 ... 90