lkml.org 
[lkml]   [1997]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: small problems with mcd and mcdx on audio-cds
Date
> the problem with mcd:
> - it doesn't play stereo mode (mono mode only)
> with mcdx:
> - (workman for example) doesn't see that the disc has been changed
> (behaves as if I put in the same CD as before instead scanning for
> the current - but scans ok if I restart the program - my guess:
> mcdx doesn't report disc-changes but reports open doors)

I thought that this was just a bug in workman but I checked and you are right
it is a problem with mcdx. If I find time, I'll look into it.

> - after pressing "pause" and then "play" for continuing it holds and
> behaves as I had pressed "stop" (guess: bug in resume or pause)

This is a bug in mcdx. The variables that contain the length of the disk are
not initalized and thus pause is broken. Here is a patch for this problem
(this
patch is already in the 2.1 series)

--- linux/drivers/cdrom/mcdx.c.orig Tue May 20 21:00:18 1997
+++ linux/drivers/cdrom/mcdx.c Tue May 20 21:06:01 1997
@@ -356,6 +356,10 @@
msf.cdmsf_sec1 = uint2bcd(msf.cdmsf_sec1);
msf.cdmsf_frame1 = uint2bcd(msf.cdmsf_frame1);

+ stuffp->stop.dt.minute = msf.cdmsf_min1;
+ stuffp->stop.dt.second = msf.cdmsf_sec1;
+ stuffp->stop.dt.frame = msf.cdmsf_frame1;
+
return mcdx_playmsf(stuffp, &msf);
}




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