[PlanetCCRMA] The Oxygen 8 works! ... but...

Mark Knecht mknecht@controlnet.com
Wed Dec 18 16:09:00 2002


Joseph,
   I'm sorry, but I just wasn't paying close enough attention to the earlier
part of the thread. You will not get jack to run until alsa is loaded. If
alsa fails, there's nothing for jack to talk to.

   The key problem here is this part:

Starting sound driver snd-cs4236 \
/lib/modules/2.4.19-1.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236.o:
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
init_module: No such device

   It looks like you have two audio devices installed. For testing purposes,
do you need the usb stuff? Can you:

1) Disconnect the Oxygen 8
2) Clean your modules.conf file out except for like the first 3 lines. (SAVE
A COPY OF WHAT YOU HAVE NOW!!!!)
3) Rerun alsaconf
4) Starting with this clean modules.conf file see if you can get alsa
loaded?

   I am suspicious of the lines:

# snd_irq=5 snd_mpu_irq=9 snd_dma1=1  # snd_dma2=-1 snd_isapnp=0
options snd-card-cs4236 port=0x530 cport=0x120 irq=5 dma2=1 dma1=0 \
id=CARD_1 index=1

To me this looks like you are specifying the specific IRQ to be used. I'm
not at all sure that's a good idea, especially insmod is saying:

Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters.

Possibly it's the right thing to do, and possibly there is a conflict. I'm
not sure. 'cat /proc/interrupts' might tell you something.

   I have not faced a problem quite like yours, so take these suggestions
with a grain of salt.

Mark


-----Original Message-----
From: planetccrma-admin@ccrma.Stanford.EDU
[mailto:planetccrma-admin@ccrma.Stanford.EDU]On Behalf Of Joseph Zitt
Sent: Wednesday, December 18, 2002 3:47 PM
To: planetccrma@ccrma.Stanford.EDU
Subject: Re: [PlanetCCRMA] The Oxygen 8 works! ... but...


On Wed, 18 Dec 2002 13:23:52 -0800
"Mark Knecht" <mknecht@controlnet.com> wrote:

> jack, jack, jack
>
> Joseph,
>    I saw similar message recently with pd. However, when I started pd
>    with
> jack support it worked fine.

OK, I've put in the fixes that Fernando suggested to my
/etc/modules.conf
Restarting ALSA, I got:

[root@gimel midisport-firmware]# /etc/rc.d/init.d/alsasound start
Starting sound driver snd-usb-audio                        [  OK  ]
Starting sound driver snd-cs4236 \
/lib/modules/2.4.19-1.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236.o:
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
init_module: No such device
/lib/modules/2.4.19-1.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236.o:
insmod
/lib/modules/2.4.19-1.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236.o
failed
/lib/modules/2.4.19-1.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236.o:
insmod snd-cs4236 failed
                                                           [FAILED]
Starting sequencer driver snd-seq-midi                     [  OK  ]
Restoring sound driver settings /usr/sbin/alsactl: set_control:782:
failed to obtain info for control #1 (No such file or directory)
                                                           [FAILED]
[root@gimel midisport-firmware]#

I then started jackd with the arguments that its docs suggested, and got
the following:

[root@gimel midisport-firmware]# jackd -d alsa -d hw:0
jackd 0.41.0
Copyright 2001-2002 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
loading driver ..
creating alsa driver ... hw:0|1024|2|48000|swmon
ALSA lib pcm_hw.c:866:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed:
No such file or directory
ALSA: Cannot open PCM device alsa_pcm/hw:0
cannot load driver module alsa
jack main caught signal 15
[root@gimel midisport-firmware]#

>From what I can tell, this doesn't look good. I suspect that it has
something to do with this /dev/snd/pcmCODOp, but I'm unclear as to what
this is or what to do about it.

I *think* I'm getting steadily closer :-)

