[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Woody, alsa-0.9.0rc1 and snd-powermac Problem



Hi all!

I got alsa-0.9.0rc1 from alsa-project.org and installed with 
alsa-drivers ./configure --with-cards=powermac make make install
and ./snddevices
alsa-lib, alsa-oss and alsa-utils with ./configure make make install

After that I did update-modules with /etc/modutils/alsa written like
this (without and with _options ... _ I found at www.hadess.net by
googling resulting in the same):

# ALSA native device support
alias char-major-116 snd
alias snd-card-0 snd-powermac

# OSS/Free Setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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 
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=29 snd_device_uid=0
options snd-powermac snd_index=0 snd_id=CARD0
options snd-card-awacs snd_index=0 snd_id=CARD_0 snd_enable=1 snd_auto_mute=1

Loading snd-powermac.o failed repeatedly in the following manner:

Using /lib/modules/2.4.20-ben5/kernel/sound/ppc/snd-powermac.o
/lib/modules/2.4.20-ben5/kernel/sound/ppc/snd-powermac.o: unresolved symbol udelay
/lib/modules/2.4.20-ben5/kernel/sound/ppc/snd-powermac.o: insmod /lib/modules/2.4.20-ben5/kernel/sound/ppc/snd-powermac.o failed


Up to date Woody, 

kernel benh-2.4.20ben5 with 
  CONFIG_DMASOUND_PMAC=y
  CONFIG_DMASOUND=y
  CONFIG_SOUND=y
  CONFIG_SOUND_OSS=m
  CONFIG_SOUND_TRACEINIT=y
  CONFIG_SOUND_DMAP=y

Complete output of the script about _modprobe -v snd-powermac_ :

ursa:/home/georg# modprobe -v snd-powermac
/sbin/insmod /lib/modules/2.4.20-ben5/kernel/sound/acore/snd-timer.o
Using /lib/modules/2.4.20-ben5/kernel/sound/acore/snd-timer.o
Symbol version prefix ''
/sbin/insmod /lib/modules/2.4.20-ben5/kernel/sound/acore/snd-pcm.o
Using /lib/modules/2.4.20-ben5/kernel/sound/acore/snd-pcm.o
/sbin/insmod /lib/modules/2.4.20-ben5/kernel/sound/ppc/snd-powermac.o snd_index=0 snd_id=CARD0
Using /lib/modules/2.4.20-ben5/kernel/sound/ppc/snd-powermac.o
/lib/modules/2.4.20-ben5/kernel/sound/ppc/snd-powermac.o: unresolved symbol udelay
/lib/modules/2.4.20-ben5/kernel/sound/ppc/snd-powermac.o: insmod /lib/modules/2.4.20-ben5/kernel/sound/ppc/snd-powermac.o failed
# delete snd-pcm
# delete snd-timer
/lib/modules/2.4.20-ben5/kernel/sound/ppc/snd-powermac.o: insmod snd-powermac failed

Where is my mistake ?-| (besides not beeing able coding ;) )

BTW I found that _udelay_ in
alsa-driver-0.9.0rc1/alsa-kernel/ppc/pmac.c as follows:

inline static_void
snd_pmac_wait_ack(pmac_stream_t *rec)
{
   init timeout = 50000;
   while ((in_le32(&rec->dma->status) & RUN) && timeout-- > 0)
         udelay(1);
}

THX for any help in advance

-- 

M.f.G.

Georg Koss

mailto: g.koss@nextra.at



Reply to: