Re: [Alsa-user] Asus A7V8X-X (via8233) no sound
> i forgot which chip type exactly you're using. > if it's not a VIA8233A (i.e. 8233 or 8235), this might be a bad > support of direct-sound (DXS) channels. > please try the second PCM device once. it's hw:0,1 for ALSA native > apps and /dev/adsp for OSS apps. > > > Takashi Ahem. Well, I figured out the problem and it was PEBKAC (Problem Exists Between Keyboard And Chair). So, here is the deal with the snd-via82xx driver on my platform: 1) The "master" and "master mono" volume controls do nothing 2) The "surround" channel had to be unmuted. Yes, that's right, the "surround" channel was muted and it was changing this that made sound "magically" start coming from my on-board sound. Yes, I feel pretty stupid for not thinking of this sooner, considering the hours I have spent trying to figure out what was wrong. On a second note, the sound was plain awful for the MP3 playback I tried; there was a nasty high pitched noise noticeable on high frequency sounds. I switched over to using /dev/adsp as suggested and the noise went away. Now it sounds great! Thanks everyone for putting up with my posts :) -poul Specs: Asus A7V8X-X MB Stereo connected to green output plug alsa 0.9.4 kernel 2.4.21 RedHat 9 Command I used to verify sound is working... mpg321 -o oss --audiodevice /dev/adsp myfile.mp3 alsactl: state.8235 { control.1 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Master Playback Switch' value false } control.2 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'Master Playback Volume' value.0 0 value.1 0 } control.3 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Center Playback Switch' value false } control.4 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'Center Playback Volume' value 0 } control.5 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'LFE Playback Switch' value false } control.6 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'LFE Playback Volume' value 0 } control.7 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Surround Playback Switch' value.0 true value.1 true } control.8 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'Surround Playback Volume' value.0 28 value.1 28 } control.9 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Headphone Playback Switch' value false } control.10 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'Headphone Playback Volume' value.0 0 value.1 0 } control.11 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Master Mono Playback Switch' value false } control.12 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'Master Mono Playback Volume' value 0 } control.13 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Phone Playback Switch' value false } control.14 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'Phone Playback Volume' value 0 } control.15 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Mic Playback Switch' value false } control.16 {
Re: [Alsa-user] Asus A7V8X-X (via8233) no sound
At Fri, 13 Jun 103 16:46:25 -0700 (PDT), Poul Petersen wrote: > > > > I think there is something else going on here. I can not get > > > sound to work with either the OSS drivers or ALSA, but it does work > > > under Windows (so I know the hardware is OK). As I mentioned before, I > > > can get both OSS and ALSA working with an extra sound card I have lying > > > around, so I know I'm doing the steps correctly, it just seems that > > > neither the OSS or ALSA driver correctly supports the onboard hardware. As > > > another data point, I just tried the commercial OSS driver and it works > > > with the onboard sound so I'm pretty sure it is not a hardware problem. > > > > i wrote hardware "set-up". it doesn't mean that the hardware is > > broken. as mentioned above, the power-management might play a role > > here, which is basically a job of the kernel core. > > Power-management? How would that affect the sound driver? I > thought you were talking about APIC - the extended interrupts. in many cases, ACPI (not APIC) brings the problem, since the irq routing is influenced by it. > In any > event, I have power management disabled and I have tried it with both > APIC interrupts and without. I'm still failry skeptical about it being a > hardware problem because I can: > > 1) load commercial OSS drivers-> works > 2) unload commercial drivers > 3) load ALSA drivers -> does not work, strange error messages > 4) Reload commercial OSS driver -> works > > So, without rebooting (so no change in interrupt allocation, io > base whatever else) one set of drivers works and the other does not. BTW > OSS/Free drivers also do not work. What I don't know is how to go about > troubleshooting why the ALSA driver seems to not work? i forgot which chip type exactly you're using. if it's not a VIA8233A (i.e. 8233 or 8235), this might be a bad support of direct-sound (DXS) channels. please try the second PCM device once. it's hw:0,1 for ALSA native apps and /dev/adsp for OSS apps. Takashi --- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Asus A7V8X-X (via8233) no sound
On Fri, 13 Jun 103, Poul Petersen wrote: > > > I think there is something else going on here. I can not get > > > sound to work with either the OSS drivers or ALSA, but it does work > > > under Windows (so I know the hardware is OK). As I mentioned before, I > > > can get both OSS and ALSA working with an extra sound card I have lying > > > around, so I know I'm doing the steps correctly, it just seems that > > > neither the OSS or ALSA driver correctly supports the onboard hardware. As > > > another data point, I just tried the commercial OSS driver and it works > > > with the onboard sound so I'm pretty sure it is not a hardware problem. > > > > i wrote hardware "set-up". it doesn't mean that the hardware is > > broken. as mentioned above, the power-management might play a role > > here, which is basically a job of the kernel core. > > Power-management? How would that affect the sound driver? I > thought you were talking about APIC - the extended interrupts. In any > event, I have power management disabled and I have tried it with both > APIC interrupts and without. I'm still failry skeptical about it being a > hardware problem because I can: > > 1) load commercial OSS drivers-> works > 2) unload commercial drivers > 3) load ALSA drivers -> does not work, strange error messages > 4) Reload commercial OSS driver -> works > > So, without rebooting (so no change in interrupt allocation, io > base whatever else) one set of drivers works and the other does not. BTW > OSS/Free drivers also do not work. What I don't know is how to go about > troubleshooting why the ALSA driver seems to not work? It seems that it's time to write some debugging tool which dumps registers of running card using iopl(). Jaroslav - Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Asus A7V8X-X (via8233) no sound
> > I think there is something else going on here. I can not get > > sound to work with either the OSS drivers or ALSA, but it does work > > under Windows (so I know the hardware is OK). As I mentioned before, I > > can get both OSS and ALSA working with an extra sound card I have lying > > around, so I know I'm doing the steps correctly, it just seems that > > neither the OSS or ALSA driver correctly supports the onboard hardware. As > > another data point, I just tried the commercial OSS driver and it works > > with the onboard sound so I'm pretty sure it is not a hardware problem. > > i wrote hardware "set-up". it doesn't mean that the hardware is > broken. as mentioned above, the power-management might play a role > here, which is basically a job of the kernel core. Power-management? How would that affect the sound driver? I thought you were talking about APIC - the extended interrupts. In any event, I have power management disabled and I have tried it with both APIC interrupts and without. I'm still failry skeptical about it being a hardware problem because I can: 1) load commercial OSS drivers -> works 2) unload commercial drivers 3) load ALSA drivers-> does not work, strange error messages 4) Reload commercial OSS driver -> works So, without rebooting (so no change in interrupt allocation, io base whatever else) one set of drivers works and the other does not. BTW OSS/Free drivers also do not work. What I don't know is how to go about troubleshooting why the ALSA driver seems to not work? Thanks, -poul --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Asus A7V8X-X (via8233) no sound
At Thu, 5 Jun 103 02:27:30 -0700 (PDT), Poul Petersen wrote: > > I'm still trying to get ALSA working with the onboard sound on > my ASUS A7V8X-X MB. The lspci command shows the audio controller as > being a VT8233 AC97 Audio Controller. I'm using RedHat9 but with kernel > 2.4.21-rc5. I am also using ALSA 0.9.4. The driver builds OK and the > only indication I get that something might be wrong is the following > error message when I load snd-via82xx: > > ALSA ../alsa-kernel/pci/via82xx.c:503: codec_valid: codec 0 is no valid > [0xfe] > > The symptom is basically no sound - I'm using mpg321 to play an > MP3 file. I know I've got ALSA working in general since I also have a > SoundBlaster PCI-64 (I think that is the name) and I build the ALSA > driver snd-ens1371. When I load this driver and set the mixed settings, > I get sound from the SB. So, I know I'm building the drivers correctly > and getting the mixer settings right etc, I'm just not getting any sound > with the onboard controller. Oddly, when I try to build ALSA with > --with-debug=full I get some strange unresolved symbol errors: > "unresolved symbol _snd_magic_kcalloc_R{something}" > > So, my first question is - what does the error message about > invalid codecs mean? And secondly, does anyone else have ALSA working > with RH9 and an ASUS A7V8X-X? this might be related with a hardware set-up. try to play around with ACPI, etc. Takashi --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] Asus A7V8X-X (via8233) no sound
I'm still trying to get ALSA working with the onboard sound on my ASUS A7V8X-X MB. The lspci command shows the audio controller as being a VT8233 AC97 Audio Controller. I'm using RedHat9 but with kernel 2.4.21-rc5. I am also using ALSA 0.9.4. The driver builds OK and the only indication I get that something might be wrong is the following error message when I load snd-via82xx: ALSA ../alsa-kernel/pci/via82xx.c:503: codec_valid: codec 0 is no valid [0xfe] The symptom is basically no sound - I'm using mpg321 to play an MP3 file. I know I've got ALSA working in general since I also have a SoundBlaster PCI-64 (I think that is the name) and I build the ALSA driver snd-ens1371. When I load this driver and set the mixed settings, I get sound from the SB. So, I know I'm building the drivers correctly and getting the mixer settings right etc, I'm just not getting any sound with the onboard controller. Oddly, when I try to build ALSA with --with-debug=full I get some strange unresolved symbol errors: "unresolved symbol _snd_magic_kcalloc_R{something}" So, my first question is - what does the error message about invalid codecs mean? And secondly, does anyone else have ALSA working with RH9 and an ASUS A7V8X-X? Many thanks, -poul --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user