Driver for Crystal Onboard PnP(CS4235) ?

Discussion regarding the installation and configuration of Linux distributions.
barlas
Naib Subedar
Posts: 315
Joined: Mon Jun 30, 2003 11:07 am
Location: Lahore, Pakistan
Contact:

Driver for Crystal Onboard PnP(CS4235) ?

Post by barlas »

AOA!
Where can I find driver for Crystal Onboard PnP(CS4235) in red hat linux 9? I have searched for it but cannot find it anywhere except of some OSS package but its license is limited....
Aqeel Zafar
rahil320
Naik
Posts: 59
Joined: Wed Aug 13, 2003 11:14 pm
Location: shah faisal colony. karachi

CS4235 PnP

Post by rahil320 »

HAD YOU TRIED THE "sndconfig" COMMAND TO CONFIGURE YOUR SOUND CARD.?
IF NOT THEN TRY IT.
Faraz.Fazil
Major General
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
Location: Karachi/Pakistan/Earth/Universe

Post by Faraz.Fazil »

The Crystal Onboard PnP(CS4235) is indeed compatible with linux as as stated on:

http://www.linuxhq.com/ldp/howto/Hardwa ... sound.html

Run the sndconfig utility in redhat9 to configure it.I guess it shoud do it.
If it is confiured good.

Otherwise check if your kernel has support for Crystal Onboard PnP(CS4235).If not, you may have to recompile the kernel or find a driver
For that, metion the exact make and model of your motherboard.
slick
Naik
Posts: 56
Joined: Fri Sep 05, 2003 1:29 am
Location: CA

Post by slick »

i just recompiled to a 2.4.19 kernel and crystal onboard support is on there. You must have missed it while installing or something.
I only run as fast as my angels can fly
Faraz.Fazil
Major General
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
Location: Karachi/Pakistan/Earth/Universe

Post by Faraz.Fazil »

Agree with you.
slick wrote:i just recompiled to a 2.4.19 kernel and crystal onboard support is on there. You must have missed it while installing or something.
rahil320
Naik
Posts: 59
Joined: Wed Aug 13, 2003 11:14 pm
Location: shah faisal colony. karachi

Cs4235 PnP CARD

Post by rahil320 »

THERE MUST BE SUPPORT FOR YOUR CARD BECAUSE I HAVE Cs4232 PnP BASED CARD. THE GRAPHICAL UTILITY "redhat-sound-config" WON`T DETECT MY CARD AND IT SAYS "NO SOUNDCARD WAS FOUND ON YOUR SYSTEM, BUT WHEN I USE "sndconfig" IT DETECTS MY CARD. SO TRY THAT COMMAND BECAUSE CUI IS MORE POWERFULL THAN GUI. :o
barlas
Naib Subedar
Posts: 315
Joined: Mon Jun 30, 2003 11:07 am
Location: Lahore, Pakistan
Contact:

Post by barlas »

thnx for the your replies....

I work on GUI and dont know much abt running commands in shell. how can I run "sndconfig". I have tried it by both simple user and as a root but message like "no directory or file" appears.

My Problem in detail: When first time after installation I started linux a message appeared (in the booting process) "A new hardware found Crystal Onboard PnP Cs4235......." I choosed to configure and every thing seemed to be normal. But when I entered user name and password in GUI mode and loading started a message appeared

"Sound Server Information Message
Error while initializing driver
device /dev/dsp can not be open
........."

Now what should I do? :(
Aqeel Zafar
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: Driver for Crystal Onboard PnP(CS4235) ?

Post by LinuxFreaK »

Dear barlas,
Salam,
My advice for you is to download Open Sound System (OSS) and Install It
Best Regards.
Last edited by LinuxFreaK on Wed Sep 17, 2003 11:02 pm, edited 1 time in total.
Farrukh Ahmed
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: Driver for Crystal Onboard PnP(CS4235) ?

Post by LinuxFreaK »

Dear barlas,
Salam,
Sir, I think the above post is not a good idea, but you can try hope you will success. any way after login to your machine simple you have to pass some parameters like IRQ, DMA, & I/O etc and if your sound card is onboard PCI then just do lspci and if it does not appear when you run lspci, you can take it as read that the device is on the ISA Bus. or try to load modules from modeprobe cs4232 or modeprobe snd-cs4236 or list modules from lsmod. if your problem does not resolve then try ALSA Project and resolve your problem from Advanced Linux Sound Architecture. it will INSAHALLAH HELP YOU OUT.
Best Regards.
Farrukh Ahmed
Faraz.Fazil
Major General
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
Location: Karachi/Pakistan/Earth/Universe

Post by Faraz.Fazil »

Well the configuration that you did at the time of first boot....i guess that was through the kudzu hardware detection tool.If it succesfully configured the sound card...it should work.

First of all,it maybe that ur device has wrong persmission.
So do a chmod 777 /dev/dsp in terminal, reboot and see if the device works.

(B.T.W you can use conservative terminal which can be invoked from run level 3) or u can use gnome terminal which can be run from within X. To run gnome-terminal...goto main -menu=>system tools=>terminal

If the above doesn work, then do a sndconfig in terminal.
sndconfig detects and installs sound cards successfully if they are supported in linux.Since u didnot give sndconfig a try so do give it a try now.

Also it maybe that, as mentioed earlier, your sound card modules, if any , may not be loading correctly or at all.Check /etc/modules.conf and see if your sound card module is listed.
Also try running the modprobe with the name of your module.
barlas
Naib Subedar
Posts: 315
Joined: Mon Jun 30, 2003 11:07 am
Location: Lahore, Pakistan
Contact:

Post by barlas »

I have tried OSS. Did every thing that was written on Install It. But when I executed oss-install(./oss-install) then message appeared
Checking for any previously installed sound drivers... You appear to have the the kernel level sound driver installed as a loadable
module. Unload it by executing rmmod sound and try installing OSS/Linux again.

If this error repeats again you probably have the sound driver being loaded
automagically by the kerneld daemon. In this case you should remove all sound.o
files from all subdirectories of /lib/modules in addition to executing
rmmod sound. After that you probably should reboot the system before trying to
install OSS again. Edit /etc/modules.conf and remove the 'alias sound ...'
line in case it exist and replace it by 'alias sound off'.

Also add a line containing 'alias char-major-14 off' to /etc/modules.conf.
Am I allowed to do these changes automatically for you (Y/N) ?
I choosed "N"
Error: OSS cannot be installed because there is another sound driver loaded.
Driver 'sound' has registered the sound device (character major 14) for itself.

You seem to have OSS/Free statically linked into kernel.
You need to reconfigure and reinstall the kernel
with sound support disabled.
This may help you better understand my problem. I will now try chmod and let you know what happens. thnx for the help
Aqeel Zafar
Faraz.Fazil
Major General
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
Location: Karachi/Pakistan/Earth/Universe

Post by Faraz.Fazil »

You took the right step barlas!!

Now first of all try the chmod 777 /dev/dsp
Reboot and see if u get the sound.

If it works good, otherwise, it may simply be that your sound module is not loaded.IN that case just run a modprobe sound from terminal.

It should work!

If not then run sndconfig and configure the sound and reboot and check if it works.

If it works good otherwise check if the /etc/modules.conf has an entry for sound.Post it here.

Also make sure u do try a valid way to check sound.Like playing an mp3 using xmms etc

ALso note that to play mp3 on xmms u need to install the mpg123 plugin which does not ship be default on rh8 or later.
barlas
Naib Subedar
Posts: 315
Joined: Mon Jun 30, 2003 11:07 am
Location: Lahore, Pakistan
Contact:

Post by barlas »

This is written in /etc/module.conf
alias usb-controller usb-ohci
alias sound-slot-2 ad1848
post-install sound-slot-2 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-2 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias eth0 ne2k-pci
How can I run sndconfig? A message appears bash: sndconfig: command not found

chmod and modprobe sound didnt worked.........
Aqeel Zafar
Faraz.Fazil
Major General
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
Location: Karachi/Pakistan/Earth/Universe

Post by Faraz.Fazil »

Red Hat has developed a tool to configure most sound cards in Linux called sndconfig. It is based on the ncurses graphics library, so X Windows, KDE, or Gnome is not required. . If you have Red Hat installed, chances are you already have sndconfig installed. If not, you can download it

It appears as though you dont have the sndconfig utility installed.

Download from:

http://rpm.pbone.net/index.php3?idpl=41 ... 6.rpm.html

install it using rpm -Uvh rpmname.rpm command in terminal.

Then run /usr/sbin/sndconfig or simply sndconfig to start the utility and configure your sound card.

Also u can find the sndconfig rpm on the redhat 9 install cdrom.
Faraz.Fazil
Major General
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
Location: Karachi/Pakistan/Earth/Universe

Post by Faraz.Fazil »

Good luck barlas!
so Did u try the sndconfig utility barlas??
Post Reply