Recommended Brand of USB Sound adapters?

Plugging in devices such as LAN adapters, Wi-Fi cards, printers, etc. to Arch Linux ARM.

Re: Recommended Brand of USB Sound adapters?

Postby ezjam » Tue Jun 14, 2011 9:29 pm

Hi,

I'll get the info tonight. In the mean time, I have the PogoPlug Pro P01. I used this http://Arch Linux ARM.com/index.php5/Install_on_Pogoplug_Pro for installation. But I'll get more specifics tonight.
ezjam
 
Posts: 17
Joined: Tue May 17, 2011 6:32 am

Re: Recommended Brand of USB Sound adapters?

Postby WarheadsSE » Tue Jun 14, 2011 9:49 pm

Likely answer.. it's not in the kernel...
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Recommended Brand of USB Sound adapters?

Postby ezjam » Wed Jun 15, 2011 4:39 am

uname -a $this->bbcode_second_pass_quote('', 'L')inux (none) 2.6.31.6_SMP_820 #99 SMP Sun May 29 03:04:43 EDT 2011 armv6l ARMv6-compatible processor rev 5 (v6l) Oxsemi NAS GNU/Linux


Here is where the driver is located...
$this->bbcode_second_pass_quote('', '/')lib/modules/2.6.38/kernel/sound/usb/snd-usb-audio.ko.gz


When I attempt to load it, this is what I get. I am probably loading it incorrectly though.

$this->bbcode_second_pass_quote('', '[')root@(none) ~]# insmod /lib/modules/2.6.38/kernel/sound/usb/snd-usb-audio.ko.gz
insmod: error inserting '/lib/modules/2.6.38/kernel/sound/usb/snd-usb-audio.ko.gz': -1 Invalid module format


I've tried loading it by name only with failing results as well.

So, how does one load a ko.gz driver? And better yet, how do I have the driver loaded (and utilized with card) when I insert a usb sound card?

Thanx in advance...

ezjam
ezjam
 
Posts: 17
Joined: Tue May 17, 2011 6:32 am
Top

Re: Recommended Brand of USB Sound adapters?

Postby ezjam » Wed Jun 15, 2011 4:43 am

BTW: I tried gunzip'ing the file before insmod'ing it. Same result. I am now going to download the file (maybe my copy is corrupted) and try again.
ezjam
 
Posts: 17
Joined: Tue May 17, 2011 6:32 am

Re: Recommended Brand of USB Sound adapters?

Postby pepedog » Wed Jun 15, 2011 6:43 am

modprobe snd-usb-audio
I still have libs from my older kernel, strange
[root@PBLinux ~]# locate snd-usb-audio
/lib/modules/2.6.38/kernel/sound/usb/snd-usb-audio.ko.gz
/lib/modules/2.6.38.3/kernel/sound/usb/snd-usb-audio.ko

I peeked into my /lib/modules/2.6.38.3/modules.usbmap and /lib/modules/2.6.38.3/modules.alias which I believe is where the product and vendor info ties to which driver, then driver in most cases just loads, some soundcards will also require extra info in /etc/modprobe.d/modprobe.conf to work properly, and maybe something in /etc/asound.conf, but you haven't got to those stages (no module loaded).

I have hacked kernel source to get a video card working, a new card had different product id so put it in the alias of the kernel source and compiled, in your case that would be
linux-2.6.38.3/sound/usb/snd-usb-audio.mod.c
or whatever kernel source you have.
But you can't do any of that, you got an Oxsemi NAS and only WarheadsSE can compile.
Plus it might take a few attempts

Then again, WarheadsSE maybe right, I am just a (sometimes lucky) dabbler, he is a professional

BUT, go to the ver last post here
http://forums.gentoo.org/viewtopic-t-501671.html
This looks like a possible solution? I have never tried this sort of thing, one thing wrong is any file in /etc/modprobe.d must end in .conf
Also reboot befor you try
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Recommended Brand of USB Sound adapters?

Postby maxim » Sun Jun 19, 2011 7:57 pm

Hi!

I have a similar problem as ezjam with my TerraTec Aureon Dual USB and my pink v2.

When I try to play a song from mpd, it gets paused directly. And I noticed that I can't set the volume. cmut don't work either. But I get sound from mpg123 and espeak. The mpg123 sound is really bad with crackles, though.

Would it maybe be better to use jack2 instead of jack?

I also tryed it on my Ubuntu 10.10 and it worked out of the box. And I noticed some differences in dmesg.

Plug dmesg:
$this->bbcode_second_pass_quote('', '
')[6815959.933566] usb 1-1.2: new full speed USB device using orion-ehci and address 9
[6815960.054057] input: C-Media Electronics Inc. USB PnP Sound Device as /devices/platform/orion-ehci.0/usb1/1-1/1-1.2/1-1.2:1.3/input/input0
[6815960.054462] generic-usb 0003:0CCD:0077.0001: input: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device] on usb-orion-ehci.0-1.2/input3

Ubuntu dmesg:
$this->bbcode_second_pass_quote('', '
')[33507.316107] usb 5-1: new full speed USB device using uhci_hcd and address 6
[33507.686585] usbcore: registered new interface driver hiddev
[33507.691696] input: C-Media Electronics Inc. USB PnP Sound Device as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.3/input/input9
[33507.692620] generic-usb 0003:0CCD:0077.0001: input,hidraw0: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device] on usb-0000:00:1d.3-1/input3
[33507.694532] usbcore: registered new interface driver usbhid
[33507.694539] usbhid: USB HID core driver
[33507.819853] usbcore: registered new interface driver snd-usb-audio

Seems that Ubuntu loads three drivers, but on the plug it don't give me any driver message at all..

