LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-28-2016, 02:51 PM   #1
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56
PulseAudio, Slackware 14.2, AudioQuest DragonFly USB


anyone able to get this USB soundcard working under PulseAudio in Slackware 14.2? plugging in this device and running 'cat /proc/asound/cards' doesn't list it, nor is it shown in the PulseAudio Mixer. funny thing though is it works perfectly fine in my guest virtual machine...
 
Old 08-28-2016, 02:54 PM   #2
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
does syslog or messages have anything to say when you plug it in, what does lsusb show?
 
Old 08-28-2016, 03:41 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
You don't have an ~/.asoundrc file (or something equivalent) that could be interfering, do you?
 
Old 08-28-2016, 03:44 PM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Double post

Last edited by dugan; 08-28-2016 at 03:47 PM.
 
Old 08-28-2016, 07:55 PM   #5
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by glorsplitz View Post
does syslog or messages have anything to say when you plug it in, what does lsusb show?
looks like it is detected, as syslog shows the following
Code:
[333997.526062] usb 1-1.2.7: new full-speed USB device number 11 using ehci-pci
[333997.602768] usb 1-1.2.7: config 2 has an invalid interface number: 2 but max is 1
[333997.602779] usb 1-1.2.7: config 2 has an invalid interface number: 2 but max is 1
[333997.602784] usb 1-1.2.7: config 2 has no interface number 0
[333997.604144] usb 1-1.2.7: New USB device found, idVendor=21b4, idProduct=0083
[333997.604147] usb 1-1.2.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[333997.604149] usb 1-1.2.7: Product: AudioQuest DragonFly Black v1.5
[333997.604151] usb 1-1.2.7: Manufacturer: AudioQuest
the output of lsusb is a bit more cryptic
Code:
Bus 002 Device 003: ID 17ef:1003 Lenovo Integrated Smart Card Reader
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 005: ID 05e3:0743 Genesys Logic, Inc. SDXC and microSDXC CardReader
Bus 004 Device 003: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 004 Device 004: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 004 Device 002: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 003 Device 004: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 003 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 007: ID 04f2:b217 Chicony Electronics Co., Ltd Lenovo Integrated Camera (0.3MP)
Bus 001 Device 004: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 011: ID 21b4:0083  
Bus 001 Device 010: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 001 Device 009: ID 04d9:0167 Holtek Semiconductor, Inc. 
Bus 001 Device 008: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 006: ID 04b4:6830 Cypress Semiconductor Corp. CY7C68300A EZ-USB AT2 USB 2.0 to ATA/ATAPI
Bus 001 Device 003: ID 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Quote:
Originally Posted by dugan View Post
You don't have an ~/.asoundrc file (or something equivalent) that could be interfering, do you?
I do have one, but only to tell it to use PulseAudio as follows
Code:
pcm.pulse {
  type pulse
}

ctl.pulse {
  type pulse
}

pcm.!default {
  type pulse
}

ctl.!default {
  type pulse
}
 
Old 08-30-2016, 06:34 AM   #6
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
anyone have any suggestions?
 
Old 08-30-2016, 09:31 AM   #7
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
My ~/.asoundrc differs from yours
Code:
# To make skype working audio you must properly define here
# 1) an output device called "skype_out"
# 2) an input device called "skype_in"
#
# We have some sample configuration.
#
# Please, test audio and microphone with command:
# $ arecord -f cd -D plug:skype_in |aplay -D plug:skype_out
#
# When it works try run
# $ /usr/share/skype/bin/pulseaudio
# If it works stop it with Ctrl+C and start Skype


# That should works in most installations

# Configuration for speaker device
pcm.skype_out {
	type plug
	slave.pcm dmix
}

# Configuration for microphone
pcm.skype_in {
	type plug
	slave.pcm dsnoop
}
# be sure to unmute the microphne and select the correct 'capture' device in kmix or alsamixer



# If your device does not properly supports 'dmix', try with following configuration
# pcm.skype_out {
#	type dmix
#	ipc_key 1024
#	slave {
#		# substitute hw:0,0 with your working device
#		# (you can find it int kde audio configuration tool)
#		pcm hw:0,0
#		# pcm hw:1
#	}
# }
# pcm.skype_in {
#	type dsnoop
#	ipc_key 1025
#	slave {
#		# substitute hw:0,0 with your working device
#		# (you can find it int kde audio configuration tool)
#		pcm hw:0,0
#		# pcm hw:1
#	}
# }
 
1 members found this post helpful.
Old 08-30-2016, 03:10 PM   #8
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by Gordie View Post
My ~/.asoundrc differs from yours
Code:
# To make skype working audio you must properly define here
# 1) an output device called "skype_out"
# 2) an input device called "skype_in"
#
# We have some sample configuration.
#
# Please, test audio and microphone with command:
# $ arecord -f cd -D plug:skype_in |aplay -D plug:skype_out
#
# When it works try run
# $ /usr/share/skype/bin/pulseaudio
# If it works stop it with Ctrl+C and start Skype


# That should works in most installations

# Configuration for speaker device
pcm.skype_out {
	type plug
	slave.pcm dmix
}

# Configuration for microphone
pcm.skype_in {
	type plug
	slave.pcm dsnoop
}
# be sure to unmute the microphne and select the correct 'capture' device in kmix or alsamixer



# If your device does not properly supports 'dmix', try with following configuration
# pcm.skype_out {
#	type dmix
#	ipc_key 1024
#	slave {
#		# substitute hw:0,0 with your working device
#		# (you can find it int kde audio configuration tool)
#		pcm hw:0,0
#		# pcm hw:1
#	}
# }
# pcm.skype_in {
#	type dsnoop
#	ipc_key 1025
#	slave {
#		# substitute hw:0,0 with your working device
#		# (you can find it int kde audio configuration tool)
#		pcm hw:0,0
#		# pcm hw:1
#	}
# }
was this your ~/.asoundrc as well in Slack 14.1? after upgrading to 14.2 I was referenced the config I posted above so that ALSA would pass through to PulseAudio...
 
Old 08-30-2016, 04:19 PM   #9
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Probably was when I think of it. I did a clean install but bu my home directory so that would have been backed up
 
Old 08-30-2016, 05:58 PM   #10
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by Gordie View Post
Probably was when I think of it. I did a clean install but bu my home directory so that would have been backed up
and you also happen to have the AudioQuest DragonFly USB soundcard?
 
Old 08-30-2016, 06:26 PM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
You don't need the .asoundrc file. 14.2 includes a file in /etc that does the same thing.

All I can really tell you is that I'm using a USB sound card with 14.2 myself (not the Dragonfly), and it works fine. I can answer questions about my setup, diagnostics output, etc if it would help.

Last edited by dugan; 08-30-2016 at 06:37 PM.
 
Old 08-31-2016, 08:33 AM   #12
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by dugan View Post
You don't need the .asoundrc file. 14.2 includes a file in /etc that does the same thing.

All I can really tell you is that I'm using a USB sound card with 14.2 myself (not the Dragonfly), and it works fine. I can answer questions about my setup, diagnostics output, etc if it would help.
looks like I got it working on my end, since I was using a custom kernel and the USB audio section was under ALSA I didn't think it was needed. anyway, if I remove the device and re-connect it then PulseAudio no longer sees it, however 'cat /proc/asound/cards' still lists the card. is there a way to "restart" PulseAudio? as per the install for 14.2, /etc/rc.d/rc.pulse is disabled and pacmd doesn't see the PulseAudio daemon.
 
Old 08-31-2016, 12:51 PM   #13
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
Quote:
Originally Posted by dimm0k
is there a way to "restart" PulseAudio?
pulseaudio -k
pulseaudio --start
 
Old 08-31-2016, 05:16 PM   #14
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by Rinndalir View Post
pulseaudio -k
pulseaudio --start
thing is, I read /etc/rc.d/rc.pulse should really be disabled and as such the daemon isn't running... so not exactly sure how to restart whatever is making pulseaudio work
 
Old 08-31-2016, 08:45 PM   #15
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Well, yeah, but your desktop environment should run pulseaudio under your user id.

Code:
0 ✓ cranium@cranium ~ $ ps -ef | grep pulse
cranium     3372  3169  0 20:17 ?        00:00:00 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libpulseaudio-plugin.so 17 20971565 pulseaudio PulseAudio Plugin Adjust the audio volume of the PulseAudio sound system
cranium     3384     1  0 20:17 ?        00:00:00 /usr/bin/pulseaudio --start --log-target=syslog
cranium     3388  3384  0 20:17 ?        00:00:00 /usr/libexec/pulse/gconf-helper
cranium     5429  5003  0 20:44 pts/0    00:00:00 grep pulse
0 ✓ cranium@cranium ~ $
I'm running XFCE.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: DragonFly BSD 4.4.2 Released with OpenSSL 1.0.1r and Kernel Quirks for xHCI USB LXer Syndicated Linux News 0 02-17-2016 12:53 AM
Dragonfly BSD *.img USB Key issues shivbrahmi *BSD 3 07-20-2012 05:13 PM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration