Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get sound recognized in Powermac G4 M8840LL/A
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
nuzzy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 106
Location: NH, USA

PostPosted: Mon Oct 30, 2006 6:13 pm    Post subject: Can't get sound recognized in Powermac G4 M8840LL/A Reply with quote

I can't get my sound recognized in my powermac g4 machine. I installed ALSA in the kernel but see nothing when I "dmesg". Any ideas?
_________________
VMware Fusion on a Macbook Pro running Gentoo
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Oct 30, 2006 6:19 pm    Post subject: Reply with quote

Follow this guide:
http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml#sound

If it still doesn't work, please paste in the output of dmesg on boot
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
nuzzy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 106
Location: NH, USA

PostPosted: Mon Oct 30, 2006 6:55 pm    Post subject: Reply with quote

Hi,

I followed with no success. Here's my dmesg output:
Code:
Using PowerMac machine description
Total memory = 768MB; using 2048kB for hash table (at cfe00000)
Linux version 2.6.17-gentoo-r5 (root@gentoo) (gcc version 4.1.1 (Gentoo 4.1.1)) #2 Wed Oct 11 19:10:51 EDT 2006
Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0x24
Mapped at 0xfdfc0000
Found a Keylargo mac-io controller, rev: 3, mapped at 0xfdf40000
PowerMac motherboard: PowerMac G4 Windtunnel
Found UniNorth PCI host bridge at 0xf0000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf2000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf4000000. Firmware bus number: 0->0
Found NEC PD720100A USB2 chip with disabled EHCI, fixing up...
via-pmu: Server Mode is disabled
PMU driver v2 initialized for Core99, firmware: 0c
nvram: Checking bank 0...
nvram: gen0=734, gen1=735
nvram: Active bank is: 1
nvram: OF partition at 0x410
nvram: XP partition at 0x1020
nvram: NR partition at 0x1120
Top of RAM: 0x30000000, Total RAM: 0x30000000
Memory hole size: 0MB
On node 0 totalpages: 196608
  DMA zone: 196608 pages, LIFO batch:31
Built 1 zonelists
Kernel command line: root=/dev/hda4 ro
mpic: Setting up MPIC " MPIC 1   " version 1.2 at 80040000, max 4 CPUs
mpic: ISU size: 64, shift: 6, mask: 3f
mpic: Initializing for 64 sources
PID hash table entries: 4096 (order: 12, 16384 bytes)
GMT Delta read from XPRAM: 0 minutes, DST: off
time_init: decrementer frequency = 41.659304 MHz
time_init: processor frequency   = 1249.999995 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 771968k/786432k available (3932k kernel code, 13956k reserved, 324k data, 159k bss, 188k init)
Calibrating delay loop... 83.20 BogoMIPS (lpj=166400)
Mount-cache hash table entries: 512
device-tree: Duplicate name in /cpus/PowerPC,G4@0/l2-cache, renamed to "l2-cache#1"
device-tree: Duplicate name in /cpus/PowerPC,G4@0, renamed to "l2-cache#1"
device-tree: Duplicate name in /cpus/PowerPC,G4@1/l2-cache, renamed to "l2-cache#1"
device-tree: Duplicate name in /cpus/PowerPC,G4@1, renamed to "l2-cache#1"
device-tree: Duplicate name in /pci@f2000000/mac-io@17/gpio@50, renamed to "gpio5@6f#1"
device-tree: Duplicate name in /pci@f2000000/mac-io@17/gpio@50, renamed to "gpio6@70#1"
device-tree: Duplicate name in /pci@f2000000/mac-io@17/gpio@50, renamed to "gpio11@75#1"
device-tree: Duplicate name in /pci@f2000000/mac-io@17/gpio@50, renamed to "extint-gpio15@67#1"
NET: Registered protocol family 16
KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
 channel 0 bus <multibus>
 channel 1 bus <multibus>
KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/i2c@18000
 channel 0 bus <multibus>
PMU i2c /pci@f2000000/mac-io@17/via-pmu@16000/pmu-i2c
 channel 1 bus <multibus>
 channel 2 bus <multibus>
pmf: no parser for command 17 !
PCI: Probing PCI hardware
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
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
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.27 [Flags: R/W].
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected Apple UniNorth 2 chipset
agpgart: configuring for size idx: 4
agpgart: AGP aperture is 16M @ 0x0
[drm] Initialized drm 1.0.1 20051102
PCI: Enabling device 0000:00:10.0 (0086 -> 0087)
[drm] Initialized radeon 1.24.0 20060225 on minor 0
radeonfb: Found Open Firmware ROM Image
radeonfb: Retrieved PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=250.00 Mhz, System=275.00 MHz
radeonfb: PLL min 12000 max 35000
radeonfb: Monitor 1 type DFP found
radeonfb: EDID probed
radeonfb: Monitor 2 type DFP found
radeonfb: EDID probed
Console: switching to colour frame buffer device 160x64
radeonfb (0000:00:10.0): ATI Radeon If
mice: PS/2 mouse device common for all mice
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
sungem.c:v0.98 8/24/03 David S. Miller (davem@redhat.com)
PHY ID: 2060e1, addr: 0
eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:03:93:d1:eb:74
eth0: Found BCM5421 PHY
pcnet32.c:v1.32 18.Mar.2006 tsbogend@alpha.franken.de
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
MacIO PCI driver attached to Keylargo chipset
input: Macintosh mouse button emulation as /class/input/input0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
adb: starting probe task...
adb: finished probe task...
PCI: Enabling device 0002:20:0d.0 (0000 -> 0002)
ide0: Found Apple UniNorth ATA-6 controller, bus ID 3, irq 39
Probing IDE interface ide0...
hda: ST3120024A, ATA DISK drive
hda: Enabling Ultra DMA 5
ide0 at 0xf1022000-0xf1022007,0xf1022160 on irq 39
eth0: Link is up at 100 Mbps, full-duplex.
ide1: Found Apple KeyLargo ATA-4 controller, bus ID 2, irq 19
Probing IDE interface ide1...
ide2: Found Apple KeyLargo ATA-3 controller, bus ID 0, irq 20
Probing IDE interface ide2...
hde: PIONEER DVD-RW DVR-105, ATAPI CD/DVD-ROM drive
hde: Enabling MultiWord DMA 2
ide2 at 0xf1026000-0xf1026007,0xf1026160 on irq 20
hda: max request size: 128KiB
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
 hda: [mac] hda1 hda2 hda3 hda4
