Re: Allow direct device access ( cdrom, floppy)
Hello Uwe, Uwe Bonnes wrote:
appended patch opens the devicefile connected to a drive as connected by the user in ~/.wine/config [Drive X] "Device" = "/dev/yyy". The appropriate action on that file ( read, write, set_file_pointer, ...) succeed according the the righte the user has on that device.
That way, I am able to open a unencrypted DVD with "DVD Shrink", inspect the structure and watch the movie, without mounting the DVD. ( For encryted DVD, I have on my disk the needed translation of the DeviceIOControls).
Thank you for your patch! I was also looking into it when a google search turned up your message on the newsgroup. Are you planning to make a patch for the DeviceIOControls? I've added them myself in order to allow DVD Shrink to use encrypted DVDs. As the implementation is just passing on the DeviceIOControl calls to linux ioctls I wonder why you haven't submitted a patch for this. If you have no plans for creating a patch, then I'm willing to do so. Let me know what you intend to do, Regards, Hans Verkuil
"Hans" == Hans Verkuil <hverkuil(a)xs4all.nl> writes:
Hans> Hello Uwe, Uwe Bonnes wrote: >> appended patch opens the devicefile connected to a drive as connected >> by the user in ~/.wine/config [Drive X] "Device" = "/dev/yyy". The >> appropriate action on that file ( read, write, set_file_pointer, ...) >> succeed according the the righte the user has on that device. >> >> That way, I am able to open a unencrypted DVD with "DVD Shrink", >> inspect the structure and watch the movie, without mounting the >> DVD. ( For encryted DVD, I have on my disk the needed translation of >> the DeviceIOControls). Hans> Thank you for your patch! I was also looking into it when a google Hans> search turned up your message on the newsgroup. Are you planning Hans> to make a patch for the DeviceIOControls? I've added them myself Hans> in order to allow DVD Shrink to use encrypted DVDs. As the Hans> implementation is just passing on the DeviceIOControl calls to Hans> linux ioctls I wonder why you haven't submitted a patch for Hans> this. If you have no plans for creating a patch, then I'm willing Hans> to do so. Hans> Let me know what you intend to do, I patched dll/ntdll/cdrom.c in a quick and dirty way. To get it included I wanted to take one step after another. First the basis for the direct file IO must be approved by Alexandre, I have appended my ntdll/cdrom.c. It probably need some cleanup for the IOCTLs for other systems then Linux. Feel free to use my approach, but I guess your approach may look very similar... Bye -- Uwe Bonnes bon(a)elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
On 20 Декабрь 2003 22:34, Hans Verkuil wrote:
planning to make a patch for the DeviceIOControls? I've added them myself in order to allow DVD Shrink to use encrypted DVDs. As the implementation is just passing on the Really we will can use any disks with copy protection system? -- Lav Vitaly Lipatov GNU! ALT Linux Team! LaTeX! LyX!
"Vitaly" == Vitaly Lipatov <LAV(a)VL3143.spb.edu> writes:
Vitaly> On 20 äÅËÁÂÒØ 2003 22:34, Hans Verkuil wrote: >> planning to make a patch for the DeviceIOControls? I've added them >> myself in order to allow DVD Shrink to use encrypted DVDs. As the >> implementation is just passing on the Vitaly> Really we will can use any disks with copy protection system? No. Only disk with the CSS copy protection, where there is a correspondance between the (in the mean time) well known IOCTL on Linux and on win32 is known. Bye -- Uwe Bonnes bon(a)elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
participants (3)
-
Hans Verkuil -
Uwe Bonnes -
Vitaly Lipatov