Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. disable build-in audio (doesn't work, sunxicodec is not kernel module but inside kernel)
- ```
- sudo vim /etc/modprobe.d/alsa-blacklist.conf
- blacklist sunxicodec
- blacklist sunxi-CODEC (?)
- ```
- 2. set usb-dac as primary (doesn't work, usb-dac is dissapear after that)
- ```
- sudo vim /etc/modprobe.d/alsa-base.conf
- options snd-usb-audio index=0
- options sunxicodec index=1
- ```
- 3. set card1 as default
- ```
- sudo vim /etc/asound.conf
- pcm.!default {
- type hw
- card 1
- }
- ctl.!default {
- type hw
- card 1
- }
- ```
- 4. test
- ```
- speaker-test --format S32_LE --channels 2 -r 44100
- ```
Add Comment
Please, Sign In to add comment