mitchell laks <mlaks2000 <at> yahoo.com> writes: I compiled a fresh 2.6 kernel from kernel.org 2.6.15-3.
I followed the instructions at http://seb.france.free.fr/linux/ibookG4/iBookG4-howto-4.html I ran make pmac_defconfig then i ran make menuconfig and modified the kernel configuration. by making alsa part of the kernel not a module. here is an excerpt from my .config. I # Sound # CONFIG_SOUND=yq CONFIG_DMASOUND_PMAC=y CONFIG_DMASOUND=y # # Advanced Linux Sound Architecture # CONFIG_SND=y CONFIG_SND_TIMER=y CONFIG_SND_PCM=y CONFIG_SND_HWDEP=m CONFIG_SND_RAWMIDI=m CONFIG_SND_SEQUENCER=m CONFIG_SND_SEQ_DUMMY=m CONFIG_chellSND_OSSEMUL=y CONFIG_SND_MIXER_OSS=y CONFIG_SND_PCM_OSS=y CONFIG_SND_SEQUENCER_OSS=y # CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_DEBUG is not set CONFIG_SND_GENERIC_DRIVER=y # # Generic devices # CONFIG_SND_DUMMY=m # CONFIG_SND_VIRMIDI is not set # CONFIG_SND_MTPAV is not set # CONFIG_SND_SERIAL_U16550 is not set # CONFIG_SND_MPU401 is not set # # PCI devices # # CONFIG_SND_ALI5451 is not set # CONFIG_SND_ATIIXP is not set # CONFIG_SND_ATIIXP_MODEM is not set # CONFIG_SND_AU8810 is not set # CONFIG_SND_AU8820 is not set # CONFIG_SND_AU8830 is not set # CONFIG_SND_AZT3328 is not set # CONFIG_SND_BT87X is not set # CONFIG_SND_CS46XX is not set # CONFIG_SND_CS4281 is not set # CONFIG_SND_EMU10K1 is not set # CONFIG_SND_EMU10K1X is not set # CONFIG_SND_CA0106 is not set # CONFIG_SND_KORG1212 is not set # CONFIG_SND_MIXART is not set # CONFIG_SND_NM256 is not set # CONFIG_SND_RME32 is not set # CONFIG_SND_RME96 is not set # CONFIG_SND_RME9652 is not set # CONFIG_SND_HDSP is not set # CONFIG_SND_HDSPM is not set # CONFIG_SND_TRIDENT is not set # CONFIG_SND_YMFPCI is not set # CONFIG_SND_AD1889 is not set # CONFIG_SND_ALS4000 is not set # CONFIG_SND_CMIPCI is not set # CONFIG_SND_ENS1370 is not set # CONFIG_SND_ENS1371 is not set # CONFIG_SND_ES1938 is not set # CONFIG_SND_ES1968 is not set # CONFIG_SND_MAESTRO3 is not set # CONFIG_SND_FM801 is not set # CONFIG_SND_ICE1712 is not set # CONFIG_SND_ICE1724 is not set # CONFIG_SND_INTEL8X0 is not set # CONFIG_SND_INTEL8X0M is not set # CONFIG_SND_SONICVIBES is not set # CONFIG_SND_VIA82XX is not set # CONFIG_SND_VIA82XX_MODEM is not set # CONFIG_SND_VX222 is not set # CONFIG_SND_HDA_INTEL is not set # # ALSA PowerMac devices # CONFIG_SND_POWERMAC=y CONFIG_SND_POWERMAC_AUTO_DRC=y # # USB devices # i Then I compiled the kernel and rebooted into it. Here is the excert from dmesg relative to the alsa using i2c address: 0x35 from device-tree Audio jack unplugged, enabling speakers. input: dmasound beeper as /class/input/input5 AE-Init snapper mixer PowerMac Snapper DMA sound driver rev 016 installed Core driver edition 01.06 : PowerMac Built-in Sound driver edition 00.07 Write will use 4 fragments of 32768 bytes as default Read will use 4 fragments of 32768 bytes as default Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC). pmac: can't request resource 0! ALSA device list: No soundcards found. NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 7, 524288 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered TCP bic registered NET: Registered protocol family 1 here is lsmod (shoretest one of all tiime for me with debian) odule Size Used by radeon 125320 1 drm 85208 2 radeon therm_adt746x 13384 0 sbp2 25988 0 eth1394 22792 0 ohci1394 40628 0 ieee1394 112336 3 sbp2,eth1394,ohci1394 uninorth_agp 11016 1 agpgart 37884 2 drm,uninorth_agp Ok. then i boot into kde and get error message from arts about cant find default device. I look for /dev/dsp and it has black box a roundit. I play around - run alsaconf as root, try /etc/init.d/alsa reload etc, no good then now i look and it see ls /dev/dsp -l crw-rw---- 1 root audio 14, 3 2006-02-06 22:32 /dev/dsp Ok what do i need to do. i am running debian sid, i have installed udev and purged hotplug as per udev request. What next? Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

