I don't provide any links to resources since i don't think that practically you going to implement this. My answer assume that you don't have access to device firmware, If you do have access to firmware it's really easy to accomplish by modifying device descriptor and making sure that not supported commands are handled correctly. In this case you will need additional filter driver that will catch this additional commands and will complete the commands without actually sending them to device. Ideally device will just return unsupported command and it's OK, but from my experience most devices are not generic enough and the behavior will be undefined. A basic understanding of USB protocol will be needed as well.Ģ) Conversely, if I wanted to do the same thing for myself, how would I make it appear as a CD drive?īasically same, filter driver that will change the device descriptor to be recognized by CDROM device, but in additional once Windows will recognize CDROM it will send additional SCSI commands to device. Writing filter driver is not very hard and you can find an examples of filter driver in Driver development Kit. Device does not implement write and nothing can be done.īy tweaking device descriptor i mean filter driver that will receive device descriptor and will pass a modified one to Windows.In this case you just need to tweak the device descriptor and you will get working storage device. Device support writing, but represent itself as CDROM and read only.1) How can I make it appear as a USB drive instead?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |