View Single Post
Old 10-05-2010, 05:06 PM   #59
customelectronic
Member
customelectronic began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Sep 2010
Device: PRS900
Quote:
Originally Posted by igorsk View Post
Yes, Calibre does not use the SCSI commands because it can do everything it needs with normal file operations. The SCSI commands are only used for "system" stuff, such as registering Reader for Adobe ID and firmware update functionality.


I am able to access the SC_SONY_EXTENDED command using Linux scsi generic interface, and verify that the code is functional on my Sony. But ... the usbotg driver gets the size of the SCSI extended transfer from the USB bulk in or out command; the size isn't part of the SCSI command itself.
I imagine the buffer size (input and output) passed to the Linux SCSI generic interface might properly set the direction of the data flow under Linux; ? ; but otherwise, this might require some kernel hacking ...

Looking at the DLL's in the flasher package:

DriveManager.dll USBDLL.dll MSCEncComm.dll prsctr.dll

Only prsctr links to dll's on the Sony, and it isn't linked to ebook_msc.exe; so it is pretty safe to assume that the dll's of the flasher package do all the work; Is the source code available for them in order to make a Linux flasher package?

I can use wine to run the exe, but it doesn't appear to recognize the USB port under Linux.

Last edited by customelectronic; 10-05-2010 at 05:40 PM.
customelectronic is offline   Reply With Quote