Windows program cannot see CD device

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
jaezcurra
Newbie
Newbie
Posts: 4
Joined: Wed Jul 23, 2008 7:51 am

Windows program cannot see CD device

Post by jaezcurra »

The Windows program needs a CD to be into the CD-ROM device. When I run the program (the installation was 100% OK) I always get a message about there is no CD.
Whenever I launch winecfg I get this message if I click on the Devices tab: "fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)". In that tab I can see that the CD is recognised by Wine (Label and Serial # are listed).
Any suggestion?
P.S.: I am running Wine 1.0.0
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Sounds like a copy protection issue. What app is it? Have you checked the AppDB?
jaezcurra
Newbie
Newbie
Posts: 4
Joined: Wed Jul 23, 2008 7:51 am

Post by jaezcurra »

It's an Spanish app: the "Official Spanish Dictionary" (former version). Once installed in your PC (as I said before, the installation under Wine is 100% OK), the software needs the CD to be placed in the CD-ROM device.
Everything seems to be OK, as in the Wine Devices tab you can see that D: is /media/cdrom0.
The problem seems to be a rights one, as cdrom0 belongs to root and I cannot change that.
Francesco
Level 2
Level 2
Posts: 23
Joined: Fri Jul 18, 2008 3:51 pm

Post by Francesco »

I don't think the problem is a rights one. If it was the case, you were not able to install your apllication !

Like Dimesio : "Sounds like a copy protection issue."
jaezcurra
Newbie
Newbie
Posts: 4
Joined: Wed Jul 23, 2008 7:51 am

Post by jaezcurra »

But when you run it in a Windows box you do not encounter such a problem and you can even have virtual CD devices and everything goes seamlessly.
Francesco
Level 2
Level 2
Posts: 23
Joined: Fri Jul 18, 2008 3:51 pm

Post by Francesco »

Wine tells you : "Unsupported ioctl 24000". On a box, you install windows. So, the ioctl is supported. Don't forget wine is a implementation of Window API and is not complete.

Open a bug about this ioctl method...
jaezcurra
Newbie
Newbie
Posts: 4
Joined: Wed Jul 23, 2008 7:51 am

Post by jaezcurra »

Francesco wrote:Wine tells you : "Unsupported ioctl 24000". On a box, you install windows. So, the ioctl is supported. Don't forget wine is a implementation of Window API and is not complete.

Open a bug about this ioctl method...
How do I open this bug?
Francesco
Level 2
Level 2
Posts: 23
Joined: Fri Jul 18, 2008 3:51 pm

Post by Francesco »

User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Before you file a bug, find out what kind of copy protection your app uses and make sure it's not already a known problem.
http://wiki.winehq.org/FAQ#head-93f1796 ... 9a15e992f6
http://wiki.winehq.org/CopyProtection
http://wiki.winehq.org/Bugs
John Drescher

Windows program cannot see CD device

Post by John Drescher »

On Thu, Jul 24, 2008 at 5:44 AM, Francesco <[email protected]> wrote:
I don't think the problem is a rights one. If it was the case, you were not able to install your apllication !
I disagree. Some applications with copy protection install without
checking the media (to pass the copy protection tests) but then do
this periodically when you run the application. I believe wc3 did
exactly that.
Francesco
Level 2
Level 2
Posts: 23
Joined: Fri Jul 18, 2008 3:51 pm

Post by Francesco »

I disagree. Some applications with copy protection install without
checking the media (to pass the copy protection tests) but then do
this periodically when you run the application. I believe wc3 did
exactly that.
That's true. But when I said "I don't think the problem is a rights one", I was talking about permission. It was an answer to "The problem seems to be a rights one, as cdrom0 belongs to root and I cannot change that."

If jaezcurra had not at least read access on his cdrom drive, then he could not install his software...
John Drescher

Windows program cannot see CD device

Post by John Drescher »

That's true. But when I said "I don't think the problem is a rights one", I was talking about permission. It was an answer to "The problem seems to be a rights one, as cdrom0 belongs to root and I cannot change that."
Sorry. I am reading this via the email client and got confused from
the lack of quoting on what was replied to. Not your fault but
sometimes hard to follow unless read very carefully...
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

jaezcurra wrote:It's an Spanish app: the "Official Spanish Dictionary" (former version). Once installed in your PC (as I said before, the installation under Wine is 100% OK), the software needs the CD to be placed in the CD-ROM device.
Everything seems to be OK, as in the Wine Devices tab you can see that D: is /media/cdrom0.
The problem seems to be a rights one, as cdrom0 belongs to root and I cannot change that.
You have to make sure that:
1. You have at least read access to the cdrom device (see where /dev/cdrom* points to)
2. The type of the d: drive have to be set to auto-detect or cdrom.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Francesco wrote:Wine tells you : "Unsupported ioctl 24000". On a box, you install windows. So, the ioctl is supported. Don't forget wine is a implementation of Window API and is not complete.

Open a bug about this ioctl method...
No need to because IOCTL_CDROM_READ_TOC is supported. But only for cdroms of course.

Don't suggest something you do not know.
Francesco
Level 2
Level 2
Posts: 23
Joined: Fri Jul 18, 2008 3:51 pm

Post by Francesco »

No need to because IOCTL_CDROM_READ_TOC is supported. But only for cdroms of course.

Don't suggest something you do not know.
Sorry, I made a basic mistake, I looked for the method number 24000 in ntddcdrm.h !

Thank you to have correct me.
Locked