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 ff9a0000.gpu: clock rate = 500000000
[    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 ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 
status 0x0
[    8.691971] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 
00000000,24040400
[    8.691975] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 
Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    8.691978] panfrost ff9a0000.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 ff9a0000.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 (0x7fffffff)
[    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): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="man_filter" pid=658 
comm="apparmor_parser"
[    9.177986] audit: type=1400 audit(1619461086.184:11): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="man_groff" pid=658 
comm="apparmor_parser"
[    9.237686] Bluetooth: Core ver 2.22
[    9.237855] NET: Registered protocol family 31
[    9.237860] Bluetooth: HCI device and connection manager initialized
[    9.237881] Bluetooth: HCI socket layer initialized
[    9.237889] Bluetooth: L2CAP socket layer initialized
[    9.237911] Bluetooth: SCO socket layer initialized
[    9.257712] power_supply cw2015-battery: Not all required supplies found, 
defer probe
[    9.257725] cw2015 4-0062: Failed to register power supply
[    9.270088] Bluetooth: HCI UART driver ver 2.3
[    9.270095] Bluetooth: HCI UART protocol H4 registered
[    9.270185] Bluetooth: HCI UART protocol LL registered
[    9.270188] Bluetooth: HCI UART protocol ATH3K registered
[    9.271005] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    9.271200] Bluetooth: HCI UART protocol Intel registered
[    9.271314] Bluetooth: HCI UART protocol Broadcom registered
[    9.271334] Bluetooth: HCI UART protocol QCA registered
[    9.271336] Bluetooth: HCI UART protocol AG6XX registered
[    9.271357] Bluetooth: HCI UART protocol Marvell registered
[    9.288636] random: crng init done
[    9.288649] random: 7 urandom warning(s) missed due to ratelimiting
[    9.390395] dw-apb-uart ff180000.serial: failed to request DMA
[    9.520236] power_supply cw2015-battery: Not all required supplies found, 
defer probe
[    9.520258] cw2015 4-0062: Failed to register power supply
[    9.627043] Bluetooth: hci1: BCM: chip id 130
[    9.630858] Bluetooth: hci1: BCM: features 0x0f
[    9.633022] Bluetooth: hci1: BCM4345C5
[    9.633034] Bluetooth: hci1: BCM4345C5 (003.006.006) build 0000
[    9.633861] bluetooth hci1: firmware: direct-loading firmware 
brcm/BCM4345C5.hcd
[    9.633878] Bluetooth: hci1: BCM4345C5 'brcm/BCM4345C5.hcd' Patch
[    9.664001] NET: Registered protocol family 38
[    9.721182] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    9.721200] Bluetooth: BNEP filters: protocol multicast
[    9.721221] Bluetooth: BNEP socket layer initialized
[    9.820384] alg: No test for hmac(md4) (hmac(md4-generic))
[   10.219039] input: HAILUCK CO.,LTD USB KEYBOARD Mouse as 
/devices/platform/fe3a0000.usb/usb1/1-1/1-1:1.1/0003:258A:001E.0002/input/input8
[   10.220031] input: HAILUCK CO.,LTD USB KEYBOARD Touchpad as 
/devices/platform/fe3a0000.usb/usb1/1-1/1-1:1.1/0003:258A:001E.0002/input/input9
[   10.221045] input: HAILUCK CO.,LTD USB KEYBOARD System Control as 
/devices/platform/fe3a0000.usb/usb1/1-1/1-1:1.1/0003:258A:001E.0002/input/input10
[   10.278742] input: HAILUCK CO.,LTD USB KEYBOARD Consumer Control as 
/devices/platform/fe3a0000.usb/usb1/1-1/1-1:1.1/0003:258A:001E.0002/input/input11
[   10.279818] input: HAILUCK CO.,LTD USB KEYBOARD Wireless Radio Control as 
/devices/platform/fe3a0000.usb/usb1/1-1/1-1:1.1/0003:258A:001E.0002/input/input12
[   10.281932] hid-multitouch 0003:258A:001E.0002: input,hiddev0,hidraw1: USB 
HID v1.10 Mouse [HAILUCK CO.,LTD USB KEYBOARD] on usb-fe3a0000.usb-1/input1
[   10.291525] power_supply cw2015-battery: Not all required supplies found, 
defer probe
[   10.291547] cw2015 4-0062: Failed to register power supply
[   10.577653] Bluetooth: hci1: BCM4345C5 Ampak_CL1.5 UART 37.4 MHz BT 5.0 
[Version: Version: 0033.0080]
[   10.577676] Bluetooth: hci1: BCM4345C5 (003.006.006) build 0080
[   10.583748] mc: Linux media interface: v0.10
[   10.624105] videodev: Linux video capture interface: v2.00
[   10.804633] uvcvideo: Found UVC 1.00 device USB Camera (0c45:6321)
[   10.811978] power_supply cw2015-battery: Not all required supplies found, 
defer probe
[   10.812001] cw2015 4-0062: Failed to register power supply
[   10.837834] input: USB Camera: USB Camera as 
/devices/platform/fe3c0000.usb/usb7/7-1/7-1.2/7-1.2:1.0/input/input13
[   10.840799] usbcore: registered new interface driver uvcvideo
[   10.840813] USB Video Class driver (1.1.1)
[   10.848168] power_supply cw2015-battery: Not all required supplies found, 
defer probe
[   10.848191] cw2015 4-0062: Failed to register power supply
[   12.038156] ieee80211 phy0: brcmf_p2p_send_action_frame: Unknown Frame: 
category 0x5, action 0x4
[   12.039500] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   28.620400] Bluetooth: RFCOMM TTY layer initialized
[   28.620430] Bluetooth: RFCOMM socket layer initialized
[   28.620461] Bluetooth: RFCOMM ver 1.11
[   33.758273] vcc3v3_ssd: disabling
[   33.758288] vbus_5vout: disabling
[   33.758299] vcc0v9_s3: disabling
[   33.758321] LDO_REG1: disabling
[   83.564889] rfkill: input handler disabled

** Model information
Device Tree model: Pine64 Pinebook Pro

** Loaded modules:
rfcomm
uvcvideo
videobuf2_vmalloc
videobuf2_memops
videobuf2_v4l2
videobuf2_common
videodev
mc
joydev
aes_ce_ccm
algif_aead
cbc
hid_multitouch
des_generic
libdes
ecb
algif_skcipher
sha512_generic
bnep
sha512_arm64
md4
algif_hash
af_alg
hci_uart
btqca
btrtl
btbcm
btsdio
btintel
bluetooth
jitterentropy_rng
aes_neon_bs
aes_neon_blk
ghash_ce
gf128mul
sha2_ce
aes_ce_blk
sha256_arm64
crypto_simd
sha1_ce
cryptd
governor_simpleondemand
aes_ce_cipher
snd_soc_simple_amplifier
leds_gpio
evdev
panfrost
snd_soc_rockchip_i2s
gpu_sched
snd_soc_rockchip_pcm
dw_wdt
drbg
brcmfmac
brcmutil
aes_arm64
cfg80211
cw2015_battery
aes_generic
ofpart
ansi_cprng
snd_soc_simple_card
snd_soc_simple_card_utils
snd_soc_core
ecdh_generic
ecc
nvmem_rockchip_efuse
pwm_rockchip
rfkill
spi_nor
libaes
snd_pcm_dmaengine
snd_pcm
mtd
io_domain
rockchip_thermal
snd_timer
gpio_charger
snd
soundcore
cpufreq_dt
pkcs8_key_parser
fuse
configfs
ip_tables
x_tables
autofs4
hid_generic
usbhid
ext4
hid
crc16
mbcache
jbd2
btrfs
blake2b_generic
xor
xor_neon
raid6_pq
libcrc32c
crc32c_generic
xhci_plat_hcd
xhci_hcd
rk808_regulator
rtc_rk808
clk_rk808
dwc3
udc_core
roles
ulpi
rk808
fan53555
rockchipdrm
pwm_regulator
crct10dif_ce
crct10dif_common
dw_hdmi
cec
fixed
dw_mipi_dsi
analogix_dp
dwc3_of_simple
ohci_platform
drm_kms_helper
ohci_hcd
gpio_keys
panel_simple
ehci_platform
ehci_hcd
drm
sdhci_of_arasan
sdhci_pltfm
usbcore
cqhci
phy_rockchip_inno_usb2
phy_rockchip_pcie
phy_rockchip_emmc
sdhci
pl330
phy_rockchip_typec
spi_rockchip
i2c_rk3x
dw_mmc_rockchip
usb_common
dw_mmc_pltfm
dw_mmc
pwm_bl

