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-13-2007, 04:48 PM   #46
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 VladSukhoy
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... ).
Add the directory issue to the firmware update list.

Code:
scotty$ mkdir sony/Reader/tmp/test
mkdir: test: Operation not permitted
scotty$ mkdir sony/Card/test
scotty$ ls -dl sony/Card/test
drwxrwxrwx   2 root  wheel  0 Feb 13 05:43 sony/Card/test
scotty$ rmdir sony/Card/test
I've tried all the directories on the reader with my debug goodies turned on and the Sony refuses to create directories in any of them. But I can create all the directories I want on the memory card.
scotty1024 is offline   Reply With Quote
Old 02-13-2007, 04:52 PM   #47
VladSukhoy
Member
VladSukhoy began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Feb 2007
Device: /Reader/
I have the old firmware.. Don't want to upgrade unless there really is a reason to.
libprs500 can do it, readerfs cannot (but still can make 'em on SD).
VladSukhoy is offline   Reply With Quote
 
Enthusiast
Old 02-13-2007, 06:04 PM   #48
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
Found it. The internal filesystem requires a trailing / on directories. The SD filesystem doesn't.
scotty1024 is offline   Reply With Quote
Old 02-17-2007, 11:14 AM   #49
Xenophon
curmudgeon
Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.
 
Xenophon's Avatar
 
Posts: 1,453
Karma: 5657812
Join Date: Jun 2006
Location: Pittsburgh, PA USA
Device: Kobo Aura (soon), (soon-to-be-ex)nook, (ex)PRS-700, (ex)PRS-500
Quote:
Originally Posted by scotty1024
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.
...SNIP...

Scotty --

It doesn't appear to be a universal binary! At least, when I try to run it, I get
Code:
[Scipio:~/Documents/Downloads] dfsuther% ./readerfs
tcsh: ./readerfs: Bad CPU type in executable.
[Scipio:~/Documents/Downloads] dfsuther%
Of course, I could be misunderstanding the intended usage of the executable. After all, I haven't found any docs on how one is expected to install or use a MacFUSE filesystem... MacFUSE says that's "up to the filesystem program" (whatever that means).

After poking around a bunch, I guessed that perhaps I should try connecting my reader and firing up the downloaded executable, thus getting the message above.

?help?

Xenophon
Xenophon is offline   Reply With Quote
Old 02-18-2007, 01:38 AM   #50
adinb
RSS & Gadget Addict!
adinb is on a distinguished road
 
adinb's Avatar
 
Posts: 82
Karma: 67
Join Date: May 2005
Location: Albuquerque, NM
Device: Sony PRS-500, iPod Touch, iPhone
I was able to get it to mount on my ICBM; gave it a mountpoint and it worked like a charm.

I had my PRS-500 plugged in on a "good" port already (because I was playing around with biblioskop), so I'm not sure if that had anything to do with my own good luck. I'm also running .2.1 of the core, so that might help.

I'm getting a lot of stalls when I try to navigate too far into the directory structure, hopefully scotty'll be able to iron those out in future releases. He's doing an incredible job with the fuse plugin tho!

-a
adinb is offline   Reply With Quote
Old 02-18-2007, 08:43 PM   #51
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 Xenophon
...SNIP...

Scotty --

It doesn't appear to be a universal binary!
There are two versions of the code posted here, one is not a Universal Binary and the other one is. I'll give you one guess as to which one I think you are using.

You want the 0.2 version.

To date all FUSE filesystem plug-ins follow this basic usage pattern.

Device or service to be mounted needed to inserted or available prior to running the plug in.

You need a folder pre-created to mount them on to.

In Terminal:

mkdir MySonyReader <--- but can be anything you want: Dog, Cat, favorite Rugby Team etc...

Then you run the FUSE plugin naming that folder as the mount point.

In Terminal:

readerfs MySonyReader

Depending on how your path is setup in Terminal you may need to use:

/FolderReaderfsWasUnZippedInto/readerfs MySonyReader

To turn off the plug.

In Terminal:

umount MySonyReader
scotty1024 is offline   Reply With Quote
Old 02-20-2007, 06:38 PM   #52
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
I've tested the mountable filesystem on Fedora Core 6 and it is working great.

What version of Linux is anyone using here that would want this filesystem? Please let me know so I can package it for you.
scotty1024 is offline   Reply With Quote
Old 02-20-2007, 11:02 PM   #53
Xenophon
curmudgeon
Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.
 
Xenophon's Avatar
 
Posts: 1,453
Karma: 5657812
Join Date: Jun 2006
Location: Pittsburgh, PA USA
Device: Kobo Aura (soon), (soon-to-be-ex)nook, (ex)PRS-700, (ex)PRS-500
Quote:
Originally Posted by scotty1024
There are two versions of the code posted here, one is not a Universal Binary and the other one is. I'll give you one guess as to which one I think you are using.

You want the 0.2 version.

To date all FUSE filesystem plug-ins follow this basic usage pattern.
...snip good info on using the plug-in...
Scotty --
I am using the 0.2 version. The problem is that you compiled for the "ppc970" (which is to say the G5). My machine is a G4 (MDD FireWire800, to be precise). So, I get the following:
Code:
[Scipio:~/Documents/Downloads] dfsuther% ls -lt ./readerfs
-rwxr-xr-x   1 dfsuther  staff  59444 Feb 12 15:24 ./readerfs
[Scipio:~/Documents/Downloads] dfsuther% mkdir readertest
[Scipio:~/Documents/Downloads] dfsuther% ./readerfs readertest
tcsh: ./readerfs: Bad CPU type in executable.
[Scipio:~/Documents/Downloads] dfsuther% file ./readerfs
./readerfs: Mach-O fat file with 2 architectures
./readerfs (for architecture i386):     Mach-O executable i386
./readerfs (for architecture ppc970):   Mach-O executable ppc
[Scipio:~/Documents/Downloads] dfsuther%
Perhaps you might build with the -mcpu=powerpc instead of -mcpu=970 flag? Or maybe something else rather odd is happening...

Xenophon
Xenophon is offline   Reply With Quote
Old 02-21-2007, 05:05 AM   #54
ghostwheel
Connoisseur
ghostwheel is on a distinguished road
 
Posts: 78
Karma: 55
Join Date: May 2006
Device: LE1700 tablet,sony PRS-500,iRex DR1000S
debian?

I am using kubuntu, so for me a debian package would be great!

Thanks!
ghostwheel is offline   Reply With Quote
Old 02-21-2007, 08:48 AM   #55
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 Xenophon
Scotty --
I am using the 0.2 version. The problem is that you compiled for the "ppc970" (which is to say the G5). My machine is a G4 (MDD FireWire800, to be precise). So, I get the following:
Code:
[Scipio:~/Documents/Downloads] dfsuther% ls -lt ./readerfs
-rwxr-xr-x   1 dfsuther  staff  59444 Feb 12 15:24 ./readerfs
[Scipio:~/Documents/Downloads] dfsuther% mkdir readertest
[Scipio:~/Documents/Downloads] dfsuther% ./readerfs readertest
tcsh: ./readerfs: Bad CPU type in executable.
[Scipio:~/Documents/Downloads] dfsuther% file ./readerfs
./readerfs: Mach-O fat file with 2 architectures
./readerfs (for architecture i386):     Mach-O executable i386
./readerfs (for architecture ppc970):   Mach-O executable ppc
[Scipio:~/Documents/Downloads] dfsuther%
Perhaps you might build with the -mcpu=powerpc instead of -mcpu=970 flag? Or maybe something else rather odd is happening...

Xenophon
Now it makes sense. I compiled for the Power PC but accidentally optimized for the G5.

Sorry about that.
scotty1024 is offline   Reply With Quote
Old 02-22-2007, 05:53 PM   #56
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
Version 0.3 released

OK, this version is not over optimized on the Power PC, it will work on G4's.

It also implements over writing existing files and has the fix for deleting directories.
Attached Files
File Type: zip readerfs-0.3.zip (13.9 KB, 216 views)
scotty1024 is offline   Reply With Quote
Old 02-23-2007, 03:25 PM   #57
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
Version 0.4

I've got the automatic card detection working.

The code sorts out how to access MS or SD cards, and if you have no card, doesn't provide the Card folder.
Attached Files
File Type: zip readerfs-0.4.zip (14.3 KB, 240 views)
scotty1024 is offline   Reply With Quote
Old 02-25-2007, 02:32 PM   #58
Xenophon
curmudgeon
Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.
 
Xenophon's Avatar
 
Posts: 1,453
Karma: 5657812
Join Date: Jun 2006
Location: Pittsburgh, PA USA
Device: Kobo Aura (soon), (soon-to-be-ex)nook, (ex)PRS-700, (ex)PRS-500
Quote:
Originally Posted by scotty1024
I've got the automatic card detection working.

The code sorts out how to access MS or SD cards, and if you have no card, doesn't provide the Card folder.
Version 0.4 now runs fine on my G4 PowerMac. I have a few questions:
  • Should I expect to see more than 0K available on either the card or the reader's main memory? (Note that there is actually space available on both.)
  • Deleting a book from the main memory works fine. Should I expect to be able to copy that book back into main memory? I currently get a "no space available" message when I try. (Likely related to my first question.)
  • Should I expect a File->GetInfo command to work on any folder on the reader? Current behavior was a very long SPoD, followed by no result.

I'm really psyched by the progress you folks are making hacking stuff for the reader. I eagerly look forward to having multiple non-Sony utilities to choose among for Sony Reader goodness...

Xenophon
Xenophon is offline   Reply With Quote
Old 03-04-2007, 01:39 AM   #59
brett.brennan
Lobotomized Management
brett.brennan began at the beginning.
 
brett.brennan's Avatar
 
Posts: 1
Karma: 10
Join Date: Mar 2007
Location: The Roads of America (RV full-time)
Device: PRS-500 / Moto-Q / RIM7520 / Rocket_eBook
SuSE 10.x (Fedora-compatible)

Quote:
Originally Posted by scotty1024
I've tested the mountable filesystem on Fedora Core 6 and it is working great.

What version of Linux is anyone using here that would want this filesystem? Please let me know so I can package it for you.

My wife and I have a bunch of SuSE 10.x machines (laptops & servers) so anything that provides 2.6 kernel compatibility should be OK. RPM or source.
brett.brennan is offline   Reply With Quote
Old 03-12-2007, 05:22 PM   #60
J.D. Northrup
Sparetime hacker
J.D. Northrup began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2007
Device: PRS-500
Readerfs issue

Strangely enough, I've found that some files get corrupted while they're being transferred to the reader. I'm attaching a zip file with a document before and after it gets copied using the readerfs.

Any ideas anyone?

These are created using the flatLrf library with some modifications, but they appear kosher to the Sony Connect program on the PC.

-jd
Attached Files
File Type: zip data.zip (17.1 KB, 194 views)

Last edited by J.D. Northrup; 03-14-2007 at 01:11 PM.
J.D. Northrup 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 02:48 PM.


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