GNOME Bugzilla – Bug 78978
*_cdrom_is_cdrom_device shouldn't use CDROMSTOP as test.
Last modified: 2004-12-22 21:47:04 UTC
Package: gnome-media Severity: minor Version: 1.287.113 Synopsis: cd play reset to head on launching of gnome-cd Bugzilla-Product: gnome-media Bugzilla-Component: Gnome-CD Description: Steps to reproduce the problem: 1. play cd by clicking on play button of CD-ROM drive. 2. run gnome-cd Actual Results: the play restart from the begging of cd. Expected Results: just play on. Additional Information: I understand this may be hardware-based issue. I've seen accessing to /dev/cdrom is the step to make this problem. is there any workaround not to interrupt? ------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-04-17 14:13 ------- Reassigning to the default owner of the component, iain@ximian.com.
Maybe turn off the "On start play CD option"
I have both 'do nothing'. and I've found cdplay_applet does not reset.
things working->high.
Doh, the code in *_cdrom_is_cdrom_device issues a stop command to the drive at startup to check if it responds. This obviously stops the drive. DUH! Should probably do a status on it instead. Man, am I ever dumb.
linux-cdrom.c is fixed.
Added Bala and Theo to this bug as they're the guys who know about Solaris and FreeBSD. For the linux version I used CDROM_GET_CAPABILITY, but I doubt that that is available on either of the other OS, so if you guys could find some way of checking if a device is a CD device in a way that doesn't have any side effects, that'd be great :) Thanks.
Fixed on FreeBSD.
Thanks Theo.
Created attachment 7999 [details] [review] Patch for this bug in solaris
Thanks Bala, committed and closed :)