Re: snd-aoa on PowerMac 8,2
- To: Johannes Berg <johannes@sipsolutions.net>
- Cc: debian-powerpc@lists.debian.org
- Subject: Re: snd-aoa on PowerMac 8,2
- From: Eduardo Trápani <mapache@debian.org>
- Date: Mon, 03 Apr 2006 11:34:30 -0300
- Message-id: <[🔎] 44313276.7050303@debian.org>
- In-reply-to: <1143831364.23254.6.camel@localhost>
- References: <1143204620.28247.10.camel@localhost> <4427FBDD.9040804@debian.org> <20060327151122.GB23449@kunpuu.plessy.org> <1143549063.13615.37.camel@localhost> <44293D73.8000306@debian.org> <1143553669.13615.62.camel@localhost> <4429492F.4070801@debian.org> <1143556524.13615.73.camel@localhost> <442A6F89.8040907@debian.org> <1143636078.9481.10.camel@localhost> <442AA066.6050108@debian.org> <1143646512.18110.2.camel@localhost> <442AD3F2.2030706@debian.org> <1143724088.20571.17.camel@localhost> <442BEE07.6030902@debian.org> <1143730266.20571.38.camel@localhost> <442BF41E.6040805@debian.org> <1143734903.5388.1.camel@localhost> <1143735322.5388.3.camel@localhost> <442C18C6.2090808@debian.org> <1143744287.5388.7.camel@localhost> <1143745077.5388.9.camel@localhost> <442D631F.8020104@debian.org> <1143831364.23254.6.camel@localhost>
What kernel? This is some alsa stuff foo that I don't really know much
about, I'm developing against 2.6.16-rc4 or something like that...
Kernel 1.6.16-rc1
Anyway, I still get no sound out of it. As I said before, alsaplayer and mplayer fail:
Checking audio filter chain for 44100Hz/2ch/s16be -> 44100Hz/2ch/s16be...
AF_pre: 44100Hz/2ch/s16be
alsa-init: 1 soundcard found, using: default
alsa-init: playback open error: Invalid argument
Could not open/initialize audio device -> no sound.
Audio: no sound
Is there a simpler way to test the hardware directly?
Otherwise it looks fine but you need to load more modules like the
fabric, all of them except for tas actually.
snd_aoa_codec_onyx 16576 2
snd_aoa_fabric_layout 8372 0
snd_aoa 10584 2 snd_aoa_codec_onyx,snd_aoa_fabric_layout
i2sbus 25752 1
soundbus 11972 2 snd_aoa_fabric_layout,i2sbus
snd_pcm 138060 1 i2sbus
snd_page_alloc 16232 1 snd_pcm
snd_timer 38248 1 snd_pcm
snd 94648 5 snd_aoa_codec_onyx,snd_aoa,i2sbus,snd_pcm,snd_timer
soundcore 15344 1 snd
It looks like all of them are loaded, am I missing something?
This is the strace output from mplayer, the error (see at the end) seems to come about when trying to open /dev/snd/pcmC0D0p. The file exists, but cannot be opened and it's not a permissions problem. As I see all "C0" opens succeed but that one.
Eduardo.
open("/dev/snd/controlC0", O_RDONLY) = 4
close(4) = 0
write(1, "alsa-init: 1 soundcard found, us"..., 45alsa-init: 1 soundcard found,using: default
) = 45
stat("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8010, ...}) = 0
open("/usr/share/alsa/alsa.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=8010, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7fe6000
read(4, "#\n# ALSA library configuration "..., 4096) = 4096
read(4, " FORMAT ]\n\t@args.FILE {\n\t\ttype s"..., 4096) = 3914
read(4, "", 4096) = 0
read(4, "", 4096) = 0
close(4) = 0
munmap(0xf7fe6000, 4096) = 0
access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/home/edu/.asoundrc", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/share/alsa/cards/aliases.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1060, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7fe6000
read(4, "#\n# Define aliases for various "..., 4096) = 1060
open("/usr/share/alsa/pcm/default.conf", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=479, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7fe5000
read(5, "#\n# Default output\n#\n\npcm.!defau"..., 4096) = 479
read(5, "", 4096) = 0
close(5) = 0
munmap(0xf7fe5000, 4096) = 0
read(4, "", 4096) = 0
read(4, "", 4096) = 0
close(4) = 0
munmap(0xf7fe6000, 4096) = 0
open("/dev/snd/controlC0", O_RDONLY) = 4
close(4) = 0
stat("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8010, ...}) = 0
open("/dev/snd/controlC0", O_RDONLY) = 4
close(4) = 0
open("/dev/snd/controlC0", O_RDWR) = 4
ioctl(4, USBDEVFS_CONTROL, 0xffba9140) = 0
ioctl(4, 0x41785501, 0xffba9200) = 0
close(4) = 0
access("/usr/share/alsa/cards/AppleOnbdAudio.conf", R_OK) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC1", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/aloadC1", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/snd/controlC2", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/aloadC2", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/snd/controlC3", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/aloadC3", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/snd/controlC4", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC4", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC7", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC7", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC8", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC8", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC9", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC9", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC10", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC10", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC11", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC11", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC12", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC12", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC13", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC13", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC14", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC14", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC15", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC15", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC16", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC16", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC17", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC17", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC18", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC18", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC19", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC19", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC20", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC20", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC21", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC21", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC22", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC22", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC23", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC23", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC24", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC24", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC25", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC25", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC26", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC26", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC27", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC27", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC28", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC28", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC29", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC29", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC30", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC30", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC31", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC31", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC0", O_RDONLY) = 4
close(4) = 0
stat("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8010, ...}) = 0
open("/dev/snd/controlC0", O_RDONLY) = 4
close(4) = 0
open("/dev/snd/controlC0", O_RDWR) = 4
ioctl(4, USBDEVFS_CONTROL, 0xffba8f30) = 0
ioctl(4, 0x41785501, 0xffba8ff0) = 0
close(4) = 0
open("/dev/snd/controlC0", O_RDONLY) = 4
close(4) = 0
open("/dev/snd/controlC0", O_RDWR) = 4
ioctl(4, USBDEVFS_CONTROL, 0xffba9120) = 0
ioctl(4, 0x80045532, 0xffba9118) = 0
open("/dev/snd/pcmC0D0p", O_RDWR) = -1 EINVAL (Invalid argument)
close(4) = 0
write(2, "alsa-init: playback open error: "..., 49alsa-init: playback open error: Invalid argument
) = 49
write(2, "Could not open/initialize audio "..., 52Could not open/initialize audio device -> no sound.
) = 52
Reply to: