StationM2中如何配置虚拟声卡?
红心萝卜_luozy
初级玩家
Station M2
2023-07-03 23:33
707
0
按照Rockchip_Quick_Start_Linux_USB_Gadget_CN.pdf手册内容,可以使用/etc/init.d/S50usbdevice进行配置。 但在Ubuntu20镜像版本中没有找到这个脚本。
请问S50usbdevice从哪里可以获取呢?
M2中Ubuntu信息:
firefly@firefly:~$ uname -a
Linux firefly 4.19.232 #1 SMP Sun Jul 2 09:37:48 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
firefly@firefly:~$ ll /etc/init.d/
total 93
drwxrwxr-x 2 root root 1024 Jun 11 2021 ./
drwxrwxr-x 1 root root 4096 Jul 3 15:27 ../
-rw-rw-r-- 1 root root 11 Jun 11 2021 .usb_config
-rwxrwxr-x 1 root root 7609 Jun 3 2021 adbd.sh*
-rwxr-xr-x 1 root root 5574 Nov 5 2019 alsa-utils*
-rwxr-xr-x 1 root root 2055 Jul 16 2019 anacron*
-rwxr-xr-x 1 root root 2401 Aug 21 2018 avahi-daemon*
-rwxr-xr-x 1 root root 2968 Feb 26 2020 bluetooth*
-rwxr-xr-x 1 root root 1232 Mar 27 2020 console-setup.sh*
-rwxrwxr-x 1 root root 2492 Jun 11 2021 cpufrequtils*
-rwxr-xr-x 1 root root 3152 Sep 30 2019 dbus*
-rwxrwxr-x 1 root root 1593 Jun 11 2021 firstboot.sh*
-rwxr-xr-x 1 root root 3809 Jul 28 2019 hwclock.sh*
-rwxr-xr-x 1 root root 1479 Nov 27 2019 keyboard-setup.sh*
-rwxr-xr-x 1 root root 2044 Feb 19 2020 kmod*
-rwxr-xr-x 1 root root 3431 Aug 14 2019 lightdm*
-rwxr-xr-x 1 root root 1942 Sep 16 2020 network-manager*
-rwxr-xr-x 1 root root 1366 Mar 23 2020 plymouth*
-rwxr-xr-x 1 root root 752 Mar 23 2020 plymouth-log*
-rwxr-xr-x 1 root root 612 Feb 8 2019 pppd-dns*
-rwxr-xr-x 1 root root 924 Feb 13 2020 procps*
-rwxr-xr-x 1 root root 469 Oct 15 2020 pulseaudio-enable-autospawn*
-rwxr-xr-x 1 firefly firefly 436 Sep 11 2019 rkisp_3A.sh*
-rwxrwxr-x 1 root root 1837 Jun 3 2021 rockchip.sh*
-rwxr-xr-x 1 root root 4417 Oct 15 2019 rsync*
-rwxr-xr-x 1 root root 2864 Mar 7 2019 rsyslog*
-rwxr-xr-x 1 root root 2484 Sep 27 2019 spice-vdagent*
-rwxr-xr-x 1 root root 3939 Jul 23 2021 ssh*
-rwxr-xr-x 1 root root 6872 Jun 28 2021 udev*
-rwxr-xr-x 1 root root 485 Aug 10 2018 whoopsie*
-rwxr-xr-x 1 root root 2757 Feb 8 2020 x11-common*
firefly@firefly:~$
firefly@firefly:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
firefly@firefly:~$
|
|
原创文章,作者:红心萝卜_luozy,如若转载,请注明出处:《 StationM2中如何配置虚拟声卡? 》
我貌似没找到Rockchip_Quick_Start_Linux_USB_Gadget_CN.pdf手册,麻烦提供下路径
另外S50usbdevice 应该是在sdk下的这个目录下
external/rkscript/S50usbdevice
在https://gitlab.com/firefly-linux/docs 仓库
./Linux/ApplicationNote/Rockchip_Quick_Start_Linux_USB_Gadget_CN.pdf
kkkVirtualBox:~/sdk/rk356x_linux_bsp/docs$ git remote -v
firefly-linux https://gitlab.com/firefly-linux/docs (fetch)
firefly-linux https://gitlab.com/firefly-linux/docs (push)
kkkVirtualBox:~/sdk/rk356x_linux_bsp/docs$ git branch -a
* firefly
remotes/m/master -> rk356x/linux_release_v1.3.2d
kkkVirtualBox:~/sdk/rk356x_linux_bsp/docs$
kkkVirtualBox:~/sdk/rk356x_linux_bsp/docs$ ll ./Linux/ApplicationNote
总用量 9160
drwxrwxr-x 2 mycpc mycpc 4096 6月 7 19:32 ./
drwxrwxr-x 10 mycpc mycpc 4096 6月 7 19:32 ../
-rw-rw-r-- 1 mycpc mycpc 902708 6月 7 19:32 Rockchip_Developer_Guide_Debian_CN.pdf
-rw-rw-r-- 1 mycpc mycpc 63562 6月 7 19:32 Rockchip_Developer_Guide_Debian_Docker_EN.pdf
-rw-rw-r-- 1 mycpc mycpc 183819 6月 7 19:32 Rockchip_Developer_Guide_Debian_EN.pdf
-rw-rw-r-- 1 mycpc mycpc 407359 6月 7 19:32 Rockchip_Developer_Guide_Linux_Docker_Deploy_CN.pdf
-rw-rw-r-- 1 mycpc mycpc 732718 6月 7 19:32 Rockchip_Developer_Guide_Linux_Flash_Open_Source_Solution_CN.pdf
-rw-rw-r-- 1 mycpc mycpc 232109 6月 7 19:32 Rockchip_Developer_Guide_Linux_Flash_Open_Source_Solution_EN.pdf
-rwxrwxr-x 1 mycpc mycpc 1103926 6月 7 19:32 Rockchip_Developer_Guide_Linux_PCBA_CN.pdf*
-rw-rw-r-- 1 mycpc mycpc 1000213 6月 7 19:32 Rockchip_Developer_Guide_Linux_PCBA_EN.pdf
-rw-rw-r-- 1 mycpc mycpc 221297 6月 7 19:32 Rockchip_Developer_Guide_Third_Party_System_Adaptation_CN.pdf
-rw-rw-r-- 1 mycpc mycpc 132768 6月 7 19:32 Rockchip_Developer_Guide_Third_Party_System_Adaptation_EN.pdf
-rw-rw-r-- 1 mycpc mycpc 514645 6月 7 19:32 Rockchip_Developer_Guide_UEFI_CN.pdf
-rw-rw-r-- 1 mycpc mycpc 205774 6月 7 19:32 Rockchip_Instruction_Linux_ROS2_CN.pdf
-rw-rw-r-- 1 mycpc mycpc 269858 6月 7 19:32 Rockchip_Instruction_Linux_ROS_CN.pdf
-rw-rw-r-- 1 mycpc mycpc 130136 6月 7 19:32 Rockchip_Instruction_Linux_ROS_EN.pdf
-rw-rw-r-- 1 mycpc mycpc 514997 6月 7 19:32 Rockchip_Quick_Start_Linux_USB_Gadget_CN.pdf
-rw-rw-r-- 1 mycpc mycpc 370058 6月 7 19:32 Rockchip_Quick_Start_Linux_USB_Gadget_EN.pdf
-rw-rw-r-- 1 mycpc mycpc 1513512 6月 7 19:32 Rockchip_Use_Guide_Linux_RetroArch_CN.pdf
-rw-rw-r-- 1 mycpc mycpc 514856 6月 7 19:32 Rockchip_User_Guide_Linux_RetroArch_EN.pdf
-rwxrwxr-x 1 mycpc mycpc 321844 6月 7 19:32 Rockchip_User_Guide_SDK_Docker_CN.pdf*