linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: no sound with CS4281 card
@ 2001-05-31 20:33 Woller, Thomas
  2001-06-09  2:33 ` Rik van Riel
  0 siblings, 1 reply; 4+ messages in thread
From: Woller, Thomas @ 2001-05-31 20:33 UTC (permalink / raw)
  To: 'Rik van Riel', linux-kernel

I'll send the latest driver that I have via separate email.  Toshiba refuses
to supply equipment, and there are some design issues with Toshiba laptops.
I recently sent a driver to another Toshiba owner and he had good luck with
the latest driver. I have never seen any Toshiba laptop not generate sound
with any cs4281 driver at any time ( :) ), but that certainly doesn't rule
out the 2.4.5-ac2 not working on a Toshiba 1755.  I am pulling the 2.4.5-ac6
source now and will try on a 4281 ref card.  
mpg123 the only app not working?
Thanks for the input
tom

 -----Original Message-----
From: 	Rik van Riel [mailto:riel@conectiva.com.br] 
Sent:	Thursday, May 31, 2001 1:15 PM
To:	linux-kernel@vger.kernel.org
Cc:	twoller@crystal.cirrus.com
Subject:	no sound with CS4281 card

Hi,

my notebook (Toshiba 1755) comes with CS4281 built-in,
with all 2.4 kernels I tried this sound card doesn't
generate any sound, or interrupts for that matter.

The driver detects the card fine, but doesn't seem to
be able to do anything with it, on 2.4.5-ac2:

==== /proc/pci ====
  Bus  0, device   8, function  0:
    Multimedia audio controller: Cirrus Logic Crystal CS4281 PCI Audio (rev
1).
      IRQ 5.
      Master Capable.  Latency=64.  Min Gnt=4.Max Lat=24.
      Non-prefetchable 32 bit memory at 0xfc010000 [0xfc010fff].
      Non-prefetchable 32 bit memory at 0xfc000000 [0xfc00ffff].

==== dmesg ====
cs4281: version v1.13.32 time 15:54:07 May 29 2001
PCI: Enabling device 00:08.0 (0000 -> 0002)
PCI: Found IRQ 5 for device 00:08.0

==== /proc/interrupts ====
  5:          0          XT-PIC  Crystal CS4281

(after trying to play music with mpg123 about 20 times)

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/		http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: no sound with CS4281 card
  2001-05-31 20:33 no sound with CS4281 card Woller, Thomas
@ 2001-06-09  2:33 ` Rik van Riel
  0 siblings, 0 replies; 4+ messages in thread
From: Rik van Riel @ 2001-06-09  2:33 UTC (permalink / raw)
  To: Woller, Thomas; +Cc: linux-kernel

On Thu, 31 May 2001, Woller, Thomas wrote:

> I'll send the latest driver that I have via separate email.  Toshiba
> refuses to supply equipment, and there are some design issues with
> Toshiba laptops.

It turned out a one-liner change to the in-kernel driver
also worked (I was on holidays for a week, so I only see
this email after I got the thing to work ;))

--- linux-2.4.5-ac2/drivers/sound/cs4281/cs4281m.c.orig	Fri Jun  1 09:19:57 2001
+++ linux-2.4.5-ac2/drivers/sound/cs4281/cs4281m.c	Fri Jun  1 09:20:57 2001
@@ -658,7 +658,7 @@
 	       card->pBA0 + BA0_ACCTL);
 
 	// Wait for the write to occur.
-	for (count = 0; count < 10; count++) {
+	for (count = 0; count < 100; count++) {
 		// First, we want to wait for a short time.
 		udelay(25);
 		// Now, check to see if the write has completed.

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/		http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: no sound with CS4281 card
@ 2001-05-31 22:12 Woller, Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Woller, Thomas @ 2001-05-31 22:12 UTC (permalink / raw)
  To: 'Rik van Riel', linux-kernel

I Can not reproduce the problem with 2.4.5-ac5 driver or with latest rev of
the driver that I have been working on, or with any of the previous 4
internal releases back to early april.  although I do not have a Toshiba
laptop to test on and don't doubt that there might be a problem on your
system.  I have not tested a 1755 model.  Another user indicated that the
Toshiba 1620 CDS works with the latest driver.   
I'll wait for your input concerning the latest driver that I sent to you via
email.  Fyi, I have USB disabled, SMP enabled, and all *PM enabled.
If you can boot with max debugging
/sbin/insmod cs4281.o cs_debuglevel=9 cs_debugmask=0xffffffff
and then run mpg123 on a very small mp3 file or very small wave file (<16k).
It'll be a lot of output, but if you could send it all, especially the boot
info, that'd help me to debug the problem.
Thanks
tom

 -----Original Message-----
From: 	Rik van Riel [mailto:riel@conectiva.com.br] 
Sent:	Thursday, May 31, 2001 1:15 PM
To:	linux-kernel@vger.kernel.org
Cc:	twoller@crystal.cirrus.com
Subject:	no sound with CS4281 card

Hi,

my notebook (Toshiba 1755) comes with CS4281 built-in,
with all 2.4 kernels I tried this sound card doesn't
generate any sound, or interrupts for that matter.

The driver detects the card fine, but doesn't seem to
be able to do anything with it, on 2.4.5-ac2:

==== /proc/pci ====
  Bus  0, device   8, function  0:
    Multimedia audio controller: Cirrus Logic Crystal CS4281 PCI Audio (rev
1).
      IRQ 5.
      Master Capable.  Latency=64.  Min Gnt=4.Max Lat=24.
      Non-prefetchable 32 bit memory at 0xfc010000 [0xfc010fff].
      Non-prefetchable 32 bit memory at 0xfc000000 [0xfc00ffff].

==== dmesg ====
cs4281: version v1.13.32 time 15:54:07 May 29 2001
PCI: Enabling device 00:08.0 (0000 -> 0002)
PCI: Found IRQ 5 for device 00:08.0

==== /proc/interrupts ====
  5:          0          XT-PIC  Crystal CS4281

(after trying to play music with mpg123 about 20 times)

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/		http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* no sound with CS4281 card
@ 2001-05-31 18:14 Rik van Riel
  0 siblings, 0 replies; 4+ messages in thread
From: Rik van Riel @ 2001-05-31 18:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: twoller

Hi,

my notebook (Toshiba 1755) comes with CS4281 built-in,
with all 2.4 kernels I tried this sound card doesn't
generate any sound, or interrupts for that matter.

The driver detects the card fine, but doesn't seem to
be able to do anything with it, on 2.4.5-ac2:

==== /proc/pci ====
  Bus  0, device   8, function  0:
    Multimedia audio controller: Cirrus Logic Crystal CS4281 PCI Audio (rev 1).
      IRQ 5.
      Master Capable.  Latency=64.  Min Gnt=4.Max Lat=24.
      Non-prefetchable 32 bit memory at 0xfc010000 [0xfc010fff].
      Non-prefetchable 32 bit memory at 0xfc000000 [0xfc00ffff].

==== dmesg ====
cs4281: version v1.13.32 time 15:54:07 May 29 2001
PCI: Enabling device 00:08.0 (0000 -> 0002)
PCI: Found IRQ 5 for device 00:08.0

==== /proc/interrupts ====
  5:          0          XT-PIC  Crystal CS4281

(after trying to play music with mpg123 about 20 times)

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/		http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-06-09  2:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-31 20:33 no sound with CS4281 card Woller, Thomas
2001-06-09  2:33 ` Rik van Riel
  -- strict thread matches above, loose matches on Subject: below --
2001-05-31 22:12 Woller, Thomas
2001-05-31 18:14 Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).