Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-12-2007, 06:30 PM   #31
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Post Version 0.2 is here

OK, here it is, version 0.2 of the mountable Sony Reader Filesystem for Mac OS X 10.4.8.

This is a Universal Binary with support for Intel and Power PC.

This version supports writing to the Reader and a Storage card in the SD slot.

I'm working on MS support, for now, only SD cards work.

This version works with new/old firmware.

You will now see two directories in the "root":
Card
Reader

The Reader "folder" will take you to the Sony Portable Reader's internal data folder "/Data". The Card "folder" will take you to the SD card (hopefully) inserted into your Sony Portable Reader.
Attached Files
File Type: zip readerfs-0.2.zip (14.3 KB, 278 views)
scotty1024 is offline   Reply With Quote
Old 02-12-2007, 06:34 PM   #32
NatCh
Gizmologist
NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.
 
NatCh's Avatar
 
Posts: 11,605
Karma: 926222
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Nook STGR
Question

Does that mean you can offer some insights as to what changed in the firmware that made the original version stop working, scotty1024?
NatCh is offline   Reply With Quote
 
Enthusiast
Old 02-12-2007, 06:46 PM   #33
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
They locked out access to anything but /Data, /opt0, /opt1, a: and b:.

My wife was already chasing me to "simplify" the filesystem so she could find things she actually cared about. Perhaps someone's wife at Sony was making the same suggestion.

They also slightly modified the file format for the media.xml files. Which is a possible issue for prs500 but not for my code (as it doesn't touch those files, yet...)
scotty1024 is offline   Reply With Quote
Old 02-12-2007, 06:50 PM   #34
VladSukhoy
Member
VladSukhoy began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Feb 2007
Device: /Reader/
Tried it - excellent job, scotty.
Minor issue - slow in Finder even when accessing the same folder (I guess it is Finder itself messing with stuff too much, but still).
VladSukhoy is offline   Reply With Quote
Old 02-12-2007, 06:55 PM   #35
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Thanks.

I'll be turning on the FUSE cache in a few more releases. I want to get the base level fully implemented and solid before I start caching.

I've still got a few more things to suss out in the USB protocol: rename/truncate/filesystem stats.
scotty1024 is offline   Reply With Quote
Old 02-12-2007, 06:55 PM   #36
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: 25,449
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Did they? Care to elaborate? My basic test of copying a book over and deleting a book worked, but I really haven't had the time to look into it in more detail.

Quote:
Originally Posted by scotty1024
They also slightly modified the file format for the media.xml files. Which is a possible issue for prs500 but not for my code (as it doesn't touch those files, yet...)
kovidgoyal is online now   Reply With Quote
Old 02-12-2007, 07:08 PM   #37
VladSukhoy
Member
VladSukhoy began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Feb 2007
Device: /Reader/
couple more reports:
* cannot create directories (at least in /media/books)
* does not like concurrent access with two programs (at least with two Finders, I've never seen "ghost files" in finder before... ).
VladSukhoy is offline   Reply With Quote
Old 02-13-2007, 01:42 AM   #38
VladSukhoy
Member
VladSukhoy began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Feb 2007
Device: /Reader/
one more thing..
frozen out when I tried to copy 50 megs of scan pdfs onto the SIM.
No idea why, but in an hour it was still "copying" so I killed it off (used Terminal/cp and made sure no other app was interfering (to the best of my knowledge).
VladSukhoy is offline   Reply With Quote
Old 02-13-2007, 11:13 AM   #39
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
@VladSukhoy

I appreciate you taking the time to test and provide all this great feedback!

0.3 will be out in a few days.
scotty1024 is offline   Reply With Quote
Old 02-13-2007, 11:15 AM   #40
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Quote:
Originally Posted by kovidgoyal
Did they? Care to elaborate? My basic test of copying a book over and deleting a book worked, but I really haven't had the time to look into it in more detail.
If I'm not mistaken they've added another namespace:

xmlns="http://xscool.net/xdb/1"
scotty1024 is offline   Reply With Quote
Old 02-13-2007, 12:52 PM   #41
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: 25,449
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Seems to have been there in the old media.xml as well. Atleast its there in a media.xml on your hdd that's dated Nov. 21.

Quote:
Originally Posted by scotty1024
If I'm not mistaken they've added another namespace:

xmlns="http://xscool.net/xdb/1"
kovidgoyal is online now   Reply With Quote
Old 02-13-2007, 01:06 PM   #42
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Quote:
Originally Posted by kovidgoyal
Seems to have been there in the old media.xml as well. Atleast its there in a media.xml on your hdd that's dated Nov. 21.
Maybe its card vs internal media.xml file. I've only really had access to the card files until the last two weeks.
scotty1024 is offline   Reply With Quote
Old 02-13-2007, 03:12 PM   #43
VladSukhoy
Member
VladSukhoy began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Feb 2007
Device: /Reader/
> I appreciate you taking the time to test and provide all this great feedback!
Keep 'em coming
My interest also is to identify potential problems in my own fuse module..
By the way you have a whole bunch of options but not too many docs on them (like "use direct I/O" some kernel magic, unified buffer cache etc.).

Last edited by VladSukhoy; 02-13-2007 at 03:15 PM.
VladSukhoy is offline   Reply With Quote
Old 02-13-2007, 04:14 PM   #44
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Actually at present there are no options in my module...

Code:
int main (int argc, char *argv[]) {
  externalPath = NULL;
  externalPath = alloca(32);
  strcpy( externalPath, "b:/"); // hard coded to SD until I get reliable card type detector working

  initReaderOps();

  fuse_main(argc, argv, &reader_oper, NULL);
#ifdef DEBUG
  fprintf( logFile, "Returned from fuse_main\n");
  fflush( logFile);
#endif

  terminateReaderOps();
}
scotty1024 is offline   Reply With Quote
Old 02-13-2007, 04:18 PM   #45
VladSukhoy
Member
VladSukhoy began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Feb 2007
Device: /Reader/
ok, those were fuse options. I didn't yet get to composing the module itself, just implementing the underlying functionality and regression tests for them.
VladSukhoy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PB360 Filesystem error ArchCarrier PocketBook 4 06-06-2010 08:46 AM
astak ezreader, read-only filesystem scar Astak EZReader 7 07-28-2009 02:20 AM
Character encoding in the filesystem Jellby Bookeen 1 03-30-2008 05:36 AM
filesystem formats supported on the SD card jakeluck Sony Reader 8 12-21-2006 02:46 AM
GmailFS - make your Gmail a mountable filesystem Alexander Turcic Lounge 2 08-30-2004 03:07 AM


All times are GMT -4. The time now is 01:48 AM.


MobileRead.com is a privately owned, operated and funded community.