Posts: 5
Threads: 1
Joined: May 2020
Reputation:
0
Hallo, I've MoOde installed in a Raspberry Pi4, and i use an external USB DAC (SMSL Sanskrtit, first version).
It work flawlessly in only two USB ports, if i connect it to the others ports, i don't hear nothing and i gett displayed the following message:
Failed to open "ALSA default" (alsa); Error opening ALSA device "hw:1,0"; snd_pcm_hw_params() failed: Broken pipe
I've tried to connect an usb keyboard to the ports where the DAC doesn't work, and the keyboard is ok.
I'm sorry, but i'm new to Linux and haven't found nothing about that in the forum.
Thanks in advance.
Posts: 14,003
Threads: 318
Joined: Mar 2018
Reputation:
571
Which ports are causing trouble for your DAC the blue USB3 ports or the the black USB2 ports?
If it's the USB3 ports then it would suggest an incompatibility between DAC's USB chipset and Pi4 USB3.
Posts: 5
Threads: 1
Joined: May 2020
Reputation:
0
05-15-2020, 04:54 PM
(This post was last modified: 05-15-2020, 04:58 PM by andybri.)
The working ports are the upper USB2 and the lower USB3 
Now i'm listening to the music with the dac connected in the lower usb3 port
Posts: 14,003
Threads: 318
Joined: Mar 2018
Reputation:
571
Very odd. Maybe a cable issue or something phy like that?
Posts: 5
Threads: 1
Joined: May 2020
Reputation:
0
I've tried with a 30cm shielded cable. Same thing.
I've also tried to change the micro sd and to use the DAC with Raspian. Again same thing.
Hence the problem seems not strictly related to moOde.
Posts: 404
Threads: 2
Joined: Apr 2018
Reputation:
14
(05-15-2020, 07:14 PM)andybri Wrote: I've tried with a 30cm shielded cable. Same thing.
I've also tried to change the micro sd and to use the DAC with Raspian. Again same thing.
Hence the problem seems not strictly related to moOde.
Yes, it looks like a hardware-related issue... If possible:
- test with a different RPi
- test with a different USB DAC
By the way, has the problem occurred from the very beginning as soon as you've switched to another USB port?
Posts: 6,208
Threads: 184
Joined: Apr 2018
Reputation:
249
@ andybri
I didn't recognize this DAC so as is my wont I hit the InterWeb. Have you read the AudioScienceReview report on the SMSL Sanskrit 10th DAC? Did you notice this line at the end of amir's rather negative remarks?
Quote:EDIT: with input from SMSL engineers, the USB port is under powered. Using an external power supply restores full performance.
I don't know if your model is the same or similar, but have you tried an external power supply? Granted, amir is talking about the effect of poor power on the performance of the DAC but the behavior of the USB interface itself could be affected as well.
If that doesn't do it, and you've already tried @ CallMeMike's suggestions, then perhaps you should kick this issue to the Raspberry Pi forums where the RPi hardware/firmware/software folk hang out.
Regards,
Kent
Posts: 5
Threads: 1
Joined: May 2020
Reputation:
0
@ CallMeMike
I'm sorry, but i haven't another pi nor another dac. Likely another dac would be the solution.
The problem appeared at the beginning, then i switched to another port and all worked.
At this point, i've tried all the ports, and i've found that only two ports are working.
Every port change was made at shutdown and restart.
@ TheOldPresbyope
Ok, my dac is not the best, is a much older version compared to the dac tested by Amir, is not usb powered and have its own power supply (9v dc), but my goal was to understand why the same dac, in the same conditions, works in two ports and not in the others two. If i will found another power supply, i'll let you know if it makes any change.
Waiting for better times and better dac  , i can live also with this dac plugged in the lower usb3 port.
Posts: 6,208
Threads: 184
Joined: Apr 2018
Reputation:
249
(05-16-2020, 10:30 PM)andybri Wrote: @CallMeMike
I'm sorry, but i haven't another pi nor another dac. Likely another dac would be the solution.
The problem appeared at the beginning, then i switched to another port and all worked.
At this point, i've tried all the ports, and i've found that only two ports are working.
Every port change was made at shutdown and restart.
@TheOldPresbyope
Ok, my dac is not the best, is a much older version compared to the dac tested by Amir, is not usb powered and have its own power supply (9v dc), but my goal was to understand why the same dac, in the same conditions, works in two ports and not in the others two. If i will found another power supply, i'll let you know if it makes any change.
Waiting for better times and better dac , i can live also with this dac plugged in the lower usb3 port. 
Were I you, at this point I'd present your conundrum to the Raspberry Pi gurus on the Raspberry Pi Forum. The likelihood that we moOde enthusiasts can figure out why only these two ports work on the RPi4B is aproximately zero.
Regards,
Kent
Posts: 5
Threads: 1
Joined: May 2020
Reputation:
0
05-17-2020, 05:31 PM
(This post was last modified: 05-17-2020, 05:32 PM by andybri.)
Ok, i'll try, given it's an unknown and non-moode-related behavior.
Thanks again and praises for your work with moode!
|