All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: more improvement of alsa web pages
@ 2002-04-26 11:18 Patrick Shirkey
  2002-04-26 12:46 ` modprobe of snd-powermac fails matt yee-king
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Shirkey @ 2002-04-26 11:18 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel


--- Takashi Iwai <tiwai@suse.de> wrote:
>At Wed, 24 Apr 2002 05:46:07 -0700 (PDT),
>Patrick Shirkey wrote:
>> 
>> I can draft a template page in html over the next few days. Keeping
>> in line with the new format style.
>
>do you write a bared html or is it generated from a meta format?
>

Firstly, why?

I write it all myself because I don't know or trust auto generators much.

>From what I've seen they often have *a lot* of extra crud which makes things difficult to change.

Of course that also means I have to be careful about formatting or I can end up confusing things even more as Paul encountered recently ;)

--
Patrick Shirkey - Boost Hardware Ltd
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.boosthardware.com/LAU/Linux_Audio_Users_Guide/




_____________________________________________________________
Want a new web-based email account ? ---> http://www.firstlinux.net

_____________________________________________________________
Run a small business? Then you need professional email like you@yourbiz.com from Everyone.net  http://www.everyone.net?tag

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: modprobe of snd-powermac fails
  2002-04-26 12:46 ` modprobe of snd-powermac fails matt yee-king
@ 2002-04-26 12:18   ` Takashi Iwai
  0 siblings, 0 replies; 7+ messages in thread
From: Takashi Iwai @ 2002-04-26 12:18 UTC (permalink / raw)
  To: matt yee-king; +Cc: alsa-devel

At 26 Apr 2002 12:46:11 +0000,
matt yee-king wrote:
> 
> Hello i just built alsa0.9rc1 on my revA tibook (tumbler card i think)
> 
> i configured like this:
> 
> __________
> 
> ./configure --with-sequencer=yes --with-oss=yes --with-isapnp=no
> --with-cards=powermac, virmidi
> 
> __________
> 
> modules.conf looks like this:
> 
> ___________
> 
> # ALSA portion
> alias snd-card-0 snd-powermac
> alias char-major-116 snd
> 
> # OSS/Free portion
> alias sound-slot-0 snd-card-0
> alias char-major-14 soundcore
> 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
> 
> _______________
> 
> modprobe snd-powermac output this:
> 
> _______________
> 
> /lib/modules/2.4.19-pre6-ben0/kernel/sound/ppc/snd-powermac.o:
> unresolved symbol udelay
> /lib/modules/2.4.19-pre6-ben0/kernel/sound/ppc/snd-powermac.o: insmod
> /lib/modules/2.4.19-pre6-ben0/kernel/sound/ppc/snd-powermac.o failed
> /lib/modules/2.4.19-pre6-ben0/kernel/sound/ppc/snd-powermac.o: insmod
> snd-powermac failed
> 
> ____________________
> 
> :(
> 
> please can someone help becaouse i got _really_  excited since this is
> the first version of alsa thats built on my machine so far!

perhaps #include <asm/delay.h> is missing in some of pmac driver's
codes.  could you check the compile warning?


Takashi

^ permalink raw reply	[flat|nested] 7+ messages in thread

* modprobe of snd-powermac fails
  2002-04-26 11:18 more improvement of alsa web pages Patrick Shirkey
@ 2002-04-26 12:46 ` matt yee-king
  2002-04-26 12:18   ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: matt yee-king @ 2002-04-26 12:46 UTC (permalink / raw)
  To: alsa-devel

Hello i just built alsa0.9rc1 on my revA tibook (tumbler card i think)

i configured like this:

__________

./configure --with-sequencer=yes --with-oss=yes --with-isapnp=no
--with-cards=powermac, virmidi

__________

modules.conf looks like this:

___________

# ALSA portion
alias snd-card-0 snd-powermac
alias char-major-116 snd

# OSS/Free portion
alias sound-slot-0 snd-card-0
alias char-major-14 soundcore
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

_______________

modprobe snd-powermac output this:

_______________

/lib/modules/2.4.19-pre6-ben0/kernel/sound/ppc/snd-powermac.o:
unresolved symbol udelay
/lib/modules/2.4.19-pre6-ben0/kernel/sound/ppc/snd-powermac.o: insmod
/lib/modules/2.4.19-pre6-ben0/kernel/sound/ppc/snd-powermac.o failed
/lib/modules/2.4.19-pre6-ben0/kernel/sound/ppc/snd-powermac.o: insmod
snd-powermac failed

