From owner-freebsd-current@FreeBSD.ORG Wed Aug 27 03:52:09 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 E5E7616A4BF for ; Wed, 27 Aug 2003 03:52:09 -0700 (PDT) Received: from puffin.mail.pas.earthlink.net (puffin.mail.pas.earthlink.net [207.217.120.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 429CF43FF3 for ; Wed, 27 Aug 2003 03:52:09 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfmq8.dialup.mindspring.com ([165.247.219.72] helo=mindspring.com) by puffin.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19rxuI-0004jT-00; Wed, 27 Aug 2003 03:52:07 -0700 Message-ID: <3F4C8D12.D247732@mindspring.com> Date: Wed, 27 Aug 2003 03:50:58 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Adam K Kirchhoff References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a436f598982549a92f6a515b4d003053c2a2d4e88014a4647c350badd9bab72f9c350badd9bab72f9c 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: Wed, 27 Aug 2003 10:52:10 -0000 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. 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). -- Terry