Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
42 user(s) are online (31 user(s) are browsing Forums)

Members: 0
Guests: 42

more...

Support us!

Headlines

Forum Index


Board index » All Posts (SOVA)




Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


@afxgroup

I am adding output from AudioClassID for Topping D10:

Available USB AudioStreaming interfaces:

Interface 
1Audio Playback
Manufacturer
:Topping
Product
:D10
Interface:D10 
VID 0x152A
PID 0x8750
USB Audio 
Class Compliance02.00

Available USB AudioStreaming interfaces
:

**************************
Next Interface**************************
++++++++++++
DeviceDesc++++++++++++
USBDESC_DEVICE (struct USBBusDevDsc *)
 
dd_USBVer=02.00
 dd_Class
=239
 dd_Subclass
=2
 dd_Protocol
=1
 dd_MaxPacketSize0
=64
 dd_VendorID
=152A
 dd_Product
=8750
 dd_DevVer
=1.2
 dd_ManufacturerStr
=1
  Topping
 dd_ProductStr
=3
  D10
 dd_SerialStr
=0
 dd_NumConfigs
=2
++++++++++++ConfigDesc++++++++++++
USBDESC_Configuration (struct USBBusCfgDsc *)
 
cd_TotalLength=284
 cd_Num_Interfaces
=3
 cd_ConfigID
=1
 cd_ConfigStr
=0
 cd_Attributes
=128
 cd_MaxPower
=(0 ma)
Unknown (type=0 length=720896)

USBDESC_Interface (struct USBBusIntDsc *)
 
id_InterfaceID=0
 id_AltSetting
=0
 id_NumEndPoints
=0
 id_Class
=1
 id_Subclass
=1
 id_Protocol
=32
 id_InterfaceStr
=3
Audio 
Interface (Header,9 bytes)
 
bcdADC=0200
 totalLength
=18440
 bInCollection
=0
 baInterfaceNr
[1]=0
Audio Control 
Interface (10)
Audio Control Interface (11)
Audio Interface (Input)
 
bTerminalId=2
 wTerminalType
=101
Streaming
 bAssocTerminal
=0
 bNrChannels
=40
 wChannelConfig
=2
Right Front    
 iChannelNames
=0
Audio 
Interface (Feature)
 
bUnitId=10
 bSourceId
=2
 bControlSize
=15
 bmaControls
[0]=0
 bmaControls
[1]=0
 bmaControls
[2]=0
 bmaControls
[3]=0
 bmaControls
[4]=0
 bmaControls
[5]=0
 bmaControls
[6]=0
 bmaControls
[7]=0
 bmaControls
[8]=0
 bmaControls
[9]=0
 bmaControls
[10]=0
 bmaControls
[11]=0
 bmaControls
[12]=0
 bmaControls
[13]=0
 bmaControls
[14]=75
 iFeature
=97
Audio 
Interface (Output)
 
bTerminalId=20
 wTerminalType
=301
Speaker
 bAssocTerminal
=0
 bSourceId
=10
 iTerminal
=28

USBDESC_Interface 
(struct USBBusIntDsc *)
 
id_InterfaceID=1
 id_AltSetting
=0
 id_NumEndPoints
=0
 id_Class
=1
 id_Subclass
=2
 id_Protocol
=32
 id_InterfaceStr
=4

USBDESC_Interface 
(struct USBBusIntDsc *)
 
id_InterfaceID=1
 id_AltSetting
=1
 id_NumEndPoints
=2
 id_Class
=1
 id_Subclass
=2
 id_Protocol
=32
 id_InterfaceStr
=4
Audio Streaming 
Interface (General)(struct AudioStreamIfcDsc*)
 
bTerminalLink=2
 bDelay
=0
 wFormatTag
=257
Type 1 Format type descriptor
(struct AudioDataT1FormatDsc*)
 
bFormatType=1
 bNrChannels
=4
 bSubframeSize
=32
 bBitResolution
=0
 bSamFreqType
=0
Continuously variable frequency
 Low Freq Limit is 0
 High Freq Limit is 0
USBDESC_Endpoint 
(struct USBBusEPDsc*)
 
ed_Address=1
 ed_Attributes
=(Isochronous)Audio Playback
 ed_MaxPacketSize
=392
 ed_Interval
=1
Audio Endpoint 
(General)(struct AudioDataEndpointDsc*)
 
Attributes=0
 bLockDelayUnits
=0
 wLockDelay
=200
USBDESC_Endpoint 
(struct USBBusEPDsc*)
 
ed_Address=129
 ed_Attributes
=17 (Isochronous)Audio Recording
 ed_MaxPacketSize
=4
 ed_Interval
=4

USBDESC_Interface 
(struct USBBusIntDsc *)
 
id_InterfaceID=1
 id_AltSetting
=2
 id_NumEndPoints
=2
 id_Class
=1
 id_Subclass
=2
 id_Protocol
=32
 id_InterfaceStr
=4
Audio Streaming 
Interface (General)(struct AudioStreamIfcDsc*)
 