____________________

:(

please can someone help becaouse i got _really_  excited since this is
the first version of alsa thats built on my machine so far!

cheers

matthew

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: modprobe of snd-powermac fails
  2002-04-26 13:35 matt yee-king
@ 2002-04-26 13:00 ` Takashi Iwai
  2002-04-26 14:11   ` matt yee-king
  2002-04-26 14:40 ` matt yee-king
  1 sibling, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2002-04-26 13:00 UTC (permalink / raw)
  To: matt yee-king; +Cc: alsa-devel

At 26 Apr 2002 13:35:06 +0000,
matt yee-king wrote:
> 
> 
> heres all the warnings:
> 
> _______________________________
> 
>  pdplus.c:3032: warning: #warning "This dr
> iver need to be ported to new hw_info"
> pdplus.c:3082: warning: #warning "This driver need to be ported to new
> hw_info"
> pdplus.c:3107: warning: #warning "This driver need to be ported to new
> hw_info"
> pdplus.c:3136: warning: #warning "The S/PDIF setup code needs to be
> rewritten."
> pdplus.c:3212: warning: #warning "This driver need to be ported to new
> hw_info"
> In file included from pcm_lib.c:1:
> ../alsa-kernel/core/pcm_lib.c: In function
> `snd_pcm_hw_param_first_R453796f4':
> ../alsa-kernel/core/pcm_lib.c:1141: warning: unused variable `err'
> ../alsa-kernel/core/pcm_lib.c: In function
> `snd_pcm_hw_param_last_R8ef19ab1':
> ../alsa-kernel/core/pcm_lib.c:1179: warning: unused variable `err'
> ../alsa-kernel/ppc/powermac.c:40: warning: `snd_enable' defined but not
> used
> In file included from pmac.c:1:
> ../alsa-kernel/ppc/pmac.c: In function `snd_pmac_suspend':
> ../alsa-kernel/ppc/pmac.c:1321: warning: implicit declaration of
> function `disab
> le_irq_R3ce4ca6f'
> ../alsa-kernel/ppc/pmac.c: In function `snd_pmac_resume':
> ../alsa-kernel/ppc/pmac.c:1350: warning: implicit declaration of
> function `enabl
> e_irq_Rfcec0987'
> In file included from keywest.c:1:
> ../alsa-kernel/ppc/keywest.c: In function `keywest_writeb_wait':
> ../alsa-kernel/ppc/keywest.c:51: warning: implicit declaration of
> function `udel
> ay'

then add #include <asm/delay.h> to alsa-kernel/ppc/keywest.c.


Takashi

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: modprobe of snd-powermac fails
@ 2002-04-26 13:35 matt yee-king
  2002-04-26 13:00 ` Takashi Iwai
  2002-04-26 14:40 ` matt yee-king
  0 siblings, 2 replies; 7+ messages in thread
From: matt yee-king @ 2002-04-26 13:35 UTC (permalink / raw)
  To: alsa-devel


heres all the warnings:

_______________________________

 pdplus.c:3032: warning: #warning "This dr
iver need to be ported to new hw_info"
pdplus.c:3082: warning: #warning "This driver need to be ported to new
hw_info"
pdplus.c:3107: warning: #warning "This driver need to be ported to new
hw_info"
pdplus.c:3136: warning: #warning "The S/PDIF setup code needs to be
rewritten."
pdplus.c:3212: warning: #warning "This driver need to be ported to new
hw_info"
In file included from pcm_lib.c:1:
../alsa-kernel/core/pcm_lib.c: In function
`snd_pcm_hw_param_first_R453796f4':
../alsa-kernel/core/pcm_lib.c:1141: warning: unused variable `err'
../alsa-kernel/core/pcm_lib.c: In function
`snd_pcm_hw_param_last_R8ef19ab1':
../alsa-kernel/core/pcm_lib.c:1179: warning: unused variable `err'
../alsa-kernel/ppc/powermac.c:40: warning: `snd_enable' defined but not
used
In file included from pmac.c:1:
../alsa-kernel/ppc/pmac.c: In function `snd_pmac_suspend':
../alsa-kernel/ppc/pmac.c:1321: warning: implicit declaration of
function `disab
le_irq_R3ce4ca6f'
../alsa-kernel/ppc/pmac.c: In function `snd_pmac_resume':
../alsa-kernel/ppc/pmac.c:1350: warning: implicit declaration of
function `enabl
e_irq_Rfcec0987'
In file included from keywest.c:1:
../alsa-kernel/ppc/keywest.c: In function `keywest_writeb_wait':
../alsa-kernel/ppc/keywest.c:51: warning: implicit declaration of
function `udel
ay'

_______________________

heres /usr/include/asm/delay.h
_______________________

/*
 * BK Id: SCCS/s.delay.h 1.7 05/17/01 18:14:24 cort
 */
#ifdef __KERNEL__
#ifndef _PPC_DELAY_H
#define _PPC_DELAY_H

#include <asm/param.h>

/*
 * Copyright 1996, Paul Mackerras.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */

extern unsigned long loops_per_jiffy;

/* maximum permitted argument to udelay */
#define __MAX_UDELAY    1000000

extern void __delay(unsigned int loops);

/* N.B. the `secs' parameter here is a fixed-point number with
   the binary point to the left of the most-significant bit. */
extern __inline__ void __const_udelay(unsigned int secs)
{
        unsigned int loops;

        __asm__("mulhwu %0,%1,%2" : "=r" (loops) :
                "r" (secs), "r" (loops_per_jiffy));
        __delay(loops * HZ);


/*
 * note that 4294 == 2^32 / 10^6, multiplying by 4294 converts from
 * microseconds to a 32-bit fixed-point number of seconds.
 */
extern __inline__ void __udelay(unsigned int usecs)
{
        __const_udelay(usecs * 4294);
}

extern void __bad_udelay(void);         /* deliberately undefined */

#define udelay(n) (__builtin_constant_p(n)? \
                   ((n) > __MAX_UDELAY? __bad_udelay():
__const_udelay((n) * 4294u)) : \
                   __udelay(n))

#endif /* defined(_PPC_DELAY_H) */
#endif /* __KERNEL__ */

_________________



any ideas?

 - matthew

:

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: modprobe of snd-powermac fails
  2002-04-26 13:00 ` Takashi Iwai
@ 2002-04-26 14:11   ` matt yee-king
  0 siblings, 0 replies; 7+ messages in thread
From: matt yee-king @ 2002-04-26 14:11 UTC (permalink / raw)
  To: alsa-devel

yep. thats fixed it! nice one. the world of alsa awaits.... :)

