Failed to open Alsa device "hw:1,0" no such file or directory - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: Failed to open Alsa device "hw:1,0" no such file or directory (/showthread.php?tid=1834) |
Failed to open Alsa device "hw:1,0" no such file or directory - Deenoo - 10-22-2019 Hi & Help MoOde 6.3, when pluged in Burson Playmate USB audio device, and start the play the MPD sent this error message: Failed to open Alsa device "hw:1,0" no such file or directory. Before that I used "Ian Fifo II" setting with another I2S connector DAC without problems. How can I write back the ALSA device hw:1,0 to hw:0,0? Thank you! D' RE: Failed to open Alsa device "hw:1,0" no such file or directory - Tim Curtis - 10-22-2019 USB DAC's are assigned card1 (hw:1,0) by moOde. Card0 (hw:0,0) is used for I2S DAC's and the On-board Pi audio device. The error "Failed to open Alsa device "hw:1,0" no such file or directory." suggests that Linux/ALSA has not recognized the USB DAC. RE: Failed to open Alsa device "hw:1,0" no such file or directory - Deenoo - 10-22-2019 (10-22-2019, 12:19 PM)Tim Curtis Wrote: USB DAC's are assigned card1 (hw:1,0) by moOde. Card0 (hw:0,0) is used for I2S DAC's and the On-board Pi audio device. MoOde 5.3 recognized before When I change back to IanFifoII, MPD gave the same error message. RE: Failed to open Alsa device "hw:1,0" no such file or directory - Tim Curtis - 10-22-2019 If you are switching between USB and I2S audio devices you need to open MPD Config and verify that the "Device type" is correct then SAVE the config. RE: Failed to open Alsa device "hw:1,0" no such file or directory - Deenoo - 10-22-2019 (10-22-2019, 12:32 PM)Tim Curtis Wrote: If you are switching between USB and I2S audio devices you need to open MPD Config and verify that the "Device type" is correct then SAVE the config. Thank you Tim! RE: Failed to open Alsa device "hw:1,0" no such file or directory - Deenoo - 10-22-2019 (10-22-2019, 12:32 PM)Tim Curtis Wrote: If you are switching between USB and I2S audio devices you need to open MPD Config and verify that the "Device type" is correct then SAVE the config.Is there a difference between 5.3 and 6.3 of Mood that part to handles USB audio devices? Because the previous version (5.3) of MoOd recognizes my USB DAC device and 6.3 doesn't. I reinstalled 6.3 and the same error message appears "Failed to open Alsa device "hw:1,0" no such file or directory." Strange RE: Failed to open Alsa device "hw:1,0" no such file or directory - Tim Curtis - 10-22-2019 Yes, different release of Raspbian and Linux kernel. There are probably changes made by the Raspbian or kernel devs to the Linux usb-audio driver. I generally don't track those kind of things due to lack of time but you could search the link below for issues. https://github.com/raspberrypi/linux/issues The moOde 6 series is based on the recently released Raspbian Buster Lite which is required for supporting the new Pi-4B. You can track which version of Raspbian is used in moOde releases by viewing the mosbuild repo https://github.com/moode-player/mosbuild/releases You can track which Linux kernel is used by viewing the release notes https://github.com/moode-player/moode/blob/develop/www/relnotes.txt You also might want to run the cmd below to see if there is any indication why the USB device doesn't;t appear to be recognized. Code: lsusb RE: Failed to open Alsa device "hw:1,0" no such file or directory - Deenoo - 10-22-2019 (10-22-2019, 04:12 PM)Tim Curtis Wrote: Yes, different release of Raspbian and Linux kernel. There are probably changes made by the Raspbian or kernel devs to the Linux usb-audio driver. I generally don't track those kind of things due to lack of time but you could search the link below for issues.Thank you again Tim! Until find out what the problem is, I am using the 5.31 MoOd with great satisfaction RE: Failed to open Alsa device "hw:1,0" no such file or directory - TheOldPresbyope - 10-22-2019 @Deenoo Interesting problem. I have three USB audio devices - an old C-Media CM108 USB to headphone adapter (e.g., 3.5mm analog audio out) - a Creative Technology W2 USB-BT audio adapter - a Khadas Tone Board The USB device-tree information returned for these three by lsusb -v differs in details but in every case includes an interface class "Audio" Code: # In each case, I found the -d vendor:device codes by running lsusb without options More fundamentally, each of these devices was detected by the kernel as an audio device. For example, in the case of the Khadas Tone Board Code: pi@moodelr:~ $ dmesg|grep usb If you don't see that last line then the Linux kernel isn't recognizing your Playmate. That's something for Burson to work out with the Linux developers. Regards, Kent RE: Failed to open Alsa device "hw:1,0" no such file or directory - Deenoo - 10-22-2019 Hi Kent I found this [ 4.036087] usb 1-1.2.2: New USB device strings: Mfr=1, Product=3, SerialNumber=0 [ 4.046048] usb 1-1.2.2: Product: BursonAudio USB Audio 2.0 [ 4.054031] usb 1-1.2.2: Manufacturer: XMOS [ 4.121906] usb 1-1.1.1: new high-speed USB device number 8 using dwc_otg [ 4.252389] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00 [ 4.265258] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 6.629683] usbcore: registered new interface driver uas [ 6.806882] usb 1-1.2.2: 1:3 : unsupported format bits 0x100000000 [ 6.810431] usbcore: registered new interface driver snd-usb-audio The error message remained "Failed to open Alsa device "hw:1,0" no such file or directory." Audio Information Audio Device Device: USB audio device Chip: Interface: USB Formats: U8, S16_LE Platform: Pi-3B+ 1GB v1.3 |