Date: Thu, 28 Aug 2003 19:56:48 +1000 From: Peter Kostouros <kpeter@melbpc.org.au> To: Adam K Kirchhoff <adamk@voicenet.com> Cc: freebsd-current@FreeBSD.ORG Subject: Re: IDE DVD playback on 5.1-CURRENT Message-ID: <3F4DD1E0.20809@melbpc.org.au> In-Reply-To: <Pine.LNX.4.33L2.0308270719400.10236-100000@thorn.ashke.com> References: <Pine.LNX.4.33L2.0308270719400.10236-100000@thorn.ashke.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F4DD1E0.20809>