Linux提示usb_serial_generic_write_bulk_callback - urb stoped: -32

Which Khadas SBC do you use?

VIM3

Which system do you use? Android, Ubuntu, OOWOW or others?

casun@Khadas:~$ uname -a
Linux Khadas 4.9.241 #3 SMP PREEMPT Tue Dec 6 09:39:20 CST 2022 aarch64 aarch64 aarch64 GNU/Linux

casun@Khadas:~$ uname -v
#3 SMP PREEMPT Tue Dec 6 09:39:20 CST 2022

casun@Khadas:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal

Please describe your issue below:

使用usb转串口偶发会出现:usb_serial_generic_write_bulk_callback - urb stoped: -32

查找到一个解决方案:

问题:
我不能够找到:
vi /boot/grub/grub.cfg
但是 cat /proc/cmdline可以输出:
casun@Khadas:~$ cat /proc/cmdline
root=UUID=3c477297-d7dd-4e76-a9bf-d377ac373d46 rootfstype=ext4 rootflags=data=writeback rw ubootpart=NULL console=ttyS0,115200n8 no_console_suspend consoleblank=0 loglevel=0 logo=osd0,loaded,0x3d800000,panel vout=panel,enable hdmimode=1080p60hz fbcon=rotate:0 fsck.repair=yes net.ifnames=0 wol_enable=0 max_freq_a53=1908 max_freq_a73=2100 jtag=disable mac=c8:63:14:71:06:42 fan=high khadas_board=VIM3 hwver=VIM3.V12 coherent_pool=2M pci=pcie_bus_perf reboot_mode=cold_boot imagetype=EMMC uboottype=vendor splash quiet plymouth.ignore-serial-consoles vt.handoff=7

*** 我想知道/proc/cmdline下的内容可以如何配置比如在vt.handoff=7 最后加上dwc_otg.speed=1**

Hello @liushad you can add it under user_kernel_args

under the file /boot/env.txt
just modify the section like this for your requirement.

# User kernel args
# Add customer kernel args here
user_kernel_args=dwc_otg.speed=1

Regards.