plbossart / UCM

UCM files for Intel platforms
105 stars 48 forks source link

bytcr-rt5651: no soundcards found #26

Open marc0s opened 6 years ago

marc0s commented 6 years ago

Hi, I'm running Debian testing with kernel 4.14 and using your files from this repository as stated in the README for bytcr-rt5651. My machine is based on Atom x5-Z8350, specifically this one https://www.amazon.com//dp/B071WBN8Q2.

aplay -l doesn't show the soundcard:

# aplay -l
aplay: device_list:270: no soundcards found...

First thing that I see in dmesg is:

[    5.591880] bytcr_rt5651 bytcr_rt5651: ASoC: CODEC DAI rt5651-aif1 not registered
[    5.591900] bytcr_rt5651 bytcr_rt5651: devm_snd_soc_register_card failed -517

I already blacklisted the module for HDMI audio support snd-hdmi-lpe-audio, as I found somewhere that it was not supported and might cause trouble. Don't know if it's actually like this.

By looking at the DSDT, it seems that it's actually a rt5651:

# grep -A5 -B5 5651 dsdt.dsl 
            }

            Device (RTEK)
            {
                Name (_ADR, Zero)  // _ADR: Address
                Name (_HID, "10EC5651")  // _HID: Hardware ID
                Name (_CID, "10EC5651")  // _CID: Compatible ID
                Name (_DDN, "ALC5642")  // _DDN: DOS Device Name
                Name (_UID, One)  // _UID: Unique ID
                Name (_PR0, Package (0x01)  // _PR0: Power Resources for D0
                {
                    CLK3
                })
                Name (_SUB, "88765651")  // _SUB: Subsystem ID
                Name (_DEP, Package (0x01)  // _DEP: Dependencies
                {
                    PEPD
                })
                Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
--
            }

            Device (RTK8)
            {
                Name (_ADR, Zero)  // _ADR: Address
                Name (_HID, "10EC5651")  // _HID: Hardware ID
                Name (_CID, "10EC5651")  // _CID: Compatible ID
                Name (_DDN, "ALC5642")  // _DDN: DOS Device Name
                Name (_UID, One)  // _UID: Unique ID
                Name (_PR0, Package (0x01)  // _PR0: Power Resources for D0
                {
                    CLK3
                })
                Name (_SUB, "88765651")  // _SUB: Subsystem ID
                Name (CHAN, Package (0x02)
                {
                    0x02, 
                    0x0124F800
                })
--
            }

            Device (RTK2)
            {
                Name (_ADR, Zero)  // _ADR: Address
                Name (_HID, "10EC5651")  // _HID: Hardware ID
                Name (_CID, "10EC5651")  // _CID: Compatible ID
                Name (_DDN, "ALC5642")  // _DDN: DOS Device Name
                Name (_UID, 0x02)  // _UID: Unique ID
                Name (_SUB, "20150601")  // _SUB: Subsystem ID
                Name (_PR0, Package (0x01)  // _PR0: Power Resources for D0
                {

And, as I saw you asking for similar commands in bugzilla's issues:

# cat /sys/bus/acpi/devices/10EC56
10EC5640:00/ 10EC5651:00/ 10EC5651:01/ 10EC5651:02/
# cat /sys/bus/acpi/devices/10EC56*/status
0
0
15
0

Is there anything else I can provide for further debugging?

Thanks,

RussianNeuroMancer commented 6 years ago

Try https://github.com/jwrdegoede/linux-sunxi/tree/v4.16-footrail with https://fedorapeople.org/~jwrdegoede/bytcr-rt5651/