> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of drew > Sent: 17 July 2004 03:44 > To: [EMAIL PROTECTED] > Subject: Re: [Freevo-users] Re: [BUG] Audio CD > > john molohan wrote: > > >On Sun, 2004-07-11 at 12:05 +0200, Dirk Meyer wrote: > > > > > >>johnm wrote: > >> > >> > >>>Traceback (most recent call last): > >>> File > >>>"/usr/lib/python2.3/site-packages/freevo/plugins/rom_drives.py", > >>>line 391, in move_tray > >>> s = ioctl(fd, CDROMCLOSETRAY) > >>>IOError: [Errno 5] Input/output error > >>> > >>> > >>[...] > >> > >> > >> > >>> device = open(device) > >>>IOError: [Errno 124] Wrong medium type: '/dev/hdc' > >>> > >>> > >>Not good. Looks like mmpython can't read the disc. I don't know why > >>this happens. > >> > >> > >> > >>> if mmdata.mime == 'unknown/unknown' and not > >>>metainfo.has_key('disc_num_video'): > >>>AttributeError: 'NoneType' object has no attribute 'mime' > >>> > >>> > >>Fixed. It won't crash anymore, but you won't see the disc > because of > >>the problem above. > >> > >> > >>Dischi > >> > >>-- > >>A man generally has two reasons for doing a thing. One that sounds > >>good, and a real one. > >> > >> > >>------------------------------------------------------- > >>This SF.Net email sponsored by Black Hat Briefings & Training. > >>Attend Black Hat Briefings & Training, Las Vegas July 24-29 > - digital > >>self defense, top technical experts, no vendor pitches, unmatched > >>networking opportunities. Visit www.blackhat.com > >>_______________________________________________ > >>Freevo-users mailing list > >>[EMAIL PROTECTED] > >>https://lists.sourceforge.net/lists/listinfo/freevo-users > >> > >> > >> > > > >Right a quick poke around show this in the kernel log. > 'kernel: cdrom: > >pid 4160 must open device O_NONBLOCK!', which didn't look > right. Google > >gave a suggestion that I'd seen on this list before 'echo "0" > >/proc/sys/dev/cdrom/check_media'. This is set to 1 by > default which I > >believe it should not be. Echo didn't set for some reason but vim > >sorted that. Once this is set mmpython has no problems > picking up the > >disk. Still it's not the best solution, I'm running on > Mandrake Cooker > >(devel), I'll check when I can to see if this exists in Mandrake 10 > >Official. > > > > > > I have the same audio problem using 'drake 10 b2, I have > never used vim, and it looks a bit daunting. Would you mind > elaborating a bit bit on exactly how I use it to set to 0. > Also, is this setting permanent or will I need to set it each time? > > Thanks. > Drew. > As root type the following (without the quotes):
'vim /proc/sys/dev/cdrom/check_media' When vim opens type 'i' Replace the 1 with 0 To close the file type ':wq!' ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
