Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
G5 1.8 DP...No Sound (SOLVED)
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
ppc64
n00b
n00b


Joined: 24 Jun 2004
Posts: 11
Location: Va

PostPosted: Mon Mar 05, 2007 1:37 pm    Post subject: G5 1.8 DP...No Sound (SOLVED) Reply with quote

I've been struggling with this for about a week and still can't get sound to work. Im using 2.6.20 w/alsa in my kernel. Can anybody help?

# tail -2 /proc/asound/oss/sndstat
Mixers:
0: SoundByLayout

# amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 177
Mono:
Front Left: Playback 129 [73%] [on]
Front Right: Playback 129 [73%] [on]
Simple mixer control 'Headphone',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Headphone Detect Autoswitch',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Headphone Detected',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Bass',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 72
Mono: 36 [50%]
Simple mixer control 'Treble',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 72
Mono: 36 [50%]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 177
Mono:
Front Left: Playback 131 [74%]
Front Right: Playback 131 [74%]
Simple mixer control 'Line-In',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [on]
Simple mixer control 'Line-Out',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Line-Out Detect Autoswitch',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Line-Out Detected',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Microphone',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'DRC Range',0
Capabilities: volume volume-joined pswitch pswitch-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 239
Mono: 119 [50%] Playback [on]
Simple mixer control 'Monitor',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 177
Mono:
Front Left: Playback 89 [50%]
Front Right: Playback 89 [50%]
Simple mixer control 'Speakers',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]

# lspci -nv
0000:f0:0b.0 0600: 106b:004b
Flags: bus master, 66MHz, medium devsel, latency 16
Capabilities: [80] AGP version 3.0

0000:f0:10.0 0300: 1002:4e48
Subsystem: 1002:4e48
Flags: bus master, stepping, 66MHz, medium devsel, latency 16, IRQ 48
Memory at c0000000 (32-bit, prefetchable) [size=256M]
I/O ports at 0400 [size=256]
Memory at b0000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at b0020000 [disabled] [size=128K]
Capabilities: [58] AGP version 3.0
Capabilities: [50] Power Management version 2

0001:00:01.0 0604: 1022:7450 (rev 12)
Flags: bus master, 66MHz, medium devsel, latency 32
Bus: primary=00, secondary=06, subordinate=06, sec-latency=32
I/O behind bridge: 00000000-00000fff
Memory behind bridge: 90000000-900fffff
Capabilities: [a0] PCI-X bridge device
Capabilities: [b8] HyperTransport: Interrupt Discovery and Configuration
Capabilities: [c0] HyperTransport: Slave or Primary Interface

0001:00:02.0 0604: 1022:7450 (rev 12)
Flags: bus master, 66MHz, medium devsel, latency 32
Bus: primary=00, secondary=07, subordinate=07, sec-latency=32
I/O behind bridge: 00001000-00001fff
Memory behind bridge: a0000000-a02fffff
Capabilities: [a0] PCI-X bridge device
Capabilities: [b8] HyperTransport: Interrupt Discovery and Configuration

0001:00:03.0 0604: 106b:0045
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
Memory behind bridge: 80000000-800fffff
Prefetchable memory behind bridge: 00000000-000fffff
Capabilities: [70] HyperTransport: Slave or Primary Interface
Capabilities: [90] HyperTransport: Interrupt Discovery and Configuration

0001:00:04.0 0604: 106b:0046
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
Memory behind bridge: 80100000-801fffff
Prefetchable memory behind bridge: 00000000-000fffff
Capabilities: [70] HyperTransport: Revision ID: 1.04

0001:00:05.0 0604: 106b:0047
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
Memory behind bridge: 80200000-802fffff
Prefetchable memory behind bridge: 00000000-000fffff
Capabilities: [70] HyperTransport: Revision ID: 1.04

0001:00:06.0 0604: 106b:0048
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
Memory behind bridge: 80300000-805fffff
Prefetchable memory behind bridge: 00000000-000fffff
Capabilities: [70] HyperTransport: Revision ID: 1.04

0001:00:07.0 0604: 106b:0049
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
Memory behind bridge: 80600000-806fffff
Prefetchable memory behind bridge: 00000000-000fffff
Capabilities: [70] HyperTransport: Revision ID: 1.04

0001:01:07.0 ff00: 106b:0041 (rev 20)
Flags: bus master, medium devsel, latency 16
Memory at 80000000 (32-bit, non-prefetchable) [size=512K]

0001:01:08.0 0c03: 106b:0040 (prog-if 10)
Flags: bus master, medium devsel, latency 16, IRQ 27
Memory at 80081000 (32-bit, non-prefetchable) [size=4K]

0001:01:09.0 0c03: 106b:0040 (prog-if 10)
Flags: bus master, medium devsel, latency 16, IRQ 28
Memory at 80080000 (32-bit, non-prefetchable) [size=4K]

0001:02:0b.0 0c03: 1033:0035 (rev 43) (prog-if 10)
Subsystem: 1033:0035
Flags: bus master, medium devsel, latency 16, IRQ 63
Memory at 80102000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

0001:02:0b.1 0c03: 1033:0035 (rev 43) (prog-if 10)
Subsystem: 1033:0035
Flags: bus master, medium devsel, latency 16, IRQ 63
Memory at 80101000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

0001:02:0b.2 0c03: 1033:00e0 (rev 04) (prog-if 20)
Subsystem: 1033:00e0
Flags: bus master, medium devsel, latency 16, IRQ 63
Memory at 80100000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2

0001:03:0d.0 ff00: 106b:0043
Flags: bus master, medium devsel, latency 32, IRQ 39
Memory at 80204000 (32-bit, non-prefetchable) [size=16K]

0001:03:0e.0 0c00: 106b:0042 (prog-if 10)
Subsystem: 106b:5811
Flags: bus master, medium devsel, latency 248, IRQ 40
Memory at 80200000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2

0001:04:0f.0 0200: 106b:004c
Flags: bus master, 66MHz, slow devsel, latency 16, IRQ 41
Memory at 80400000 (32-bit, non-prefetchable) [size=2M]
Expansion ROM at 80300000 [disabled] [size=1M]

0001:05:0c.0 0101: 1166:0240 (prog-if 8f)
Subsystem: 1166:0240
Flags: bus master, medium devsel, latency 16, IRQ 16
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
Memory at 80600000 (32-bit, non-prefetchable) [size=8K]

0001:06:03.0 0180: 1095:3112 (rev 02)
Subsystem: 1095:3112
Flags: bus master, 66MHz, medium devsel, latency 16, IRQ 53
I/O ports at 0040 [size=16]
I/O ports at 0030 [size=16]
I/O ports at 0020 [size=16]
I/O ports at 0010 [size=16]
I/O ports at <unassigned>
Memory at 90000000 (32-bit, non-prefetchable) [size=512]
Expansion ROM at 90080000 [disabled] [size=512K]
Capabilities: [60] Power Management version 2

0001:07:04.0 0100: 117c:0030 (rev 08)
Subsystem: 117c:8013
Flags: bus master, 66MHz, medium devsel, latency 16, IRQ 54
I/O ports at 1400 [size=256]
Memory at a00c0000 (64-bit, non-prefetchable) [size=256K]
Memory at a0080000 (64-bit, non-prefetchable) [size=256K]
Expansion ROM at a0200000 [disabled] [size=1M]
Capabilities: [50] Power Management version 2
Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [68] PCI-X non-bridge device

0001:07:04.1 0100: 117c:0030 (rev 08)
Subsystem: 117c:8013
Flags: bus master, 66MHz, medium devsel, latency 16, IRQ 54
I/O ports at 1000 [size=256]
Memory at a0040000 (64-bit, non-prefetchable) [size=256K]
Memory at a0000000 (64-bit, non-prefetchable) [size=256K]
Expansion ROM at a0100000 [disabled] [size=1M]
Capabilities: [50] Power Management version 2
Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [68] PCI-X non-bridge device

# cat /proc/interrupts
CPU0 CPU1
16: 16389 50083 MPIC 1 Level libata
21: 548210 1637984 MPIC 1 Edge i2sbus: i2s-a (tx)
24: 4032 11793 MPIC 1 Edge i2sbus: i2s-a (rx)
25: 1995 2489 MPIC 1 Level VIA-PMU
26: 215 599 MPIC 1 Level keywest i2c
27: 1 0 MPIC 1 Level ohci_hcd:usb2
28: 0 1 MPIC 1 Level ohci_hcd:usb3
30: 0 0 MPIC 1 Level i2sbus: i2s-a (control)
39: 9054 30691 MPIC 1 Level ide0
40: 216123 598976 MPIC 1 Level ohci1394
41: 3318 10777 MPIC 1 Level eth0
42: 1723755 5380403 MPIC 2 Level keywest i2c
47: 0 0 MPIC 1 Level GPIO1 ADB
48: 782017 2337068 MPIC 1 Level radeon@pci:0000:f0:10.0
53: 0 0 MPIC 1 Level libata
54: 18 72 MPIC 1 Level ioc0, ioc1
60: 0 1 MPIC 1 Edge line-output-detect
61: 0 1 MPIC 1 Edge headphone-detect
63: 37741 107611 MPIC 1 Level ehci_hcd:usb1, ohci_hcd:usb4, ohci_hcd:usb5
251: 95 68 MPIC 1 Edge IPI0 (call function)
252: 786916 756684 MPIC 1 Edge IPI1 (reschedule)
253: 0 0 MPIC 1 Edge IPI2 (unused)
254: 0 0 MPIC 1 Edge IPI3 (debugger break)
BAD: 0


