SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-09-10 20:42:18

gurpal2000
Member
Registered: 2014-02-01
Posts: 15

USB Sound - BL RC1

Hi

Loving the new RC1. Got some issues regarding sound.

I have:
1. HDMI port
2. Headphone port (at front of pc)
3. Minx M5 Cambridge Audio USB 2.1 system

The only thing I want to use is (3) which incidentally has its own headphone port (I am sure the PC can't sense that port is there).

Using these primarily to test sound:
- VLC
- Iceweasel

I have just done a fresh re-install so I describe this as I write this smile so please forgive the verbose commentary.

- Out of the box I get no sound in VLC or Iceweasel.
- Tootlip on volume icon (volti?) says: Output: 69%, Card: PCH, Mixer: Master
- VLC has selected "Built-in Audio Analog Stereo" by default.
- Iceweasel - no sound from youtube even though it's set to full blast.

Pavucontrol's config tab has 3 sections:

1. GF119 HDMI Audio Controller
Profile: Digital Stereo (HDMIO output (unplugged)

2. Audio Codec
Profile: Analog Stereo Output

3. Built-in Audio
Profile: Analog Stereo Duplex (unplugged)

To get sound in Iceweasel:
- in pavucontrol I go to Playback tab and i see a section "ALSA plug-in playback on" with the sound meter moving around and Built-in Audio Analog Stereo selected. I then change the target to "Audio Codec Analog Stereo" and I get sound.
- Volume tray icon has no effect on the PC volume. The icon seems to affect the Built-in Audio slider under the Output Devices tab in pavucontrol.
- I close iceweasel

To get sound in VLC:
- in pavucontrol I now see "VLC media player audio stream on" under Playback tab. So i do the same as above and select "Audio Codec Analog Stereo" and I get sound.
- tray volume slider has no effect on VLC either.
- I close VLC

Let's look at the volume icon now:
- Preferences has selected "PCH" audio card by default. It lists about 10 channels with Master radio selected. I also see "Multimedia" in the dropdown where there is only "PCM" listed and selected.
- I hit the Close button
- Bring up Preferences again. Now NO audio card is selected (it's blank) but a PCM radio is selected. The dropdown is populated but no item is selected basically.

Let's look at volume mixer:
I get PCH and Multimedia with the same channels i've seen before. I ensure none of them are muted. Quit, and redo all the above.
Same problems.

What else I have tried
- volumeicon seemed to work to some extent, but then VLC started changing the master audio. The "flat volume" hack didn't work. *EDIIT* it does work (see later post).
- In pavucontrol's Config tab i switched the devices i don't care about to OFF. But this doesn't seem to persist reboots.

What I want:
- Pretty much 1 global volume
- if i put headphones in the FRONT socket, the USB should not output anything (this is a nice to have i suppose)
- Each app to have its OWN localised volume (where it can). No app should control the master by itself.
- I know the hardware works because it worked with Mint 17.2 but I want BL smile

Anyway, here's some debug below.

Any help appreciated!!
Thanks

$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf3130000 irq 46
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xf3080000 irq 17
 2 [Multimedia     ]: USB-Audio - Minx Multimedia
                      DAC FOR USB Minx Multimedia at usb-0000:00:14.0-1, full speed

$ cat ~/.config/volti/config 
[card-0]
control = Master
mask_lock = 0
mask_control = 2097151

[global]
mixer_show_values = 1
scale_increment = 1.0
card_index = 2
icon_theme = Faenza
scale_show_value = 0
mixer = alsamixer
show_tooltip = 1
notify_position = 0
keys = 0
toggle = mute
mixer_internal = 1
notify_body = <span font_desc="14" weight="bold">{volume}</span>
	<small>{card}</small>
	<small>{mixer}</small>
keys_backend = xlib
run_in_terminal = 1
notify_timeout = 2.0
show_notify = 0

[card-2]
control = PCM
mask_lock = 0

[card-1]
mask_lock = 0

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Multimedia [Minx Multimedia], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  
$ aplay -L
default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=PCH
    HDA Intel PCH, ALC1150 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    Direct sample mixing device
dmix:CARD=PCH,DEV=1
    HDA Intel PCH, ALC1150 Digital
    Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=1
    HDA Intel PCH, ALC1150 Digital
    Direct sample snooping device
hw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=1
    HDA Intel PCH, ALC1150 Digital
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=1
    HDA Intel PCH, ALC1150 Digital
    Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Hardware device with all software conversions
sysdefault:CARD=Multimedia
    Minx Multimedia, USB Audio
    Default Audio Device
front:CARD=Multimedia,DEV=0
    Minx Multimedia, USB Audio
    Front speakers
surround21:CARD=Multimedia,DEV=0
    Minx Multimedia, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Multimedia,DEV=0
    Minx Multimedia, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Multimedia,DEV=0
    Minx Multimedia, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Multimedia,DEV=0
    Minx Multimedia, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Multimedia,DEV=0
    Minx Multimedia, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Multimedia,DEV=0
    Minx Multimedia, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Multimedia,DEV=0
    Minx Multimedia, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Multimedia,DEV=0
    Minx Multimedia, USB Audio
    Direct sample mixing device
dsnoop:CARD=Multimedia,DEV=0
    Minx Multimedia, USB Audio
    Direct sample snooping device
hw:CARD=Multimedia,DEV=0
    Minx Multimedia, USB Audio
    Direct hardware device without any conversions
plughw:CARD=Multimedia,DEV=0
    Minx Multimedia, USB Audio
    Hardware device with all software conversions

Last edited by gurpal2000 (2015-09-11 06:37:12)

Offline

Help fund CrunchBang, donate to the project!

#2 2015-09-10 20:50:50

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: USB Sound - BL RC1

Have you tried setting pavucontrol as the mixer in volti?
http://crunchbang.org/forums/viewtopic. … 53#p435553

EDIT: It just occurred that this may already be the case, sorry.

I haven't tried the RC1 yet  :8

Last edited by Head_on_a_Stick (2015-09-10 20:51:59)

Offline

#3 2015-09-10 21:16:49

gurpal2000
Member
Registered: 2014-02-01
Posts: 15

Re: USB Sound - BL RC1

Head_on_a_Stick wrote:

Have you tried setting pavucontrol as the mixer in volti?
http://crunchbang.org/forums/viewtopic. … 53#p435553

EDIT: It just occurred that this may already be the case, sorry.

I haven't tried the RC1 yet  :8

Hmm. Good point. In Volti Preferences it says: Mixer -> Use Internal mixer (yes), Show values (yes).
External mixer is greyed out but has value "alsamixer".

I think these problems were in A2 i remember playing around 2 days ago with the volume there also to no avail.

Offline

#4 2015-09-10 21:19:21

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: USB Sound - BL RC1

Change the mixer to pavucontrol, as detailed in my linked post.

Offline

#5 2015-09-10 21:57:06

gurpal2000
Member
Registered: 2014-02-01
Posts: 15

Re: USB Sound - BL RC1

Head_on_a_Stick wrote:

Change the mixer to pavucontrol, as detailed in my linked post.

OK observations with that:

- volume now seems to be "global". Good.
- volti preferences still shows a blank for the audio card, but it doesn't seem to matter what i select. Don't know if that's a problem long-term. Do we care?
- Iceweasel/Youtube responds as expected
- VLC with the flat-volume config tweak WORKS. I didn't realise that the semi-colon prefix in the /etc/pulse/daemon.conf file was a comment...d'oh

So success except....

- The problem with pavucontrol not persisting the OFFs for the cards i don't want to use is still a problem. Not persisting when rebooted, so to get sound working still requires manual intervention. I wonder if there's some config tweak for that now.

thanks for your help @Head_on_a_Stick

Last edited by gurpal2000 (2015-09-10 21:57:45)

Offline

#6 2015-09-10 23:09:49

gurpal2000
Member
Registered: 2014-02-01
Posts: 15

Re: USB Sound - BL RC1

Well sort of tackled the last point, but i'm not sure if it's a long term fix. I took a look at some pointers from https://wiki.archlinux.org/index.php/Pu … put_source and ended up doing this:

$ pacmd list-sinks | grep -e 'name:' -e 'index'

    index: 0
	name: <alsa_output.pci-0000_01_00.1.hdmi-stereo>
    index: 1
	name: <alsa_output.usb-DAC_FOR_USB_Minx_Multimedia-00-Multimedia.analog-stereo>
   * index: 2
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>

# and add set-default-sink 1 to /etc/pulse/default.pa

So basically it was picking card 2 (built-in headphones) and i force it to use card 1 (usb). There should be something in pavucontrol to set a default or something?

Will try again my fixes above with a fresh reinstall and confirm later.

thanks

Last edited by gurpal2000 (2015-09-10 23:11:46)

Offline

#7 2015-09-11 07:56:53

gurpal2000
Member
Registered: 2014-02-01
Posts: 15

Re: USB Sound - BL RC1

In addition to the above I needed to also alter one of the variables in ~/.config/volti/config

[global]
card_index = 2

This index seems to relate to the one in /proc/asound/cards

Last edited by gurpal2000 (2015-09-11 08:00:27)

Offline

#8 2015-09-11 18:14:43

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: USB Sound - BL RC1

Thanks for posting your solution, I'm sure other users will find this useful smile

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo