[Bug Report] 系统每次重启,系统识别到的USB喇叭的Card ID会变
Tofloor
poster avatar
弓長纟L米龍
deepin
2026-02-06 14:47
Author

使用deepin25系统,将USB喇叭插入USB2.0接口,使用aplay -l查看,该USB设备第一次识别到的可能是card1;系统重启之后,可能会识别到card2,这个cardID能否固定下来?

IMG20260205154819.jpg
IMG20260205155154.jpg

Reply Favorite View the author
All Replies
deepin流云
Super Moderator
Community OP
2026-02-06 15:40
#1

帮问了下内核研发:usb控制器检测设备的寄存器先报的哪个就会先probe哪个,这个顺序并不是确定的。当然snd-usb-audio驱动可以强制设置usb声卡用哪个槽,但是针对特定机器和特定usb声卡,这种操作也没有意义

Reply View the author
root
deepin
2026-02-06 16:49
#2

可以自己写个udev规则固定哒

tail

Reply View the author