Diretta ALSA drivers for Linux

Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
#1
  • ALSA Drivers installation on Ubuntu : here
  • ALSA Drivers available in Audiolinux : here
  • ALSA Drivers available on GentooPlayer : here
  • ALSA Drivers Parameters/Settings) : here
  • ALSA Drivers ThredMode explanations (Settings) : here
Répondre
#1
  • ALSA Drivers installation on Ubuntu : here
  • ALSA Drivers available in Audiolinux : here
  • ALSA Drivers available on GentooPlayer : here
  • ALSA Drivers Parameters/Settings) : here
  • ALSA Drivers ThredMode explanations (Settings) : here
Répondre
#2
Installation on Ubuntu Server 20.04 

1/ install Ubuntu Server 20.04
2/ connect to Ubuntu with the user credentials you created during the Ubuntu installation
3/ Install and use WinSCP under Windows to connect to Ubuntu (user credentials) and upload the Diretta ALSA drivers to /home/user directory
4/ update packages
Code :
# sudo apt update
# sudo apt dist-upgrade

 5/ install zstd package to unzip the drivers
Code :
# sudo apt install zstd

6/ unzip the drivers to the /opt folder (latest drivers : 104_8)
Code :
# sudo tar --use-compress-program=unzstd -xvf DirettaALSAdriver_0_104_8.tar.zst -C /opt/

7/ define the kernel use
Code :
# uname -r

8/ move to the right folder
Code :
# cd /opt/DirettaALSAdriver/driver

9/ compile the drivers into the kernel. Identify the kernel path (normally in /usr/src/...)
Code :
# sudo make KERNELDIR=/usr/src...
update /usr/src...with the right path

10/ insert the module in the kernel
Code :
# sudo modprobe snd_pcm
# sudo insmod ./alsa_bridge.ko

11/ check the alsabridge is well implemented
Code :
# sudo lsmod | grep alsa_bridge


12/ move the right folder, make files executable and copy the parameters file
Code :
chmod +x syncAlsa_x64
chmod +x direttaHost.sh
mv /opt/DirettaALSAdriver/setting.inf /etc/Diretta-profile.inf

13/ update the diretta_bridge_host.service as per below
Code :
# sudo nano opt/DirettaALSAdriver/diretta_bridge_host.service

14/ Update the diretta_bridge_driver.service as per below
Code :
# sudo nano /opt/DirettaALSAdriver/diretta_bridge_driver.service

15/ update the direttaHost.sh as per below
Code :
# sudo nano /opt/DirettaALSAdriver/direttaHost.sh

16/ move to the right directory and execute direttaHost.sh
Code :
# cd/opt/DirettaALSAdriver/
# sudo ./direttaHost.sh

17/ if everything went right, the alsa drivers should be visible inside your application (MPD, Roon, etc...). You can check if your target is well connected in USB with 
Code :
# aplay -l

18/ Normally no need to change anything on the network. From my side i just ensured the interfaces are just in DHCP with the following files in /etc/systemd/network
Code :
Installation  systemd-serviced instead of Network Manager
# sudo apt install network-manager
# sudo systemctl disable NetworkManager
# sudo systemctl stop NetworkManager
# sudo systemctl start systemd-networkd
# sudo apt remove NetworkManager

Code :
enp2s0f0.network file in /etc/systemd/network (my Diretta connection)

[Match]
Name=enp2s0f0
[Network]
DHCP=yes
LinkLocalAddressing=ipv6
#[DHCPv4]
# RouteMetric=2
Répondre
#2
Installation on Ubuntu Server 20.04 

1/ install Ubuntu Server 20.04
2/ connect to Ubuntu with the user credentials you created during the Ubuntu installation
3/ Install and use WinSCP under Windows to connect to Ubuntu (user credentials) and upload the Diretta ALSA drivers to /home/user directory
4/ update packages
Code :
# sudo apt update
# sudo apt dist-upgrade

 5/ install zstd package to unzip the drivers
Code :
# sudo apt install zstd

6/ unzip the drivers to the /opt folder (latest drivers : 104_8)
Code :
# sudo tar --use-compress-program=unzstd -xvf DirettaALSAdriver_0_104_8.tar.zst -C /opt/

7/ define the kernel use
Code :
# uname -r

8/ move to the right folder
Code :
# cd /opt/DirettaALSAdriver/driver

9/ compile the drivers into the kernel. Identify the kernel path (normally in /usr/src/...)
Code :
# sudo make KERNELDIR=/usr/src...
update /usr/src...with the right path

10/ insert the module in the kernel
Code :
# sudo modprobe snd_pcm
# sudo insmod ./alsa_bridge.ko

11/ check the alsabridge is well implemented
Code :
# sudo lsmod | grep alsa_bridge


