Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard not working #272

Open
raphaeldias85 opened this issue Jan 21, 2025 · 9 comments
Open

Keyboard not working #272

raphaeldias85 opened this issue Jan 21, 2025 · 9 comments

Comments

@raphaeldias85
Copy link

Hello,

I attached the USB from outsite or inside, same issue: no keyboard.

[ 5208.624737] mce: [Hardware Error]: Machine check events logged
[ 5261.708806] usb 3-13: USB disconnect, device number 23
[ 5262.955571] usb 3-13: new high-speed USB device number 24 using xhci_hcd
[ 5268.574053] usb 3-13: New USB device found, idVendor=3346, idProduct=1009, bcdDevice= 5.10
[ 5268.574065] usb 3-13: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5268.574070] usb 3-13: Manufacturer: sipeed
[ 5273.693978] usb 3-13: can't set config #1, error -110
[ 5371.517110] usb 3-13: USB disconnect, device number 24
[ 5379.256350] usb 3-13: new high-speed USB device number 25 using xhci_hcd
[ 5384.797402] usb 3-13: unable to read config index 0 descriptor/all
[ 5384.797414] usb 3-13: can't read configurations, error -110
[ 5384.911324] usb 3-13: new high-speed USB device number 26 using xhci_hcd
[ 5390.429392] usb 3-13: unable to read config index 0 descriptor/all
[ 5390.429403] usb 3-13: can't read configurations, error -110
[ 5390.429520] usb usb3-port13: attempt power cycle
[ 5390.817321] usb 3-13: new high-speed USB device number 27 using xhci_hcd
[ 5396.064331] usb 3-13: unable to read config index 0 descriptor/all
[ 5396.064344] usb 3-13: can't read configurations, error -110
[ 5396.180259] usb 3-13: new high-speed USB device number 28 using xhci_hcd
[ 5401.693370] usb 3-13: unable to read config index 0 descriptor/all
[ 5401.693381] usb 3-13: can't read configurations, error -110
[ 5401.693487] usb usb3-port13: unable to enumerate USB device
[ 5870.745650] mce: [Hardware Error]: Machine check events logged
[ 6103.735920] usb 3-13: new high-speed USB device number 29 using xhci_hcd
[ 6109.275973] usb 3-13: unable to read config index 0 descriptor/all
[ 6109.275987] usb 3-13: can't read configurations, error -110
[ 6109.389915] usb 3-13: new high-speed USB device number 30 using xhci_hcd
[ 6114.907983] usb 3-13: unable to read config index 0 descriptor/all
[ 6114.907994] usb 3-13: can't read configurations, error -110
[ 6114.908109] usb usb3-port13: attempt power cycle
[ 6115.287900] usb 3-13: new high-speed USB device number 31 using xhci_hcd
[ 6120.539950] usb 3-13: unable to read config index 0 descriptor/all
[ 6120.539961] usb 3-13: can't read configurations, error -110
[ 6120.653890] usb 3-13: new high-speed USB device number 32 using xhci_hcd
[ 6126.171935] usb 3-13: unable to read config index 0 descriptor/all
[ 6126.171946] usb 3-13: can't read configurations, error -110
[ 6126.172057] usb usb3-port13: unable to enumerate USB device

@Z2Z-GuGu
Copy link
Collaborator

It seems from the logs that the issue might be caused by a poor connection with the USB-C (it disconnects after a while). Please try replacing the USB cable. (I also want to complain about the quality of the included cable, which forced me to use my own high-quality USB cable during development.)

@Z2Z-GuGu
Copy link
Collaborator

If the keyboard, mouse, virtual USB drive, and other devices cannot be used simultaneously, it is likely due to this issue. Additionally, you can update to the latest version and try clicking 'Reset HID' on the web.

@raphaeldias85
Copy link
Author

raphaeldias85 commented Jan 22, 2025 via email

@Z2Z-GuGu
Copy link
Collaborator

May I ask what host device is connected to the NanoKVM? Additionally, is it only the keyboard that is not working, or are all devices emulated by the NanoKVM, such as the mouse, also not functioning?

