Skip to contentSkip to conversation

2.4.0-test12-pre4 + cs46xx + KDE 2.0 = frozen system

DISCUSSION Steven Cole 1 participant 1 message Dec 5, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Alan Cox
Quoted 7 lines
Quoted 4 lines

Crystal 4280/461x + AC97 Audio, version 0.14, 13:39:25 Dec 4 2000
cs461x: Card found at 0xf8ffe000 and 0xf8e00000, IRQ 18
cs461x: Unknown card (FFFFFFFF:FFFFFFFF) at 0xf8ffe000/0xf8e00000, IRQ 18
ac97_codec: AC97 Audio codec, id: 0x4352:0x5914 (Unknown)

This is failing to detect the CS46xx. I assume someone has fiddled with the driver. Does it work correctly on your machine in 2.2.18pre24 ?

I believe it did for 2.2.18pre23. I'll try out 2.2.18pre24 and your following patch when I'm back at work about 12 hours from now. Thanks!
Steven Cole

Quoted 8 lines · Alan Cox

A follow on question. This may be 2.4 PCI changes. That would mean you might want..

sound/cs46xx.c Mon Dec 4 22:58:58 2000 renamed from sound/cs46xx.c~ Sat Dec 2 01:44:21 2000 +0 -0
@@ -2534,6 +2534,11 @@
      struct cs_card *card;

sound/cs46xx.c Mon Dec 4 22:58:58 2000 line 2544

Quoted 10 lines
sound/cs46xx.c Mon Dec 4 22:58:58 2000 renamed from sound/cs46xx.c~ Sat Dec 2 01:44:21 2000 +5 -0
      struct cs_card_type *cp = &cards[0];
 
+      if (pci_enable_device(pci_dev)<0)
+      {
+              printk(KERN_ERR "cs461x: unable to enable\n");
+              return -EIO;
+      }
      if ((card = kmalloc(sizeof(struct cs_card), GFP_KERNEL)) == NULL) {
              printk(KERN_ERR "cs461x: out of memory\n");
              return -ENOMEM;

I'll apply that patch tomorrow.

Steven
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/