[<prev] [next>] [day] [month] [year] [list]
Message-ID: <OF437BF0D0.7661D63C-ON48257590.002E4899-48257590.00323751@sunplusct.com>
Date: Mon, 6 Apr 2009 17:07:46 +0800
From: Yu-Ming Chang 張育銘
<yuming.chang@...plusct.com>
To: linux-kernel@...r.kernel.org
Subject: The kernel may clear part of my vendor-specific SCSI command.
Dear Linux developers,
I'm using CentOS 5.2(kernel-2.6.18) to control a specific USB massive
storage
device. When I send a vendor-spcific SCSI command to the device like this:
unsigned char scsi_cmd[16];
sg_io_hdr_t io_hdr;
scsi_cmd[0] = 0xf1;
scsi_cmd[1] = 0xff;
io_hdr.cmdp = scsi_cmd;
the device receives a command with scsi_cmd[1] = 0x1f. I think the first
of three
bits of second byte of io_hdr.cmdp are cleared by kernel.
Does anyone have some clues or hints?
I wish you can CC to my mailbox when you respond to my posting.
Regards,
Chang Yu-ming
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists