CD ripping

Hi,

Could anyone tell how the CD ripping happens. When I insert a factory burnt
CD and when the player starts ripping there is no IRP_MJ_READ on the CD but
there is some device IOCTL being generated.

Any infromation is helpful.

Thanks,
Kedar.

Maybe you have answered your question

  • there are some IOCTLS generated :slight_smile:

You may try to test the rip process with the FileSpy
GUI tool (Get the beta from http://www.zezula.net/download/filespy.zip),
it is able to watch IOCTLS and if they
are known (read : documented in DDK headers),
it will show you their constants instead of numbers.
Maybe you will then know more.

L.

Most of the times you’ll see IRP_MJ_DEVICE_CONTROL +
IOCTL_SCSI_PASS_THROUGH[_DIRECT].

Regards,
Anton Kolomyeytsev

CEO, Rocket Division Software

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of kedar
Sent: Wednesday, March 02, 2005 7:16 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] CD ripping

Hi,

Could anyone tell how the CD ripping happens. When I insert a factory burnt
CD and when the player starts ripping there is no IRP_MJ_READ on the CD but
there is some device IOCTL being generated.

Any infromation is helpful.

Thanks,
Kedar.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@cooldev.com To unsubscribe
send a blank email to xxxxx@lists.osr.com

  • ASPI or some customized interface

Regards,
ZG [@ Sydney]
Windows Driver Developer
[Remove ‘stopspam’ & ‘nospam’ when you send email to me]

“Anton Kolomyeytsev” wrote in message
news:xxxxx@ntfsd…
> Most of the times you’ll see IRP_MJ_DEVICE_CONTROL +
> IOCTL_SCSI_PASS_THROUGH[_DIRECT].
>
> Regards,
> Anton Kolomyeytsev
>
> CEO, Rocket Division Software
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of kedar
> Sent: Wednesday, March 02, 2005 7:16 AM
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] CD ripping
>
> Hi,
>
> Could anyone tell how the CD ripping happens. When I insert a factory
> burnt
> CD and when the player starts ripping there is no IRP_MJ_READ on the CD
> but
> there is some device IOCTL being generated.
>
> Any infromation is helpful.
>
> Thanks,
> Kedar.
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@cooldev.com To unsubscribe
> send a blank email to xxxxx@lists.osr.com
>
>

Hello Kedar,

Typically the host will use read commands from MMC spec (various format),
encapsulated in SPTI or using (soon obsolete) WNASPI. It does not use the
file system to read.

If you intend to block CD ripping, avoid to block regular applications using
SPTI and/or WNASPI - thanks!

Best regards,

David Burg


David Burg
Software Development,
InCD and Low Level Drivers Project Leader

Nero AG phone: +49 (0)7248 911 862 (room line) Internal VoIP
-363
Im Stoeckmaedle 18 fax: +49 (0)7248 928 299
76307 Karlsbad email: xxxxx@nero.com
Germany http://www.nero.com


Subject: CD ripping
From: “kedar”
Date: Wed, 2 Mar 2005 10:45:49 +0530
X-Message-Number: 1

Hi,

Could anyone tell how the CD ripping happens. When I insert a factory burnt
CD and when the player starts ripping there is no IRP_MJ_READ on the CD but
there is some device IOCTL being generated.

Any infromation is helpful.

Thanks,
Kedar.

----------------------------------------------------------------------

Exactly. MJ_READ is mapped to SCSIOP_READ by CdRom.sys, which reads 2048
byte sectors.

Rippers read the 2352 byte sectors by using the SPTI interface and cooking
all necessary SCSI commands in user mode to do this.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “kedar”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, March 02, 2005 8:15 AM
Subject: [ntfsd] CD ripping

> Hi,
>
> Could anyone tell how the CD ripping happens. When I insert a factory burnt
> CD and when the player starts ripping there is no IRP_MJ_READ on the CD but
> there is some device IOCTL being generated.
>
> Any infromation is helpful.
>
> Thanks,
> Kedar.
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

You can also read 2352 byte sectors using the CD-ROM IOCTL. READ_RAW; no
need for SPTI

Jamey

----- Original Message -----
From: “Maxim S. Shatskih”
To: “Windows File Systems Devs Interest List”
Sent: Friday, March 04, 2005 12:42 PM
Subject: Re: [ntfsd] CD ripping

> Exactly. MJ_READ is mapped to SCSIOP_READ by CdRom.sys, which reads
> 2048
> byte sectors.
>
> Rippers read the 2352 byte sectors by using the SPTI interface and
> cooking
> all necessary SCSI commands in user mode to do this.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “kedar”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Wednesday, March 02, 2005 8:15 AM
> Subject: [ntfsd] CD ripping
>
>
>> Hi,
>>
>> Could anyone tell how the CD ripping happens. When I insert a factory
>> burnt
>> CD and when the player starts ripping there is no IRP_MJ_READ on the CD
>> but
>> there is some device IOCTL being generated.
>>
>> Any infromation is helpful.
>>
>> Thanks,
>> Kedar.
>>
>>
>>
>> —
>> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@tfb.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com