Re: Sound on Ultra 30
Another opption would be recompile the kernel and put cs4231 into the kernel, I mean, constructed in the kernel, not as a module, then in sound opption you leave without marks. Antonio. PS: I work in an UltraSparc 30. I'm using the kernel version 2.4.19 and everything is working fine. Any doubsts about ultra 30 feel free to write. On Mon, 2002-11-04 at 03:47, morgothan wrote: In a Land far away J wrote: Hey all. I've got debian 3 stable running on an Ultra 30, and most everything is rosy. Has anyone been successful in getting sound working on these? Is it a known problem? I checked the archives, but saw nothing specific, and tinkering with the current set of kernel modules (2.4.18) i didn't find anything that helped. Thanks for any help. ~j Yeah I have it working on mine. The one thing I remember having a problem with it is that for what ever reason if i have sound card support enabled it wouldnt work. You just need Audio support under sparc audio and the cs4231 modules. Hope that helps. cheers -- /usr/games/fortune -s ~/.sig; cat ~/.sig Nat -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Sound on Ultra 30
Hey all. I've got debian 3 stable running on an Ultra 30, and most everything is rosy. Has anyone been successful in getting sound working on these? Is it a known problem? I checked the archives, but saw nothing specific, and tinkering with the current set of kernel modules (2.4.18) i didn't find anything that helped. Thanks for any help. ~j
Re: Sound on Ultra 30
On Mon, Nov 04, 2002 at 11:45:35AM -0600, J wrote: I've got debian 3 stable running on an Ultra 30, and most everything is rosy. Has anyone been successful in getting sound working on these? Is it a known problem? I checked the archives, but saw nothing specific, and tinkering with the current set of kernel modules (2.4.18) i didn't find anything that helped. I'm not sure about the hardware in an Ultra 30, but it's probably similar enough to Ultra 1 and 10, which I have working. Make sure the cs4231 module is loaded. Then compare the output of 'audioctl -a' on your box to mine (below). Specifically, check 'output_muted', 'play.gain', and 'play.port'. For some reason, kernel 2.4.x seems to come up muted, where 2.2.x didn't. Later, Rob. 'audioctl -a': name=SUNW,CS4231 version=a config=onboard1 encodings=not yet implemented monitor_gain=0 output_muted=0 play.rate=44100 play.channels=2 play.precision=16 play.encoding=linear_be play.gain=128 play.balance=0 play.port=0x1 (speaker (0x1)) play.avail_ports=0x7 (speaker (0x1)|headphone (0x2)|line out (0x4)|line_out (0x4)) play.samples=4096 play.eof=0 play.pause=0 play.error=0 play.waiting=0 play.open=0 play.active=0 play.buffer_size=0 record.rate=44100 record.channels=2 record.precision=16 record.encoding=linear_be record.gain=0 record.balance=32 record.port=0x0 () record.avail_ports=0x47 (microphone (0x1)|line in (0x2)|line_in (0x2)|internal cd (0x4)|internal_cd (0x4)|analog loopback (0x40)|analog_loopback (0x40)) record.samples=0 record.eof=0 record.pause=0 record.error=0 record.waiting=0 record.open=0 record.active=0 record.buffer_size=0 record.errors=0 pgprMgjgycG8C.pgp Description: PGP signature
Re: Sound on Ultra 30
In a Land far away J wrote: Hey all. I've got debian 3 stable running on an Ultra 30, and most everything is rosy. Has anyone been successful in getting sound working on these? Is it a known problem? I checked the archives, but saw nothing specific, and tinkering with the current set of kernel modules (2.4.18) i didn't find anything that helped. Thanks for any help. ~j Yeah I have it working on mine. The one thing I remember having a problem with it is that for what ever reason if i have sound card support enabled it wouldnt work. You just need Audio support under sparc audio and the cs4231 modules. Hope that helps. cheers -- /usr/games/fortune -s ~/.sig; cat ~/.sig Nat
Re: Sound on Ultra 30
Many thanks to Antonio for his help. I got sound working by taking the sound card support out of my kernel and adding the aliases listed below to /etc/modutils/sound and running update-modules. I have Linux/SPARC audio compiled into the kernel rather than as a module, and it still works. Matt On Wed, 2002-06-05 at 08:17, Antonio Luiz Pacifico wrote: Thanks for the reply, I am starting to make headway. I now get the console errors about loading modules for sound-slot-0 and sound-service-3-0. I tried the following lines in /etc/modules.conf alias sound-slot-0 cs4231 alias sound-service-0-3 cs4231 But I am not sure if the driver name is correct. Did you have to do this, or did the pam fix take care of everything? Matt, I didn't make this. I'm also using the kernel 2.4.18 (as you can see, we have the same machine and OS). I remember, when I compiled my kernel I did the following (using make xconfig): Section: Linux/SPARC audio subsystem (EXPERIMENTAL) Audio suport (Experimental) - as module (option m) CS4231 lowlevel driver - as module (option m) Dummy lowlevel driver - no (option n) Section Sound Sound card suport - no (option n) My modules.conf file doesn't have the above alias you mentioned. I attached my modules.conf file to you see. The last message I sent to you was in the case you want to get sound as a normal user, 'cause I always got sound as root. I did that to get sound as user. Good luck and feel free to write when you want, Antonio. Snippet from Antonio's modules.conf file: alias /dev/sound sound-slot-0 alias /dev/audio /dev/sound alias /dev/mixer /dev/sound alias /dev/dsp/dev/sound alias /dev/dspW /dev/sound alias /dev/midi /dev/sound -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Sound on Ultra 30
Matt Soccio wrote: I just got Debian running on a U30, upgraded to testing, upgraded to 2.4.18 kernel. I have the cs4231a compiled into the kernel, and it is being recognized: ripple[2] dmesg | grep audio btaudio: driver version 0.6 loaded [analog+digital] audio0: cs4231a(eb2) at 1fff120 irq 13,7e3 However, I still get the error messages about problems initializing /dev/dsp. I have tried to MAKEDEV audio, I have tried chmodding /dev/audio and /dev/dsp to 666. What else am I missing? I see in the archives that there are a handful of questions about this (or similar problems) mostly on SS's, does anyone know of a good HT or FAQ to get sound going on a U30? All I really need is a system beep for mail notification and such. TIA Matt I had a problem with this for a while. The way I got it to work was to compile the sun audio support into the kernel and compile the cs4231 as a module. Aslo make sure you dont have sound card support compiled in as with that compiled in it doesnt work. Also you may want to make the switch to devfs as it is better in my opinion. lots of luck -- /usr/games/fortune -s ~/.sig; cat ~/.sig Nat -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re (2): Sound on Ultra 30
Matt Soccio wrote: ms ... does anyone know of a good HT or FAQ to get ms sound going on a U30? This might be helpful Matt. http://www.dementia.org/~shadow/sparcaudio.html Regards,Peter E. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Sound on Ultra 30
I just got Debian running on a U30, upgraded to testing, upgraded to 2.4.18 kernel. I have the cs4231a compiled into the kernel, and it is being recognized: ripple[2] dmesg | grep audio btaudio: driver version 0.6 loaded [analog+digital] audio0: cs4231a(eb2) at 1fff120 irq 13,7e3 However, I still get the error messages about problems initializing /dev/dsp. I have tried to MAKEDEV audio, I have tried chmodding /dev/audio and /dev/dsp to 666. What else am I missing? I see in the archives that there are a handful of questions about this (or similar problems) mostly on SS's, does anyone know of a good HT or FAQ to get sound going on a U30? All I really need is a system beep for mail notification and such. TIA Matt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Sound on Ultra 30
On Tue, Jun 04, 2002 at 09:30:38AM -0400, Matt Soccio wrote: I just got Debian running on a U30, upgraded to testing, upgraded to 2.4.18 kernel. I have the cs4231a compiled into the kernel, and it is being recognized: ripple[2] dmesg | grep audio btaudio: driver version 0.6 loaded [analog+digital] audio0: cs4231a(eb2) at 1fff120 irq 13,7e3 However, I still get the error messages about problems initializing /dev/dsp. I have tried to MAKEDEV audio, I have tried chmodding /dev/audio and /dev/dsp to 666. What else am I missing? I see in the archives that there are a handful of questions about this (or similar problems) mostly on SS's, does anyone know of a good HT or FAQ to get sound going on a U30? All I really need is a system beep for mail notification and such. I've had little success getting sound to work on my Ultra 1 and Ultra 10 (cs4231 module) with the stock (woody) 2.4.18 kernel package, either. (Works fine if I just boot with the 2.2.20 kernel.) I think I managed to get 'mp3blaster' (direct OSS) working once, though not consistently, but 'esd' has never worked. I'd appreciate pointers, too. Thanks, Rob. pgppdq2ZeLnIt.pgp Description: PGP signature
Re: Sound on Ultra 30
Here are some pointers, but they did not get me the whole way there. I am still having issues with the sound slot and sound service modules not loading. I have tried to alias them via modules-update to read: alias sound-slot-0 cs4231 alias sound-service-0-3 cs4231 but to no avail. Does anyone know where this source code is? I dug around in my source tree under drivers and arch/sparc* but don't see anything relating to cs4231. Anyway, hope this helps: A. L. Pacifico wrote: OK, First look at /etc/pam.d/login Read this file and see if the uncommented lines are correct in your case. When I diffed the files, I needed to uncomment this line: auth optional pam_group.so Second, go to /etc/security/group.conf and add the following line: login;tty*;*;Al-2400;cdrom,floppy,audio at the prompt type groups and see if appears your username cdrom floppy audio. Finally, go to /dev and change all devices from the audio group giving chmod 664. As I used ultra30 also, I added the two above files I cited to this mesage in order to you look them an check with yours. Good luck... and have fun! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Sound on Ultra 30
On Tue, 2002-06-04 at 13:30, Rob Walsh wrote: On Tue, Jun 04, 2002 at 09:30:38AM -0400, Matt Soccio wrote: I just got Debian running on a U30, upgraded to testing, upgraded to 2.4.18 kernel. I have the cs4231a compiled into the kernel, and it is being recognized: ripple[2] dmesg | grep audio btaudio: driver version 0.6 loaded [analog+digital] audio0: cs4231a(eb2) at 1fff120 irq 13,7e3 However, I still get the error messages about problems initializing /dev/dsp. I have tried to MAKEDEV audio, I have tried chmodding /dev/audio and /dev/dsp to 666. What else am I missing? I see in the archives that there are a handful of questions about this (or similar problems) mostly on SS's, does anyone know of a good HT or FAQ to get sound going on a U30? All I really need is a system beep for mail notification and such. I've had little success getting sound to work on my Ultra 1 and Ultra 10 (cs4231 module) with the stock (woody) 2.4.18 kernel package, either. (Works fine if I just boot with the 2.2.20 kernel.) I think I managed to get 'mp3blaster' (direct OSS) working once, though not consistently, but 'esd' has never worked. This isn't on debian, but esd works for me with my Ultra 2 (cs4231) running Aurora, so I suspect its something minor. ~spot --- Tom spot Callaway [EMAIL PROTECTED] Red Hat Sales Engineer Sair Linux and GNU Certified Administrator (LCA) Red Hat Certified Engineer (RHCE) GPG: D786 8B22 D9DB 1F8B 4AB7 448E 3C5E 99AD 9305 4260 The words and opinions reflected in this message do not necessarily reflect those of my employer, Red Hat, and belong solely to me. Immature poets borrow, mature poets steal. --- T. S. Eliot -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]