Last edited by ppc64 on Wed Mar 07, 2007 12:07 am; edited 1 time in total
Back to top
View user's profile Send private message
ppc64
n00b
n00b


Joined: 24 Jun 2004
Posts: 11
Location: Va

PostPosted: Mon Mar 05, 2007 1:43 pm    Post subject: additional dmesg: Reply with quote

#dmesg:
snd-aoa-codec-tas: tas found, addr 0x35 on /ht@0,f2000000/pci@3/mac-io@7/i2c@18000/deq@6a
ALSA device list:
#0: SoundByLayout

tried w/ onyx & toonie but caused errors. :(
Back to top
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Mon Mar 05, 2007 3:32 pm    Post subject: Re: additional dmesg: Reply with quote

ppc64 wrote:
#dmesg:
snd-aoa-codec-tas: tas found, addr 0x35 on /ht@0,f2000000/pci@3/mac-io@7/i2c@18000/deq@6a
ALSA device list:
#0: SoundByLayout

tried w/ onyx & toonie but caused errors. :(


Perhaps try alsamixer and see if anything has to be unmuted. This is my lsmod for working soind for 1.8 DP G5 powermac:
Code:
lsmod
Module                  Size  Used by
xt_tcpudp               5152  12
ipt_LOG                 9420  10
xt_limit                5588  0
xt_state                3984  17
ip_conntrack_ftp       12632  0
ip_conntrack           83632  2 xt_state,ip_conntrack_ftp
nfnetlink              11696  1 ip_conntrack
iptable_filter          6040  1
ip_tables              31256  1 iptable_filter
x_tables               30496  5 xt_tcpudp,ipt_LOG,xt_limit,xt_state,ip_tables
radeon                155296  2
snd_pcm_oss            65392  0
snd_mixer_oss          28072  2 snd_pcm_oss
snd_aoa_codec_tas      21760  2
snd_aoa_fabric_layout    19296  1
snd_aoa                28624  2 snd_aoa_codec_tas,snd_aoa_fabric_layout
snd_aoa_i2sbus         32724  1
snd_aoa_soundbus       11492  2 snd_aoa_fabric_layout,snd_aoa_i2sbus
snd_pcm               121460  2 snd_pcm_oss,snd_aoa_i2sbus
snd_page_alloc         15656  1 snd_pcm
snd_timer              37568  1 snd_pcm
snd                    94568  8 snd_pcm_oss,snd_mixer_oss,snd_aoa_codec_tas,snd_aoa_fabric_layout,snd_aoa,snd_aoa_i2sbus,snd_pcm,snd_timer
soundcore              12888  2 snd
eth1394                29136  0
Back to top
View user's profile Send private message
ppc64
n00b
n00b


Joined: 24 Jun 2004
Posts: 11
Location: Va

PostPosted: Tue Mar 06, 2007 1:15 am    Post subject: Reply with quote

jaspal kallar: Thanx man. After seeing what you had working on an identical box, I loaded modules instead of using the SAME ones in the kernel...and presto, it worked. Of course had to "play" w/ it a little.

Have a good one.
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Tue Mar 06, 2007 11:01 am    Post subject: Reply with quote

let me understand ...

if you compile (alsa and sound card driver) static, it is not worling (it does no sound)
if you compile (alsa and sound card driver) as modules, it is worling (it sounds)

i have a problem of this with 2.6.15 & ALS4000-sound card, and i can't fix
Back to top
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Tue Mar 06, 2007 6:57 pm    Post subject: Reply with quote

ppc64 wrote:
jaspal kallar: Thanx man. After seeing what you had working on an identical box, I loaded modules instead of using the SAME ones in the kernel...and presto, it worked. Of course had to "play" w/ it a little.

Have a good one.


Code:
cat /etc/modules.autoload.d/kernel-2.6
# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.

snd-aoa-fabric-layout
snd-aoa-i2sbus
snd-pcm-oss


snd_aoa_codec_tas was then loaded automatically as result of loading the above

- jaspal.
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