View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Feb 23, 2006 11:03 am 
Offline
Joined: Sat Jan 28, 2006 11:29 am
Posts: 83
I have a usb-dvd it is detected OK at sr0 according to dmesg

Code:
EXT3 FS on hda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
  Vendor: LITE-ON   Model: DVDRW SOHW-832S   Rev: CG3E
  Type:   CD-ROM                             ANSI SCSI revision: 00
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0


mplayer dvd:// -dvd-device %d ... plays a DVD fine from optical menu so it is working. I cannot get xine to work though nor MPEG4 CD. I think this is cos the DVD needs to be setup properly. There is NO mount entry in the fstab at the moment so do I add one and WHERE is it best to mount it and do I then symlink /dev/cdrom & /dev/dvd to this etc etc

I note at the moment I have the following relevant files
Code:
lrwxrwxrwx  1 root root 4 Feb 23 15:20 sr0 -> scd0
lrwxrwxrwx  1 root cdrom 8 Jan  7 23:26 /dev/cdrom -> /dev/hdb
lrwxrwxrwx  1 root cdrom 8 Jan  7 23:26 /dev/dvd -> /dev/hdb
brw-rw----  1 root cdrom 3, 64 Jan  7 23:24 hdb
drwxr-xr-x  2 root root 4096 Feb  3 16:37 /cdrom


I'm thinking is this what I want to do?

Code:
# mount -t iso9660 /dev/sr0 /cdrom
# ln -sf /dev/sr0 /dev/cdrom
# ln -sf /dev/sr0 /dev/dvd


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 5:01 pm 
Offline
Joined: Sat Jan 28, 2006 11:29 am
Posts: 83
OK I have worked it out now. I needed to add this line to /etc/fstab for my usb dvd rom.
Code:
/dev/sr0 /cdrom auto user,noauto 0 0

Then changed the /usr/local/bin/divx.sh script to
    #!/bin/bash
    mount /cdrom
    /usr/bin/mplayer -monitoraspect 16:9 -ao alsa:device=digital -ac hwac3, -fs -zoom -vo xv -cache 8192 /cdrom/*
    umount /cdrom
Now the KnoppMyth | MPEG4 CD plays my Divx DVD's in widescreen with digital audio.

I also then updated my .lircrc file so the remote will skip thru the playlist and do other handy mplayer commands


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu