![]() |
[PROBLEM] moOde won't start with Inno-maker HiFi DAC Pro HAT and NamedI2SDevice - 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: [PROBLEM] moOde won't start with Inno-maker HiFi DAC Pro HAT and NamedI2SDevice (/showthread.php?tid=5563) |
moOde won't start with Inno-maker HiFi DAC Pro HAT and NamedI2SDevice - TheOldPresbyope - 05-05-2023 @Tim Curtis So continuing with the booting problem I mentioned in Inno-maker HiFi DAC Pro HAT - first impressions The problem with a Inno-maker HiFi DAC Pro HAT mounted on a Pi4B:
Code: pi@moode:~ $ systemctl is-system-running I looked at the output from systemctl and see several odd lines, notably, but not solely (with some white space removed for readibility) Code: rc-local.service loaded deactivating stop-sigterm start/etc/rc.local Compatibility Looking at /etc/rc,local, I discovered a potential cause of my problem Code: # Work around for Katana driver load failure on Pi-4B The if-test for this work-around should definitely trigger on my Pi4---I tried executing the lines manually---but the log file is never written. Looks like this may be where moOde is falling down. If I execute the lines below manually I get Code: root@moode:/etc# rmmod snd_soc_allo_katana_codec I'm not absolutely confident this is what's happening during the startup however. If I simply comment out the work-around and reboot, moOde comes up fresh as paint and I can exercise the DAC. This is great because now, for example, the chip options are accessible via the webUI. Any thoughts? Regards. Kent RE: moOde won't start with Inno-maker HiFi DAC Pro HAT and NamedI2SDevice - Tim Curtis - 05-05-2023 That workaround was needed way back when but maybe it's not needed anymore. I'll have to get my Katana out of mothballs this weekend and run some tests on a 4B. RE: moOde won't start with Inno-maker HiFi DAC Pro HAT and NamedI2SDevice - TheOldPresbyope - 05-05-2023 (05-05-2023, 01:23 AM)Tim Curtis Wrote: That workaround was needed way back when but maybe it's not needed anymore. I'll have to get my Katana out of mothballs this weekend and run some tests on a 4B. Thanks. It’s a pity the Inno-maker devs didn’t reach out to us last year when they were preparing to release the product instead of just flagging the failed install procedure in their manual. Luckily I picked a Pi4B to try out the board so I could see the issue. Regards, Kent’s RE: moOde won't start with Inno-maker HiFi DAC Pro HAT and NamedI2SDevice - Tim Curtis - 05-05-2023 1. It's definitely a no-go for the Katana driver + Katana DAC + Pi-4B + 6.1.y kernel branch with or without the old workaround. The driver load always bombs with "allo-katana-codec 1-0030: Failed to read Chip or wrong Chip id: 0" which is the same issue that was reported 3 years ago https://audiophilestyle.com/forums/topic/58283-katana-not-detected-on-pi-4/. 2. No issues on 3B+ with Katana DAC. TODO: - Remove the 4B workaround code from rc.local for upcoming 8.3.3 release. This should allow boards like the innomaker to work without hacking but although ESS chip options may be available the ESS hardware volume controller might not. RE: moOde won't start with Inno-maker HiFi DAC Pro HAT and NamedI2SDevice - TheOldPresbyope - 05-05-2023 Curious problem with the Katana and Pi4B. I could swear I wasn't being offered hardware volume control when I first tried it out but this morning with the Inno-maker DAC HAT installed and choosing named I2S Device 'Allo Katana DAC" I am. Example Code: Audio information FYI Code: pi@moode:~ $ alsacap Code: pi@moode:~ $ aplay -L Code: pi@moode:~ $ amixer I don't know enough about the driver-level code to know how many of these values actually reflect the underlying hardware. I'm curious what differences are seen with a genuine Allo Katana DAC installed. In an exercise in brute force and ignorance I may have to compare and contrast the Allo and Audiophonics dtb's and drivers. Regards, Kent RE: moOde won't start with Inno-maker HiFi DAC Pro HAT and NamedI2SDevice - Tim Curtis - 05-05-2023 Those look like the standard set of chip options for the ES9038. Whats interesting is that the board does not appear to have an MCU interface IC for R/W chip options like Katana and Audiophonics boards yet apparently the chip options including the nice ESS Hardware volume can be R/W. RE: moOde won't start with Inno-maker HiFi DAC Pro HAT and NamedI2SDevice - TheOldPresbyope - 05-05-2023 Yeah, it's a bit of a surprise to me. I've now browsed through the overlay and driver/codec files for several DACs and I don't feel enlightened! I sorta see what's going on but I don't know how to relate it to my Inno-maker DAC. Here's an interesting discussion in the github pull request for the Katana DAC driver Regards, Kent |