@raphaeldias85
Copy link
Author

raphaeldias85 commented Jan 22, 2025 via email

@Z2Z-GuGu
Copy link
Collaborator

As far as I know, some operating systems may not allow HID devices and mass storage devices to be combined into the same USB device. You might try disabling the virtual USB drive and RNDIS in the web settings.

@Z2Z-GuGu
Copy link
Collaborator

Hmm... the likelihood is low. I took a closer look at the log above and found that the host didn't even retrieve the USB descriptor for NanoKVM. This might be related to the gadget service in the NanoKVM system. Please try connecting the USB HID interface to another computer to see if the USB device appears. If it still doesn't work, you may need to re-flash the NanoKVM system according to the instructions here (note that the new system will automatically fetch the latest applications and download them upon first power-up, which may take some time).

@CRCinAU
Copy link

CRCinAU commented Jan 22, 2025

I'm having a hell of a time using the USB Keyboard too.... If I reboot the NanoKVM, the keyboard will work for a little bit of time, then stop functioning again.

dmesg is as follows:

# dmesg 
[    0.000000] Linux version 5.10.4-tag- (bugu@bugu-desktop) (riscv64-unknown-linux-musl-gcc (Xuantie-900 linux-5.10.4 musl gcc Toolchain V2.6.1 B-20220906) 10.2.0, GNU ld (GNU Binutils) 2.35) #31 PREEMPT Wed Nov 13 09:55:48 CST 2024
[    0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[    0.000000] printk: bootconsole [sbi0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Initial ramdisk at: 0x(____ptrval____) (2531328 bytes)
[    0.000000] Ion: Ion memory setup at 0x000000008b300000 size 75 MiB
[    0.000000] OF: reserved mem: initialized node ion, compatible id ion-region
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080000000-0x000000008fdfffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000008fdfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fdfffff]
[    0.000000] On node 0 totalpages: 65024
[    0.000000]   DMA32 zone: 889 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 65024 pages, LIFO batch:15
[    0.000000] SBI specification v0.3 detected
[    0.000000] SBI implementation ID=0x1 Version=0x9
[    0.000000] SBI v0.2 TIME extension detected
[    0.000000] SBI v0.2 IPI extension detected
[    0.000000] SBI v0.2 RFENCE extension detected
[    0.000000] riscv: ISA extensions acdfimsuv
[    0.000000] riscv: ELF capabilities acdfimv
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64135
[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait rw console=ttyS0,115200 earlycon=sbi riscv.fwsz=0x80000 release loglevel=0
[    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000000] Sorting __ex_table...
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 159148K/260096K available (5537K kernel code, 645K rwdata, 2370K rodata, 172K init, 261K bss, 100948K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: interrupt-controller@70000000: mapped 101 interrupts with 1 handlers for 2 contexts.
[    0.000000] random: get_random_bytes called from start_kernel+0x2e0/0x41c with crng_init=0
[    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[    0.000008] sched_clock: 64 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[    0.000149] Console: colour dummy device 80x25
[    0.000200] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.000217] pid_max: default: 4096 minimum: 301
[    0.000378] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.000394] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.001815] ASID allocator initialised with 65536 entries
[    0.001954] rcu: Hierarchical SRCU implementation.
[    0.002656] EFI services will not be available.
[    0.003044] devtmpfs: initialized
[    0.008019] early_time_log: do_initcalls: 3998327us
[    0.009091] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.009115] futex hash table entries: 16 (order: -4, 384 bytes, linear)
[    0.009214] pinctrl core: initialized pinctrl subsystem
[    0.009732] NET: Registered protocol family 16
[    0.010281] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.010355] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.011024] thermal_sys: Registered thermal governor 'step_wise'
[    0.026357] OF: /gpio@03020000/gpio-controller@0: could not find phandle
[    0.026435] OF: /gpio@03021000/gpio-controller@1: could not find phandle
[    0.026504] OF: /gpio@03022000/gpio-controller@2: could not find phandle
[    0.026572] OF: /gpio@03023000/gpio-controller@3: could not find phandle
[    0.026638] OF: /gpio@05021000/gpio-controller@4: could not find phandle
[    0.028775] clk reset: nr_reset=64 resource_size=8
[    0.029388] get audio clk=24576000
[    0.029451] cvitek-i2s-subsys 4108000.i2s_subsys: Set clk_sdma_aud0~3 to 24576000
[    0.046882] dw_dmac 4330000.dma: CVITEK DMA Controller, 8 channels, probe done!
[    0.047603] SCSI subsystem initialized
[    0.047908] usbcore: registered new interface driver usbfs
[    0.047992] usbcore: registered new interface driver hub
[    0.048089] usbcore: registered new device driver usb
[    0.050304] mc: Linux media interface: v0.10
[    0.050378] videodev: Linux video capture interface: v2.00
[    0.050871] Ion: ion_parse_dt_heap_common: id 0 type 2 name carveout align 1000
[    0.051507] Ion: rmem_ion_device_init: heap carveout base 0x000000008b300000 size 0x0000000004b00000 dev (____ptrval____)
[    0.051522] ion_carveout_heap_create, size=0x4b00000
[    0.051666] cvi_get_rtos_ion_size, rtos ion_size get:0x1600000
[    0.051675] ion_carveout_heap_create, size(exclusion of rtos_ion_size)=0x3500000
[    0.266472] platform carveout: [ion] add heap id 0, type 2, base 0x8b300000, size 0x4b00000
[    0.266866] Advanced Linux Sound Architecture Driver Initialized.
[    0.267515] Bluetooth: Core ver 2.22
[    0.267592] NET: Registered protocol family 31
[    0.267601] Bluetooth: HCI device and connection manager initialized
[    0.267620] Bluetooth: HCI socket layer initialized
[    0.267641] Bluetooth: L2CAP socket layer initialized
[    0.267676] Bluetooth: SCO socket layer initialized
[    0.268367] clocksource: Switched to clocksource riscv_clocksource
[    0.280045] NET: Registered protocol family 2
[    0.281116] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.281158] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.281197] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.281228] TCP: Hash tables configured (established 2048 bind 2048)
[    0.281361] UDP hash table entries: 128 (order: 0, 4096 bytes, linear)
[    0.281393] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear)
[    0.281579] NET: Registered protocol family 1
[    0.282222] RPC: Registered named UNIX socket transport module.
[    0.282234] RPC: Registered udp transport module.
[    0.282240] RPC: Registered tcp transport module.
[    0.282246] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.282539] Unpacking initramfs...
[    0.437874] Freeing initrd memory: 2468K
[    0.438690] Initialise system trusted keyrings
[    0.438901] workingset: timestamp_bits=62 max_order=16 bucket_order=0
[    0.445099] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.446160] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.513478] Key type asymmetric registered
[    0.513491] Asymmetric key parser 'x509' registered
[    0.519031] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    0.521409] printk: console [ttyS0] disabled
[    0.521507] 4140000.serial: ttyS0 at MMIO 0x4140000 (irq = 17, base_baud = 1562500) is a 16550A
[    0.521582] printk: console [ttyS0] enabled
[    0.521590] printk: bootconsole [sbi0] disabled
[    0.522672] 4150000.serial: ttyS1 at MMIO 0x4150000 (irq = 18, base_baud = 1562500) is a 16550A
[    0.523579] 4160000.serial: ttyS2 at MMIO 0x4160000 (irq = 19, base_baud = 1562500) is a 16550A
[    0.524575] 4170000.serial: ttyS3 at MMIO 0x4170000 (irq = 20, base_baud = 1562500) is a 16550A
[    0.533910] loop: module loaded
[    0.539469] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    0.539482] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
[    0.540195] libphy: Fixed MDIO Bus: probed
[    0.540208] tun: Universal TUN/TAP device driver, 1.6
[    0.540948] bm-dwmac 4070000.ethernet: IRQ eth_wake_irq not found
[    0.540963] bm-dwmac 4070000.ethernet: IRQ eth_lpi not found
[    0.541061] bm-dwmac 4070000.ethernet: Hash table entries set to unexpected value 0
[    0.541179] bm-dwmac 4070000.ethernet: no reset control found
[    0.541403] bm-dwmac 4070000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    0.541423] bm-dwmac 4070000.ethernet:       DWMAC1000
[    0.541433] bm-dwmac 4070000.ethernet: DMA HW capability register supported
[    0.541442] bm-dwmac 4070000.ethernet: RX Checksum Offload Engine supported
[    0.541452] bm-dwmac 4070000.ethernet: COE Type 2
[    0.541461] bm-dwmac 4070000.ethernet: TX Checksum insertion supported
[    0.541470] bm-dwmac 4070000.ethernet: Normal descriptors
[    0.541478] bm-dwmac 4070000.ethernet: Ring mode enabled
[    0.541487] bm-dwmac 4070000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.541499] bm-dwmac 4070000.ethernet: device MAC address 12:2e:86:86:a3:5e
[    0.565120] libphy: stmmac: probed
[    0.565146] CVITEK CV182XA stmmac-0:00: attached PHY driver [CVITEK CV182XA] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    0.565163] CVITEK CV182XA stmmac-0:01: attached PHY driver [CVITEK CV182XA] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    0.566357] bm-dwmac 4070000.ethernet: Cannot get clk_500m_eth!
[    0.566395] bm-dwmac 4070000.ethernet: Cannot get gate_clk_axi4!
[    0.567488] dwc2 4340000.usb: axi clk installed
[    0.567503] dwc2 4340000.usb: apb clk installed
[    0.567514] dwc2 4340000.usb: 125m clk installed
[    0.567525] dwc2 4340000.usb: 33k clk installed
[    0.567535] dwc2 4340000.usb: 12m clk installed
[    0.567621] dwc2 4340000.usb: EPs: 8, dedicated fifos, 3072 entries in SPRAM
[    0.568100] dwc2 4340000.usb: DWC OTG Controller
[    0.568139] dwc2 4340000.usb: new USB bus registered, assigned bus number 1
[    0.568184] dwc2 4340000.usb: irq 41, io mem 0x04340000
[    0.569208] hub 1-0:1.0: USB hub found
[    0.569264] hub 1-0:1.0: 1 port detected
[    0.570610] usbcore: registered new interface driver cdc_acm
[    0.570622] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.570728] usbcore: registered new interface driver usb-storage
[    0.570879] usbcore: registered new interface driver option
[    0.570930] usbserial: USB Serial support registered for GSM modem (1-port)
[    0.571404] i2c /dev entries driver
[    0.572212] usbcore: registered new interface driver uvcvideo
[    0.572223] USB Video Class driver (1.1.1)
[    0.573445] Bluetooth: HCI UART driver ver 2.3
[    0.573458] Bluetooth: HCI UART protocol H4 registered
[    0.573466] Bluetooth: HCI UART protocol BCSP registered
[    0.573512] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    0.573979] sdhci: Secure Digital Host Controller Interface driver
[    0.573988] sdhci: Copyright(c) Pierre Ossman
[    0.573994] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.574257] cvi:sdhci_cvi_probe
[    0.620383] mmc0: SDHCI controller on 4310000.cv-sd [4310000.cv-sd] using ADMA 64-bit
[    0.620399] cvi_proc_init cvi_host 0x(____ptrval____)
[    0.620550] cvi:sdhci_cvi_probe
[    0.652948] mmc1: SDHCI controller on 4320000.wifi-sd [4320000.wifi-sd] using ADMA 64-bit
[    0.654075] ledtrig-cpu: registered to indicate activity on CPUs
[    0.654378] usbcore: registered new interface driver usbhid
[    0.654387] usbhid: USB HID core driver
[    0.655958] cvitek-i2s 4100000.i2s: cvi_i2s_probe
[    0.656488] cvitek-i2s 4130000.i2s: cvi_i2s_probe
[    0.657189] cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc
[    0.657216] cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card
[    0.657523] cvitekaadc 300a100.adc: cvitekaadc_probe
[    0.657760] adc: set volume 20
[    0.658278] cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac
[    0.658731] cvitekadac 300a000.dac: cvitekadac_probe
[    0.659048] cvitekadac_probe gpio_is_valid mute_pin_l
[    0.659059] cvitekadac_probe gpio_is_valid mute_pin_r
[    0.661820] xt_time: kernel timezone is -0000
[    0.661867] IPVS: Registered protocols ()
[    0.661927] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    0.662165] IPVS: ipvs loaded.
[    0.662766] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    0.663372] NET: Registered protocol family 10
[    0.665115] Segment Routing with IPv6
[    0.666651] NET: Registered protocol family 17
[    0.666887] Bluetooth: RFCOMM TTY layer initialized
[    0.666910] Bluetooth: RFCOMM socket layer initialized
[    0.666945] Bluetooth: RFCOMM ver 1.11
[    0.666967] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    0.666984] Bluetooth: BNEP socket layer initialized
[    0.666994] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    0.667008] Bluetooth: HIDP socket layer initialized
[    0.667313] Loading compiled-in X.509 certificates
[    0.687557] i2c_designware 4040000.i2c: running with gpio recovery mode! scl,sda
[    0.689232] cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc
[    0.689248] cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card
[    0.702153] cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac
[    0.711992] mmc0: new high speed SDHC card at address 13ab
[    0.713654] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    0.714436] ALSA device list:
[    0.714674] dw-apb-uart 4140000.serial: forbid DMA for kernel console
[    0.714877] Freeing unused kernel memory: 172K
[    0.714886] Kernel memory protection not selected by kernel config.
[    0.714908] Run /init as init process
[    0.714917]   with arguments:
[    0.714923]     /init
[    0.714929]     release
[    0.714935]   with environment:
[    0.714941]     HOME=/
[    0.714947]     TERM=linux
[    0.714955] early_time_log: run_init_process: 4705269us
[    0.720051] mmcblk0: mmc0:13ab SE032 28.8 GiB 
[    0.723273]  mmcblk0: p1 p2 p3
[    1.329188] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.367142] random: fast init done
[    1.595932] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    1.753131] soph_sys: bad vermagic: kernel tainted.
[    1.753142] Disabling lock debugging due to kernel taint
[    1.753152] soph_sys: loading out-of-tree module taints kernel.
[    1.780591] CVITEK CHIP ID = 18
[    1.791499] name=1900000.rtos_cmdqu
[    1.791700] res-reg: start: 0x1900000, end: 0x1900fff, virt-addr(ffffffd005b9d000).
[    1.791967] [cvi_spinlock_init] success
[    2.008410] RTOS_CMDQU_SEND_WAIT timeout
[    2.008420] SYS_CMD_INFO_LINUX_INIT_DONE fail
[    2.008453] communicate with rtos fail
[    2.026569] cif a0c2000.cif: cam0 clk installed
[    2.026616] cif a0c2000.cif: cam1 clk installed
[    2.026638] cif a0c2000.cif: vip_sys_2 clk installed
[    2.026662] cif a0c2000.cif: clk_mipimpll clk installed (____ptrval____)
[    2.026685] cif a0c2000.cif: clk_disppll clk installed (____ptrval____)
[    2.026709] cif a0c2000.cif: clk_fpll clk installed (____ptrval____)
[    2.026735] cif a0c2000.cif: (0) res-reg: start: 0xa0c2000, end: 0xa0c3fff.
[    2.026745] cif a0c2000.cif:  virt-addr((____ptrval____))
[    2.026763] cif a0c2000.cif: (1) res-reg: start: 0xa0d0000, end: 0xa0d0fff.
[    2.026772] cif a0c2000.cif:  virt-addr((____ptrval____))
[    2.026790] cif a0c2000.cif: (2) res-reg: start: 0xa0c4000, end: 0xa0c5fff.
[    2.026799] cif a0c2000.cif:  virt-addr((____ptrval____))
[    2.026815] cif a0c2000.cif: (3) res-reg: start: 0xa0c6000, end: 0xa0c7fff.
[    2.026825] cif a0c2000.cif:  virt-addr((____ptrval____))
[    2.026844] cif a0c2000.cif: (4) res-reg: start: 0x3001c30, end: 0x3001c5f.
[    2.026854] cif a0c2000.cif:  virt-addr((____ptrval____))
[    2.026864] cif a0c2000.cif: no pad_ctrl for cif
[    2.026934] cif a0c2000.cif: request irq-30 as cif-irq0
[    2.026993] cif a0c2000.cif: request irq-31 as cif-irq1
[    2.027133] cif a0c2000.cif: rst_pin = 361, pol = 0
[    2.027161] cif a0c2000.cif: phy0 reset installed
[    2.027181] cif a0c2000.cif: phy0 apb reset installed
[    2.027207] cif a0c2000.cif: phy1 reset installed
[    2.027227] cif a0c2000.cif: phy1 apb reset installed
[    2.034664] snsr_i2c snsr_i2c: i2c:-------hook 0
[    2.034772] snsr_i2c snsr_i2c: i2c:-------hook 1
[    2.034861] snsr_i2c snsr_i2c: i2c:-------hook 3
[    2.034949] snsr_i2c snsr_i2c: i2c:-------hook 4
[    2.196465] cvi_dwa_probe:487(): done with rc(0).
[    2.256099] cooling cooling: elems of dev-freqs=6
[    2.256128] cooling cooling: dev_freqs[0]: 850000000 500000000
[    2.256139] cooling cooling: dev_freqs[1]: 425000000 375000000
[    2.256149] cooling cooling: dev_freqs[2]: 425000000 300000000
[    2.256247] cooling cooling: Cooling device registered: cooling
[    2.280576] [INFO] Register SBM IRQ ###################################
[    2.280601] [INFO] pvctx->s_sbm_irq = 38
[    2.289195] jpu ctrl reg pa = 0xb030000, va = (____ptrval____), size = 256
[    2.289508] end jpu_init result = 0x0
[    2.430479] cvi_vc_drv_init result = 0x0
[    2.437011] cvi_rtc 5026000.rtc: time read as 1737551876. 1/22/2025 13:17:56
[    2.437029] cvi_rtc 5026000.rtc: CVITEK current time 1737551876
[    2.437039] cvi_rtc 5026000.rtc: CVITEK current alarm -1
[    2.437057] cvi_rtc 5026000.rtc: time read as 1737551876. 1/22/2025 13:17:56
[    2.437451] cvi_rtc 5026000.rtc: registered as rtc0
[    2.437474] cvi_rtc 5026000.rtc: time read as 1737551876. 1/22/2025 13:17:56
[    2.437512] cvi_rtc 5026000.rtc: setting system clock to 2025-01-22T13:17:56 UTC (1737551876)
[    2.447438] cvi_rtc 5026000.rtc: rtc 32k calibration has been completed
[    2.447453] cvi_rtc 5026000.rtc: CVITEK real time clock
[    2.978789] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    3.001848] exFAT-fs (mmcblk0p3): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    3.097674] random: crng init done
[    3.326543] dwc2 4340000.usb: bound driver configfs-gadget
[    3.368882] <<-GTP-INFO->> GTP driver installing...
[    3.369038] <<-GTP-INFO->> GTP start add i2c driver...
[    3.369141] <<-GTP-INFO->> GTP Driver Version: V2.4<2014/11/28>
[    3.369151] <<-GTP-INFO->> GTP I2C Address: 0x14
[    3.369283] <<-GTP-INFO->> Guitar reset
[    3.484742] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
[    3.484753] <<-GTP-INFO->> Guitar reset
[    3.494323] dwc2 4340000.usb: new device is high-speed
[    3.592404] <<-GTP-ERROR->> GTP i2c test failed time 1.
[    3.608505] dwc2 4340000.usb: new device is high-speed
[    3.612938] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
[    3.612948] <<-GTP-INFO->> Guitar reset
[    3.668430] dwc2 4340000.usb: new address 11
[    3.720400] <<-GTP-ERROR->> GTP i2c test failed time 2.
[    3.740735] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
[    3.740745] <<-GTP-INFO->> Guitar reset
[    3.848395] <<-GTP-ERROR->> GTP i2c test failed time 3.
[    3.868738] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
[    3.868749] <<-GTP-INFO->> Guitar reset
[    3.976398] <<-GTP-ERROR->> GTP i2c test failed time 4.
[    3.996723] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -121! Process reset.
[    3.996733] <<-GTP-INFO->> Guitar reset
[    4.104396] <<-GTP-ERROR->> GTP i2c test failed time 5.
[    4.124408] <<-GTP-ERROR->> I2C communication ERROR!
[    4.124682] <<-GTP-ERROR->> I2C Read: 0x8140, 6 bytes failed, errcode: -121! Process reset.
[    4.124690] <<-GTP-INFO->> Guitar reset
[    4.232390] <<-GTP-ERROR->> GTP read version failed
[    4.232401] <<-GTP-ERROR->> Read version failed.
[    4.232674] <<-GTP-ERROR->> I2C Read: 0x8047, 240 bytes failed, errcode: -121! Process reset.
[    4.232681] <<-GTP-INFO->> Guitar reset
[    4.340388] <<-GTP-ERROR->> Read Config Failed, Using Default Resolution & INT Trigger!
[    4.340405] <<-GTP-INFO->> X_MAX: 800, Y_MAX: 1280, TRIGGER: 0x01
[    4.360610] input: goodix-ts as /devices/virtual/input/input1
[    4.360851] <<-GTP-INFO->> GTP works in interrupt mode.
[    4.589085] udevd[271]: starting version 3.2.14
[    4.657947] udevd[272]: starting eudev-3.2.14
[    6.928060] bm-dwmac 4070000.ethernet eth0: PHY [stmmac-0:00] driver [CVITEK CV182XA] (irq=POLL)
[    6.936435] dwmac1000: Master AXI performs any burst length
[    6.936463] bm-dwmac 4070000.ethernet eth0: No Safety Features support found
[    6.936483] bm-dwmac 4070000.ethernet eth0: IEEE 1588-2002 Timestamp supported
[    6.943777] bm-dwmac 4070000.ethernet eth0: configuring for phy/rmii link mode
[    7.086265] i2c-gpio i2c5@gpio: using lines 507 (SDA) and 495 (SCL)
[    7.240577] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.254183] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.292497] aicbsp_init
[    7.292508] RELEASE_DATE:2024_0109_ec460377
[    7.292514] aicbsp_resv_mem_init 
[    7.408649] aicbsp: aicbsp_set_subsys, subsys: AIC_WIFI, state to: 1
[    7.408662] aicbsp: aicbsp_set_subsys, power state change to 1 dure to AIC_WIFI
[    7.408668] aicbsp: aicbsp_platform_power_on
[    8.997673] bm-dwmac 4070000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[    8.997719] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.428564] aicbsp: aicbsp_set_subsys, fail to set AIC_WIFI power state to 1
[    9.428578] AICWFDBG(LOGERROR)       rwnx_mod_init, set power on fail!
[    9.469077] aicbsp: aicbsp_set_subsys, subsys: AIC_WIFI, state to: 1
[    9.469091] aicbsp: aicbsp_set_subsys, power state change to 1 dure to AIC_WIFI
[    9.469097] aicbsp: aicbsp_platform_power_on
[   11.508492] aicbsp: aicbsp_set_subsys, fail to set AIC_WIFI power state to 1
[   11.508506] AICWFDBG(LOGERROR)       rwnx_mod_init, set power on fail!
[   21.965782] vb_get_pool_info:536():  NULL VB HANDLE
[   21.967216] vb_get_pool_info:536():  NULL VB HANDLE
[   22.285250] vpss_open
[   23.028583] vi_event_handler exit
[   23.056864] vpss_release
[   23.061850] vb_get_pool_info:536():  NULL VB HANDLE
[   23.063329] vb_get_pool_info:536():  NULL VB HANDLE
[   23.064029] vpss_open
[   23.726818] vi_event_handler exit
[   23.752819] vpss_release

@raphaeldias85
Copy link
Author

raphaeldias85 commented Jan 22, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants