View Single Post
Old 02-10-2007, 01:24 PM   #18
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You are correct that does cause the do not disconnect to show up. Interestingly, sending the end session changes the text to 'USB Connected' but not the icon. A SONY bug?

Quote:
Originally Posted by scotty1024
Hmm looks like Igorsky may have gotten one wrong...

Code:
0x40  0x80  : 0x01 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x04 0x00 0x00 0x00
              0x01 0x00 0x00 0x00
0xc0  0x81  : 0x00 0x10 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x0c 0x00 0x00 0x00
              0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
So I'm thinking command number 1 is really SessionBeginEnd not ReqEndSession with the payload of DWORD 0 for end and 1 for start.

I'm going to try this and see if that turns on the "Don't disconnect me" icon.

Last edited by kovidgoyal; 02-10-2007 at 01:27 PM.
kovidgoyal is offline   Reply With Quote