#How to use SPDIF (Toslink)
200 messages · Page 1 of 1 (latest)
open Sound settings, first tab is Outputs. choose s/pdif from the output modes
iff it doesn't appear there, show result of inxi -SMAxxx here
it does show up with the addition of USB audio ? Everything looks normal but there is still no sound
Megatrends LLC. v: 2.A40 date: 06/19/2025
Audio:
Device-1: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:22bc
class-ID: 0403
Device-2: AMD Rembrandt Radeon High Definition Audio
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
lanes: 16 bus-ID: 0d:00.1 chip-ID: 1002:1640 class-ID: 0403
Device-3: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
bus-ID: 0d:00.6 chip-ID: 1022:15e3 class-ID: 0403
Device-4: Micro Star USB Audio driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-5:3 chip-ID: 0db0:cd0e
class-ID: 0300
Device-5: Logitech C920 HD Pro Webcam driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 7-1.4:5
chip-ID: 046d:0892 class-ID: 0102 serial: CF5F00EF
API: ALSA v: k6.17.0-29-generic status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Device-4: Micro Star USB Audio driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-5:3 chip-ID: 0db0:cd0e
class-ID: 0300
this is a mic?
.
no I got no mic. Maye the one in my Webcam?
I unplugged everything besides my speakers now: Audio:
Device-1: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:22bc
class-ID: 0403
Device-2: AMD Rembrandt Radeon High Definition Audio
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
lanes: 16 bus-ID: 0d:00.1 chip-ID: 1002:1640 class-ID: 0403
Device-3: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
bus-ID: 0d:00.6 chip-ID: 1022:15e3 class-ID: 0403
Device-4: Micro Star USB Audio driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-5:3 chip-ID: 0db0:cd0e
class-ID: 0300
API: ALSA v: k6.17.0-29-generic status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
inxi -SMx
MSI has some weird usb soundcard in it to handle the front or the rear ports, in addition to Family 17h card
you have to explain it for beginners. Im really new to this. Wath should I do? 😅
type this precisely as shown into terminal, and show result.
compiler: gcc v: 13.3.0
Desktop: Cinnamon v: 6.6.7 Distro: Linux Mint 22.3 Zena
base: Ubuntu 24.04 noble
Machine:
Type: Desktop Mobo: Micro-Star model: MAG B850 TOMAHAWK MAX WIFI (MS-7E62)
v: 2.0 serial: <superuser required> UEFI: American Megatrends LLC. v: 2.A40
date: 06/19/2025
JohPC Kernel: 6.17.0-30-generic arch: x86_64 bits: 64
compiler: gcc v: 13.3.0
Desktop: Cinnamon v: 6.6.7 Distro: Linux Mint 22.3 Zena
base: Ubuntu 24.04 noble
Machine:
Type: Desktop Mobo: Micro-Star model: MAG B850 TOMAHAWK MAX WIFI (MS-7E62)
v: 2.0 serial: <superuser required> UEFI: American Megatrends LLC. v: 2.A40
date: 06/19/2025
ok that's pretty recent kernel as far as Mint can go
sudo apt install pavucontrol && pavucontrol please
then show its configuration (5th) tab
use the included screenshot tool for WINDOW MODE screenshots
you speak german? It translates to: pavucontrol is on the newes version, 0 renewed, 0 installed, 0 to remove and 0 not renewed
can you unplug the webcam please.
also too much space wasted in those pics.
and makes it hard to see
resize the window just big enough to show 5 tabs
like this?
then redo screenshot with webcam out
still no good
resize window
i dont need to see so wide
Just enough for 5 tabs to show horizontally
and enough be shaped like a square
^ proper way to show a screenshot
did u unplug webcam?
how are they connected? 3.5 mm stereo analog?
to the PC? just with a Toslink cable
oh
ok just so you know, nvidia and rembrandt are the video cards. this is only applicable for HDMI or Display Port sound to TV
run up a terminal
do alsamixer
and maximize the window
then press F6 and choose the USB sound
ok, did that
show screenshot of the alsamixer now
ok, did that
hm
press Escape key
see if you get digital sound audible now
from the digital PCM
the only problem is I didn't see s/pdif column
run alsamixer again. press F6 and choose the other sound card.
Device-3: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
bus-ID: 0d:00.6 chip-ID: 1022:15e3 class-ID: 0403
it may say realtek or something
I just got NVidia and 2 "Generic"
press enter or space
see if first column changes at all
or up/down arrow
oh nevermind
nop. I can just highlite it in red
that's AMD Graphics card
u can see in top left
so in F6, u only have usb , nvidia, and generic?
yes NVidia, 2 gerneric and USB. Ill show you
I dont know why there is a USB Audio. No USB is pluged in
so choose default: 1 . which one did you last show me?
I showed you default 1
show default: 2 then
it's some internal thing i said. for front and back ports
Hard to translate give me a sec
This sound dives has no adjustment
do you still have nobara on live usb?
No. I had to make space for Mint :/
with nobara it was just plug and play
but for now, can you use HDMI output to surround sound amplifier?
hdmi can carry multichannel digital surround sound
my speakers have toslink and 6 Chancel but no HDMI input 😅
but I think i can use the generic AUX but than its just stereo
inxi -SMGxxx
System:
Host: Johannes-PC Kernel: 6.17.0-30-generic arch: x86_64 bits: 64
compiler: gcc v: 13.3.0 clocksource: tsc
Desktop: Cinnamon v: 6.6.7 tk: GTK v: 3.24.41 wm: Muffin v: 6.6.3 vt: 7
dm: LightDM v: 1.30.0 Distro: Linux Mint 22.3 Zena base: Ubuntu 24.04 noble
Machine:
Type: Desktop Mobo: Micro-Star model: MAG B850 TOMAHAWK MAX WIFI (MS-7E62)
v: 2.0 serial: <superuser required> uuid: <superuser required> UEFI: American
Megatrends LLC. v: 2.A40 date: 06/19/2025
Graphics:
Device-1: NVIDIA AD104 [GeForce RTX 4070 Ti] vendor: Micro-Star MSI
driver: nvidia v: 595.71.05 arch: Lovelace pcie: speed: 2.5 GT/s lanes: 16
ports: active: none off: DP-2 empty: DP-1,DP-3,HDMI-A-1 bus-ID: 01:00.0
chip-ID: 10de:2782 class-ID: 0300
Device-2: AMD vendor: Micro-Star MSI driver: amdgpu v: kernel pcie:
speed: 16 GT/s lanes: 16 ports: active: none empty: DP-4, DP-5, DP-6,
HDMI-A-2, Writeback-1 bus-ID: 0d:00.0 chip-ID: 1002:13c0 class-ID: 0300
temp: 39.0 C
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: amdgpu,nvidia unloaded: fbdev,modesetting,nouveau,vesa dri: radeonsi
gpu: nv_platform,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 92 s-size: 707x393mm (27.83x15.47")
s-diag: 809mm (31.85")
Monitor-1: DP-2 note: disabled model: AOC Q32G1WG4 serial: 19169
res: 2560x1440 dpi: 93 size: 697x393mm (27.44x15.47") diag: 800mm (31.5")
modes: max: 2560x1440 min: 640x480
API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
drv: nvidia device: 1 drv: radeonsi device: 3 drv: swrast gbm:
drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
inactive: wayland,device-2
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 595.71.05
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4070 Ti/PCIe/SSE2
API: Vulkan v: 1.3.275 layers: 9 surfaces: xcb,xlib device: 0
type: discrete-gpu driver: N/A device-ID: 10de:2782 device: 1
type: integrated-gpu driver: N/A device-ID: 1002:13c0 device: 2 type: cpu
driver: N/A device-ID: 10005:0000
and the rest
It was to long for discord ...
ok what you can do since this nvidia driver should work with kernel 7, is get the mainline stable kernel 7.0.10
but first. do Timeshift
have you created a system snapshot with it yet?
No I build a new PC yesterday and switched to Linux with the new PC
ok do timeshift.
wont take long
this is nvme drive
save snapshots on /dev/nvme0n1p2
rsync mode
where can I do a Timeshift?
found it
this makes a backup of the core system state as it is right now
I made one ... I think ... 🙂
afterwards, i'll help u set up kernel 7... which should work for the soundcard for digital optical
when?
just now. It took like 10 sec
show main window of timeshift plz
ok. capital O means 'on-demand' (manually forced)
click the comment field beside that one
put Pre- linux kernel 7
then u can close it
Step 1: Install Mainline Kernels Tool
Because Linux Mint relies on stable LTS and HWE kernels vetted by their team, you need a community tool to grab the bleeding-edge upstream kernels.
Open your Terminal. Add the Mainline PPA by running:
sudo add-apt-repository ppa:cappelikan/ppa
sudo apt updateInstall the Mainline Kernels tool:
sudo apt install -y mainline
ok, did that
Step 2: Download and Install Kernel 7.0.10
Open the Mainline Kernels application from your Mint application menu. Allow the tool to sync with the kernel archives. Scroll through the list and select (7.0.10). Click the Install button. Wait for the download and configuration process to finish.
Step 3: Reboot and Verify
Reboot your computer. Once booted back into the desktop, open the Terminal and type the following to verify the new version is active:
uname -r
i would also say to check inxi -SG
to ensure nvidia driver is still same (ver. 595)
just need to finde the applications menu. I bet it has a different name for me
(start menu)
where can I download the Kernel?
show the tool , by screenshot
I dont see the 7.0.10 version
cannot show 7.0.10 ?
no. newest is 7.0.9
open the 'system administration' app
thats for inxi -SG : System:
Host: Johannes-PC Kernel: 6.17.0-29-generic arch: x86_64 bits: 64
Desktop: Cinnamon v: 6.6.7 Distro: Linux Mint 22.3 Zena
Graphics:
Device-1: NVIDIA AD104 [GeForce RTX 4070 Ti] driver: nvidia v: 595.71.05
Device-2: AMD driver: amdgpu v: kernel
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: amdgpu,nvidia unloaded: fbdev,modesetting,nouveau,vesa dri: radeonsi
gpu: nv_platform,nvidia,nvidia-nvswitch resolution: 2560x1440
API: EGL v: 1.5 drivers: kms_swrast,nvidia,radeonsi,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 595.71.05
renderer: NVIDIA GeForce RTX 4070 Ti/PCIe/SSE2
API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlib
ya nothing changed yet
turn on top switch to show menu. and put timeout to 8
save and restart
then pick "mint advanced options' from this black menu when ur pc restarts early on, and boot from linux image 7.0.09 if it is found there
@wheat tangle hi friend. Would you know how to make this recognize kernel 7?
I try that
do you see Mint Advanced options?
yes I did
and...
.
was there or not?
Kernel install may have failed if the nvidia dkms didn't compile
I checked again. No there is not
I think I just use standart AUX for now thats just stereo but its fine
how would they do it then? switch to nouveau first?
Have to remove the nvidia-dkms and then install the 7.0 kernel and some of those might not work because of some self test failures on Ubuntu mainline kernels
hm
the whole point was to get 7 to see if optical jack works
maybe 6.18 would work idk
creazy thing is with Nobara it was no problem at all and I am really new at this stuff
But I really really aprechiate your help!
because uses different kernel
probably 7.x
u can use Debian SID, or Fedora KDE too
which have more modern linux kernel
The 7.0 kernels are in nobel-proposed repos but I don't know if there are newer Nvidia drivers yet
so you guys think it will be fixed soon? I can life with stereo for a while
december. new mint 23. will require probably a reinstall.
or use Ubuntu 26.04 Cinnamon.
u can do that right now. . it uses kernel 7
alright. For now I will wait. I want to try out my new PC and all the Linux stuff for a while not ceep beeing stuck with toslink 😂
Thanks again for your help! Do I need to reset anything bec of wath we did?
you can restore the snapshot you made.
just restart and load that version?
yes
open timeshift, click "restore" and pick last version i had u make