Hi,
I want to capture SCSI commands from URB (USB Request Blocks) of Mass Storage Devices from the Driver layer.

Is there a way to convert urb->transfer_buffer to CBW (Command Block Wrapper) format, so that SCSI command can be checked ?

Is there any sample code or link available for this conversion ?

With Thanks,
Barun Parichha