- Re: Problems supporting multiple LUNs on mass storage device
- Posted by OlegM on April 1st, 2004
Hi Peter !
Thank you for trying to help . As to your questions :
I am writing a driver for a device ( like disk-on-key ) which connects
to the PC with USB and declares itself as a "Mass Storage Class
Device" . This class is served by UsbStor.sys driver on Windows . 0xFE
is the ID of a request sent by the host ( Windows ) and defined by the
"Mass Storage Class Specification".The unswer to this request ,
according to the spec , should be number of LUN ( logical units )
supported minus 1 . 0xFE is the only USB specific request send by the
UsbStor.sys in this case . The rest of the commands are SCSI-2
commands wrapped with USB headers .... Now , when I answer to 0xFE
with a number greater than 1 , UsbStor.sys should issue some commands
for each of my logical devices ( the device ID appears in USB-added
header to the SCSI-2 command ). In my case , I keep getting requests
to LUN0 only even if I report that I have more devices ...
- Posted by Peter Wieland [MSFT] on April 1st, 2004
ah - class driver when talking about storage often refers to disk.sys or
cdrom.sys or something like that. I see now.
On older systems USBSTOR didn't support mulitple LUN devices
(http://support.microsoft.com/default...;en-us;265002). The
driver chat at http://msdn.microsoft.com/chats/wind...ows_040302.asp
implies that it should work in Win2k SP3 and older though. What OS are you
working with?
-p
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"OlegM" <dworkin_om@hotmail.com> wrote in message
news:f094123a.0404010515.9847bb9@posting.google.co m...
- Posted by OlegM on April 15th, 2004
Hi Peter ,
thanks for the help and sorry for the late reply
I managed to solve the problem till now . The problem was in my SN . I
did not know that one needs to send more then 12 characters for
multiple LUNs to work ...
Oleg
- Problems with System Restore and mass storage device (Help and Support) by Jack
- Problems with System Restore and mass storage device (Hardware) by Jack
- Problems with System Restore and mass storage device (Computers & Technology) by Jack
- USB Mass Storage Device - This device cannot start. (Code 10) (Hardware) by Joe Saulnier
- WIndows XP Pro 64 + USB Mass storage device problems. (Hardware) by Ri0t

