Is it possible to add a feature to open a dvd-lw | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | ... with the drive-button?
I've 3 drives in my paldo-machine. One DVD-LW, one CD-RW and one DVD-RW.
When I have a disc mounted in the CD-RW/DVD-RW it will be unmounted by pressing the eject-button on the drive.
The DVD-LW can only unmount a disc by using the normal unmount-way.
Is there a way to unmount it also with the button on the drive?
btw. in KDE it works ... |
|
|
|
|
|
Re: Is it possible to add a feature to open a dvd- | |
|
|
Administrator Posts: 426 Registered: 2004-09-09 | What do you mean with DVD-LW, a DVD-ROM drive? If the hardware eject button doesn't work, it's usually a hardware limitation, especially if it works with other drives in the same system. Are you sure that it worked with the same drive in KDE? |
|
|
|
|
|
Re: Is it possible to add a feature to open a dvd- | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | Yes, cos I tried it with KDE 3.5.5 in different distributions. Only RW-drives you can eject in gnome using the hardware-button, but not readonly-drives.
So my thought was to fake the readonly-drive to a RW-drive to check if it works also under gnome this way.
If you want to try it yourself download a live-cd with kde on it and put a dvd/cd in your readonly-drive. You can eject it by pressing the hardware-button. Shure, you must have two drives in your machine to test it this way. |
|
|
|
|
|
Re: Is it possible to add a feature to open a dvd- | |
|
|
Administrator Posts: 426 Registered: 2004-09-09 | I don't have a read-only drive at hand right now but it'd be a pretty strange bug if it just doesn't work with read-only drives. The read-only drive is possibly older, so it might not be MMC compliant (or not to the same level) as your RW-drives.
Follow these steps to find out where the problem lies:
- Insert a disc into your read-only drive
- Start "lshal --monitor" in a terminal
- Press the hardware eject button
You should see something like
Zitat | | storage_model_DVD_RW_ND_3540A condition EjectPressed |
in the terminal. If you do see the message, it's a gnome-volume-manager or gnome-mount bug; if you don't see the message, it's a HAL, Linux, or hardware issue. |
|
|
|
|
|
Re: Is it possible to add a feature to open a dvd- | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | I insert and removed some cd/dvds. Only the readonly-drive dosn't react by pressing the hw-eject-button.
Code | [In neuem Fenster öffnen] | | Start monitoring devicelist:
-------------------------------------------------
storage_model_DVDRAM_GSA_4163B property storage.removable.media_available = false
storage_model_DVDRAM_GSA_4163B property storage.partitioning_scheme = '' (new)
storage_model_DVDRAM_GSA_4163B property storage.removable.media_available = true
volume_label_Gentoo_Linux_2006_1_x86_LiveCD property volume.mount_point = ''
volume_label_Gentoo_Linux_2006_1_x86_LiveCD property volume.is_mounted_read_only = false
volume_label_Gentoo_Linux_2006_1_x86_LiveCD property volume.is_mounted = false
storage_model_DVD_ROM_SD_M1712 property storage.removable.media_available = false
storage_model_DVD_ROM_SD_M1712 property storage.partitioning_scheme = '' (new)
volume_label_Gentoo_Linux_2006_1_x86_LiveCD removed
storage_model_DVD_ROM_SD_M1712 property storage.removable.media_available = true
storage_model_DVD_ROM_SD_M1712 property storage.removable.media_size = 4577984512 (0x110de8000)
volume_label_VIDEODVD added
volume_label_VIDEODVD property volume.mount_point = '/media/VIDEODVD'
volume_label_VIDEODVD property volume.is_mounted_read_only = true
volume_label_VIDEODVD property volume.is_mounted = true
storage_model_CD_RW_GCE_8520B property storage.removable.media_available = true
storage_model_CD_RW_GCE_8520B property storage.removable.media_size = 715732992 (0x2aa93800) (new)
volume_label_Gentoo_Linux_2006_1_x86_LiveCD added
volume_label_Gentoo_Linux_2006_1_x86_LiveCD property volume.mount_point = '/media/Gentoo Linux 2006.1 x86 LiveCD'
volume_label_Gentoo_Linux_2006_1_x86_LiveCD property volume.is_mounted_read_only = true
volume_label_Gentoo_Linux_2006_1_x86_LiveCD property volume.is_mounted = true
storage_model_CD_RW_GCE_8520B condition EjectPressed =
storage_model_CD_RW_GCE_8520B property storage.removable.media_available = false
storage_model_CD_RW_GCE_8520B property storage.partitioning_scheme = '' (new)
volume_label_Gentoo_Linux_2006_1_x86_LiveCD property volume.mount_point = ''
volume_label_Gentoo_Linux_2006_1_x86_LiveCD property volume.is_mounted_read_only = false
volume_label_Gentoo_Linux_2006_1_x86_LiveCD property volume.is_mounted = false
volume_label_Gentoo_Linux_2006_1_x86_LiveCD removed
storage_model_DVDRAM_GSA_4163B property storage.removable.media_available = false
volume_label_VIDEODVD property volume.mount_point = ''
volume_label_VIDEODVD property volume.is_mounted_read_only = false
volume_label_VIDEODVD property volume.is_mounted = false |
But when I use the normal way of ejecting I got this:
Code | [In neuem Fenster öffnen] | |
storage_model_DVD_ROM_SD_M1712 property storage.removable.media_available = false
volume_label_VIDEODVD removed
|
|
|
|
|
|
|
Re: Is it possible to add a feature to open a dvd- | |
|
|
Administrator Posts: 426 Registered: 2004-09-09 | Ok, when you say the same drive works on other distributions, it's probably a Linux or HAL issue. Could you try in stable or testing if you've previously tested in unstable to check whether it's a libata issue? The kernel in unstable uses libata for PATA and SATA controllers, the kernel in stable and testing uses the older ide layer for PATA controllers. |
|
|
|
|
|
Re: Is it possible to add a feature to open a dvd- | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | |
|
|
|
|
|
Re: Is it possible to add a feature to open a dvd- | |
|
|
Administrator Posts: 426 Registered: 2004-09-09 | It surely wouldn't work in KDE on paldo, as your test showed that the problem lies on a lower level, i.e. HAL doesn't get notified. There is nothing GNOME can do about that.
BTW: The tests you've done in other distros with KDE were done with the exact same drive, not just with another read-only drive, right? |
|
|
|
|
|
Re: Is it possible to add a feature to open a dvd- | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | Yes I did it with the exact same drive. Seems KDE handle it different than gnome. I'll do again a test with Kubuntu 6.06.1 LiveCD and some other distros. Maybe I can monitor something. |
|
|
|
|
|
Re: Is it possible to add a feature to open a dvd-lw | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | Code | [In neuem Fenster öffnen] | | ubuntu@ubuntu:~$ lshal --monitor
Start monitoring devicelist:
-------------------------------------------------
volume_label_Gentoo_Linux_2006_1_x86_LiveCD added
volume_label_Gentoo_Linux_2006_1_x86_LiveCD removed |
I did this by pressing the eject-button on the readonly-drive running the liveCD of Kubuntu 6.06.1.
And this is the kernel version:
Code | [In neuem Fenster öffnen] | | ubuntu@ubuntu:~$ uname -a
Linux ubuntu 2.6.15-26-386 #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 i686 GNU/Linux
|
|
|
|
|
|
|