lkml.org 
[lkml]   [2000]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: CD_Rom problems (fwd)
Quoting Jens Axboe <axboe@suse.de>:
> On Wed, Jul 12 2000, Dave wrote:
> > I sent this to the wrong place.... What can I do to help remedy this
> > problem...<cd-driver>
> >
> > The ide_cdrom module seems to have something wrong with it in 2.2.16. It
> > is incorrectly reporting tha my cd_changer is not a changer and therefore
> > I cannot change the active slot.
>
> Can you send me the lines from the device detection and when ide-cd
> is loaded? It seems that support for _some_ changers are broken,
> while others do work.

I pulled my changer out of the basement (NEC 251C - 4x4) and
plugged it in. With 2.2.17prex, the cdchange.c code works just
as well as it did when I wrote it. If the drive is not reporting
that it is a changer, then I wonder very much what the CAPABILITIES_PAGE
has to say for itself. What do you see in the syslog with the following
(completely untested) patch:

-Erik

--
Erik B. Andersen Web: http://www.xmission.com/~andersen/
email: andersee@debian.org
--This message was written using 73% post-consumer electrons--


--- ide-cd.c.bak Wed Jul 12 14:44:27 2000
+++ ide-cd.c Wed Jul 12 15:00:26 2000
@@ -2256,6 +2256,14 @@

if (ide_cdrom_get_capabilities(drive, &cap))
return 0;
+ {
+ int i;
+ char* output=(char*)&cap;
+ printk ("The capabilities page is: \n \"");
+ for (i=0; i<sizeof (struct atapi_capabilities_page); i++)
+ printk ("%02x ", output[i]);
+ printk ("\"\n");
+ }

if (cap.lock == 0)
CDROM_CONFIG_FLAGS (drive)->no_doorlock = 1;
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:1.448 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site