From owner-freebsd-current@FreeBSD.ORG Thu Aug 28 02:57:04 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 CA93916A4BF for ; Thu, 28 Aug 2003 02:57:04 -0700 (PDT) Received: from relay11.melbpc.org.au (finch.melbpc.org.au [203.12.152.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1009A43FEC for ; Thu, 28 Aug 2003 02:57:02 -0700 (PDT) (envelope-from kpeter@melbpc.org.au) Received: from melbpc.org.au (a1-6.melbpc.org.au [203.12.158.6]) by relay11.melbpc.org.au (8.12.6/8.12.5) with ESMTP id h7S9upYn013608; Thu, 28 Aug 2003 19:56:52 +1000 (EST) (envelope-from kpeter@melbpc.org.au) Message-ID: <3F4DD1E0.20809@melbpc.org.au> Date: Thu, 28 Aug 2003 19:56:48 +1000 From: Peter Kostouros Organization: Melbourne PC User Group User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20030824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adam K Kirchhoff References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-RAVMilter-Version: 8.3.4(snapshot 20020706) (relay11) 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 Reply-To: kpeter@melbpc.org.au 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 09:57:04 -0000 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