[mythtv-commits] Ticket #4108: DVD drive speed change not working.

MythTV mythtv at cvs.mythtv.org
Sun Oct 28 08:09:34 UTC 2007


#4108: DVD drive speed change not working.
-----------------------------+----------------------------------------------
 Reporter:  damian at linux.ie  |       Owner:  awithers
     Type:  defect           |      Status:  new     
 Priority:  major            |   Milestone:  unknown 
Component:  mythvideo        |     Version:  unknown 
 Severity:  medium           |     Mlocked:  0       
-----------------------------+----------------------------------------------
 Hi, running latest SVN 14756. My DVD drive no longer changes speed. This
 used to work (sorry can't remember version it last worked as have not
 watched a DVD in awhile). I believe it was an upgrade of ubuntu that may
 have broke it though. Was on feisty (2.6.20) now on gutsy (2.6.22).


 excerpt from mythfrontend -v media -l /tmp/mythfrontend
 $ cat /tmp/mythfrontend  | grep -v "/dev/scd0 Disk OK..."
 2007-10-28 08:02:19.325 Current Schema Version: 1201
 2007-10-28 08:02:19.326 mythfrontend version: 0.21.20070910-2
 www.mythtv.org
 2007-10-28 08:02:19.326 Enabled verbose msgs:  important general media
 2007-10-28 08:02:19.856 Connecting to lcd server: localhost:6545 (try 1 of
 10)
 2007-10-28 08:02:19.860 New DB connection, total: 2
 2007-10-28 08:02:19.863 Connected to database 'mythconverg' at host:
 localhost
 2007-10-28 08:02:20.250 Total desktop dim: 960x540, with 1 screen[s].
 2007-10-28 08:02:20.251 Using screen 0, 960x540 at 0,0
 2007-10-28 08:02:20.252 Switching to wide mode (MythCenter-wide)
 2007-10-28 08:02:20.264 Using the OpenGL painter
 2007-10-28 08:02:20.265 Joystick disabled.
 2007-10-28 08:02:20.267 lirc init success using configuration file:
 /home/damian/.mythtv/lircrc
 2007-10-28 08:02:32.404 Loading from: /usr/local/share/mythtv/themes
 /MythCenter-wide/base.xml
 2007-10-28 08:02:32.409 Loading from:
 /usr/local/share/mythtv/themes/default/base.xml
 2007-10-28 08:02:32.447 Registering Internal as a media playback plugin.
 2007-10-28 08:02:32.477 Registering MythGallery Media Handler 1/2 as a
 media handler for MEDIATYPE_DATA
 2007-10-28 08:02:32.478 Mediamonitor: Adding /dev/scd0
 2007-10-28 08:02:32.482 MediaMonitorUnix::GetCDROMBlockDevices() returning
 sr0
 2007-10-28 08:02:32.489 MediamonitorUnix::AddDevice() -- Not adding
 '/dev/scd0', it appears to be a duplicate.
 2007-10-28 08:02:32.490 Registering MythGallery Media Handler 2/2 as a
 media handler for MEDIATYPE_MGALLERY, ext(gif,jpg,png)
 2007-10-28 08:02:32.490 MonitorRegisterExtensions(0x100, gif,jpg,png)
 2007-10-28 08:02:32.529 Using NV NPOT texture extension
 2007-10-28 08:02:32.559 MythMusic adding CD-Writer: 0,0,0 -- Maxtor
 6H500F0
 2007-10-28 08:02:32.559 MythMusic adding CD-Writer: 1,0,0 -- DVD RW AD-
 5170A
 2007-10-28 08:02:32.618 Registering MythMusic Media Handler 1/2 as a media
 handler for MEDIATYPE_MIXED
 2007-10-28 08:02:32.618 Registering MythMusic Media Handler 2/2 as a media
 handler for MEDIATYPE_MMUSIC, ext(ogg,mp3,aac,flac)
 2007-10-28 08:02:32.618 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
 Test Popup Version Failed
 2007-10-28 08:02:32.651 Unable to initialize plugin 'mythphone'.
 2007-10-28 08:02:32.657 Upgrading to MythVideo schema version 1014
 2007-10-28 08:02:32.876 Registering MythDVD DVD Media Handler as a media
 handler for MEDIATYPE_DVD
 2007-10-28 08:02:32.876 Registering MythDVD VCD Media Handler as a media
 handler for MEDIATYPE_VCD
 2007-10-28 08:02:32.882 Starting update of BBC-Current-XML
 2007-10-28 08:02:32.884 Starting update of BBC-3day-XML
 2007-10-28 08:02:32.903 Unable to initialize plugin 'mythzoneminder'.
 2007-10-28 08:02:32.905 Starting media monitor.
 2007-10-28 08:02:32.910 /dev/scd0 Current status MEDIASTAT_UNKNOWN
 2007-10-28 08:02:32.912 Found a data disk
 2007-10-28 08:02:33.340 nice
 /usr/local/share/mythtv/mythweather/scripts/bbccurrentxml.pl -u SI -d
 /home/damian/.mythtv/MythWeather/BBC-Current-XML W4306 has exited
 2007-10-28 08:02:33.353 nice
 /usr/local/share/mythtv/mythweather/scripts/bbcthreedayxml.pl -u SI -d
 /home/damian/.mythtv/MythWeather/BBC-3day-XML W4306 has exited
 2007-10-28 08:02:35.785 Executing '/bin/mount /dev/scd0'
 mount: block device /dev/scd0 is write-protected, mounting read-only
 2007-10-28 08:02:36.143 Probable DVD detected.
 2007-10-28 08:02:36.143 Executing '/bin/umount /dev/scd0'
 2007-10-28 08:02:36.165 Detected MediaType MEDIATYPE_DVD
 2007-10-28 08:02:36.166 Media status changed... (MEDIATYPE_DVD,
 MEDIASTAT_NOTMOUNTED -> MEDIASTAT_USEABLE)
 libdvdnav: Using dvdnav version 0.1.10-xine from http://xine.sf.net
 libdvdread: Using libdvdcss version 1.2.9 for DVD access
 libdvdnav: DVD Title: THE_PRINCESS_BRIDE
 libdvdnav: DVD Serial Number: 289493bd
 libdvdnav: DVD Title (Alternative):
 libdvdnav: Unable to find map file '/home/damian/.dvdnav/THE PRINCESS
 BRIDE.map'
 libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1

 libdvdread: Attempting to retrieve all CSS keys
 libdvdread: This can take a _long_ time, please be patient

 libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000128
 libdvdread: Elapsed time 0
 libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000075b
 libdvdread: Elapsed time 0
 libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00006d8c
 libdvdread: Elapsed time 0
 libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0020e01f
 libdvdread: Elapsed time 0
 libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0020e023
 libdvdread: Elapsed time 0
 libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0021943a
 libdvdread: Elapsed time 0
 libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0021943e
 libdvdread: Elapsed time 0
 libdvdread: Found 3 VTS's
 libdvdread: Elapsed time 0
 2007-10-28 08:03:19.608 Opened DVD device at //dev/dvd
 2007-10-28 08:03:19.608 There are 3 titles on the disk
 2007-10-28 08:03:19.608 Title 0 has 0 parts.
 2007-10-28 08:03:19.608 Title 1 has 29 parts.
 2007-10-28 08:03:19.608 Title 2 has 2 parts.
 2007-10-28 08:03:19.609 mythcdrom-linux: Limit CD/DVD Speed to 354KB/s
 2007-10-28 08:03:19.609 mythcdrom-linux: CD/DVD Speed Set Successful
 2007-10-28 08:03:19.629 mythcdrom-linux: Restored CD/DVD Speed
 2007-10-28 08:03:19.629 mythcdrom-linux: CD/DVD Speed Set Successful
 2007-10-28 08:03:19.661 Connecting to backend server: 192.168.1.100:6543
 (try 1 of 5)
 2007-10-28 08:03:19.665 Using protocol version 36
 2007-10-28 08:03:19.885 TV: Attempting to change from None to
 WatchingPreRecorded
 libdvdnav: Using dvdnav version 0.1.10-xine from http://xine.sf.net
 libdvdread: Using libdvdcss version 1.2.9 for DVD access
 libdvdnav: DVD Title: THE_PRINCESS_BRIDE
 libdvdnav: DVD Serial Number: 289493bd
 libdvdnav: DVD Title (Alternative):
 libdvdnav: Unable to find map file '/home/damian/.dvdnav/THE PRINCESS
 BRIDE.map'
 libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1

 libdvdread: Attempting to retrieve all CSS keys
 libdvdread: This can take a _long_ time, please be patient

 libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000128
 libdvdread: Elapsed time 0
 libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000075b
 libdvdread: Elapsed time 0
 libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00006d8c
 libdvdread: Elapsed time 0
 libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0020e01f
 libdvdread: Elapsed time 0
 libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0020e023
 libdvdread: Elapsed time 0
 libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0021943a
 libdvdread: Elapsed time 0
 libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0021943e
 libdvdread: Elapsed time 0
 libdvdread: Found 3 VTS's
 libdvdread: Elapsed time 0
 2007-10-28 08:03:20.081 Opened DVD device at //dev/dvd
 2007-10-28 08:03:20.081 There are 3 titles on the disk
 2007-10-28 08:03:20.081 Title 0 has 0 parts.
 2007-10-28 08:03:20.081 Title 1 has 29 parts.
 2007-10-28 08:03:20.081 Title 2 has 2 parts.
 2007-10-28 08:03:20.095 mythcdrom-linux: Limit CD/DVD Speed to 354KB/s
 2007-10-28 08:03:20.102 mythcdrom-linux: CD/DVD Speed Set Successful
 2007-10-28 08:03:20.157 AFD: Opened codec 0x82cb920, id(MPEG2VIDEO)
 type(Video)
 2007-10-28 08:03:20.157 NVP: Disabling Audio, params(-1,-1,-1)
 2007-10-28 08:03:20.157 NVP: Disabling Audio, params(0,-1,-1)
 2007-10-28 08:03:20.186 VideoOutputXv: Desired video renderer 'ivtv' not
 available.
                         codec 'MPEG2' makes 'opengl,xv-blit,xshm,xlib,'
 available, using 'opengl' instead.
 2007-10-28 08:03:20.220 DPMS Deactivated
 2007-10-28 08:03:20.372 FilterManager: failed to load filter 'none', no
 such filter exists
 2007-10-28 08:03:20.372 Couldn't load deinterlace filter none
 2007-10-28 08:03:20.760 TV: Changing from None to WatchingPreRecorded
 2007-10-28 08:03:20.765 FilterManager: failed to load filter 'none', no
 such filter exists
 2007-10-28 08:03:20.765 Couldn't load deinterlace filter none
 2007-10-28 08:03:20.777 AFD: Warning, video codec 0x82cb920 id(MPEG2VIDEO)
 type (Video) already open.
 2007-10-28 08:03:20.779 AFD: Opened codec 0x83fa250, id(AC3) type(Audio)
 2007-10-28 08:03:20.782 Opening ALSA audio device 'default'.
 2007-10-28 08:03:20.858 NVP: Enabling Audio
 2007-10-28 08:03:20.867 OpenGLVideoSync()
 2007-10-28 08:03:20.899 Video timing method: SGI OpenGL
 2007-10-28 08:03:29.645 DPMS Reactivated.
 2007-10-28 08:03:30.347 DPMS Deactivated
 2007-10-28 08:03:35.029 AFD: Warning, video codec 0x82cb920 id(MPEG2VIDEO)
 type (Video) already open.
 2007-10-28 08:03:35.029 AFD: Warning, audio codec 0x83fa250 id(AC3) type
 (Audio) already open, leaving it alone.
 2007-10-28 08:03:35.029 AFD: Opened codec 0xa8d2ecc0, id(DVD_SUBTITLE)
 type(Subtitle)
 2007-10-28 08:03:36.169 TV: Attempting to change from WatchingPreRecorded
 to None
 2007-10-28 08:03:36.216 ~OpenGLVideoSync() -- begin
 2007-10-28 08:03:36.216 ~OpenGLVideoSync() -- middle
 2007-10-28 08:03:36.216 ~OpenGLVideoSync() -- end
 2007-10-28 08:03:36.278 mythcdrom-linux: Restored CD/DVD Speed
 2007-10-28 08:03:36.281 mythcdrom-linux: CD/DVD Speed Set Successful
 2007-10-28 08:03:36.300 TV: Changing from WatchingPreRecorded to None
 2007-10-28 08:03:37.385 DPMS Reactivated.


 Also in that small period of logging I see the line "/dev/scd0 Disk OK..."
 a lot :
 $  cat /tmp/mythfrontend  | grep "/dev/scd0 Disk OK..." | wc -l
 129

 This make watching DVDs impossible as my DVD drive is very loud.

 Thanks,

 D.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4108>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list