sound modules?

This forum is for all other ARMv5 devices

sound modules?

Postby jd1 » Wed Jun 15, 2011 9:25 am

hi,
i would like to use a usb soundcard (snd-usb-audio), but there are no kernel modules.
i'm using kernel 2.6.31.6_SMP_820.
in /lib/modules/2.6.39-ARCH/... there are drivers.

is there a way to get these drivers or to switch the kernel?
jd1
 
Posts: 2
Joined: Tue Jun 07, 2011 11:30 am

Re: sound modules?

Postby WarheadsSE » Wed Jun 15, 2011 12:31 pm

By the kernel in use, the problem is with the kernel itself.

This is being worked on.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: sound modules?

Postby ezjam » Wed Jun 15, 2011 8:04 pm

I have the same kernel and am trying to compile the snd-usb-audio driver. I am running into this error message:
$this->bbcode_second_pass_code('', 'Makefile:547: /usr/src/linux/arch//Makefile: No such file or directory')

Is this a related issue? If not, is this Makefile a file that is generated or should it be included in the source code? Any pointers?

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

Re: sound modules?

Postby WarheadsSE » Wed Jun 15, 2011 8:20 pm

You'd need the sources for the OXNAS kernel, again, they dont line up to the mainline... I am working on it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: sound modules?

Postby ezjam » Mon Jun 20, 2011 6:09 pm

Hi Warhead,

Thanx for the work you put into this. (I would if I could.) Next few questions will show my ignorance, but that is the only way to learn..

1. I am guessing I need new Linux source code in order to compile yes?
2. Is that what you are working on?
3. If so, when the code is available, how will you announce this? I want to be first in line to try it out.

Also, if you need someone to help you trouble shoot or test it, I can help out.

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

Re: sound modules?

Postby WarheadsSE » Mon Jun 20, 2011 7:39 pm

Essentially I just need to package them up all pretty, and tell people how to use them.

The trick here is that people then need to build from that, with my modified /arch/arm/mm/cache-v6.S, etc, etc.

After that, they'd need to test via a tftpboot from uboot, and eventually properly & safely save it to NAND, only after it is tested...

I really wish it wasn't so complicated to manage.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: sound modules?

Postby ezjam » Wed Aug 24, 2011 6:22 pm

Hi WarheadsSE,

How's it coming? Any idea when the code will be ready?

Let me know how I can be of assistance.

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

Re: sound modules?

Postby hansarsch » Sun Jun 03, 2012 2:15 pm

any update on this?

i am trying to get my usb-dac to work with a -B04 but hitting the brick wall. Is it still necessary to add snd-usb-audio to the kernel (because thats where i fail)
hansarsch
 
Posts: 11
Joined: Thu Apr 05, 2012 6:32 am

Re: sound modules?

Postby WarheadsSE » Sun Jun 03, 2012 5:11 pm

Yes, however I am having the joys of trying to test new kernel & modules. I have no USB DAC to test with, but I have tested iptables/netfilter .. crashed with null pointer deref after ~ 10 hours.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: sound modules?

Postby hansarsch » Fri Jul 13, 2012 12:23 am

]does the updated kernel support snd-usb-audio?

i tried to load the package with modprobe, which seems to work (doesnt give an error). but I fail at setting up alsa:

$this->bbcode_second_pass_code('', '[root@alarm2 /]# alsactl init
Found hardware: "USB-Audio" "USB Mixer" "USB08bb:2706" "" ""
Hardware is initialized using a generic method
/usr/share/alsa/init/default:171: value write error: Invalid argument
/usr/share/alsa/init/default:171: value write error: Invalid argument
/usr/share/alsa/init/default:173: value write error: Invalid argument')

$this->bbcode_second_pass_code('', '[root@alarm2 /]# alsamixer
cannot load mixer controls: Invalid argument
[root@alarm2 /]#
')

and

$this->bbcode_second_pass_code('', '[root@alarm2 /]# speaker-test

speaker-test 1.0.25

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_direct.c:980:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:1030:(snd_pcm_dmix_open) unable to initialize slave
Playback open error: -5,Input/output error
')


I know that this is not the ALSA Forum but if this is kernel related you'd probably know and I can stop wasting my time with trying to get this to work :D
hansarsch
 
Posts: 11
Joined: Thu Apr 05, 2012 6:32 am


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 46 guests