Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
71 user(s) are online (46 user(s) are browsing Forums)

Members: 0
Guests: 71

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2) 3 »
Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


See User information
Tried it with my HyperX Cloud Wireless USB headset I use for my PC and it did not work.

Current Amiga computers: Vampire V4-SA, A1-X5000/020, A1-X5000/040, MacMini PPC (MorphOS).
Go to top
Re: USB Audio driver for AmigaOS4
Amigans Defender
Amigans Defender


See User information
did you add VID and PID into prefs file? Can you send me the serial output?

i'm really tired...
Go to top
Re: USB Audio driver for AmigaOS4
Quite a regular
Quite a regular


See User information
@afxgroup

Thank you very much for your tireless work for Amiga!

1989-> A500, A600, A3000, A4000, A1200, CD32, µA1, PegII, A1XE, CDTV, Amy/416D79, A1X5000, Vampire 500 V2+, Vampire 600 V2, Amy-ITX, Denise ITX, Apollo V4SA, A1X5000/40 <-2026
Go to top
Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


See User information
@afxgroup

Which prefs-file? I used the installer... I can see that there is a USB option for audio in Sound preferences. I select any of the modes and try to play a test-sound... something happens in the UI indicating that it is doing that, but I hear no sound.

EDIT: And I do not know how to do a serial output. :)

Go to top
Re: USB Audio driver for AmigaOS4
Amigans Defender
Amigans Defender


See User information
first of all copy manually from the new installer 2.2 libusb-1.library into LIBS: because the current installer doesn't overwrite it.
In the installer there is a README how to create the audio card if it is not listed in card list. But you need to know VID and PID of the audio card. And to read serial output in a console execute DumpDebugBuffer

i'm really tired...
Go to top
Re: USB Audio driver for AmigaOS4
Home away from home
Home away from home


See User information
Gave it a try with my Zoom Q2 camera in USB microphone mode.

This offers three endpoints one Class1 and 2 Class 2 . The Class 1 shows as picked by the usbaudio.fdclass in USBInspector.

In AHI prefs however it doesn't seem to work.

Occasionally it offers a device with the wrong vendor ID though I cant read all of it it start with 04 whereas the actual id is 1686, occasionally just "Front" any attempt to play the test sound with whichever output eventually locks up the SAM.

Go to top
Re: USB Audio driver for AmigaOS4
Amigans Defender
Amigans Defender


See User information
Uhm.. i didn't try any camera/wireless adapters. Just sound cards. I'll try to find something to test. BTW. You should have a serial log. Can you send it to me?

i'm really tired...
Go to top
Re: USB Audio driver for AmigaOS4
Home away from home
Home away from home


See User information
Also tried with ,y AKAI MPX16 which has a USB audio interface as USB midi.

USB inspector shows that usbaudio.usbfd has attached to the Class 1 interface and camd to the Class 3


Nothing is shown in AHI prefs. Not even non worrking options....

Go to top
Re: USB Audio driver for AmigaOS4
Home away from home
Home away from home


See User information
@afxgroup

The ZoomQ2 can switch mode on startup. It either a webcam or a USB mic or SDCard reader when plugged in. I switched it to USB mic then rebooted. As long as the board SAM power is up it stays in the selected mode.

I will see if I can get serial logs later.

I'm probably trying fairly unconventional devices, but my only "plain" USB device is broken and doesn#t even power up.

Go to top
Re: USB Audio driver for AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@afxgroup

I was able to play test beep with v2.2.. Great progress.

On Sam460.. I tried running Settlers2 game

U-Green USB2.0 Sound Card - sound crackles a bit, occasional delays in playback
Cheap USB 8.1 Sound Card - sound crackles a bit, occasional delays in playback
Cheap USB 7.1 Sound Card - sound crackles a bit, occasional delays in playback
Behringer U-Phobia UM-2.. Locks up Sound Prefs and system. No sound.

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: USB Audio driver for AmigaOS4
Quite a regular
Quite a regular


See User information
Same as SinanSam460, sound crackles a bit, occasional delays in playback.

Sam460, SABRENT USB to AUX Adapter, External USB Sound Card with 3.5mm Jack for Headphones & Mic, Plug & Play Stereo Converter for PC, Mac, PS5, Steam Deck, Laptop (AU-MMSA)

https://www.amazon.co.uk/dp/B00IRVQ0F8 ... yo2ov_dt_b_fed_asin_title

