[Bug 217300] New: no sound on G5, snd-aoa not known by yast
https://bugzilla.novell.com/show_bug.cgi?id=217300 Summary: no sound on G5, snd-aoa not known by yast Product: openSUSE 10.2 Version: Beta 1 plus Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: olh@novell.com QAContact: qa@suse.de CC: power-bugs@forge.provo.novell.com some early G5 models did work ok with the snd-powermac driver. But the newer ones do now require a new snd-aoa driver. Unfortunately, yast always picks snd-powermac. how does yast know what card to choose? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #1 from olh@novell.com 2006-11-02 03:06 MST ------- and configuring the card manually fails because snd-aoa is appearently not in the list of known cards. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #2 from olh@novell.com 2006-11-02 03:26 MST ------- logs in bug #211014 https://bugzilla.novell.com/attachment.cgi?id=103472 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 tiwai@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|tiwai@novell.com |lslezak@novell.com ------- Comment #3 from tiwai@novell.com 2006-11-08 04:16 MST ------- Reassigned to yast2-sound maintainer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |olh@novell.com ------- Comment #4 from lslezak@novell.com 2006-11-08 06:00 MST ------- Yast has a sound card database (in /usr/share/YaST2/data/sndcards.ycp). For PPC there are these PCI IDs: // id's for powermacs: ["snd-powermac", "0x30401", "0x30010"], ["snd-powermac", "0x30401", "0x30011"], ["snd-powermac", "0x30401", "0x30012"] The table is in format <driver> <vendor_ID> <device_ID>. Do you know for which devices should yast use "snd-aoa" instead of "snd-powermac"? If you don't know I can add "snd-aoa" driver to the DB, but user will have to change the driver manually. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #5 from olh@novell.com 2006-11-08 09:14 MST ------- now if I knew what those ids are supposed to be. If its Arch::ppc64 && Arch::board_mac, then "snd-aoa" is the correct choice. But it can be also used on some of the later 32bit models. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|olh@novell.com |snwint@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #6 from lslezak@novell.com 2006-11-09 01:58 MST ------- Olaf, which package contains snd-aoa driver? I have checked ppc/kernel-default.rpm, kernel-iseries64.rpm and kernel-ppc64.rpm and neither of them contains it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #7 from olh@novell.com 2006-11-09 02:25 MST ------- /lib/modules/2.6.18.2-4-ppc64/kernel/sound/aoa/core/snd-aoa.ko /lib/modules/2.6.18.2-4-default/kernel/sound/aoa/core/snd-aoa.ko its in since 2.6.17 or so -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 snwint@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|snwint@novell.com | ------- Comment #8 from snwint@novell.com 2006-11-09 04:07 MST ------- They are pci ids, I think. BTW, it would be cool if snd-aoa would have a modalias entry so it matches automatically. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #9 from olh@novell.com 2006-11-09 08:00 MST ------- sound/ppc/pmac.c indicates if find /proc/device-tree -name layout-id;then aoa;fi 929 prop = (unsigned int *) get_property(sound, "layout-id", NULL); 930 if (prop) { 931 /* partly deprecate snd-powermac, for those machines 932 * that have a layout-id property for now */ 933 printk(KERN_INFO "snd-powermac no longer handles any " 934 "machines with a layout-id property " 935 "in the device-tree, use snd-aoa.\n"); 936 return -ENODEV; 937 } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #10 from olh@novell.com 2006-11-28 09:14 MST ------- How can we make progress here? There are actually two bugs. One is that snd-powermac is always loaded. An easy fix for this is the usage of the ppc_postinstall.sh script, it should run code like this: if test "`find /proc/device-tree -name layout-id`" != "" then echo 'install snd-powermac /bin/true' >> /etc/modprobe.d/sound-powermac fi this prevents snd-powermac from loading, it is equal to the kernel code quoted above. Loading snd-powermac will appearently confuse snd-aoa in some way. The seond issue is that all audio device nodes are not given to the desktop user. This is not specific to snd-aoa. see bug #106294 For 10.2 I suggest to blacklist snd-powermac on all systems with a 'layout-id' file, the driver wont do anything anyway. All the user has to do is to add itself to the group audio. I dont know which bright guy removed the default user from group audio, it certainly breaks things. After that, run alsamixer to unmute the devices. This seems to be persistant across reboots. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |olh@novell.com ------- Comment #11 from lslezak@novell.com 2006-12-01 07:16 MST ------- I don't know which systems are supported by snd-aoa driver. "snd-powermac" has these entries in the yast sound card DB: "PowerBook, Apple", "PowerMac, Apple", "iBook, Apple", "iMac, Apple". Which values should be assigned to "snd-aoa"? The same values (probably with "(snd-aoa)" suffix)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #13 from olh@novell.com 2006-12-01 07:25 MST ------- well, all of the above in some sense. I think we do not have a recent enough powerbook with a 'layout-id' file from the firmware. but there are some. How exactly do you plan to match them? Just based on hwinfo data? Right now hwinfo returns always snd-powermac, its probably hardcoded. I will try it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #14 from lslezak@novell.com 2006-12-01 07:30 MST ------- I just used a hack: if the driver is "snd-powermac" and layout-id has been found then use "snd-aoa" instead. Not nice, but if the sound cards have the same PCI ID so there is no better way I think. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|olh@novell.com | ------- Comment #15 from olh@novell.com 2006-12-03 02:56 MST ------- unfortunately, this is not enough. something unloads all ^snd modules appearently. snd-aoa does no probing by itself, all the code modules are missing if you just load snd-aoa. It seems you better load 'snd_aoa_fabric_layout', this will trigger the autoloading. At least after rcalsasound stop (twice), and modprobe -v snd_aoa_fabric_layout, sound will work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #16 from olh@novell.com 2006-12-04 05:02 MST ------- this is a bit weird. I had to use 'install snd-powermac /sbin/modprobe snd-aoa-i2sbus' But yast was able to load snd-powermac anyway (with an unmodified 10.2). can yast handle more than one module? something seems to unload drivers. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |olh@novell.com ------- Comment #17 from lslezak@novell.com 2006-12-04 06:12 MST ------- Yast calls 'rcalsasound reload' to reload kernel modules. Yast cannot handle more than one kernel module per sound card. Could you check 'bragg-lslezak-3635' mbuild job? The new yast module uses 'snd_aoa_fabric_layout' driver and writes 'install snd-powermac /sbin/modprobe snd-aoa-i2sbus'. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|olh@novell.com | ------- Comment #18 from olh@novell.com 2006-12-08 12:38 MST ------- this package behaves strange. if I click on edit, yast returns to the main hardware config screen Other ... -> test volume doesnt do anything. snd-aoa-i2sbus is not loaded, only snd_aoa_fabric_layout is loaded. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #19 from tsuroerusu@gmail.com 2006-12-21 02:48 MST ------- I'm having these sound problems on my G4 Mac mini and I know of people having them on their iBooks etc., is there a distinct possibility of a fix being available as an update with the foreseeable future? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|olh@novell.com | ------- Comment #21 from olh@novell.com 2007-01-22 04:31 MST ------- Ladislav, you can debug it on mac.suse.de, it has a fresh 10.2 with updates. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #22 from lslezak@novell.com 2007-01-29 08:02 MST ------- OK, finally fixed in yast2-sound-2.15.2 (STABLE) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #24 from tsuroerusu@gmail.com 2007-01-29 09:44 MST ------- (In reply to comment #22)
OK, finally fixed in yast2-sound-2.15.2 (STABLE)
Will the fix be backported to openSUSE 10.2 and released as a patch? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #25 from aj@novell.com 2007-01-30 02:01 MST ------- Troels, this bug is about G5 models but you seem to speak about G4. Please open a separate bug report with all details. Update for 10.2 is approved:MaintenanceTracker-8170 Reopening for update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #26 from olh@novell.com 2007-01-30 02:55 MST ------- G4 may also use snd-aoa -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #27 from lslezak@novell.com 2007-01-30 05:39 MST ------- To comment #26: That's good! I just have submitted yast2-sound-2.14.1 to 10.2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #28 from olh@novell.com 2007-01-30 08:22 MST ------- I just saw the commit diff flying by: + if (Arch::ppc64() && Arch::board_mac()) + { + map out = (map)SCR::Execute(.target.bash_output, "/usr/bin/find /proc/device-tree -name layout-id"); You can drop the ppc64 part, as it will break (very recent) PowerBooks with layout-id. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED ------- Comment #29 from lslezak@novell.com 2007-01-30 08:40 MST ------- OK, I'll remove Arch::ppc64(), leaving only Arch::board_mac() check... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #30 from lslezak@novell.com 2007-01-30 08:50 MST ------- The fix has been submitted. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 ------- Comment #32 from ast@novell.com 2007-02-07 08:30 MST ------- released -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=217300 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com