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 qashar » Sat May 14, 2011 1:27 pm

This one is working too:
http://www.meritline.com/usb-sound-adapter---p-41144.aspx
You can found the same on ebay for 3$.

It works on the Dockstar and PinkV2 with the standard tweaking of asound.conf.

I think those adapters are pretty standard now, so probably the challenge is to look for the one that are not working with Arch Linux ARM ;)
qashar
 
Posts: 11
Joined: Thu Apr 21, 2011 3:39 pm

Re: Recommended Brand of USB Sound adapters?

Postby ezjam » Mon Jun 13, 2011 7:49 am

Has anybody had success with Turtle Beach Micro II. I bought it w/o doing my homework. I am not having any luck getting it to work. Ultimate goal is to get MPD working, however, the tests I have run with mpg123 and alsaplayer have not been successful.

mpg123 output is:
$this->bbcode_second_pass_quote('', 'H')igh Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.13.2; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes

Playing MPEG stream 1 of 1: chrisrock.mp3 ...
[sdl.c:78] error: Couldn't open SDL audio: No available audio device

[audio.c:627] error: failed to open audio device
[mpg123.c:515] error: failed to reset audio device: No such file or directory

alsaplayer output is:

$this->bbcode_second_pass_quote('', 's')nd_pcm_open: No such file or directory (default)
Failed to initialize plugin!
Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
snd_pcm_open: No such file or directory (default)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
jack: server not running?
/usr/lib/alsaplayer/output/libjack_out.so failed to load
error opening /dev/dsp
Failed to initialize plugin!
/usr/lib/alsaplayer/output/liboss_out.so failed to load
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libesound_out.so failed to load
NOTE: THIS IS THE NULL PLUGIN. YOU WILL NOT HEAR SOUND!!
libmikmod.so.2: cannot open shared object file: No such file or directory


As for MPD's out put:
$this->bbcode_second_pass_quote('', 'm')pd --verbose --no-daemon --stdout
config: loading file /etc/mpd.conf
listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
path: path_set_fs_charset: fs charset is: UTF-8
database: reading DB
disabling the last.fm playlist plugin because account is not configured
daemon: opening pid file
daemon: writing pid file
avahi: Initializing interface
avahi: Failed to create client: Daemon not running
avahi: Shutting down interface
state_file: Loading state file /var/lib/mpd/mpdstate
database: get song: chrisrock.mp3
database: get song: chrisrock.mp3
playlist: play 0:"chrisrock.mp3"
decoder_thread: clearing mixramp tags
decoder_control: mixramp_start = NULL
decoder_control: mixramp_prev_end = NULL
playlist: queue song 1:"chrisrock.mp3"
decoder: audio_format=44100:24:2, seekable=true
client: [0] opened from 172.16.10.111:59303
client: [0] process command "status"
mixer: Failed to read mixer for 'My ALSA Device': failed to attach to default: No such file or directory
client: [0] command returned 0
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "pause"
output: Failed to open "My ALSA Device" [alsa]: Failed to open ALSA device "default": No such file or directory
client: [0] command returned 0
client: [0] process command "status"


Any help, greatly appreciated.

thanx in advance.
ezjam
 
Posts: 17
Joined: Tue May 17, 2011 6:32 am
Top

Re: Recommended Brand of USB Sound adapters?

Postby pepedog » Mon Jun 13, 2011 10:55 am

Have you installed jack ?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Recommended Brand of USB Sound adapters?

Postby ezjam » Mon Jun 13, 2011 5:48 pm

Yep,

I've installed jack. However, there is no file "/proc/asound/cards." I'm reading up on jackd right now. But I do not quite get the connection between jack and my issue as I only have one sound card and in theory should always be at the same index. Or a more likely scenario is that I don't know jack. (No pun intended.) What is it used for? How do I use it? Can it detect my USB audio dongle?

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

Re: Recommended Brand of USB Sound adapters?

Postby pepedog » Mon Jun 13, 2011 6:47 pm

You don't have to do anything with jack, it's just the most common thing missing.
Back to basics, replug device and look at dmesg and lsusb, to see if drivers loaded, if not at least you will have the product id (2 bunches of 4 characters) to start searching
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Recommended Brand of USB Sound adapters?

Postby ezjam » Mon Jun 13, 2011 6:56 pm

tail -f /var/log/messages shows:
$this->bbcode_second_pass_quote('', '
')Jun 13 13:53:50 (none) kernel: [ 3448.600000] usb 1-1.4: USB disconnect, address 5
Jun 13 13:53:53 (none) kernel: [ 3451.910000] usb 1-1.4: new full speed USB device using oxnas-ehci and address 6
Jun 13 13:53:53 (none) kernel: [ 3452.020000] usb 1-1.4: New USB device found, idVendor=0d8c, idProduct=0103
Jun 13 13:53:53 (none) kernel: [ 3452.020000] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jun 13 13:53:53 (none) kernel: [ 3452.020000] usb 1-1.4: Product: USB Sound Device
Jun 13 13:53:53 (none) kernel: [ 3452.020000] usb 1-1.4: Manufacturer: C-Media INC.
Jun 13 13:53:53 (none) kernel: [ 3452.020000] usb 1-1.4: configuration #1 chosen from 1 choice


lsusb shows:
$this->bbcode_second_pass_quote('', 'B')us 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 0c0b:27e7 Dura Micro, Inc. (Acomdata) 3,5'' HDD case MD-231
Bus 001 Device 006: ID 0d8c:0103 C-Media Electronics, Inc. CM102-A+/102S+ Audio Controller


So this confirms that it is being detected. Which brings up a good question. Is there a correlation between the Bus and Device index and the hw:#,#?

Any other troubleshooting I can do?
ezjam
 
Posts: 17
Joined: Tue May 17, 2011 6:32 am
Top

Re: Recommended Brand of USB Sound adapters?

Postby ezjam » Mon Jun 13, 2011 8:44 pm

aplay -l responds with:
$this->bbcode_second_pass_quote('', 'a')play -l
aplay: device_list:240: no soundcards found...
[root@(none) usr]#


So even though lsusb shows the card, aplay does not find it. Drivers are missing? Perhaps? So, question, how do I find them and install them.?

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

Re: Recommended Brand of USB Sound adapters?

Postby pepedog » Mon Jun 13, 2011 9:57 pm

I have hunted, and think this should have picked driver snd-usb-audio
If so, quite a bit of work is required probably hacking sound/usb/snd-usb-audio.mod.c
http://www.qbik.ch/usb/devices/showdescr.php?id=4612
or I have missed something?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Recommended Brand of USB Sound adapters?

Postby ezjam » Tue Jun 14, 2011 5:15 pm

Hi,

I plugged Micro II to an old Suse server. And sure enough, the snd-usb-audio driver was registered. Question now is, how do I force the driver to load and/or how do I even get the driver compiled for the box?

$this->bbcode_second_pass_quote('', 'k')ernel: usbcore: registered new driver snd-usb-audio
ezjam
 
Posts: 17
Joined: Tue May 17, 2011 6:32 am
Top

Re: Recommended Brand of USB Sound adapters?

Postby pepedog » Tue Jun 14, 2011 6:10 pm

Which kernel do you have?
uname -a (will give a clue what system you have)
That module is already there in dockstar and v2 pink, it might be the magic 8 digits not pairing to it, hence hack the kernel
Search for it with
pacman -S mlocate
updatedb
locate snd-usb-audio
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

PreviousNext

Return to Hardware

Who is online

Users browsing this forum: No registered users and 15 guests