'no sound device found after flashing my aosp Pixel 3a XL (bonito) kernel
I had built my linux kernel for my Pixel 3a XL (bonito), just followed the building-kernels guide. But after I replaced the kernel I had built, no sound device found under /dev/snd/:
bonito:/ # ls -al /dev/snd
total 0
drwxr-xr-x 2 root root 60 1970-09-18 10:31 .
drwxr-xr-x 20 root root 5340 2022-04-21 17:03 ..
crw-rw---- 1 system audio 116, 33 1970-09-18 10:31 timer
The correct case:
bonito:/ # ls -al /dev/snd
total 0
drwxr-xr-x 2 root root 2320 2022-04-21 17:29 .
drwxr-xr-x 20 root root 5360 2022-04-21 17:29 ..
crw-rw---- 1 system audio 116, 58 2022-04-21 17:29 comprC0D15
crw-rw---- 1 system audio 116, 59 2022-04-21 17:29 comprC0D28
crw-rw---- 1 system audio 116, 60 2022-04-21 17:29 comprC0D29
crw-rw---- 1 system audio 116, 61 2022-04-21 17:29 comprC0D30
crw-rw---- 1 system audio 116, 62 2022-04-21 17:29 comprC0D31
crw-rw---- 1 system audio 116, 63 2022-04-21 17:29 comprC0D32
crw-rw---- 1 system audio 116, 65 2022-04-21 17:29 comprC0D40
crw-rw---- 1 system audio 116, 66 2022-04-21 17:29 comprC0D41
crw-rw---- 1 system audio 116, 67 2022-04-21 17:29 comprC0D42
crw-rw---- 1 system audio 116, 68 2022-04-21 17:29 comprC0D43
crw-rw---- 1 system audio 116, 69 2022-04-21 17:29 comprC0D44
crw-rw---- 1 system audio 116, 57 2022-04-21 17:29 comprC0D8
crw-rw---- 1 system audio 116, 2 2022-04-21 17:29 controlC0
crw-rw---- 1 system audio 116, 77 2022-04-21 17:29 hwC0D10
crw-rw---- 1 system audio 116, 70 2022-04-21 17:29 hwC0D1000
crw-rw---- 1 system audio 116, 90 2022-04-21 17:29 hwC0D103
......
Device boot is ok, launcher is shown, I believe the sound problems has noting to do with kernel modules, because no kernel modules is installed concerning the sound even before I replaced the kernel:
bonito:/ # lsmod
Module Size Used by
wlan 9457664 0
synaptics_dsx_rmi_dev 24576 0
synaptics_dsx_test_reporting 53248 0
synaptics_dsx_fw_update 53248 0
synaptics_dsx_core 61440 3 synaptics_dsx_rmi_dev,synaptics_dsx_test_reporting,synaptics_dsx_fw_update
Why is there no sound device found under /dev/snd/ after my replacing kernel for my Pixel 3a XL (bonito), did I miss something important? The why I replace the kernel:
- copy Image.lz4 to aosp source tree
- build boot.img from aosp source tree
- flash boot.img and replace needed kernel modules
I got all the wifi touch screen work but audio, any body know the reason? Please help!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
