Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Brand new to linux, just installed debian lenny (first ever install), vlc for my media player (1.0.5). Insert a dvd into dvd rom and system sees the dvd but i cannot play/access it on/from VLC
when i insert the dvd, "Totem (def player) errors - cannot read source -(I dont use totem) I open VLC and can see the file but cant open
I tried to manually mount dev/hdb/media/cdrom1 but it fails and says "does not exist"
I have a cd player on dev/hda and it is recognized but not my dvd
tried "mount -t iso9660/dec/hdb/media/cdrom1"
also mkdir hdb (sucessfully created)
confusing that the system sees the drive and reads that there is media in the drive but i cannot get vlc to play the dvd
ps - is a Sony dvd
I favor VLC and would like help getting it to play
Also - i do not know commands to see hardware and if/which drives are mounted (1 hard drive, 1 cd and 1 dvd)
the fstab contains line
/dev/hdb/media/cdrom1, udf, iso9660 user, auto 0 0
Is not the VLC software becuase i can load music in cd drive and play from VLC so assuming it is hardware or possible software configuration of the hardware device
Thanks
vlc has separate device settings for cd and dvd. Chances are it's default settings are set to something like /dev/cdrom and /dev/dvd, respectively, which means dvds would fail if you don't have a /dev/dvd symlink. You can alter them in the preferences by switching to the advanced settings mode, then going to the input/codecs tab.
BTW, disc playback in programs like this usually accesses the device directly, so their mounted status has no bearing on it.
However, there are anomalies in what you have reported which may also contribute (or be typos):
Quote:
I tried to manually mount dev/hdb/media/cdrom1 but it fails and says "does not exist"
tried "mount -t iso9660/dec/hdb/media/cdrom1"
you seem to be leaving out spaces.
dev/hdb/media/cdrom1 is actually /home/$USER/dev/hdb/media/cdrom1 ... which does not exist, as you discovered. That mount command should run like:
mount -t iso9660 /dev/hdb /media/cdrom1
... which is for a data CD - not a DVD. A DVD could be more like:
mount -t udf /dev/hdb /media/cdrom1
... unless it was burned from an iso.
Quote:
also mkdir hdb (sucessfully created)
... and not needed - /dev/hdb is a special file created for the optical device by linux. You normally need to create the mountpoint (/media/cdrom1) - but still not needed as there is a system called udev whose job is to do this.
Quote:
the fstab contains line
/dev/hdb/media/cdrom1, udf, iso9660 user, auto 0 0
Which it shouldn't do. Gaps and commas are in the wrong place.
/dev/hdb /media/cdrom1 udf,iso9660 user,auto 0 0
But anyway, it should say "noauto" instead of "auto" unless there is always a disk in the drive at boot. - perhaps more like:
Considering the "cdrom1", this is the second optical drive?
After all that - you do not mount audio or video disks to play them. What is expected to happen is that you insert the disk and the player starts. If this is a drive added since install, then it is unlikely that the players are looking at the right one.
Last edited by Simon Bridge; 02-18-2010 at 01:40 AM.
vlc has separate device settings for cd and dvd. Chances are it's default settings are set to something like /dev/cdrom and /dev/dvd, respectively, which means dvds would fail if you don't have a /dev/dvd symlink. You can alter them in the preferences by switching to the advanced settings mode, then going to the input/codecs tab.
BTW, disc playback in programs like this usually accesses the device directly, so their mounted status has no bearing on it.
Thanks for insights on mounting status
I am still confused. I went to preferences, and the only place i found "advanced" was under "show all". After enterening advanced I found no where to adjust input/codecs tab. In the input/codecs tab, i could not find where to adjust / add the /dev/dvd symlink
However, there are anomalies in what you have reported which may also contribute (or be typos):
you seem to be leaving out spaces.
dev/hdb/media/cdrom1 is actually /home/$USER/dev/hdb/media/cdrom1 ... which does not exist, as you discovered. That mount command should run like:
mount -t iso9660 /dev/hdb /media/cdrom1
... which is for a data CD - not a DVD. A DVD could be more like:
mount -t udf /dev/hdb /media/cdrom1
... unless it was burned from an iso.
... and not needed - /dev/hdb is a special file created for the optical device by linux. You normally need to create the mountpoint (/media/cdrom1) - but still not needed as there is a system called udev whose job is to do this.
Which it shouldn't do. Gaps and commas are in the wrong place.
/dev/hdb /media/cdrom1 udf,iso9660 user,auto 0 0
But anyway, it should say "noauto" instead of "auto" unless there is always a disk in the drive at boot. - perhaps more like:
Considering the "cdrom1", this is the second optical drive?
After all that - you do not mount audio or video disks to play them. What is expected to happen is that you insert the disk and the player starts. If this is a drive added since install, then it is unlikely that the players are looking at the right one.
Sorry for the typos as i only placed the data here to show what i did, where /what i found
mount -t udf /dev/hdb /media/cdrom1 - you mention that this should exist in my fstab yet it doesnt
i have 2 lines for cd players
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0
One is my cd/rw
I assumed the other is my dvd (hdb)
cdrom1 is 2nd optical drive
I think that alternate advie from David the H is closer to the problem but your comment on having the proper data in my fstab seems logical. I am unsure as i am so new to this but will try all to resolve
The VLC program works if I place a music disk in the cd drive but i cannot get the dvd to play so your advice is appreciated. How would I add the proper data to my file and what should it be
Thanks
Thanks for insights on mounting status
I am still confused. I went to preferences, and the only place i found "advanced" was under "show all". After enterening advanced I found no where to adjust input/codecs tab. In the input/codecs tab, i could not find where to adjust / add the /dev/dvd symlink
Well, you're looking in the right place. You do have to scroll down a bit though.
Sorry for the typos as i only placed the data here to show what i did, where /what i found
mount -t udf /dev/hdb /media/cdrom1 - you mention that this should exist in my fstab yet it doesnt
Um ... no I didn't.
Quote:
i have 2 lines for cd players
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0
Which is correct.
I take it you have optical drives as primary master and slave on IDE (pata), and you are using the secondary IDE or sata for your HDD?
It is important to report these things accurately since an inability to play DVDs could have been due to typos in fstab and other files.
Quote:
One is my cd/rw
I assumed the other is my dvd (hdb)
cdrom1 is 2nd optical drive
I think that alternate advice from David the H is closer to the problem but your comment on having the proper data in my fstab seems logical. I am unsure as i am so new to this but will try all to resolve
The VLC program works if I place a music disk in the cd drive but i cannot get the dvd to play
Yep - David had the right idea.
Note: many systems use generic-named symlinks as a quick way to let programs access the actual device file. So you'll find a /dev/modem is a link that points to whatever the modem device file may be. eg. /dev/ttySL0 or /dev/ttyS3 or something non-obvious. Similarly, there may have been a /dev/dvd which needs to point at your dvd drive, which we presume is /dev/hdb
ls /dev/dvd*
but your report of the configuration options in VLC seem to be telling us that VLC is pointed at /dev/hdb directly.
drive name: hdb hda
drive speed: 48 48
drive # of slots: 1 1
Can close tray: 1 1
Can open tray: 1 1
Can lock tray: 1 1
Can change speed: 1 1
Can select disk: 0 0
Can read multisession: 1 1
Can read MCN: 1 1
Reports media changed: 1 1
Can play audio: 1 1
Can write CD-R: 1 1
Can write CD-RW: 1 1
Can read DVD: 1 0
Can write DVD-R: 1 0
Can write DVD-RAM: 0 0
Can read MRW: 1 0
Can write MRW: 1 0
Can write RAM: 1 0
new news
opened a web page and downloaded vlc 1.0.5 (debian download)
default with system was earlier version I uninstalled didnt work either which is why i went for newer version--
checked advanced input / codec in VLC
dvd = dev/hdb
cd = dev/hda
totem -now plays the dvd but quality / volume is very low, hard to hear even at top volume, prefer VLC
soundjuicer plays the audio with sound nicely (loud)
this leads me to think that i missed something in the download for 1.0.5
i thought i caught all the recommends and performed them but maybe i am missing something
"download"???
Isn't this for Lenny? Surely VLC is in the repos?
the vlc in rpos was and 8.06 version that also didnt work, It came with the Lenny install. I went out and sourced the VLC 1.0.5 and downloaded / installed it after uninstalling the earlier version
totem -now plays the dvd but quality / volume is very low, hard to hear even at top volume, prefer VLC
Where are you adjusting the volume? Have you adjusted the sound mixer settings?
Problems with DVD volume are usually solved by adjusting the global sound mixer settings.
In gnome, rt-clicking the volume control applet allows you to change the preferences.
It also helps to know what sort of output you are using. You can usually figure out what has happened when adjusting your global sound preferences - sliders for some outputs may be very low for eg. DVD may be using surround sound but the extra channels are mute... stuff like that.
VLC is still usually preferred due to having pretty complete support for menus, where totem tends to play the first title.
Quote:
new news
opened a web page and downloaded vlc 1.0.5 (debian download)
default with system was earlier version I uninstalled didnt work either which is why i went for newer version--
This way, as you have noted, it is not clear if you have left out some important packages. If you had reinstalled from synaptic, at east that would have been assured.
All you can do is check the recommends lines against the deb packages (check the versions) you have, then try updating them to make sure they are all installed and in the right order. A possible gotcha is if a recommend specifies a lib version much lower than the one you have installed: the lib may have obsoleted part of its syntax in the meantime.
Quote:
none of this helps me get it working
But it does help provide us with a better picture of what you have installed - that helps me to help you. For instance: what else have you installed off a web site? Which web sites have you been using for this? There is a possibility that something is missing or that you have obtained a broken package.
Choosing to install a third-party package opens the range of possibilities to consider in troubleshooting. Thus, when considering how to advise you, your reasons for choosing to do this is quite important.
You installed the latest because the default did not work for you, but you have not said how you had reason to believe the latest would do any better. It follows that removing the new package and reinstalling from synaptic would help restore confidence.
I notice you have yet to describe the symptoms of the failure of VLC to play DVDs. David and I have just been working on common practise which tells us the most likely culprits are encryption and settings.
How are you trying to play the DVD in VLC?
What did you expect to happen?
What happened? (Start from when you insert a DVD.)
Did you got any messages or errors?
Can you access data DVDs?
Have you tried video dvds which are not encrypted?
Have you tried playing from the commandline?
I guess its harder than i thought. Having ovr 20yrs ms experiece didnt help. I even tried re-installing deb linux fresh since i had corrupted rpos and went with vlc imbedded in lenny, same issue. checked global audio and access to dvd and they worked. got totem to work except totems volume isnt that good, soundjuic plays audio cd's. gave up and went bak and installed xp home and vlc and got it wrking in about 1 hr
I will try a ubuntu install as i have heard it is an easier o/s to deal with for 1st timers
thanks for all the help, all of you
checked global audio and access to dvd and they worked.
You don't say how you checked this and what you mean by "they worked". This statement is meaningless for troubleshooting.
Quote:
got totem to work
You don't say how
Quote:
except totems volume isnt that good,
again - you have to adjust the channels that are being used for output when you are playing DVDs. You have not answered any of the questions put in the last post. Nobody can help you if you don't do this. Remember: I cannot see your computer so I don't know what is happening unless you tell me. Troubleshooting by text takes longer than sitting in front of the computer.
Quote:
soundjuicer plays audio cd's. gave up and went back and installed xp home and vlc and got it wrking in about 1 hr
That is longer than I'd have expected, unless you include the XP install - what went wrong?
Quote:
I will try a ubuntu install as i have heard it is an easier o/s to deal with for 1st timers thanks for all the help, all of you
After 20 years in windows you should know how to write a fault report for ease of troubleshooting. Other than that, it is unlikely that your windows experience will help you - your intuitions and habits are irrelevant to a software freedom paradigm. To help you get the most of free support forums like LQ, I recommend that you follow the advice link in my sig. It will help you understand how free software geeks think and so understand the replies you've been getting.
The Ubuntu install will have different defaults to the Debian, so it may not need the fiddle to get the sound balance right. An interesting thing to try is to reverse the order of the optical drives on the ide - explicitly selecting the dvd as master. While you are in there - does the dvd have an audio cable like the CD has?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.