PulseAudio, Slackware 14.2, AudioQuest DragonFly USB
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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
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
}
# 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
# }
# }
# 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...
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.