Package: src:linux Version: 5.8.7-1 Severity: normal When connecting a USB device to the USB3 port on the Rock64, nothing appears in dmesg and lsblk doesn't show the device either. But when I boot into armbian, it does appear in both dmesg and lsblk.
Then I found commit "[ rockchip64 ] add USB3 PHY RK3328" at https://github.com/armbian/build/commit/d230c3d15db200e81ddb3149f4a46198be2d9d20 and compared kernel configurations diederik@armbian-rock64:~$ grep -E 'CONFIG_HAVE_COPY_THREAD_TLS|CONFIG_CDROM|CONFIG_CHARGER_ISP1704|CONFIG_USB_PHY|CONFIG_PHY_ROCKCHIP_INNO_USB3' /boot/config-5.8.6-rockchip64 CONFIG_HAVE_COPY_THREAD_TLS=y CONFIG_CDROM=m # CONFIG_CDROM_PKTCDVD is not set CONFIG_CHARGER_ISP1704=m CONFIG_USB_PHY=y CONFIG_PHY_ROCKCHIP_INNO_USB3=y diederik@deb-rock64:~$ grep -E 'CONFIG_HAVE_COPY_THREAD_TLS|CONFIG_CDROM|CONFIG_CHARGER_ISP1704|CONFIG_USB_PHY|CONFIG_PHY_ROCKCHIP_INNO_USB3' /boot/config-* CONFIG_HAVE_COPY_THREAD_TLS=y CONFIG_CDROM=m # CONFIG_CDROM_PKTCDVD is not set # CONFIG_CHARGER_ISP1704 is not set CONFIG_USB_PHY=y Thus the 2 differences are CONFIG_CHARGER_ISP1704 and CONFIG_PHY_ROCKCHIP_INNO_USB3. I then checked the kernel configs of linux-image-5.8.0-1-armmp_5.8.7-1_armhf and linux-image-5.8.0-1-armmp-lpae_5.8.7-1_armhf (both from DL-ed .deb files) and noticed that both have CONFIG_CHARGER_ISP1704=m So my untrained eye would think that it could be enabled in arm64's config as well. The above referenced commit (message) also contains: "Adds the USB3 PHY driver currently under consideration upstream." I don't have the knowledge to determine whether that is safe/supported and what the status upstream is. I did find the following links, which maybe useful: https://patchwork.kernel.org/project/linux-rockchip/list/?submitter=179815 https://lkml.org/lkml/2020/8/16/168 Cheers, Diederik -- Package-specific info: ** Version: Linux version 5.8.0-1-arm64 (debian-ker...@lists.debian.org) (gcc-10 (Debian 10.2.0-6) 10.2.0, GNU ld (GNU Binutils for Debian) 2.35) #1 SMP Debian 5.8.7-1 (2020-09-05) ** Command line: quiet ** Not tainted ** Kernel log: Unable to read kernel log; any relevant messages should be attached ** Model information Device Tree model: Pine64 Rock64 ** Loaded modules: snd_soc_hdmi_codec dw_hdmi_i2s_audio aes_ce_blk crypto_simd cryptd aes_ce_cipher ghash_ce gf128mul sha2_ce sha256_arm64 sha1_ce ofpart leds_gpio snd_soc_rockchip_spdif snd_soc_rockchip_i2s snd_soc_rockchip_pcm snd_soc_core spi_nor snd_pcm_dmaengine mtd snd_pcm lima snd_timer snd gpu_sched nvmem_rockchip_efuse rockchip_thermal dw_wdt soundcore cpufreq_dt ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic realtek rk808_regulator rtc_rk808 dwmac_rk clk_rk808 stmmac_platform stmmac rockchipdrm ohci_platform ohci_hcd analogix_dp dwc2 dw_hdmi cec mdio_xpcs rk808 dw_mipi_dsi phylink drm_kms_helper of_mdio fixed_phy udc_core ehci_platform ehci_hcd drm libphy usbcore phy_rockchip_inno_usb2 ptp fixed dw_mmc_rockchip pps_core dw_mmc_pltfm phy_rockchip_inno_hdmi usb_common rockchip_io_domain dw_mmc spi_rockchip pl330 i2c_rk3x ** Network interface configuration: *** /etc/network/interfaces: source /etc/network/interfaces.d/* auto lo iface lo inet loopback allow-hotplug eth0 iface eth0 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: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 52:ce:d0:54:13:01 brd ff:ff:ff:ff:ff:ff inet 192.168.1.211/24 brd 192.168.1.255 scope global dynamic eth0 valid_lft 84990sec preferred_lft 84990sec inet6 fe80::50ce:d0ff:fe54:1301/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: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 eth0: 904684 1371 0 0 0 0 0 0 281183 990 1 0 1 0 0 0 ** PCI devices: ** USB devices: Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: arm64 (aarch64) Kernel: Linux 5.8.0-1-arm64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages linux-image-5.8.0-1-arm64 depends on: ii initramfs-tools [linux-initramfs-tool] 0.137 ii kmod 27+20200310-2 ii linux-base 4.6 Versions of packages linux-image-5.8.0-1-arm64 recommends: ii apparmor 2.13.4-3 ii firmware-linux-free 20200122-1 Versions of packages linux-image-5.8.0-1-arm64 suggests: pn debian-kernel-handbook <none> pn linux-doc-5.8 <none> Versions of packages linux-image-5.8.0-1-arm64 is related to: pn firmware-amd-graphics <none> 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> pn firmware-linux-nonfree <none> pn firmware-misc-nonfree <none> 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