Tested using AmigaAMP, DvPlayer and Emotion.

Cheers

Go to top
Re: USB Audio driver for AmigaOS4
Amigans Defender
Amigans Defender


See User information
I can't work this weekend on audio driver since I'm working on something else. Next week I'll try to reproduce the crackling sounds.
Thank you!

i'm really tired...
Go to top
Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


See User information
@afxgroup
Another fantastic work from you, thank you so much!

I've ordered this CSL card and will do some testing with my Sam460LE once it arrives :)

@sailor
Quote:
It is not only driver - it also means one free slot in Sam460LE !

Exactly!

One of many...
Go to top
Re: USB Audio driver for AmigaOS4
Amigans Defender
Amigans Defender


See User information
A new driver is available (version 2.3). You should be able to play correctly now on almost all platforms. Changelog:

BOOT SAFETY
------------

The driver is safe to have installed with a USB audio device permanently
connected. All USB access is deferred until the first actual playback
request (AHIsub_AllocAudio). Before scanning, the driver waits for the
Sirion USB stack to signal USBNM_TYPE_STACKFULLBOOTED, ensuring the
stack has fully initialised and all USB function drivers have completed
their setup. A 5-second timeout prevents indefinite hangs if the stack
was already booted before the notification subscription.


CONCURRENT ACCESS
-----------------

USB audio is exclusive: only one playback stream can use the isochronous
endpoint at a time. If another application (e.g. a music player) is
already playing through the USB audio device, a new AHI session (e.g.
AHI Prefs test tone) will be refused gracefully — the running playback
is never interrupted.


DEVICE HOT-REMOVAL
------------------

If the USB audio device is physically unplugged during playback or
recording, the driver detects the loss (consecutive fatal USB errors)
and stops the playback/recording process cleanly. No system hang or
crash will occur.


There are some problems on Input and Output but I think this is because the USBAUDIO audio mode that should be generated at runtime. I will check this.
Enjoy

i'm really tired...
Go to top
Re: USB Audio driver for AmigaOS4
Quite a regular
Quite a regular


See User information
@afxgroup

Yeah that fixed it for me.
No more crackle or delay.
Very quick work.

Cheers

Go to top
Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


See User information
@afxgroup

I have tested new 2.3 version with Topping D10 DAC, now In Sound Prefs test audio sound don't freeze prefs but sound is crackled.
So partially better. Here are the logs from usb and dump:

DropBox Transfer

Thank you very much for progress!

Go to top
Re: USB Audio driver for AmigaOS4
Amigans Defender
Amigans Defender


See User information
Check that libraries are copied correctly over the old one.. Just in case.
And test also all audio modes.
And remember me which machine are you using

i'm really tired...
Go to top
Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


See User information
@afxgroup

all modes checked only 7.1 excluded. The same effect. lib checked and copied successfully.My machine is AmigaOne X5000/40.

Go to top
Re: USB Audio driver for AmigaOS4
Quite a regular
Quite a regular


See User information
@afxgroup
I've been testing your driver on QEMU (PEG2/A1) for several versions now.
I tested the “-device usb-audio” option for QEMU, and in a second test, I passed the hardware through “qemu usb passthrough”.
Bus 001 Device 007: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter

I replaced the libraries as you suggested. For “-device usb-audio,” I added an entry in USBAudio.prefs
In the logs, everything looks like it’s initializing correctly.
There’s a noticeable slowdown in the system/programs, and there’s no sound.
I’m waiting for someone with a PEG2/A1 to let me know if the driver works on that hardware.
If it works for them, I’ll let you know (send a log) if you’re interested in the issue for QEMU.
The -device usb-audio driver is used for MacOS (PPC) emulation, and as far as I know, it works well there.

Thank you for your work

Go to top
Re: USB Audio driver for AmigaOS4
Just can't stay away
Just can't stay away


See User information
@smarkusg
QEMU -device usb-audio works for MacOS 9 now after fixing an issue with OHCI emulation but it seems Mac OS X needs another fix which wasn't submitted to QEMU. Pegasos has EHCI so it does not affect that but I'm not sure usb-audio emulation is complete enough for everything. It does not seem to work with MorphOS either. Have you tested that the same work with Linux guest before trying to debug the AmigaOS driver? Testing with a passed through device might be better. Does it work with passing through real USB audio device?

Go to top

  Register To Post
« 1 (2) 3 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
8 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project