Bug#987638: linux-image-5.10.0-6-arm64: Missing kernel modules for Pine64's Pinebook Pro (usb-c, battery gauge, audio)

2021-04-27 Thread Lionel Fourquaux

On Tue, Apr 27, 2021 at 06:28:15PM +0200, Vincent Blut wrote:

As it's not clear from your message, did you also enable CONFIG_TYPEC and
CONFIG_TYPEC_TCPM as modules?


Yes, these are required for enabling CONFIG_TYPEC_FUSB302.  (I should 
indeed have stated it explicitly.)


Best regards,

-- Lionel



Bug#987638: linux-image-5.10.0-6-arm64: Missing kernel modules for Pine64's Pinebook Pro (usb-c, battery gauge, audio)

2021-04-26 Thread Lionel Fourquaux
Package: src:linux
Version: 5.10.28-1
Severity: wishlist
X-Debbugs-Cc: lionel.fourquaux+deb...@normalesup.org

Dear Maintainer,

I'm using Debian bullseye (currently unstable, soon to be stable) on 
a Pine64 Pinebook Pro, installed using the official Debian installer.

Some devices are "not working" (meaning: nonfunctional, not detected by 
the kernel):
 * the usb-c port
 * the battery gauge (cw2025) (note: dmesg shows error messages about a 
   missing power supply (the usb-c port?):
[8.546079] power_supply cw2015-battery: Not all required supplies found, 
defer probe
[8.546089] cw2015 4-0062: Failed to register power supply
   )
 * the audio output (built-in speakers).

After comparing the available kernel modules to the device tree, I believe 
that this is caused by some missing modules in the kernel configuration. 
I suggest enabling:
  CONFIG_TYPEC_FUSB302
  CONFIG_SND_SOC_ES8316

Best regards,

-- Lionel


-- Package-specific info:
** Version:
Linux version 5.10.0-6-arm64 (debian-ker...@lists.debian.org) (gcc-10 (Debian 
10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP 
Debian 5.10.28-1 (2021-04-09)

** Command line:
quiet

** Not tainted

** Kernel log:
[8.552655] platform regulatory.0: firmware: direct-loading firmware 
regulatory.db.p7s
[8.576089] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
[8.600764] dw_wdt ff848000.watchdog: No valid TOPs array specified
[8.623804] panfrost ff9a.gpu: clock rate = 5
[8.635795] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio 
for chip BCM4345/9
[8.636451] usbcore: registered new interface driver brcmfmac
[8.649935] brcmfmac mmc0:0001:1: firmware: direct-loading firmware 
brcm/brcmfmac43456-sdio.bin
[8.650570] brcmfmac mmc0:0001:1: firmware: direct-loading firmware 
brcm/brcmfmac43456-sdio.pine64,pinebook-pro.txt
[8.691963] panfrost ff9a.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 
status 0x0
[8.691971] panfrost ff9a.gpu: features: ,100e77bf, issues: 
,24040400
[8.691975] panfrost ff9a.gpu: Features: L2:0x07120206 Shader:0x 
Tiler:0x0809 Mem:0x1 MMU:0x2830 AS:0xff JS:0x7
[8.691978] panfrost ff9a.gpu: shader_present=0xf l2_present=0x1
[8.710260] cryptd: max_cpu_qlen set to 1000
[8.723349] [drm] Initialized panfrost 1.1.0 20180908 for ff9a.gpu on 
minor 1
[8.750235] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio 
for chip BCM4345/9
[8.750906] brcmfmac mmc0:0001:1: firmware: direct-loading firmware 
brcm/brcmfmac43456-sdio.clm_blob
[8.767842] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Jun 16 
2017 12:38:26 version 7.45.96.2 (66c4e21@sh-git) (r) FWID 01-1813af84
[8.859932] Console: switching to colour frame buffer device 240x67
[8.885264] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame 
buffer device
[8.914709] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem 
on minor 0
[8.915466] vdd_log: supplied by regulator-dummy
[8.924455] power_supply cw2015-battery: Not all required supplies found, 
defer probe
[8.924469] cw2015 4-0062: Failed to register power supply
[9.024217] EXT4-fs (mmcblk2p1): mounting ext2 file system using the ext4 
subsystem
[9.026846] EXT4-fs (mmcblk2p1): mounted filesystem without journal. Opts: 
(null)
[9.026867] ext2 filesystem being mounted at /boot supports timestamps until 
2038 (0x7fff)
[9.158294] audit: type=1400 audit(1619461086.164:2): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" 
pid=629 comm="apparmor_parser"
[9.158315] audit: type=1400 audit(1619461086.164:3): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="lsb_release" pid=623 
comm="apparmor_parser"
[9.158326] audit: type=1400 audit(1619461086.164:4): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="libreoffice-senddoc" 
pid=628 comm="apparmor_parser"
[9.163059] audit: type=1400 audit(1619461086.172:5): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=636 
comm="apparmor_parser"
[9.163086] audit: type=1400 audit(1619461086.172:6): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" 
pid=636 comm="apparmor_parser"
[9.175004] audit: type=1400 audit(1619461086.180:7): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="tcpdump" pid=626 
comm="apparmor_parser"
[9.175475] audit: type=1400 audit(1619461086.184:8): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="libreoffice-oopslash" 
pid=632 comm="apparmor_parser"
[9.177951] audit: type=1400 audit(1619461086.184:9): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=658 
comm="apparmor_parser"
[9.177975] audit: type=1400 audit(1619461086.184:10):