I almost have the same MPD output as ezjam, with the same following line:
$this->bbcode_second_pass_quote('', '
')output: Failed to open "My ALSA Device" [alsa]: Failed to open ALSA device "default": No such file or directory

But when I connect to mpd and pressing start i get:
$this->bbcode_second_pass_quote('', '
')ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
output: Failed to open "My ALSA Device" [alsa]: Failed to open ALSA device "default": No such file or directory
player_thread: problems opening audio device while playing "03 - anger management.mp3"


Here's different output I got from my plug:

lsusb:
$this->bbcode_second_pass_quote('', '
')Bus 001 Device 006: ID 0ccd:0077 TerraTec Electronic GmbH Aureon Dual USB

aplay -l:
$this->bbcode_second_pass_quote('', '
')**** List of PLAYBACK Hardware Devices ****
card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

cmus:
$this->bbcode_second_pass_quote('', '
')ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libalsa.so => dlopen() failed
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libesd.so => dlopen() failed

lsmod:
$this->bbcode_second_pass_quote('', '
')Module Size Used by
ipv6 236407 14
snd_usb_audio 67136 0
fuse 57987 2
snd_pcm 58789 1 snd_usb_audio
snd_timer 16555 1 snd_pcm
snd_page_alloc 4547 1 snd_pcm
snd_hwdep 4749 1 snd_usb_audio
snd_usbmidi_lib 15319 1 snd_usb_audio
snd_rawmidi 15609 1 snd_usbmidi_lib
snd_seq_device 4702 1 snd_rawmidi
snd 34176 7 snd_usb_audio,snd_pcm,snd_timer,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq_device
soundcore 694 1 snd
mv_cesa 8951 0

Does this mean that snd_usb_audio is loaded? But it says "Used by 0", don't know what that means..

Plug uname -a:
$this->bbcode_second_pass_quote('', '
')Linux Arch Linux ARM install 2.6.38 #1 PREEMPT Tue May 17 00:39:39 MDT 2011 armv5tel Feroceon 88FR131 rev 1 (v5l) Marvell SheevaPlug Reference Board GNU/Linux

Ubuntu uname -a:
$this->bbcode_second_pass_quote('', '
')Linux maxim 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 19:00:26 UTC 2011 i686 GNU/Linux


Ok, that's was alot of output :) . Anybody have any idea what the problem could be?
PogoPlug v2 Pink, w/ transmission, flexget, nfs, owncloud..
maxim
 
Posts: 9
Joined: Sun Jun 19, 2011 7:25 pm
Top

Re: Recommended Brand of USB Sound adapters?

Postby devr » Mon Aug 08, 2011 12:41 am

I have a similar issue. But everything looks to load right. modules load. alsamixer shows a card as does aplay -l. Just seems some programs look for /dev/mixer* or some form of mixer.. and seems I am missing that.. any suggestions ?
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am

Re: Recommended Brand of USB Sound adapters?

Postby xoxox » Thu Aug 25, 2011 7:21 pm

I'm using this one from Amazon Germany http://www.amazon.de/gp/product/B003TYI ... ss_product
Works with my Sheevaplug and Alsa after creating /etc/asound.conf with the previously mentioned content:
$this->bbcode_second_pass_code('', 'pcm.!default {
        type hw
        card 0
}

ctl.!default {
        type hw           
        card 0
}')
It supports 44 and 48kHz, works flawlessly with shairport.
xoxox
 
Posts: 8
Joined: Sun Jul 31, 2011 8:41 am

Re: Recommended Brand of USB Sound adapters?

Postby dockstreet » Wed Sep 07, 2011 3:36 pm

I highly recommend using PulseAudio vs direct hw Alsa in the asound.conf - some programs wouldn't work with the asound.conf with the "type hw" for "pcm"; I use "type pulse"

tips - that worked for me:

1. pacman -S pulseaudio-alsa

2. "you may add auth-anonymous=1 to the end of the load-module module-native-protocol-tcp line to disable authentication"

3. Use the "trivial" sampler vs "spex" to save cpu

4. write your own "pulseaudio" rc.d file i.e. pulseaudio --start -D --exit-idle-time=-1

5. increase sample / frequency to 48000

6. important have the daemon.conf to set exit-idle-time to -1

https://wiki.archlinux.org/index.php/PulseAudio
http://mpd.wikia.com/wiki/PulseAudio
https://bbs.archlinux.org/viewtopic.php?id=115292

watch out for consolekit if you have dbus running - you may have to remove it from /usr/share/dbus-1/system-services
same thing goes for policykit1 - make a back up of both - dbus will still run with them removed

Good luck!
dockstreet
 
Posts: 6
Joined: Tue Sep 06, 2011 2:24 pm

Re: Recommended Brand of USB Sound adapters?

Postby Sagittarius » Wed May 30, 2012 8:29 am

$this->bbcode_second_pass_quote('ehode', 'I')s there a recommended brand/model of usb sound adapters that have decent linux support that I should be looking for?


Every USB Audio Class 1.0 (->24bits/96Khz) and, better, Class 2.0 (->24/192 kHz) should work.

DAC USB Audio Class 2:

- April Eximus (XMOS)
- Arcam D33 (XMOS)
- Atoll DAC-200 (XMOS)
- Ayre QB-9
- Cambridge Audio DacMagic Plus (XMOS) - manuel says explicitly that it works with Linux
- Lindemann DAC 24/192 (XMOS)
- Calyx DAC (XMOS)
- AMR DP777 (XMOS)
- HS Wavelength (XMOS)
- Grace Design m903 (XMOS)
- NAD M51 (XMOS)
- ibasso D7 (XMOS)
- Pandora from Aesthetix (XMOS)
- Cambridge Dacmagic 100
etc.

Transport USB Audio Class 2:

- WaveLink HS 24/192 (XMOS)
- April Music Stello U3 (XMOS)
- V-Link 192 (XMOS)
- Hiface 2 (XMOS)
etc.

A list here in french, but most of the manufacturer links are in english.

Image

Image
Dockstar / GoFlexNet booting on NFS / Odroid C1+ / Odroid C2
Sagittarius
 
Posts: 61
Joined: Mon Nov 14, 2011 9:21 pm
Location: France
Top

Previous

Return to Hardware

Who is online

Users browsing this forum: No registered users and 8 guests