After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 78978 - *_cdrom_is_cdrom_device shouldn't use CDROMSTOP as test.
*_cdrom_is_cdrom_device shouldn't use CDROMSTOP as test.
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: Gnome-CD
unspecified
Other other
: High normal
: ---
Assigned To: Iain
gnome media maintainers
Depends on:
Blocks:
 
 
Reported: 2002-04-17 18:12 UTC by kz
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
Patch for this bug in solaris (1.50 KB, patch)
2002-04-28 10:25 UTC, Balamurali Viswanathan
none Details | Review

Description kz 2002-04-17 18:13:19 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.

Comment 1 Iain 2002-04-17 22:44:49 UTC
Maybe turn off the "On start play CD option"
Comment 2 kz 2002-04-18 06:27:27 UTC
I have both 'do nothing'. and I've found cdplay_applet does not reset.
Comment 3 Luis Villa 2002-04-18 16:37:57 UTC
things working->high.
Comment 4 Iain 2002-04-20 00:46:16 UTC
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.
Comment 5 Iain 2002-04-20 23:27:55 UTC
linux-cdrom.c is fixed.
Comment 6 Iain 2002-04-25 00:54:33 UTC
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.
Comment 7 Theo van Klaveren 2002-04-25 11:36:29 UTC
Fixed on FreeBSD.
Comment 8 Iain 2002-04-25 11:46:31 UTC
Thanks Theo.
Comment 9 Balamurali Viswanathan 2002-04-28 10:25:51 UTC
Created attachment 7999 [details] [review]
Patch for this bug in solaris
Comment 10 Iain 2002-04-28 23:29:00 UTC
Thanks Bala, committed and closed :)