Results 1 to 2 of 2

Thread: Sitecom CN-126 recording works, playing doesn't

  1. #1

    Sitecom CN-126 recording works, playing doesn't

    Hello all,

    Thanks so far for the suggestions to get everything to work, it's a great forum!

    Now that the custom firmware is up and running, I connected a 5.1 USB adapter from Sitecom (CN-126, which is reported to work). /dev/sound is empty at first, after connecting I see
    Code:
    crw-------    1 admin    root      14,   3 Jan  1 00:00 dsp
    crw-------    1 admin    root      14,   0 Jan  1 00:00 mixer
    crw-------    1 admin    root      14,  16 Jan  1 00:00 mixer1
    catting /dev/sound/dsp to a file (recording) works, I can scp the raw file to my PC and play it with Audacity. I hear something (probably the import settings of Audacity are wrong), but at least it works.
    catting some data to /dev/sound/dsp doesn't work. The 'access' led on the USB adapter doesn't flash, and I don't hear anything, too. When I stop the catting with Ctrl-C, it says:
    Code:
    -sh: cannot create /dev/sound/dsp: Interrupted system call
    Dmesg gives:
    Code:
    hub.c: new USB device 00:04.0-1, assigned address 2
    usbaudio: device 2 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces
    usbaudio: device 2 interface 2 altsetting 1 channels 2 framesize 2 configured
    usbaudio: valid input sample rate 48000
    usbaudio: device 2 interface 2 altsetting 1: format 0x01000010 sratelo 48000 sratehi 48000 attributes 0x00
    usbaudio: device 2 interface 1 altsetting 0 does not have an endpoint
    usbaudio: device 2 interface 1 altsetting 1 channels 2 framesize 2 configured
    usbaudio: valid output sample rate 48000
    usbaudio: device 2 interface 1 altsetting 1: format 0x01000010 sratelo 48000 sratehi 48000 attributes 0x00
    usbaudio: device 2 interface 1 altsetting 2 channels 6 framesize 2 configured
    usbaudio: valid output sample rate 48000
    usbaudio: device 2 interface 1 altsetting 2: format 0x05000010 sratelo 48000 sratehi 48000 attributes 0x00
    usbaudio: registered dsp 14,3
    usbaudio: constructing mixer for Terminal 6 type 0x0301
    usbaudio: warning: found 2 of 6 logical channels.
    usbaudio: no idea what's going on..., contact linux-usb-devel@lists.sourceforge.net
    usbaudio: registered mixer 14,0
    usbaudio: constructing mixer for Terminal 7 type 0x0101
    usbaudio: registered mixer 14,16
    usb_audio_parsecontrol: usb_audio_state at 808826e0
    usbin_completed: descriptor not restarted (usb_submit_urb: 0)
    usbin_completed: descriptor not restarted (usb_submit_urb: 0)
    usbin_completed: descriptor not restarted (usb_submit_urb: 0)
    usbin_completed: descriptor not restarted (usb_submit_urb: 0)
    usbin_completed: descriptor not restarted (usb_submit_urb: 0)
    usbin_completed: descriptor not restarted (usb_submit_urb: 0)
    usbin_completed: descriptor not restarted (usb_submit_urb: 0)
    usbin_completed: descriptor not restarted (usb_submit_urb: 0)
    Maybe it has problems with the 5.1 output channels (doesn't know which one to choose). I also scp'ed madplay and a MP3 file and let it stream to /dev/sound/dsp, but it doesn't work (decoding to /dev/null works).

    What am I doing wrong?

    Thanks in advance,
    Sjoerd

  2. #2

    Problem solved

    Hello all,

    The problem is solved (thanks palbeda for that): waveserver and waverservermain were running in the background and kept the sound device busy. Solution is to execute this (or put it in the post-boot script):
    Code:
    killall waveserver
    killall waveservermain
    Thanks for listening,
    Sjoerd

Similar Threads

  1. IP camera Sitecom LN-401
    By Stingray in forum Dutch Discussion - Nederlands
    Replies: 6
    Last Post: 01-06-2006, 22:58
  2. Playing MP3 on WL-500G
    By packes77 in forum WL-500g Custom Development
    Replies: 8
    Last Post: 15-03-2005, 15:34
  3. 1.9.2.7 cr1-2 Playing on-line game problem
    By smallkeung in forum WL-500g Q&A
    Replies: 1
    Last Post: 07-01-2005, 08:25
  4. Playing multimedia files
    By pledge in forum WL-500g Q&A
    Replies: 1
    Last Post: 27-12-2003, 23:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •