View previous topic :: View next topic |
Author |
Message |
likwid n00b
Joined: 07 Mar 2007 Posts: 40
|
Posted: Wed Mar 21, 2007 7:50 pm Post subject: Cs4231 |
|
|
Having a hell of a time getting the CS4231 in my sun blade 2000 to work. The modules are all loaded, and it shows up in /proc/asound. But I get an error whenever I try to play something out. Should /dev/dsp be linked to something? What gives? |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Wed Mar 21, 2007 8:59 pm Post subject: |
|
|
Which kind of error? And did you unmute the sound with alsamixer? _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
likwid n00b
Joined: 07 Mar 2007 Posts: 40
|
Posted: Thu Mar 22, 2007 2:49 pm Post subject: |
|
|
Nah when I try to open alsamixer, it spouts an error that it can't connect to soundctl or something like that. I am not at home sorry I can't be more exact, I won't be back at home til friday night. Any ideas? |
|
Back to top |
|
|
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Thu Mar 22, 2007 4:43 pm Post subject: |
|
|
I had some difficulty getting the CS4321 working in my Ultra 2 Enterprise as well. IIRC I had to compile the Sun audio stuff into the kernel (not as a module). Also I am talking about the separate section for Sun audio that is NOT in the Alsa or OSS section. As much as I tried I could not get it to work as modules. Otherwise it seemed to work fine. _________________ Go away or I will replace you with a very small shell script. |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Thu Mar 22, 2007 4:58 pm Post subject: |
|
|
Works fine as modules on my u5 and u10.
Did you customize /etc/modules.d/alsa to load snd-sun-cs4231 and init via /etc/init.d/alsasound?
Also you gotta be in the audio group as a user to be able to touch anything sound-related. _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
likwid n00b
Joined: 07 Mar 2007 Posts: 40
|
Posted: Thu Mar 22, 2007 6:36 pm Post subject: |
|
|
Maybe I am not in the audio group. I will soon find it. I used to like when everything went through /dev/mixer and /dev/dsp. It seemed so much easier. |
|
Back to top |
|
|
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Fri Mar 23, 2007 5:28 pm Post subject: |
|
|
gust4voz wrote: | Works fine as modules on my u5 and u10. |
I'm not very familiar with the varieties of Sun hardware but I think the U5 has a PCI bus while my U2E is Sbus/UPA. Perhaps the varied bus types make a difference here? Just curious... Incidentally the box I speak of is currently decommissioned so checking the specifics on mine is not likely. _________________ Go away or I will replace you with a very small shell script. |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Fri Mar 23, 2007 6:39 pm Post subject: |
|
|
There were some fixes for sun-snd-cs4231 support in SBUS-based machines in later kernels (2.6.19 or newer IIRC).
I'd suggest you try 2.6.20-gentoo-latest to see if that helps.
2.6.20-gentoo-* isn't stable yet because it doesn't ship firmware needed for FC-AL PCI (QLogic-based) machines like Blade 1000, 2000, Fire 280R and some others, and genkernel should be shaped into helping with firmware loading to get this issue sorted out.
2.6.20 probably won't help likwid since it's PCI-based and cs4231 is probably on the ebus like on the u5/10, even though it improves there too reducing some of the latency (for example for SIP clients and such applications). _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
likwid n00b
Joined: 07 Mar 2007 Posts: 40
|
Posted: Sun Mar 25, 2007 6:56 pm Post subject: |
|
|
Thanks Gus it was the audio group thing. aplay works fine, but I still can't seem to get KDE apps to play sound. artsd fails with "Bus Error" when I try to start it manually. Any ideas? Should I start a new thread in multimedia? |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Mon Mar 26, 2007 12:50 pm Post subject: |
|
|
Some people are known to have issues with arts, in my case (u5) it works, and i know in Weeve's case (blade 1000) it doesn't. _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
likwid n00b
Joined: 07 Mar 2007 Posts: 40
|
Posted: Mon Mar 26, 2007 6:25 pm Post subject: |
|
|
So I should install some media player that doesn't rely on arts? I normally use xmms but it is not in portage. Do you have any recommendations? |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Mon Mar 26, 2007 6:41 pm Post subject: |
|
|
audacious is good for lightweight if you liked xmms (you'll have to use esd or oss output rather than alsa, it seems to stutter otherwise).
On the heavyweight side there's amarok for kde-native people or rhythmbox for gnome-native.
There are many many more, i've found audacious works nice for me and has a loadsome of input plugins to handle almost any audio file. _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
likwid n00b
Joined: 07 Mar 2007 Posts: 40
|
Posted: Mon Mar 26, 2007 10:19 pm Post subject: |
|
|
I'll check it out, thanks. One last question, is there any hope of getting WMV and other codecs on sparc? The win32codecs package seems not available for sparc. |
|
Back to top |
|
|
likwid n00b
Joined: 07 Mar 2007 Posts: 40
|
Posted: Tue Mar 27, 2007 1:07 am Post subject: |
|
|
Actually I emerged xine and that seems to play pretty much everything! |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Tue Mar 27, 2007 11:54 am Post subject: |
|
|
mplayer works a charm too though i didn't try wmv videos on it.
However with mplayerplug-in and a powerful enough cpu you can watch apple trailer in firefox for example. _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
McTango n00b
Joined: 11 Dec 2004 Posts: 66 Location: Formosa - Argentina
|
Posted: Mon May 07, 2007 6:00 pm Post subject: Cs4231 |
|
|
I have U5 with a new fresh Gentoo 2.6.20-r5 install.
Almost everything works ok, but sound events in KDE doesn't works.
ALSA is loaded ok as module. Code: | * Loading ALSA modules ... [ ok ]
* Loading: snd-card-0 [ ok ]
* Loading: snd-seq-oss [ ok ]
* Loading: snd-pcm-oss [ ok ] | Starting artsd manually gives the message: "Bus error"
I don't know if there is a log file for the artsd error.
Gustavoz... You said that arts works fine in your U5.
Does it need a lot of work to make it run?
Thanks. _________________ Charly Tango
Formosa - Argentina
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
To emerge, or not to emerge: that is the question.
_________________ |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Mon May 07, 2007 7:14 pm Post subject: |
|
|
Actually after my last rebuild arts doesn't work either.
AFAIK arts is going away for kde anyway so there's not much point in getting it fixed (unless someone is really bored). _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
|