![]() |
#91 |
Gizmologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
|
And any more word on an Install-the-font-I-select executable file?
![]() |
![]() |
![]() |
![]() |
#92 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#93 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,367
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
oh in that case do you know the value of the flag for read only, because all the files I've got logs for have the permissions DWORD set to zero. Alternatively, if you could give me the path to a read-only file, I can generate new logs. I suppose I could just look for any non-zero value but it would be nice to be precise.
Thanks Last edited by kovidgoyal; 11-02-2006 at 05:46 PM. |
![]() |
![]() |
![]() |
#94 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,367
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
free space
igor do you know the command number for checking free space on the device?
|
![]() |
![]() |
![]() |
#95 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2006
Device: SonyReader
|
I believe it is 0x103.
|
![]() |
![]() |
Advert | |
|
![]() |
#96 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,367
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm i seem to be getting correct free space on /Data with 0x53, but I'll try 0x103 and see.
EDIT: Looks like 0x103 gives the free space on the reader memory whereas 0x53 gives the free space and total space for a device identified by a path. /Data is the reader mem, but b:/ doesn't seem to work for the SD card. Time to generate new logs I suppose EDIT2: 0x53 works for the cards as well, just needed to increase the timeout Last edited by kovidgoyal; 11-07-2006 at 02:33 AM. |
![]() |
![]() |
![]() |
#97 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Here's the full list of commands. I'm a bit busy with something else at the moment, so no parameters description, sorry...
Code:
0 GetUsbProtocolVersion 1 ReqUsbConnect 10 FskFileOpen 11 FskFileClose 12 FskGetSize 13 FskSetSize 14 FskFileSetPosition 15 FskGetPosition 16 FskFileRead 17 FskFileWrite 18 FskFileGetFileInfo 19 FskFileSetFileInfo 1A FskFileCreate 1B FskFileDelete 1C FskFileRename 30 FskFileCreateDirectory 31 FskFileDeleteDirectory 32 FskFileRenameDirectory 33 FskDirectoryIteratorNew 34 FskDirectoryIteratorDispose 35 FskDirectoryIteratorGetNext 52 FskVolumeGetInfo 53 FskVolumeGetInfoFromPath 80 FskFileTerminate 100 ConnectDevice 101 GetProperty 102 GetMediaInfo 103 GetFreeSpace 104 SetTime 105 DeviceBeginEnd 106 UnlockDevice 107 SetBulkSize 110 GetHttpRequest 111 SetHttpRespponse 112 Needregistration 114 GetMarlinState 200 ReqDiwStart 201 SetDiwPersonalkey 202 GetDiwPersonalkey 203 SetDiwDhkey 204 GetDiwDhkey 205 SetDiwChallengeserver 206 GetDiwChallengeserver 207 GetDiwChallengeclient 208 SetDiwChallengeclient 209 GetDiwVersion 20A SetDiwWriteid 20B GetDiwWriteid 20C SetDiwSerial 20D GetDiwModel 20C SetDiwSerial 20E GetDiwDeviceid 20F GetDiwSerial 210 ReqDiwCheckservicedata 211 ReqDiwCheckiddata 212 ReqDiwCheckserialdata 213 ReqDiwFactoryinitialize 214 GetDiwMacaddress 215 ReqDiwTest 216 ReqDiwDeletekey 300 UpdateChangemode 301 UpdateDeletePartition 302 UpdateCreatePartition 303 UpdateCreatePartitionWithImage 304 UpdateGetPartitionSize |
![]() |
![]() |
![]() |
#98 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,367
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Thanks that makes my life a little easier
|
![]() |
![]() |
![]() |
#99 |
Gizmologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
|
Hey, all you happy hackers! It's been quiet on this for a while, so I wanted to check if there might be any progress on an Install-the-font-I-select executable file?
For those of us who are a bit less adventurous, you know. ![]() |
![]() |
![]() |
![]() |
#100 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jun 2005
|
where fonts dir on device?
I can't seem to find a fonts directory under Data, using Igor's tool, on the device. I was wondering where else to look?
|
![]() |
![]() |
![]() |
#101 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jun 2005
|
I found the exact directory, using Igor's tool.
/opt/sony/ebook/FONT |
![]() |
![]() |
![]() |
#102 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
|
Igor,
Any hope the pwrite will work again in the new firmware? Or are you among those smart ones who decided not to update? ![]() |
![]() |
![]() |
![]() |
#103 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
It stopped working? That's strange. I would expect them to keep the interface. Anyway, I'll try to have a look into it in the next few days.
|
![]() |
![]() |
![]() |
#104 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
|
Quote:
![]() Looks like you don't much follow our discussions on the-ebook-org. ![]() |
|
![]() |
![]() |
![]() |
#105 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
|
Igor,
Perhaps this is no news to you, but there may be something else in the work, other than the pwrite failing. As you know well, the filesystems engaged in the recovery mode were not touched by the update. Therefore pwrite should continue working as it used to, right? I am in no way an expert in CRAMFS, but I noticed that the format of the images presented by the update are somewhat different from what we had seen earlier. The superblock's flags field is zeroed out, the FS length field doesn't seem to make sense, and there are some other fields, which seem incorrect. Perhaps mtdmount (the Sony tool responsible for mounting filesystems) has been changed to look for certain parameters, which makes it impossible to mount a mkcramfs-generated image? |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-500 Reader Internals 2.0 (pics!) | lint | Sony Reader Dev Corner | 60 | 11-18-2013 08:25 AM |
Kindle DX Internals | revilo | Amazon Kindle | 0 | 06-15-2009 04:50 AM |
Kindle 2 Internals | JSWolf | Amazon Kindle | 19 | 02-27-2009 02:45 PM |
PRS-500 Connect internals | igorsk | Sony Reader Dev Corner | 1 | 10-12-2006 04:50 AM |
iLiad Iliad internals | ali | iRex Developer's Corner | 39 | 07-21-2006 04:28 AM |