[NOTE: Apologies for the paste, but for some reason the answer got
deleted from askubuntu (This post is hidden. It was deleted 12 hours ago
by fossfreedom♦. ...so much for "freedom" ; ) If someone can tell me
why, I would appreciate it. I gave the answer (Rodecaster appears not to
be supported) and showed a lot of debugging effort leading to that
conclusion.]

I have the same issue... I tried many things, but could not get the
Rodecaster working. I did learn quite a bit and got the Scarlett 2i2
working though.

  - lsusb
    Bus 001 Device 002: ID 19f7:0011 RODE Microphones RODECaster Pro
  - ls -al /dev/snd/by-id/
    lrwxrwxrwx 1 root root  12 May  6 11:44 
usb-RODE_Microphones_RODECaster_Pro_00000000001A-01 -> ../controlC2
  - cat /proc/asound/cards
    2 [Pro            ]: USB-Audio - RODECaster Pro
    RODE Microphones RODECaster Pro at usb-0000:01:00.0-3, high speed
  - cat /proc/asound/modules 
    0 snd_usb_audio
    1 snd_hda_intel
  - lsmod | grep snd_usb_audio looks OK
  - arecord --list-devices does not show it
  - aplay -L shows usbstream:CARD=Generic    HD-Audio Generic    USB Stream 
Output and a lot of other (normal motherboard) devices but nothing with Rode 
and nothing else USB
  - aplay --device=usbstream
    ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for 
card
    aplay: main:828: audio open error: Invalid argument
  - cat /proc/asound/pcm does not show it
  - editing /etc/modprobe.d/alsa-base.conf to add these two lines at the end:
    options snd-usb-audio index=0
    options snd-hda-intel index=1 ...but no change after a reboot. Idea from 
https://unix.stackexchange.com/questions/220224/alsa-not-detecting-my-soundcard
  - editing /etc/modprobe.d/alsa-base.conf to add options snd 
slots=snd-usb-audio,snd-hda-intel did not change anything either
  - blacklisting snd_hda_intel in /etc/modprobe.d/blacklist-sound.conf by 
adding blacklist snd_hda_intel to that file (create it if necessary) and 
rebooting disabled it, but did not help with the USB sound for the Rodecaster
  - pulseaudio -k && sudo alsa force-reload after the changes (instead of a 
reboot) doesn't change anything either. Note: pulseaudio restarts itself and 
does not need to be manually restarted (Is there another way to restart the 
sound system if pulseaudio/ALSA don't work?)

The Answer (as it appears to me at least):

  - The Rodecaster is recognized as a USB device, but somehow not recognized by 
Alsa
  - I grabbed a Scarlett 2i2 gen3 
(https://wiki.linuxaudio.org/wiki/hardware_support)
  - edited /etc/modprobe.d/alsa-base.conf to comment out #options snd-usb-audio 
index=-2 to allow snd-usb-audio to be the first device
  - edited /etc/modprobe.d/alsa-base.conf to add options snd 
slots=snd-usb-audio,snd-hda-intel at the end to have the USB audio before the 
HDA Intel
  - pulseaudio -k && sudo alsa force-reload to reload the alsa config

Then the Scarlett showed up. Leaving the HDA Intel first did not let the
Scarlett show up.

Helpful info:

  - https://www.alsa-project.org/main/index.php/Help_To_Debug ...the 
alsa-info.sh looks like a fairly complete alsa debugging info summary generator
  - https://wiki.ubuntu.com/DebuggingSoundProblems
  - bug filed: 
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1877726

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1877726

Title:
  [HDA-Intel - HD-Audio Generic, playback] USB sound with Rodecaster Pro
  not working

Status in alsa-driver package in Ubuntu:
  New

Bug description:
  Please see 
https://askubuntu.com/questions/1229085/ubuntu-with-rodecaster-pro-usb-soundcard/1236257#1236257
 for most background.
  tl;dr:
  - The Rodecaster Pro is a USB audio standard compliant device
  - lsusb sees it, but alsa cannot use it
  - trying the exact same setup with a Scarlett 2i2 USB device works (with some 
caveats, see the mentioned post)

  Somehow the Rodecaster is ignored by Alsa. I am more than happy to help debug.
  Alsa info is at 
http://alsa-project.org/db/?f=94fd609fa23912ab0a39b67676a026fd163f3f3b and also 
attached.

  nils@blackbox:~/tmp/soundtest$ aplay -l
  **** List of PLAYBACK Hardware Devices ****
  card 0: Generic_1 [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD 
Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  card 0: Generic_1 [HD-Audio Generic], device 1: ALC887-VD Digital [ALC887-VD 
Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  card 2: USB [Scarlett 2i2 USB], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  nils@blackbox:~/tmp/soundtest$ arecord --list-devices
  **** List of CAPTURE Hardware Devices ****
  card 0: Generic_1 [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD 
Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  card 0: Generic_1 [HD-Audio Generic], device 2: ALC887-VD Alt Analog 
[ALC887-VD Alt Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  card 2: USB [Scarlett 2i2 USB], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu5
  ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
  Uname: Linux 5.4.0-29-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC2:  nils      90077 F.... pulseaudio
   /dev/snd/controlC0:  nils      90077 F.... pulseaudio
   /dev/snd/controlC1:  nils      90077 F.... pulseaudio
  CasperMD5CheckResult: skip
  CurrentDesktop: KDE
  Date: Sat May  9 11:45:20 2020
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2016-08-23 (1354 days ago)
  InstallationMedia: Kubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AudioUsers: pulse
  Symptom_Card: Family 17h (Models 10h-1fh) HD Audio Controller - HD-Audio 
Generic
  Symptom_DevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC2:  nils      90077 F.... pulseaudio
   /dev/snd/controlC0:  nils      90077 F.... pulseaudio
   /dev/snd/controlC1:  nils      90077 F.... pulseaudio
  Symptom_Jack: SPDIF Out, Internal
  Symptom_Type: Sound works for some users but not for others
  Title: [HDA-Intel - HD-Audio Generic, playback] sound not working for all 
users
  UpgradeStatus: Upgraded to focal on 2020-05-09 (0 days ago)
  dmi.bios.date: 10/14/2019
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 5222
  dmi.board.asset.tag: Default string
  dmi.board.name: PRIME A320M-A
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Default string
  dmi.chassis.version: Default string
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr5222:bd10/14/2019:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnPRIMEA320M-A:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: System Product Name
  dmi.product.sku: SKU
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer
  mtime.conffile..etc.modprobe.d.alsa-base.conf: 2020-05-09T11:23:29.080704

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1877726/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to