bTerminalLink=2
 bDelay
=0
 wFormatTag
=257
Type 1 Format type descriptor
(struct AudioDataT1FormatDsc*)
 
bFormatType=1
 bNrChannels
=4
 bSubframeSize
=24
 bBitResolution
=0
 bSamFreqType
=0
Continuously variable frequency
 Low Freq Limit is 0
 High Freq Limit is 0
USBDESC_Endpoint 
(struct USBBusEPDsc*)
 
ed_Address=1
 ed_Attributes
=(Isochronous)Audio Playback
 ed_MaxPacketSize
=392
 ed_Interval
=1
Audio Endpoint 
(General)(struct AudioDataEndpointDsc*)
 
Attributes=0
 bLockDelayUnits
=0
 wLockDelay
=200
USBDESC_Endpoint 
(struct USBBusEPDsc*)
 
ed_Address=129
 ed_Attributes
=17 (Isochronous)Audio Recording
 ed_MaxPacketSize
=4
 ed_Interval
=4

USBDESC_Interface 
(struct USBBusIntDsc *)
 
id_InterfaceID=1
 id_AltSetting
=3
 id_NumEndPoints
=2
 id_Class
=1
 id_Subclass
=2
 id_Protocol
=32
 id_InterfaceStr
=4
Audio Streaming 
Interface (General)(struct AudioStreamIfcDsc*)
 
bTerminalLink=2
 bDelay
=0
 wFormatTag
=1
Type 1 PCM
Type 1 Format type descriptor
(struct AudioDataT1FormatDsc*)
 
bFormatType=1
 bNrChannels
=4
 bSubframeSize
=32
 bBitResolution
=0
 bSamFreqType
=0
Continuously variable frequency
 Low Freq Limit is 0
 High Freq Limit is 0
USBDESC_Endpoint 
(struct USBBusEPDsc*)
 
ed_Address=1
 ed_Attributes
=(Isochronous)Audio Playback
 ed_MaxPacketSize
=392
 ed_Interval
=1
Audio Endpoint 
(General)(struct AudioDataEndpointDsc*)
 
Attributes=0
 bLockDelayUnits
=0
 wLockDelay
=200
USBDESC_Endpoint 
(struct USBBusEPDsc*)
 
ed_Address=129
 ed_Attributes
=17 (Isochronous)Audio Recording
 ed_MaxPacketSize
=4
 ed_Interval
=4

USBDESC_Interface 
(struct USBBusIntDsc *)
 
id_InterfaceID=2
 id_AltSetting
=0
 id_NumEndPoints
=0
 id_Class
=254
 id_Subclass
=1
 id_Protocol
=1
 id_InterfaceStr
=10
Audio Device
++++++++++++InterfaceDesc++++++++++++

USBDESC_Interface (struct USBBusIntDsc *)
 
id_InterfaceID=1
 id_AltSetting
=0
 id_NumEndPoints
=0
 id_Class
=1
 id_Subclass
=2
 id_Protocol
=32
 id_InterfaceStr
=4


I hope, it helps a little.

Go to top


Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


@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
Just popping in
Just popping in


@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
Just popping in
Just popping in


@afxgroup

I have checked Topping D10 with driver, but it freeze the AHI prefs after click "play a test sound" button. New AHI USB device modes are available. I've checked also usb.log and DAC is initialized:

USB stack | New Fkt | Attached Fkt 0x6EB2C1F0 to hub Fkt 0x6FF91DC0 on port 4 (HCD "ehci.usbhcd" unit 0, level 2)
hub.usbfd | HUB | Device on hub port 4 attached as fkt 0x6EB2C1F0 (ifc 0x6F599AD0)
USB Fkt Init | Init Fkt | [fkt 0x6EB2C1F0] Fkt is {Vendor: 0x152A, Product: 0x8750, Class: 239.02}
USB Fkt Init | Init Fkt | [fkt 0x6EB2C1F0] Fkt ("Topping","D10","") initialized


Device is based on XMOS chip with Thesycon driver https://usb-ids.gowdy.us/read/UD/152a/8750

Now I have no possibility to check serial debug output.
New USB driver was tested on X5000/40 with AmigaOS 4.1 Update 3 and ES2.2.

Please let me know if I can help you more with testing.

Go to top


Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


Great news! Thank you afxgroup. I'll check this driver with 2 DACs TOPPING EX5 and Topping D10.

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@kas1e

Thanks for a prompt reply, Do I need special version of gcc to compile with pthread.h from OS4 SDK? Now I am using gcc 5.4.0 but compiler prints thread model: single. My project compiles and runs but I am afraid about impredictible behaviour.

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


Hi, which version of adtools gcc implements posix threads via pthread library? My project is linked against newlib.

Go to top


Re: Timberwolf RC2 available
Just popping in
Just popping in


Hello @All

I have crash on startup on sam440ep, but...
after I replaced libcairo.so from RC1 - Timberwolf RC2 starts without crash.

Greetings for Brothers

Go to top



TopTop




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project