Autre chose pour ma part...
J'ai tenté l'installation d'un vieux jeu sur wine, donc utilisation d'un CD.
Lors de l'installation, je perd le CD.
Donc contrairement à Fil Rouge, pour moi, je perd l'utilisation du lecteur qu'a partir d'un laps de temps, qu'importe qu'il y ait un média de monté dessus ou pas et qu'il soit en utilisation ou pas.
Par ailleurs, entre les deux situations, j'ai le droit à deux icônes différentes pour le lecteur CD, c'est comme si il changeait d'état... Plus précisément, il passe de l'icône du lecteur CD à celle d'une clé usb... (et encore, il le fait parfois, pas tout le temps...)
Finalement, une fois le bogue arrivé, lorsque je tente un eject dans la console, ça me répond:
eject: tried to use `/media/cdrom' as device name but it is no block device
eject: unable to find or open device for: `cdrom'
Par rapport à DevKit, j'ai fais deux ou trois recherches...
Tout d'abord, je ne le vois pas dans le "System Monitor", ce dernier ne liste pas tous les daemon qui tournent ?
Ensuite, j'ai cherché dans le man, j'ai pu en sortir la commande "# devkit-disks --dump" qui permet de "
Dump all information about all devices. Please include this when filing bugs."
J'ai par ailleurs trouvé ces deux commandes:
# devkit-disks --monitor
# devkit-disks --monitor-detail
Qui permettent de suivre ce qui se passe...
Bon, le problème, c'est que là, je suis perdue...totalement...je préviens, se sont de très gros morceaux....
Tout d'abord, je passe outre les résultats de "# devkit-disks --dump", puisqu'ils sont intégrés dans "# devkit-disks --monitor-detail", ils commencent par un "Showing information for /org/freedesktop/DeviceKit/Disks/devices/sr0" et a pour dernière ligne " ATA SMART: not available"
Tout d'abord, voici le résultat d'un --monitor-detail que j'ai lancé juste après le démarrage, le bug se produit sur le coup:
changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
Showing information for /org/freedesktop/DeviceKit/Disks/devices/sr0
native-path: /sys/devices/pci0000:00/0000:00:0f.1/host6/target6:0:0/6:0:0:0/block/sr0
device: 11:0
device-file: /dev/sr0
by-path: /dev/disk/by-path/pci-0000:00:0f.1-scsi-0:0:0:0
detected at: Thu 06 Aug 2009 09:21:32 PM CEST
system internal: 0
removable: 1
has media: 0
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation name:
presentation icon:
size: 0
block size: 0
job underway: no
usage:
type:
version:
uuid:
label:
optical disc:
blank: 0
appendable: 0
closed: 1
num tracks: 1
num audio tracks: 0
num sessions: 1
drive:
vendor: TSSTcorp
model: CD/DVDW SH-S182D
revision: SB05
serial:
ejectable: 0
require eject: 1
media:
compat: optical_cd optical_cd_r optical_cd_rw optical_dvd optical_dvd_plus_r optical_dvd_plus_r_dl optical_dvd_plus_rw optical_dvd_r optical_dvd_ram optical_dvd_rw optical_mrw optical_mrw_w
interface: scsi
if speed: (unknown)
ATA SMART: not available
changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
Showing information for /org/freedesktop/DeviceKit/Disks/devices/sr0
native-path: /sys/devices/pci0000:00/0000:00:0f.1/host6/target6:0:0/6:0:0:0/block/sr0
device: 11:0
device-file: /dev/sr0
by-path: /dev/disk/by-path/pci-0000:00:0f.1-scsi-0:0:0:0
detected at: Thu 06 Aug 2009 09:21:32 PM CEST
system internal: 0
removable: 1
has media: 0
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation name:
presentation icon:
size: 0
block size: 0
job underway: no
usage:
type:
version:
uuid:
label:
drive:
vendor: TSSTcorp
model: CD/DVDW SH-S182D
revision: SB05
serial:
ejectable: 0
require eject: 0
media:
compat:
interface: scsi
if speed: (unknown)
ATA SMART: not available
Là, on voit bien le changement d'état, les "changed", notamment, le lecteur perd son "compat", il ne "requiert plus d'éjection" (?) et son chemin à changé...
Je redémarre, je refais les tests, pour la version lisible, je donne d'abord le --monitor tout simple:
changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
job-changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
job-changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
Là, je fais mumuse avec le lecteur CD, les "job-changed" indiquent, si j'ai bien compris, le montage/démontage du média dans le lecteur, puis arrive les deux fameux "changed" qui se suivent et qui semblent indiquer le bogue...
Si on regarde dans les détails, ça donne ceci:
changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
Showing information for /org/freedesktop/DeviceKit/Disks/devices/sr0
native-path: /sys/devices/pci0000:00/0000:00:0f.1/host6/target6:0:0/6:0:0:0/block/sr0
device: 11:0
device-file: /dev/sr0
by-path: /dev/disk/by-path/pci-0000:00:0f.1-scsi-0:0:0:0
detected at: Thu 06 Aug 2009 09:26:04 PM CEST
system internal: 0
removable: 1
has media: 1 (detected at Thu 06 Aug 2009 09:27:28 PM CEST)
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation name:
presentation icon:
size: 721600512
block size: 2048
job underway: no
usage: filesystem
type: iso9660
version:
uuid:
label: Fedora-11-i686-Live
optical disc:
blank: 0
appendable: 0
closed: 1
num tracks: 1
num audio tracks: 0
num sessions: 1
drive:
vendor: TSSTcorp
model: CD/DVDW SH-S182D
revision: SB05
serial:
ejectable: 0
require eject: 1
media: optical_cd_rw
compat: optical_cd optical_cd_r optical_cd_rw optical_dvd optical_dvd_plus_r optical_dvd_plus_r_dl optical_dvd_plus_rw optical_dvd_r optical_dvd_ram optical_dvd_rw optical_mrw optical_mrw_w
interface: scsi
if speed: (unknown)
ATA SMART: not available
job-changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
job underway: FilesystemMount, initiated by uid 500
changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
Showing information for /org/freedesktop/DeviceKit/Disks/devices/sr0
native-path: /sys/devices/pci0000:00/0000:00:0f.1/host6/target6:0:0/6:0:0:0/block/sr0
device: 11:0
device-file: /dev/sr0
by-path: /dev/disk/by-path/pci-0000:00:0f.1-scsi-0:0:0:0
detected at: Thu 06 Aug 2009 09:26:04 PM CEST
system internal: 0
removable: 1
has media: 1 (detected at Thu 06 Aug 2009 09:27:28 PM CEST)
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 1
mount paths: /media/Fedora-11-i686-Live
mounted by uid: 500
presentation hide: 0
presentation name:
presentation icon:
size: 721600512
block size: 2048
job underway: no
usage: filesystem
type: iso9660
version:
uuid:
label: Fedora-11-i686-Live
optical disc:
blank: 0
appendable: 0
closed: 1
num tracks: 1
num audio tracks: 0
num sessions: 1
drive:
vendor: TSSTcorp
model: CD/DVDW SH-S182D
revision: SB05
serial:
ejectable: 0
require eject: 1
media: optical_cd_rw
compat: optical_cd optical_cd_r optical_cd_rw optical_dvd optical_dvd_plus_r optical_dvd_plus_r_dl optical_dvd_plus_rw optical_dvd_r optical_dvd_ram optical_dvd_rw optical_mrw optical_mrw_w
interface: scsi
if speed: (unknown)
ATA SMART: not available
job-changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
job underway: no
changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
Showing information for /org/freedesktop/DeviceKit/Disks/devices/sr0
native-path: /sys/devices/pci0000:00/0000:00:0f.1/host6/target6:0:0/6:0:0:0/block/sr0
device: 11:0
device-file: /dev/sr0
by-path: /dev/disk/by-path/pci-0000:00:0f.1-scsi-0:0:0:0
detected at: Thu 06 Aug 2009 09:26:04 PM CEST
system internal: 0
removable: 1
has media: 1 (detected at Thu 06 Aug 2009 09:27:28 PM CEST)
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation name:
presentation icon:
size: 721600512
block size: 2048
job underway: no
usage: filesystem
type: iso9660
version:
uuid:
label: Fedora-11-i686-Live
optical disc:
blank: 0
appendable: 0
closed: 1
num tracks: 1
num audio tracks: 0
num sessions: 1
drive:
vendor: TSSTcorp
model: CD/DVDW SH-S182D
revision: SB05
serial:
ejectable: 0
require eject: 1
media: optical_cd_rw
compat: optical_cd optical_cd_r optical_cd_rw optical_dvd optical_dvd_plus_r optical_dvd_plus_r_dl optical_dvd_plus_rw optical_dvd_r optical_dvd_ram optical_dvd_rw optical_mrw optical_mrw_w
interface: scsi
if speed: (unknown)
ATA SMART: not available
changed: /org/freedesktop/DeviceKit/Disks/devices/sr0
Showing information for /org/freedesktop/DeviceKit/Disks/devices/sr0
native-path: /sys/devices/pci0000:00/0000:00:0f.1/host6/target6:0:0/6:0:0:0/block/sr0
device: 11:0
device-file: /dev/sr0
by-path: /dev/disk/by-path/pci-0000:00:0f.1-scsi-0:0:0:0
detected at: Thu 06 Aug 2009 09:26:04 PM CEST
system internal: 0
removable: 1
has media: 0
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation name:
presentation icon:
size: 0
block size: 0
job underway: no
usage:
type:
version:
uuid:
label:
drive:
vendor: TSSTcorp
model: CD/DVDW SH-S182D
revision: SB05
serial:
ejectable: 0
require eject: 1
media:
compat: optical_cd optical_cd_r optical_cd_rw optical_dvd optical_dvd_plus_r optical_dvd_plus_r_dl optical_dvd_plus_rw optical_dvd_r optical_dvd_ram optical_dvd_rw optical_mrw optical_mrw_w
interface: scsi
if speed: (unknown)
ATA SMART: not available
Et c'est là que je suis bloquée.
Le bug se produit bien, mais contrairement au premier test, où on voyait la différence, là, il n'y en a aucune, pourtant le bogue se produit bien...
Il est à noté que pendant le premier test, je vois le changement d'icône, indiquant bien le changement d'état.
Tandis que pour le second test, je ne vois pas le changement d'icône, mais le lecteur CD ne fonctionne plus tout de même.
C'est à croire qu'il y a deux problèmes en un.... 🙁