- matthew


> then add #include <asm/delay.h> to alsa-kernel/ppc/keywest.c.
> 
> 
> Takashi
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: modprobe of snd-powermac fails
  2002-04-26 13:35 matt yee-king
  2002-04-26 13:00 ` Takashi Iwai
@ 2002-04-26 14:40 ` matt yee-king
  1 sibling, 0 replies; 7+ messages in thread
From: matt yee-king @ 2002-04-26 14:40 UTC (permalink / raw)
  To: alsa-devel

oops i spoke too soon.

the modules are loaded ok but they don't work:

# lsmod
_________________

Module                  Size  Used by    Not tainted
snd-powermac           24752   0 
snd-pcm                63680   0  [snd-powermac]
snd-timer              12768   0  [snd-pcm]
snd                    34748   0  [snd-powermac snd-pcm snd-timer]
soundcore               4744   0  [snd]
serial                 51784   0  (autoclean) (unused)
__________________

# alsaplayer auntyplexer.mp3 
alsaplayer: pcm.c:5655: snd_pcm_unlink_ptr: Assertion `0' failed.
AlsaPlayer interrupted by signal 6

# alsaplayer shackup.wav     
alsaplayer: pcm.c:5655: snd_pcm_unlink_ptr: Assertion `0' failed.
AlsaPlayer interrupted by signal 6

i tried some oss apps as well (pd, spiralsynthmodular). they don't
produce any errors, but theres no sound. 

and alsamixer has strange behaviour. the 'master' channel changes from a
mutable out channel to a 'captur' channel after a while ??

- matthew

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-04-26 14:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-26 11:18 more improvement of alsa web pages Patrick Shirkey
2002-04-26 12:46 ` modprobe of snd-powermac fails matt yee-king
2002-04-26 12:18   ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2002-04-26 13:35 matt yee-king
2002-04-26 13:00 ` Takashi Iwai
2002-04-26 14:11   ` matt yee-king
2002-04-26 14:40 ` matt yee-king

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.