> -----Original Message-----
> From: planetccrma-admin@ccrma.Stanford.EDU
> [mailto:planetccrma-admin@ccrma.Stanford.EDU]On Behalf Of Joseph Zitt
> Sent: Wednesday, December 18, 2002 12:30 PM
> To: planetccrma@ccrma.Stanford.EDU
> Subject: [PlanetCCRMA] The Oxygen 8 works! ... but...
>
>
> Trying things out, testing with pd shows that the Oxygen 8 now works.
> Thanks, Fernando!
>
> But I got worrisome messages when I started pd:
>
>
> [jzitt@gimel tex]$ pd &
> [2] 18634
> [1]   Done                    emacs index.php
> [jzitt@gimel tex]$ reading startup file: /home/jzitt/.pdrc
> ALSA lib pcm_hw.c:866:(snd_pcm_hw_open) open /dev/snd/pcmC0D0c failed:
> \ No such file or directory
> snd_pcm_open (input): No such file or directory
> ALSA lib pcm_hw.c:866:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed:
> \ No such file or directory
> snd_pcm_open (output): No such file or directory
> audio I/O stuck... closing audio
>
> [2]+  Done                    pd
> [jzitt@gimel tex]$
>
> I suspect that this has to do with the changes in /etc/modules.conf,
> but that could be a wild guess.
>
> Any clues?
>
> On Tue, 17 Dec 2002 20:13:13 -0800
> Joseph Zitt <jzitt@josephzitt.com> wrote:
>
> > On 16 Dec 2002 14:43:45 -0800
> > Fernando Pablo Lopez-Lezcano <nando@ccrma.Stanford.EDU> wrote:
> >
> > > Finally, I have just updated the ALSA drivers to today's CVS.
> > > Hopefully more frequent updates will follow (sorry for the delay
> > > on this one). Detailed instructions on how to upgrade can be found
> > > in the Planet CCRMA web page Changelog. Currently packages are
> > > available for the 2.4.19-1.ll up and smp kernels, 2.4.19-2.ll.acpi
> > > will follow shortly.
> >
> > OK, I'm in the process of installing them now. The changelog
> > instructions are quite clear (although I spotted one typo, in a line
> > that I had cut-and-pasted, where "alsasound" is written "alsasoud").
> >
> > One thing I should fix on my system is that I had at one point
> > enabled the internal soundcard, a cs4236 compatible built-in thing,
> > though that has never worked for me usefully either. I suspect that
> > I should remove it, probably by editing /etc/modules.conf, but I'm
> > not exactly clear on what I should and shouldn't remove.
> >
> > Here's the output that I got when I tried to restart ALSA:
> >
> > [root@gimel midisport-firmware]# /etc/rc.d/init.d/alsasound start
> > Starting sound driver snd-usb-audio                        [  OK  ]
> > Starting sound driver snd-cs4236
> > /lib/modules/2.4.19-1.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236
> > .o: Hint: insmod errors can be caused by incorrect module
> > parameters, including invalid IO or IRQ parameters.
> >       You may find more information in syslog or the output from
> >       dmesg
> > init_module: No such device
> > /lib/modules/2.4.19-1.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236
> > .o: insmod
> > /lib/modules/2.4.19-1.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236
> > .o failed
> > /lib/modules/2.4.19-1.ll/kernel/drivers/sound/isa/cs423x/snd-cs4236
> > .o: insmod snd-cs4236 failed
> >                                                            [FAILED]
> > Starting sequencer driver snd-seq-midi                     [  OK  ]
> > Restoring sound driver settings /usr/sbin/alsactl: set_control:782:
> > failed to obtain info for control #1 (No such file or directory)
> >                                                            [FAILED]
> >
> > ... and here's my /etc/modules.conf:
> >
> > [root@gimel midisport-firmware]# cat /etc/modules.conf
> > alias parport_lowlevel parport_pc
> > alias usb-controller usb-uhci
> >
> > # --- ALSA configuration
> > alias char-major-116 snd
> > alias char-major-14 soundcore
> > alias snd-card-0 snd-usb-audio
> > alias snd-card-1 snd-cs4236
> > # --- OSS compatibility
> > alias sound-slot-0 snd-card-0
> > alias sound-slot-1 snd-card-1
> > alias sound-service-0-0 snd-mixer-oss
> > alias sound-service-0-1 snd-seq-oss
> > alias sound-service-0-3 snd-pcm-oss
> > alias sound-service-0-8 snd-seq-oss
> > alias sound-service-0-12 snd-pcm-oss
> > alias sound-service-1-0 snd-mixer-oss
> > alias sound-service-1-1 snd-seq-oss
> > alias sound-service-1-3 snd-pcm-oss
> > alias sound-service-1-8 snd-seq-oss
> > alias sound-service-1-12 snd-pcm-oss
> > # --- Options
> > options snd device_gid=1 device_mode=0666 device_uid=0 cards_limit=2
> > major=116 card_limit=4
> > alias sound-slot-15 audio
> > options snd-usb-audio index=0 id=USB
> > # options snd-cs4236 index=1 id=cs4236
> > # Trying options from
> > # http://duvet.eee.nottingham.ac.uk/laptop/linux_on_latitude.html
> > # options snd-card-cs4236 index=1 id=CARD_1 port=0x530  #
> > # cport=0x210 mpu_port=0x330 fm_port=0x388 \
> > pre-remove sound-slot-15 /bin/aumix-minimal -f /etc/.aumixrc -S \
> > >/dev/null 2>&1 || :
> > # snd_irq=5 snd_mpu_irq=9 snd_dma1=1  # snd_dma2=-1 snd_isapnp=0
> > options snd-card-cs4236 port=0x530 cport=0x120 irq=5 dma2=1 dma1=0 \
> > id=CARD_1 index=1
> > # --- Keep modules from being autocleaned
> > add options -k snd-card-0
> > # add options -k snd-card-1 io=0x530 irq=5 dma=1 dma2=0
> > add options -k snd-card-1
> > # --- ALSA configuration END
> > [root@gimel midisport-firmware]#
> >
> > As always, thanks for your continuing good efforts!

--
| jzitt@josephzitt.com                      http://www.josephzitt.com/ |
| GPG: A4224EFA                         http://www.mp3.com/josephzitt/ |
| == New book: Surprise Me with Beauty: the Music of Human Systems  == |
| Comma / Gray Code / VoiceWAVE Silence: the John Cage Discussion List |

_______________________________________________
PlanetCCRMA mailing list
PlanetCCRMA@ccrma.stanford.edu
http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma