From owner-freebsd-current@FreeBSD.ORG Thu Aug 28 03:15:41 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6E8216A4BF for ; Thu, 28 Aug 2003 03:15:41 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18A1343FDD for ; Thu, 28 Aug 2003 03:15:41 -0700 (PDT) (envelope-from adamk@voicenet.com) Received: from thorn.ashke.com (pcp04363492pcs.glstrt01.nj.comcast.net[68.44.153.152](untrusted sender)) by comcast.net (rwcrmhc12) with SMTP id <2003082810113301400e6di7e>; Thu, 28 Aug 2003 10:11:33 +0000 Date: Thu, 28 Aug 2003 06:11:32 -0400 (EDT) From: Adam K Kirchhoff X-X-Sender: To: Peter Kostouros In-Reply-To: <3F4DD1E0.20809@melbpc.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@FreeBSD.ORG Subject: Re: IDE DVD playback on 5.1-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 10:15:41 -0000 Hmmm... I'll give that a shot, thanks :-) Did you ever submit your patch to the port maintainer? Adam On Thu, 28 Aug 2003, Peter Kostouros wrote: > Hi > > I had a similar problem when running mplayer with recent kernels. My > problem was that although I was executing mplayer with -dvd-device > /dev/acd0, the program was trying to open /dev/racd0. I modified > main/libmpdvdkit2/dvd_reader.c and sure enough everything is OK. I hope > the following helps: > > #if defined(SYS_BSD) > /* FreeBSD /dev/(r)(a)cd0c (a is for atapi), recomended to _not_ use r > OpenBSD /dev/rcd0c, it needs to be the raw device > NetBSD /dev/rcd0[d|c|..] d for x86, c (for non x86), perhaps others > Darwin /dev/rdisk0, it needs to be the raw device > BSD/OS /dev/sr0c (if not mounted) or /dev/rsr0c ('c' any letter will > do) */ > static char *bsd_block2char( const char *path ) > { > char *new_path; > > #if 0 > /* If it doesn't start with "/dev/" or does start with "/dev/r" exit */ > if( strncmp( path, "/dev/", 5 ) || !strncmp( path, "/dev/r", 6 ) ) > return (char *) strdup( path ); > > /* Replace "/dev/" with "/dev/r" */ > new_path = malloc( strlen(path) + 2 ); > strcpy( new_path, "/dev/r" ); > strcat( new_path, path + strlen( "/dev/" ) ); > #endif > > new_path = strdup(path); > > return new_path; > } > #endif > > > Adam K Kirchhoff wrote: > > >Again, no luck. From vlc: > > > >[00000141] main input: playlist item `dvdold:///dev/acd0@1,1' > >[00000141] dvd input error: dvdcss cannot open device > >libdvdread: Using libdvdcss version 1.2.5 for DVD access > >libdvdread: Could not open /dev/acd0 with libdvdcss. > >libdvdread: Can't open /dev/acd0 for reading > >[00000141] dvdread input error: libdvdcss cannot open source > >[00000141] vcd input error: no movie tracks found > >[00000141] main input error: no suitable access module for `/://dvdold:///dev/acd0@1,1 > > > >>From mplayer: > > > >Playing DVD title 1 > >libdvdread: Could not open device with libdvdcss. > >libdvdread: Can't open /dev/acd0 for reading > >Couldn't open DVD device: /dev/acd0 > > > >>From ogle: > > > >libdvdread: Using libdvdcss version 1.2.5 for DVD access > >libdvdread: Could not open /dev/acd0c with libdvdcss. > >libdvdread: Can't open /dev/acd0c for reading > >ERROR[ogle_nav]: faild to open/read the DVD > > > >Yet the same DVD in the firewire drive works just fine. > > > >I can certainly try recompiling the applications but, frankly, I'm really > >doubtful that will solve the problem :-( > > > >Adam > > > > > >_______________________________________________ > >freebsd-current@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-current > >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > > > > > > > > > > -- > > Regards > > Peter > > As always the organisation disavows knowledge of this email > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >