I'm still having trouble (after reading the archives) geting ices2.0.0 to work with ALSA (I seem to be able to do arecord just fine. I'm using the following packages (along with ices-2.0.0.tar.gz). kernel-smp-2.4.22-1.2188.nptl kernel-smp-module-alsa-1.0.4-1_2.4.22_1.2188.nptl alsa-driver-1.0.4-1 alsa-lib-1.0.4-1.1.fc1.fr alsa-lib-devel-1.0.4-1.1.fc1.fr (and a few other alsa ones, but that's the important stuff). The message I get from ices is... [2004-06-29 12:57:45] INFO ices-core/main IceS 2.0.0 started... [2004-06-29 12:57:45] EROR input-alsa/alsa_open_module Error setting 2 periods: Invalid argument [2004-06-29 12:57:45] EROR input/input_loop Couldn't initialise input module "alsa" [2004-06-29 12:57:45] INFO ices-core/main Shutdown complete My config file looks like this... <input> <module>alsa</module> <param name="rate">44100</param> <param name="channels">2</param> <param name="device">plughw:0,0</param> <param name="buffer-time">500</param> <!-- Read metadata (from stdin by default, or --> <!-- filename defined below (if the latter, only on SIGUSR1) --> <param name="metadata">1</param> <param name="metadatafilename">test</param> </input> I've tried unloading the ALSA modules and using ices in OSS mode, but it core dumps there (which is decidedly not fun). What's going on here? -- //// Jason M. SULLIVAN jsullivan@nc.rr.com |c-oo http://www.jason0x21.org \_- "That's not music, that's just sound!" - J. David Fries
On Tue, 2004-06-29 at 18:07, Jason M. Sullivan wrote:> [2004-06-29 12:57:45] INFO ices-core/main IceS 2.0.0 started... > [2004-06-29 12:57:45] EROR input-alsa/alsa_open_module Error setting 2 periods: Invalid argument > [2004-06-29 12:57:45] EROR input/input_loop Couldn't initialise input module "alsa" > [2004-06-29 12:57:45] INFO ices-core/main Shutdown complete > > My config file looks like this... > > <input> > <module>alsa</module> > <param name="rate">44100</param> > <param name="channels">2</param> > <param name="device">plughw:0,0</param> > <param name="buffer-time">500</param> > <!-- Read metadata (from stdin by default, or --> > <!-- filename defined below (if the latter, only on SIGUSR1) --> > <param name="metadata">1</param> > <param name="metadatafilename">test</param> > </input> > > I've tried unloading the ALSA modules and using ices in OSS mode, but it > core dumps there (which is decidedly not fun). What's going on here?does it report the same thing if the device is hw:0,0 I'll look into making the setting optional. karl.
Hello Karl In reference to: http://lists.xiph.org/pipermail/icecast/2004-June/007473.html I am also receiving this error with an M-Audio Audiophile 2496 device running with the ice1712 ALSA module. I've not quite figured out how to test it with a hw pcm because it isn't accepting any of my formats. I've no idea how ALSA's plug opens it but I've tried all the obvious ones, (2x96000xS24_LE, 2x44100xS16_LE included) but I'm at a loss. However, this period thing is preventing me from being able to use my card with ices. If it's any help and in case you don't already know, the card is 24 bit and 96000 Hz by default. I look forward to your reply, and many thanks in advance. Alex Jones al.owns@ntlworld.com