Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Has anyone been able to get audio capture running on the dns-323 fw v1.04? Specifically, I have been trying to get a RadioShark to work.
I will keep debugging this, but it would be encouraging if someone else has usb-audio working at all. A usb headset or anything would be close.
This is what I have done (all with the ffp 0.5 environment).
Downloaded and insmod'd the usb and audio modules from:
http://dev.skcserver.de/dns323/modules_v1.03/
This gave me the /proc/asound directory and syslog messages. I was able to build lib-hid and libusb to use the shark2.c control program to change the channel and turn on/off the radioshark leds.
I was able to directly dump audio to a file from /dev/dsp (14,3) but it sounded very speeded up (almost 10x).
Built the same version of alsa-lib and alsa-utils as used in optware (1.0.8) but wouldn't work.
Noticed the version reported in /proc/asound/version (1.0.9rc2) so I built that version of alsa-lib and alsa-util, but now got a compatibility error.
Decided to build my own kernel modules and installed the cross compiler. Configured the kernel for sound and usb-audio, alsa and got the same set of modules. Loaded as above and got the same version and error.
Build the latest version of the alsa kernel modules, alsa-lib and alsa-utils (1.0.16) and now I can load the modules and run the utils (arecord). The radioshark is recognized but there seems to be some timing issues still. Recording still gives a very sped up sound. I can tell that the radio is working by changing the channel in the middle of the recording. Setting different rates will change the size of the recorded file, but not the sound rate.
Turning on debugging in the kernel mods generates one set of errors:
Apr 10 03:55:44 dlink user.debug kernel: ALSA /usr/local/data1/dns/GPL/alsa-driver-1.0.16/alsa-kernel/core/pcm_lib.c:1569: playback write error (DMA or IRQ trouble?)
This location involves calling schedule_timeout(1000) and waiting for an interrupt.
The strace of that section is:
ioctl(4, 0x800c4151, 0xbecfeb28) = 0
ioctl(4, 0xc0844123, 0x1d2a8) = 0
poll([{fd=4, events=POLLIN|POLLERR|POLLNVAL}], 1, 1000) = 0
time(NULL) = 1207828526
Any more thoughts?
--Bill
Offline
I could try building a 2.6.25 kernel, but can you do that in the dlink cross-compile environment?
And if I am able to build it, would I have to flash the dns-323? Without a serial or jtag connection?
--Bill
Offline