* Re: Crystal CS4235 with 2.2.0-pre7
@ 1999-01-18 12:05 moc liamtoh
1999-01-18 18:54 ` Gerd Bavendiek
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: moc liamtoh @ 1999-01-18 12:05 UTC (permalink / raw
To: linux-sound
i have the same chip (aopen MB) and i had problems too, (i use the
2.0.36) but i got it to werk by swapping the dma's so that i had 534,
irq 5, dma=1 and dma2=0 and that, oddly enough, seemed to work...and not
that bad either...altough i have on board video also and when i was
trying to use that it would get very bad sound....
regards,
Josh
<SNIP>
>Hi,
>
>Alan Cox stated a few weeks ago that there is support for the Crystal
>soundchip CS4235 in kernel 2.1.132ac1. I have an Acer motherboard with
>this chip and so decided to make the latest available kernel
>linux-2.2.0-pre7.
>
>I found no references to CS4235 and so took the closest config option
>CS4232.
>
>Unfortunately
>
>cat /usr/lib/xemacs-20.4/etc/sounds/im_so_happy.au > /dev/audio
>
>simply gave silence.
>
>I would be very glad if someone out there could give me advice.
>
>Kind regards
>
>Gerd
>
>Here are the details:
>
>To avoid module trouble I made a kernel with builtin support for
>CS4232. These are my defines:
>
>CONFIG_SOUND_CS4232=y
>CONFIG_CS4232_BASES4
>CONFIG_CS4232_IRQ=5
>CONFIG_CS4232_DMA=0
>CONFIG_CS4232_DMA2=1
>CONFIG_CS4232_MPU_BASE:8
>CONFIG_CS4232_MPU_IRQ=9
>
<SNIP>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Crystal CS4235 with 2.2.0-pre7
1999-01-18 12:05 Crystal CS4235 with 2.2.0-pre7 moc liamtoh
@ 1999-01-18 18:54 ` Gerd Bavendiek
1999-01-19 3:16 ` Tony Nugent
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Gerd Bavendiek @ 1999-01-18 18:54 UTC (permalink / raw
To: linux-sound
Hi,
Alan Cox stated a few weeks ago that there is support for the Crystal
soundchip CS4235 in kernel 2.1.132ac1. I have an Acer motherboard with
this chip and so decided to make the latest available kernel
linux-2.2.0-pre7.
I found no references to CS4235 and so took the closest config option
CS4232.
Unfortunately
cat /usr/lib/xemacs-20.4/etc/sounds/im_so_happy.au > /dev/audio
simply gave silence.
I would be very glad if someone out there could give me advice.
Kind regards
Gerd
Here are the details:
To avoid module trouble I made a kernel with builtin support for
CS4232. These are my defines:
CONFIG_SOUND_CS4232=y
CONFIG_CS4232_BASES4
CONFIG_CS4232_IRQ=5
CONFIG_CS4232_DMA=0
CONFIG_CS4232_DMA2=1
CONFIG_CS4232_MPU_BASE:8
CONFIG_CS4232_MPU_IRQ=9
I took the values from Windows98 which is alternatively running on the
same box and working fine with the CS4235.
dmesg says the following:
Sound initialization started
<Crystal audio controller (CS4235)> at 0x534 irq 5 dma 0,1
ad1848: Interrupt test failed (IRQ5)
Sound initialization complete
cat /dev/sndstat gives me:
Linux kiki 2.2.0-pre7 #4 Sun Jan 17 06:21:47 CET 1999 i686 unknown
OSS/Free:3.8s2++-971130
Load type: Driver compiled into kernel
Kernel: Linux kiki 2.2.0-pre7 #4 Sun Jan 17 06:21:47 CET 1999 i686
Config options: 0
Installed drivers:
Type 21: CS4232
Type 22: CS4232 MIDI
Type 26: MPU-401 (UART)
Card config:
CS4232 MIDI at 0x3a8 irq 9 drq 0
CS4232 at 0x534 irq 5 drq 0,1
Audio devices:
0: Crystal audio controller (CS4235) (DUPLEX)
Synth devices:
Midi devices:
Timers:
0: System clock
Mixers:
0: Crystal audio controller (CS4235)
According /proc/interupts IRQ 5 is taken by
5: 0 XT-PIC Crystal audio controller
/proc/ioports tells me:
0534-0537 : Crystal audio controller
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Crystal CS4235 with 2.2.0-pre7
1999-01-18 12:05 Crystal CS4235 with 2.2.0-pre7 moc liamtoh
1999-01-18 18:54 ` Gerd Bavendiek
@ 1999-01-19 3:16 ` Tony Nugent
1999-01-19 7:57 ` Gerd Bavendiek
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Tony Nugent @ 1999-01-19 3:16 UTC (permalink / raw
To: linux-sound
On Mon Jan 18 1999 at 19:54, Gerd Bavendiek wrote:
> Alan Cox stated a few weeks ago that there is support for the Crystal
> soundchip CS4235 in kernel 2.1.132ac1. I have an Acer motherboard with
> this chip and so decided to make the latest available kernel
> linux-2.2.0-pre7.
>
> I found no references to CS4235 and so took the closest config option
> CS4232.
I think you need to enable "config experimental drivers" to enable it.
> Unfortunately
>
> cat /usr/lib/xemacs-20.4/etc/sounds/im_so_happy.au > /dev/audio
>
> simply gave silence.
What does "cat /dev/sndstat" say?
Cheers
Tony
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Crystal CS4235 with 2.2.0-pre7
1999-01-18 12:05 Crystal CS4235 with 2.2.0-pre7 moc liamtoh
1999-01-18 18:54 ` Gerd Bavendiek
1999-01-19 3:16 ` Tony Nugent
@ 1999-01-19 7:57 ` Gerd Bavendiek
1999-01-19 8:02 ` Gerd Bavendiek
1999-01-22 7:53 ` Gerd Bavendiek
4 siblings, 0 replies; 6+ messages in thread
From: Gerd Bavendiek @ 1999-01-19 7:57 UTC (permalink / raw
To: linux-sound
moc liamtoh writes:
> i have the same chip (aopen MB) and i had problems too, (i use the
> 2.0.36) but i got it to werk by swapping the dma's so that i had 534,
> irq 5, dma=1 and dma2=0 and that, oddly enough, seemed to work...and not
> that bad either...altough i have on board video also and when i was
> trying to use that it would get very bad sound....
>
I followed your suggestion.
cat /usr/lib/xemacs-20.4/etc/sounds/im_so_happy.au > /dev/audio
works !
Thanks a lot so far.
After plugging a microphone I tried
dd if=/dev/audio of=qqq bs=8k count\x10
Playing back that file just gives silence. Did you try that too ?
Kind regards
Gerd
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Crystal CS4235 with 2.2.0-pre7
1999-01-18 12:05 Crystal CS4235 with 2.2.0-pre7 moc liamtoh
` (2 preceding siblings ...)
1999-01-19 7:57 ` Gerd Bavendiek
@ 1999-01-19 8:02 ` Gerd Bavendiek
1999-01-22 7:53 ` Gerd Bavendiek
4 siblings, 0 replies; 6+ messages in thread
From: Gerd Bavendiek @ 1999-01-19 8:02 UTC (permalink / raw
To: linux-sound
Tony Nugent writes:
> On Mon Jan 18 1999 at 19:54, Gerd Bavendiek wrote:
>
> > Alan Cox stated a few weeks ago that there is support for the Crystal
> > soundchip CS4235 in kernel 2.1.132ac1. I have an Acer motherboard with
> > this chip and so decided to make the latest available kernel
> > linux-2.2.0-pre7.
> >
> > I found no references to CS4235 and so took the closest config option
> > CS4232.
>
> I think you need to enable "config experimental drivers" to enable it.
>
I tried but nothing visible changed in section "sound" or "low level
drivers" while doing make menuconfig.
> > Unfortunately
> >
> > cat /usr/lib/xemacs-20.4/etc/sounds/im_so_happy.au > /dev/audio
> >
> > simply gave silence.
>
> What does "cat /dev/sndstat" say?
>
Please have a second look on my posting.
Thanks !
Kind regards
Gerd
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Crystal CS4235 with 2.2.0-pre7
1999-01-18 12:05 Crystal CS4235 with 2.2.0-pre7 moc liamtoh
` (3 preceding siblings ...)
1999-01-19 8:02 ` Gerd Bavendiek
@ 1999-01-22 7:53 ` Gerd Bavendiek
4 siblings, 0 replies; 6+ messages in thread
From: Gerd Bavendiek @ 1999-01-22 7:53 UTC (permalink / raw
To: linux-sound
Hi,
I'm glad that with the help of Moc Liamtoh, who suggested swapping DMA,
and Mike Haller, who provided me with a fix to the recent ad1848.c I'm
now able to playback and record with my Crystal CS4235 and Linux
2.2.0-pre7.
My defines in .config (those which are not set are not shown)
#
# Sound
#
CONFIG_SOUND=y
CONFIG_SOUND_OSS=y
CONFIG_SOUND_PSS=m
CONFIG_SOUND_CS4232=y
CONFIG_CS4232_BASES4
CONFIG_CS4232_IRQ=5
CONFIG_CS4232_DMA=1
CONFIG_CS4232_DMA2=0
CONFIG_CS4232_MPU_BASE:8
CONFIG_CS4232_MPU_IRQ=9
Mike's changes are as follows:
momo:/usr/src/linux/drivers/sound> diff ad1848.c.org ad1848.c
1812c1812,1813
< if (devc->model != MD_1848 && devc->model != MD_C930)
---
> if (devc->model != MD_1848 && devc->model != MD_C930 && devc->model !> MD_4235)
Thanks a lot !
Kind regards
Gerd
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-01-22 7:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-18 12:05 Crystal CS4235 with 2.2.0-pre7 moc liamtoh
1999-01-18 18:54 ` Gerd Bavendiek
1999-01-19 3:16 ` Tony Nugent
1999-01-19 7:57 ` Gerd Bavendiek
1999-01-19 8:02 ` Gerd Bavendiek
1999-01-22 7:53 ` Gerd Bavendiek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.