Sony DDU220E & Kernel 2.2.15

From: Luke Reeves (luke949@sympatico.ca)
Date: Wed May 17 2000 - 21:37:02 EST


My system is using a Sony DDU220E for it's primary CD-ROM drive, and the
latest stable kernel (2.2.15) has repeatedly failed to detect it. The
kernel gives a message identifying the drive as a line of gibberish, and
calling it an ATAPI device type 31. I made a quick patch (attached) to
force the correct detection. After this patch, the drive works
perfectly mounting both CD-ROMS and DVDs. Any suggestions on how to
make this less kludgey? Thanks.

    Luke Reeves, Neurotech
    luke949@sympatico.ca
    http://www.submail.net/
    http://www.neuro-tech.net/

Patch:
*** ide-probe.c Wed May 17 20:29:12 2000
--- ide-probe.c.backup Wed May 17 20:07:59 2000
***************
*** 112,122 ****
                                printk ("CDROM");
                                drive->removable = 1;
                                break;
- case 31:
- printk ("DVD-ROM?");
- drive->removable = 1;
- type = ide_cdrom;
- break;
                        case ide_tape:
                                printk ("TAPE");
                                break;
--- 112,117 ----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:14 EST