12/ move the right folder, make files executable and copy the parameters file
Code :
chmod +x syncAlsa_x64
chmod +x direttaHost.sh
mv /opt/DirettaALSAdriver/setting.inf /etc/Diretta-profile.inf

13/ update the diretta_bridge_host.service as per below
Code :
# sudo nano opt/DirettaALSAdriver/diretta_bridge_host.service

14/ Update the diretta_bridge_driver.service as per below
Code :
# sudo nano /opt/DirettaALSAdriver/diretta_bridge_driver.service

15/ update the direttaHost.sh as per below
Code :
# sudo nano /opt/DirettaALSAdriver/direttaHost.sh

16/ move to the right directory and execute direttaHost.sh
Code :
# cd/opt/DirettaALSAdriver/
# sudo ./direttaHost.sh

17/ if everything went right, the alsa drivers should be visible inside your application (MPD, Roon, etc...). You can check if your target is well connected in USB with 
Code :
# aplay -l

18/ Normally no need to change anything on the network. From my side i just ensured the interfaces are just in DHCP with the following files in /etc/systemd/network
Code :
Installation  systemd-serviced instead of Network Manager
# sudo apt install network-manager
# sudo systemctl disable NetworkManager
# sudo systemctl stop NetworkManager
# sudo systemctl start systemd-networkd
# sudo apt remove NetworkManager

Code :
enp2s0f0.network file in /etc/systemd/network (my Diretta connection)

[Match]
Name=enp2s0f0
[Network]
DHCP=yes
LinkLocalAddressing=ipv6
#[DHCPv4]
# RouteMetric=2
Répondre
#3
hello,
I am unable to install Audiolinux Diretta alsa driver. When I tipe the YAY .... command I got the message : unable to Createhandle : could not find or read directory.
What can I do ?
Thanks
Répondre
#3
hello,
I am unable to install Audiolinux Diretta alsa driver. When I tipe the YAY .... command I got the message : unable to Createhandle : could not find or read directory.
What can I do ?
Thanks
Répondre
#4
I just tried again today and it works well. Some others also have done it without any issue. Are you under the "console mode" (#7) ?
Try to
- go to #5 INSTALL/UPDATE MENU and after update Menu (#1) to the latest one.
- go to #14 Update System and Update the system by typing the root password.
- type again the command "yay -Sy diretta-alsa-daemon diretta-alsa-dkms –noconfirm" and report the status.

If still a problem, i recommend to directly connect with Piero from Audiolinux as you should have a support with the licence.

Take care
Répondre
#4
I just tried again today and it works well. Some others also have done it without any issue. Are you under the "console mode" (#7) ?
Try to
- go to #5 INSTALL/UPDATE MENU and after update Menu (#1) to the latest one.
- go to #14 Update System and Update the system by typing the root password.
- type again the command "yay -Sy diretta-alsa-daemon diretta-alsa-dkms –noconfirm" and report the status.

If still a problem, i recommend to directly connect with Piero from Audiolinux as you should have a support with the licence.

Take care
Répondre
#5
Thank you to try to help me.
Perhaps I have a problem with the console mode. When I go to the mode I type YES and the windows closes. Than I go to the Qtreminal and type the command "yay.....
Is it right ?
Répondre
#5
Thank you to try to help me.
Perhaps I have a problem with the console mode. When I go to the mode I type YES and the windows closes. Than I go to the Qtreminal and type the command "yay.....
Is it right ?
Répondre
#6
Not sure to understand what is "mode I and type YES" : could you clarify perhaps with screen shots ?

when you are in the terminal/console the only thing to do is to type the following command yay -Sy diretta-alsa-daemon diretta-alsa-dkms –noconfirm

Seems that some errors can come from an old glbic library. Did you update the menu and the system as proposed in a previous post ?
Répondre
#6
Not sure to understand what is "mode I and type YES" : could you clarify perhaps with screen shots ?

when you are in the terminal/console the only thing to do is to type the following command yay -Sy diretta-alsa-daemon diretta-alsa-dkms –noconfirm

Seems that some errors can come from an old glbic library. Did you update the menu and the system as proposed in a previous post ?
Répondre
#7
GentooPlayer integrates the Diretta ALSA drivers : https://gentooplayers.com/News/
Répondre
#7
GentooPlayer integrates the Diretta ALSA drivers : https://gentooplayers.com/News/
Répondre
#8
Audiolinux official Partner of Diretta (here)
Répondre
#8
Audiolinux official Partner of Diretta (here)
Répondre
#9
Diretta Parameters used actually

[Image: 2022-01-30-Diretta-Parameters.jpg]
Répondre
#9
Diretta Parameters used actually

[Image: 2022-01-30-Diretta-Parameters.jpg]
Répondre


Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)