public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ide cdrom sg like access / rpcmgr ?
@ 2003-11-10 20:04 Andreas Jellinghaus
  2003-11-12 11:36 ` Jens Axboe
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Jellinghaus @ 2003-11-10 20:04 UTC (permalink / raw)
  To: linux-kernel

Hi,

Is there some documentation on how to access an ide cdrom in 2.6.0*
for converting an app that used ide-scsi and sg devices?
(I'd like to use rpcmgr11.c to unlock my dvd drive. maybe someone
 already ported it to kernel 2.6.*?)

the original source uses:
  fd = open(..., O_RDWR);
write, read and   ioctl(fd, SG_NEXT_CMD_LEN, &cmdlen);
(but the ioctl only on lg drives, mine is a hitachi,
so that shouldn't be necessary).

or will I need ide-scsi to do these things?

Thanks, Andreas


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-11-12 17:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-10 20:04 ide cdrom sg like access / rpcmgr ? Andreas Jellinghaus
2003-11-12 11:36 ` Jens Axboe
2003-11-12 12:39   ` Andreas Jellinghaus
2003-11-12 14:31     ` Jens Axboe
2003-11-12 16:33       ` Linus Torvalds
2003-11-12 17:32         ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox