From: Tejun Heo <htejun@gmail.com>
To: Kantor Zsolt <kantorzsolt@yahoo.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: problems with packet command
Date: Mon, 10 Dec 2007 16:54:10 +0900 [thread overview]
Message-ID: <475CF0A2.1050208@gmail.com> (raw)
In-Reply-To: <743310.96837.qm@web35412.mail.mud.yahoo.com>
Kantor Zsolt wrote:
> Hi, I'm developing an application that uses cd-rom IOCTL's. All is
> fine but I have one problem I can not set up a packet command,
> because I don't know exactly how to fill out the 12 byte command
> field. I searched the internet, looked in the cdrom.c driver, some
> other programs source code, but I don't have a clear picture about
> that. I just know that the first element cmd[0] is the command.
>
> Would somebody please explain me how to fill out the 12 bytes ? or if
> not then at least could point out a good online resource. You are my
> last hope
That field contains SCSI CDBs which are described in SCSI standards.
You can download standard drafts from t10.org freely and drafts are as
good as the real ones. You'll need to look at SPC and MMC standards.
--
tejun
prev parent reply other threads:[~2007-12-10 7:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-03 10:16 problems with packet command Kantor Zsolt
2007-12-10 7:54 ` Tejun Heo [this message]
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=475CF0A2.1050208@gmail.com \
--to=htejun@gmail.com \
--cc=kantorzsolt@yahoo.com \
--cc=linux-ide@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;
as well as URLs for NNTP newsgroup(s).