lkml.org 
[lkml]   [2009]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectThe kernel may clear part of my vendor-specific SCSI command.
From
Date
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


\
 
 \ /
  Last update: 2009-04-06 11:57    [W:3.070 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site