From owner-freebsd-current@FreeBSD.ORG Wed Aug 27 05:45:12 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 3BE9916A4C4 for ; Wed, 27 Aug 2003 05:45:03 -0700 (PDT) Received: from memory.visualtech.com (pcp04363492pcs.glstrt01.nj.comcast.net [68.44.153.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 582C543FF7 for ; Wed, 27 Aug 2003 05:45:02 -0700 (PDT) (envelope-from adamk@voicenet.com) Received: by memory.visualtech.com (Postfix, from userid 612) id EF83E1A3326; Wed, 27 Aug 2003 08:45:00 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by memory.visualtech.com (Postfix) with ESMTP id A731C1A3324 for ; Wed, 27 Aug 2003 08:44:58 -0400 (EDT) Date: Wed, 27 Aug 2003 08:44:58 -0400 (EDT) From: Adam K Kirchhoff X-X-Sender: To: In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-6.0 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES,USER_AGENT_PINE version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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: Wed, 27 Aug 2003 12:45:12 -0000 On Wed, 27 Aug 2003, Adam K Kirchhoff wrote: > > On Wed, 27 Aug 2003, Terry Lambert wrote: > > > Adam K Kirchhoff wrote: > > > I recently moved a firewire card and DVD drive that had been in my FreeBSD > > > box to another computer. I replaced it with an IDE DVD drive. The > > > probelm is that now I can't get mplayer or vlc to play any DVDs that had > > > previously worked with the firewire drive. > > [ ... ] > > > "Couldn't open DVD device: /dev/dvd" > > [ ... ] > > > Now /dev/dvd is a symlink to /dev/acd0: > > > > > > [ adamk@sorrow - /usr/home/adamk ]: ls -l /dev/dvd > > > lrwxr-xr-x 1 root wheel 3 Aug 25 15:54 /dev/dvd -> /dev/acd0 > > > > > > And /dev/acd0 looks like: > > > > > > [ adamk@sorrow - /usr/home/adamk ]: ls -l /dev/acd0 > > > crw-r--r-- 1 root operator 117, 0 Aug 25 15:36 /dev/acd0 > > > > > > Note: user 'adamk' is part of the 'operator' group. In addition, as you > > > can see from the mplayer.txt file, I've tried this as root just in case > > > there's some strange permission thing going on. Still no luck. > > > > A really common problem with DVD and audio-using programs is > > they try to open device read/write, instead of read-only. > > > > I notice that you don't have write permission. This might be > > your problem. > > No such luck. I already thought about that and chmod acd0 to 666 just in > case. > > > Also, you may want to try a hard link instead of a symbolic > > link; see "man devfs" and "man rc.devfs". > > > > Finally, try recompiling your DVD player program, whatever it > > is, since it might check at compile time what it's talking to, > > and be too dumb to do the right thing. > > > > You may also want to pint it directly at the device, instead > > of using a symbolic link and making things more complicated > > than they need to be (one less variable to vary and cause > > breakage). > > 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 I rebooted my machine and finally noticed the following error message on the console: acd0: FAILURE - FLUSHCACHE status=51 error=4 Could this be part of my problem? Adam