LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DVD/CDRoms (https://www.linuxquestions.org/questions/linux-newbie-8/dvd-cdroms-889395/)

Glaedr 07-01-2011 10:17 AM

DVD/CDRoms
 
Hi guys,

I've been using OpenSuse 11.4 for about five weeks now and I think I've managed to tweak and get used to most things that I have to regularly use now. But I'm having trouble accessing my CD/DVD drive properly.

I've but myself into the cdrom group. I don't have any problems playing video or music discs, ripping them, or exploring the files on those discs. But anything that isn't video or music based just isn't recognised. I don't get a notification and the device notifier says that there are no devices available. I've downloaded all the packages I could see that looked like they might have something to do with cdroms, but it hasn't helped.

I have a lot of files that I really need to get to and it's very frustrating. I'm new at Linux but I can usually work things like this out relatively quickly. I even got Photoshop to run without crashing this week. I have another couple of minor issues that I'm still working on but they have workarounds, and this is the one that's affecting my work the most.

selfprogrammed 07-01-2011 03:53 PM

I is very hard to give help when the problem is vague and non-specific to any program or command. There are many ways to disable a device, or mis-configure it.

Is this X, or command line, or both ?
Which programs are affected (please do not say all of them, I need to know which ones you
are trying) ?
What notification were you expecting, for what event ?


See if you have a cdrom mount in your /etc/fstab
I have a specific mount point for cdroms at the root level, usually multiple ones based upon usage or different formats, but the distributors using place one generic under /mnt
I have empty mount directories (for two cdrom):
/cdrom
/cdrw
/cd1
/cd2
I have entries for each in /etc/fstab, which mount each type correctly, so I do not have to remember. Give the mount option USER, so users can mount them.
Then to mount a cdrom I just have to mount the correct one.
> mount /cd2

Try starting a Konsole or terminal:

1) Mount a data CDROM manually.
> mount /cdrom
OR
> mount /dev/cdrom /mnt/cd
- if you do not have an /etc/fstab entry with USER priv, you might have to try as root.
This will determine if the problem is with system access, or just X auto-mounting.
2) Run xev. Then try your CDROM and see if X is even reporting the events that you expect.
3) Check all the config and enables in whatever X-win manager you are running. Each has enables for cdrom auto-mounting.

Extra programs for CDROM auto-mounting are not required.
As you did not say what programs, or X, you are running, I have no idea what would be an extra program, or what you might be missing.

Glaedr 07-04-2011 11:19 AM

Thanks for the reply. It's not affecting any programs directly not being able to use it, but I really need to be able to access files. I'm mainly using Dolphin, but also have Konqueror. I can't see anything in the preferences or settings of either that mention cds that aren't blank or audio/video discs and I've looked through the general settings, yast and so on to see if I could see anything relevant.

When a USB stick or audio/video disc is inserted, I get an automatic message in the corner of the screen saying that there is a device available, which I can then click on for options. This is what I was expecting to happen for general cd/dvdroms. I don't mind having to mount manually if I have to as long as I can actually use them. I tried a command line suggested on another page, but it didn't work and I can't remember now what it said to put in. It had something to do with /mnt though. I took a look in fstab just now and there doesn't seem to be a cdrom line in there. And the last line of xev says: VisibilityNotify event, serial 34, synthetic NO, window 0x6800001, state VisibilityFullyObscured

I looked up the fstab line to add and added it as root, and made sure the right directory was there to mount to. Then I tried to mount from a terminal and got:

mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Tried the suggested line and got:

[ 49.784127] fuse init (API version 7.15)
[ 72.382539] ISOFS: Unable to identify CD-ROM format.
[ 84.441226] bootsplash: status on console 0 changed to on
[ 113.310115] wlan0: authenticate with 00:26:91:1b:ef:bb (try 1)
[ 113.312037] wlan0: authenticated
[ 113.313091] wlan0: associate with 00:26:91:1b:ef:bb (try 1)
[ 113.315436] wlan0: RX AssocResp from 00:26:91:1b:ef:bb (capab=0x411 status=0 aid=3)
[ 113.315440] wlan0: associated
[ 113.317931] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 123.986027] wlan0: no IPv6 routers present

lugoteehalt 07-04-2011 11:51 AM

Here's my /etc/fstab don't know if any help. Just put in a data CD and it worked alright. Using Debian.
Code:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
proc            /proc          proc    defaults        0      0
# / was on /dev/sda5 during installation
UUID=d2b656b8-c5b3-4366-89a2-245656e130a3 /              ext3    errors=remount-ro 0      1
# /home was on /dev/sda7 during installation
UUID=94c37ab6-9893-42ea-8e73-5520de50c874 /home          ext3    defaults        0      2
# swap was on /dev/sda6 during installation
UUID=86b3d116-90c3-4271-a32c-e5d1ba10effc none            swap    sw              0      0
/dev/scd0      /media/cdrom0  udf,iso9660 user,noauto    0      0

You could try the command 'mount' to list what is mounted. If it's mounted it should be easy to get it on a file manager thing.

michaelk 07-04-2011 11:54 AM

Some more information is required. I assume you are trying to access data CDs/DVDs that you have created yourself.

How were these data disk created? What application if any and what version of windows was used to create the disks?

Have you tired a purchased data CD? Even if they are windows application disks you should still be able to view the contents.

Glaedr 07-04-2011 01:52 PM

Yes, I made the discs myself and they work fine in Windows. They were made in Vista with the default dvd burner that came with it. I just dug out a pc game of my dad's and tried that and that mounted. So it seems that Vista continues to haunt me even after I threw it out. Great. :(

jefro 07-04-2011 04:37 PM

I think it is still part of the way the disto allows access to the resources. Go back to where you added music and video. Look for more user privileges like removable storage maybe.

michaelk 07-05-2011 04:40 AM

Yes your problems are caused by Vista and by default it creates CDs using UDF (AKA live file system) version 2.5 (or maybe v2.6). The latest kernels should be capable of automatically reading these disks. Try manually mounting them using udf as the file system.


All times are GMT -5. The time now is 07:49 PM.