From: Andreas Jellinghaus <aj@dungeon.inka.de>
To: linux-kernel@vger.kernel.org
Subject: ide cdrom sg like access / rpcmgr ?
Date: Mon, 10 Nov 2003 21:04:41 +0100 [thread overview]
Message-ID: <1068494681.808.11.camel@simulacron> (raw)
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
next reply other threads:[~2003-11-10 20:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-10 20:04 Andreas Jellinghaus [this message]
2003-11-12 11:36 ` ide cdrom sg like access / rpcmgr ? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1068494681.808.11.camel@simulacron \
--to=aj@dungeon.inka.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox