I have setup a dual boot Tumbleweed/Windows11 system on my computer, all managed by Grub2 of course. As a DAC/Amp I have a Magni-Modi setup from schiit audio, which has been going strong for years without issues.
Everything is going smoothly except for one thing. When I first boot my PC, if I boot into tumbleweed the audio straight up is not recognized until I reboot the pc and if I first boot on Windows the audio does a constant popping sound for minutes until it magically recognizes the USB DAC and then works flawlessly.
The DAC does not appear even in the device manager until the popping stops and Tumbleweed does not see the USB device being mountable until rebooted.
What can I do? I “need” to dual boot because I tried gaming on tumbleweed but I have an Nvidia GPU and it has given me tons of headaches and I don’t have an iGPU on my CPU so I can’t do an easy KVM.
As I understand the device is connected via USB. Based on that:
Is the device separately powered or powered via USB?
Can you boot without the device connected via USB, execute on the console “dmesg --follow”, give some enters to create some blank lines and connect the device via USB.
Share here everything that is printed out after to empty lines.
You do know that electronics do eventually die? Your post makes it pretty clear it’s not that it’s not working on Linux, it’s starting to not work properly at all. I would be looking at replacing a device that was starting to behave as you’re describing.
Have you tried unplugging the USB and inserting it into a different port and seeing if that gets Linux to recognize it instead of just rebooting.
[ 289.093514] [ T980] usb usb1-port7: Cannot enable. Maybe the USB cable is bad?
[ 290.056819] [ T980] usb usb1-port7: Cannot enable. Maybe the USB cable is bad?
[ 290.059061] [ T980] usb usb1-port7: attempt power cycle
[ 291.093459] [ T980] usb usb1-port7: Cannot enable. Maybe the USB cable is bad?
[ 292.063432] [ T980] usb usb1-port7: Cannot enable. Maybe the USB cable is bad?
[ 292.065673] [ T980] usb usb1-port7: unable to enumerate USB device
I do know electronics eventually die, but, since this problem appeared right after doing the dual boot setup and I have had this DAC-AMP setup for around 3 to 4 years, Occam’s razor tells me that the problem is that instead of the DAC itself.
Now, given dmesg tells me that it cannot enable usb1-port7, I will try changing ports and then changing the cable to rule out those issues.
After changing the usb port on the PC side, the dmesg --follow output says this:
[ 578.786190] [ T1730] usb 7-1: new high-speed USB device number 4 using xhci_hcd
[ 578.936057] [ T1730] usb 7-1: New USB device found, idVendor=0d8c, idProduct=0066, bcdDevice= 1.06
[ 578.936061] [ T1730] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 578.936064] [ T1730] usb 7-1: Product: Schiit Modi 3
[ 578.936066] [ T1730] usb 7-1: Manufacturer: Schiit Audio
[ 578.967149] [ T1730] hid-generic 0003:0D8C:0066.0008: No inputs registered, leaving
[ 578.967245] [ T1730] hid-generic 0003:0D8C:0066.0008: hidraw7: USB HID v1.00 Device [Schiit Audio Schiit Modi 3] on usb-0000:0c:00.3-1/input2
So it might be a bad usb port on my PC? I hope not. I will see with future reboots if the problem persists, if it does I will try changing the usb cable and then doing some further testing.
This is the day later, the audio is again not being recognized at startup, this is the output of dmesg --follow while changing USB ports on the pc side.
[ 51.550748] [ T142] usb usb1-port7: Cannot enable. Maybe the USB cable is bad?
[ 52.510722] [ T142] usb usb1-port7: Cannot enable. Maybe the USB cable is bad?
[ 52.512961] [ T142] usb usb1-port7: attempt power cycle
[ 53.544028] [ T142] usb usb1-port7: Cannot enable. Maybe the USB cable is bad?
[ 54.504001] [ T142] usb usb1-port7: Cannot enable. Maybe the USB cable is bad?
[ 54.506230] [ T142] usb usb1-port7: unable to enumerate USB device
[ 101.022745] [ T443] usb usb7-port1: Cannot enable. Maybe the USB cable is bad?
[ 101.916055] [ T443] usb usb7-port1: Cannot enable. Maybe the USB cable is bad?
[ 101.916097] [ T443] usb usb7-port1: attempt power cycle
[ 102.882694] [ T443] usb usb7-port1: Cannot enable. Maybe the USB cable is bad?
[ 103.776004] [ T443] usb usb7-port1: Cannot enable. Maybe the USB cable is bad?
[ 103.776042] [ T443] usb usb7-port1: unable to enumerate USB device
[ 114.009063] [ T142] usb usb1-port5: Cannot enable. Maybe the USB cable is bad?
[ 114.969035] [ T142] usb usb1-port5: Cannot enable. Maybe the USB cable is bad?
[ 114.971271] [ T142] usb usb1-port5: attempt power cycle
[ 116.002340] [ T142] usb usb1-port5: Cannot enable. Maybe the USB cable is bad?
[ 116.962315] [ T142] usb usb1-port5: Cannot enable. Maybe the USB cable is bad?
[ 116.964551] [ T142] usb usb1-port5: unable to enumerate USB device
[ 230.889270] [ T142] usb usb1-port5: Cannot enable. Maybe the USB cable is bad?
[ 231.849242] [ T142] usb usb1-port5: Cannot enable. Maybe the USB cable is bad?
[ 231.851470] [ T142] usb usb1-port5: attempt power cycle
[ 232.882549] [ T142] usb usb1-port5: Cannot enable. Maybe the USB cable is bad?
[ 233.842521] [ T142] usb usb1-port5: Cannot enable. Maybe the USB cable is bad?
[ 233.844751] [ T142] usb usb1-port5: unable to enumerate USB device
I have ordered a new USB cable for further testing.
After rebooting and changing USB again it found the DAC without issues like yesterday.
I have gone into bios and turned off s4+s5 power states, since the DAC takes bot power and data from the PC so I don’t know if it might have been that, but that option has been on since I built the PC in 2016 so I don’t know.
Tomorrow I will do further testing when the new usb cable arrives.
The new USB cable arrived and it didn’t fix the issue by itself but using the old cable to power the DAC from a phone charger seems to have fixed the issue.
So now the problem can be narrowed to either the PC not being able to power the DAC after shutting down for good and then turning back on or the DAC has a faulty data port that decided to manifest itself exactly when I set up the dual boot.
I’m inclined to believe the issue is on the PC side, to be sure I’d have to connect the DAC to another machine and see how that works but first I want to see if the current setup is stable.