** Network interface configuration:
*** /etc/network/interfaces:

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

allow-hotplug enxac9e175b524b
iface enxac9e175b524b inet dhcp

** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP 
group default qlen 1000
    link/ether 10:2c:6b:1b:9c:a8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.123/24 brd 192.168.0.255 scope global dynamic wlan0
       valid_lft 360sec preferred_lft 360sec
    inet6 2001:bc8:3719:100:122c:6bff:fe1b:9ca8/64 scope global dynamic 
mngtmpaddr noprefixroute 
       valid_lft 86212sec preferred_lft 14212sec
    inet6 fe80::122c:6bff:fe1b:9ca8/64 scope link 
       valid_lft forever preferred_lft forever

*** Device statistics:
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    
packets errs drop fifo colls carrier compressed
    lo: 2082693936  339605    0    0    0     0          0         0 2082693936 
 339605    0    0    0     0       0          0
 wlan0: 2175416212 1563384    0    0    0     0          0      4039 57352510  
460613    0    0    0     0       0          0

*** Protocol statistics:
Ip:
    Forwarding: 2
    479 total packets received
    3 with invalid addresses
    0 forwarded
    0 incoming packets discarded
    476 incoming packets delivered
    264 requests sent out
    40 outgoing packets dropped
Icmp:
    80 ICMP messages received
    0 input ICMP message failed
    ICMP input histogram:
        destination unreachable: 80
    80 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
        destination unreachable: 80
IcmpMsg:
        InType3: 80
        OutType3: 80
Tcp:
    25 active connection openings
    1 passive connection openings
    10 failed connection attempts
    0 connection resets received
    3 connections established
    1898506 segments received
    799774 segments sent out
    41 segments retransmitted
    0 bad segments received
    30 resets sent
Udp:
    29 packets received
    80 packets to unknown port received
    0 packet receive errors
    109 packets sent
    0 receive buffer errors
    0 send buffer errors
    IgnoredMulti: 152
UdpLite:
TcpExt:
    3 TCP sockets finished time wait in fast timer
    12131 delayed acks sent
    179 delayed acks further delayed because of locked socket
    Quick ack mode was activated 69 times
    1322273 packet headers predicted
    14985 acknowledgments not containing data payload received
    239395 predicted acknowledgments
    12 retransmits in slow start
    TCPLossProbes: 239
    TCPLossProbeRecovery: 1
    TCPBacklogCoalesce: 179483
    TCPDSACKOldSent: 69
    TCPDSACKRecv: 28
    10 connections reset due to unexpected data
    TCPDSACKIgnoredNoUndo: 23
    TCPRcvCoalesce: 982535
    TCPOFOQueue: 33761
    TCPAutoCorking: 2565
    TCPFromZeroWindowAdv: 1
    TCPToZeroWindowAdv: 1
    TCPWantZeroWindowAdv: 9
    TCPOrigDataSent: 308338
    TCPHystartTrainDetect: 2
    TCPHystartTrainCwnd: 39
    TCPDelivered: 308385
    TCPAckCompressed: 22470
    TCPDSACKRecvSegs: 28
IpExt:
    InMcastPkts: 126
    OutMcastPkts: 66
    InBcastPkts: 152
    InOctets: 46108
    OutOctets: 23964
    InMcastOctets: 4092
    OutMcastOctets: 2188
    InBcastOctets: 19224
    InNoECTPkts: 479


** PCI devices:

** USB devices:
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 003: ID 0c45:6321 Microdia HP Integrated Webcam
Bus 007 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 258a:001e HAILUCK CO.,LTD USB KEYBOARD
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 5.10.0-6-arm64 (SMP w/6 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-5.10.0-6-arm64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.140
ii  kmod                                    28-1
ii  linux-base                              4.6

Versions of packages linux-image-5.10.0-6-arm64 recommends:
ii  apparmor             2.13.6-10
ii  firmware-linux-free  20200122-1

Versions of packages linux-image-5.10.0-6-arm64 suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-5.10          <none>

Versions of packages linux-image-5.10.0-6-arm64 is related to:
ii  firmware-amd-graphics     20210315-2
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
ii  firmware-linux-nonfree    20210315-2
ii  firmware-misc-nonfree     20210315-2
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

Reply via email to