hde: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, (U)DMA
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
mesh: configured for synchronous 5 MB/s
st: Version 20050830, fixed bufsize 32768, s/g segs 256
ieee1394: Initialized config rom entry `ip1394'
PCI: Enabling device 0002:20:0e.0 (0000 -> 0002)
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[40]  MMIO=[f5000000-f50007ff]  Max Packet=[4096]  IR/IT contexts=[8/8]
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
usbmon: debugfs is not available
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
Apple USB OHCI 0001:10:18.0 disabled by firmware
Apple USB OHCI 0001:10:19.0 disabled by firmware
PCI: Enabling device 0001:10:1b.0 (0000 -> 0002)
ohci_hcd 0001:10:1b.0: OHCI Host Controller
ohci_hcd 0001:10:1b.0: new USB bus registered, assigned bus number 1
ohci_hcd 0001:10:1b.0: irq 63, io mem 0x80082000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
PCI: Enabling device 0001:10:1b.1 (0000 -> 0002)
ohci_hcd 0001:10:1b.1: OHCI Host Controller
ohci_hcd 0001:10:1b.1: new USB bus registered, assigned bus number 2
ohci_hcd 0001:10:1b.1: irq 63, io mem 0x80081000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-1: new low speed USB device using ohci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
usb 2-1: new low speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
input: HID 413c:3010 as /class/input/input1
input: USB HID v1.10 Mouse [HID 413c:3010] on usb-0001:10:1b.0-1
input: DELL DELL USB Keyboard as /class/input/input2
input: USB HID v1.10 Keyboard [DELL DELL USB Keyboard] on usb-0001:10:1b.1-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver appletouch
PowerMac i2c bus pmu 2 registered
PowerMac i2c bus pmu 1 registered
PowerMac i2c bus mac-io 0 registered
PowerMac i2c bus uni-n 1 registered
PowerMac i2c bus uni-n 0 registered
oprofile: using ppc/7450 performance monitoring.
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[000393fffed1eb74]
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 188k init
eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
ttyS0 at MMIO 0x80013020 (irq = 22) is a Z85c30 ESCC - Serial port
ttyS1 at MMIO 0x80013000 (irq = 23) is a Z85c30 ESCC - Serial port
EXT3 FS on hda4, internal journal
Adding 524280k swap on /dev/hda3.  Priority:-1 extents:1 across:524280k
eth0: Link is up at 100 Mbps, full-duplex.
eth0: Pause is disabled

_________________
VMware Fusion on a Macbook Pro running Gentoo
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Oct 31, 2006 2:48 am    Post subject: Reply with quote

Are you sure you're booting the right kernel?

What does the sound section of your kernel config look like?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
nuzzy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 106
Location: NH, USA

PostPosted: Tue Oct 31, 2006 5:09 pm    Post subject: Reply with quote

I'm using 2.6.18-gentoo-r1

Here's what's in my .config:

Code:
nuzzy@gentoo /usr/src/linux $ more .config | grep SOUND
CONFIG_SOUND=m
# CONFIG_DMASOUND_PMAC is not set
# CONFIG_SND_AOA_SOUNDBUS is not set
# CONFIG_SOUND_PRIME is not set

_________________
VMware Fusion on a Macbook Pro running Gentoo
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Tue Oct 31, 2006 5:29 pm    Post subject: Reply with quote

I see you have sound as a module. I had an issue where the module loaded after alsa started. You could get around that by compiling the sound driver into the kernel.
Back to top
View user's profile Send private message
nuzzy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 106
Location: NH, USA

PostPosted: Fri Nov 03, 2006 4:18 pm    Post subject: Reply with quote

davidgurvich wrote:
I see you have sound as a module. I had an issue where the module loaded after alsa started. You could get around that by compiling the sound driver into the kernel.


Thanks, but I tried this and still a no-go :(
_________________
VMware Fusion on a Macbook Pro running Gentoo
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Nov 03, 2006 11:12 pm    Post subject: Reply with quote

Please post the whole sound section so we can figure out what you're missing. Also, did you make sure to enable i2c support as it says in the FAQ? It's required for sound support.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
nuzzy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 106
Location: NH, USA

PostPosted: Tue Nov 07, 2006 7:13 pm    Post subject: Reply with quote

Hi Jose,

I enabled the i2c support. Which sound section would you like me to post?
_________________
VMware Fusion on a Macbook Pro running Gentoo
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Nov 07, 2006 7:24 pm    Post subject: Reply with quote

Everything between:

Quote:

#
# Sound
#


and

Quote:

#
# USB support
#


and check that CONFIG_I2C_POWERMAC=y is set.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
nuzzy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 106
Location: NH, USA

PostPosted: Tue Nov 07, 2006 8:24 pm    Post subject: Reply with quote

Here ya go:

Code:
# Sound
#
CONFIG_SOUND=y
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=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_SUPPORT_OLD_API=y
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
CONFIG_SND_DEBUG=y
# CONFIG_SND_DEBUG_DETECT is not set

#
# Generic devices
#
CONFIG_SND_DUMMY=y
# 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_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# 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_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X 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_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM 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_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# ALSA PowerMac devices
#
# CONFIG_SND_POWERMAC is not set

#
# Apple Onboard Audio driver
#
CONFIG_SND_AOA=y
# CONFIG_SND_AOA_FABRIC_LAYOUT is not set
CONFIG_SND_AOA_ONYX=y
CONFIG_SND_AOA_TAS=y
CONFIG_SND_AOA_TOONIE=y
CONFIG_SND_AOA_SOUNDBUS=y
# CONFIG_SND_AOA_SOUNDBUS_I2S is not set

#
# USB devices
#
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_USX2Y is not set

#
# PCMCIA devices
#
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set



CONFIG_I2C_POWERMAC=y is set


Note: I also tried without snd-aoa and used the built-in ALSA drivers with the same results.
_________________
VMware Fusion on a Macbook Pro running Gentoo
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Nov 07, 2006 8:54 pm    Post subject: Reply with quote

CONFIG_DMASOUND_PMAC=y
CONFIG_DMASOUND=y

Basically, if you enable the OSS driver, ALSA will not work. Please try removing these as it says in the FAQ and see if that helps.

I'm also not sure if that machine has a fabric/layout as needed by snd-aoa. I'd try the regular PowerMac ALSA driver first.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
salmonix
Guru
Guru


Joined: 16 Jul 2006
Posts: 410

PostPosted: Mon Nov 20, 2006 7:58 pm    Post subject: Reply with quote

I have followed the thread for i have the same problem with my Tibook 500Mhz.
I have ALSA in-kernel, no OSS, PowerMac DMA in-kernel, ALSA PowerMac devices in-kernel, and I2C support in-kernel. Alsa finds no snd, no soundcard etc.
Unfortunately i've been able to collect no data about the identity of this Tibook's soundcard. Should i set everything else in-module?
_________________
Quis custodiet ipsos, custodes?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Nov 20, 2006 8:27 pm    Post subject: Reply with quote

You followed the FAQ? I have the same TiBook and the in kernel ALSA PowerMac drivers work fine. Do not enable the PowerMAC DMA driver, it's the OSS driver. From the FAQ: "Note: Please make sure that PowerMac DMA sound support is turned off, otherwise the ALSA module will not be able to load." If you still can't get it to work, please post the sound section of your kernel config.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
salmonix
Guru
Guru


Joined: 16 Jul 2006
Posts: 410

PostPosted: Tue Nov 21, 2006 7:48 pm    Post subject: Reply with quote

Right, DMA is on. OK., I must learn to reag again.
_________________
Quis custodiet ipsos, custodes?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum