![]() |
#1 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The 505 in libprs500
Just committed initial support for the 505 (command line only, linux only) to svn. I'd appreciate a little testing from those of you that have the 505 and use linux.
The command line interface is the same as that for the 500 (i.e. the command prs500) You may need to install dbus-python (also called python-dbus) |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Incidentally does anyone know how I can find programatically where a given USB removable drive (identified by product and vendor ids) is mounted on windows?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Feedbooks.com Co-Founder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No need that to support the 505 in libprs500.
|
![]() |
![]() |
![]() |
#5 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,945
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Do you think it's possible to enable libprs505 to be able to use and create collections on the 505? That way people not on Windows can setup collections as they want. Even with the new menus, I still use the collections.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah it already supports collections on the 500 supporting the on the 505 will be not much extra work.
|
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,945
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
So is this easier then you expected it to be to get it working with the 505?
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I expected it to be easy and it is. The only hard part is the operating system integration for 3 different OSes. I expect windows and OSX to give me much more trouble, but atleast users of the 505 wont have driver conflicts with the connect software.
|
![]() |
![]() |
![]() |
#9 |
Bit Wrangler
![]() ![]() ![]() ![]() ![]() Posts: 181
Karma: 415
Join Date: Oct 2007
Device: Sony PRS-505
|
what specifically about osx...
...do you believe will be problematic? Determining if a volume is a removable (for example) is rather trivial, for example...
|
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
An hour of googling and the best way i can come up with in windows to find where a particular USB drive is mounted is a commandline program, which would impose a lot of unecessary overhead when polling.
I haven't looked at OSX but from my past experiences I'm dreading it. Both OSes because they have a strict policy of "users" first seems to have a dearth of good development tools that are also free. Of course I may not be the best judge of things, since I am mostly a linux guy. |
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No one knows how to do this?
|
![]() |
![]() |
![]() |
#12 | |
Bit Wrangler
![]() ![]() ![]() ![]() ![]() Posts: 181
Karma: 415
Join Date: Oct 2007
Device: Sony PRS-505
|
The entire development environment...
Quote:
anyway, os x has a mechanism that is the inverse of polling (very inefficient) where you simple tell the os to tell you when a removable is mounted, what it was, and then your code decides what to do with it. I'm not a python guy, but i know that pyobjc bridges the cocoa apis direct to python...and that this bridge actually will be shipping by default on the system with 10.5. right now, you bundle it if you wish to use it. |
|
![]() |
![]() |
![]() |
#13 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,945
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
mrkai, but what about system running a prior OS X such as 10.4 or maybe 10.3?
|
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 7
Karma: 22
Join Date: Oct 2007
Device: PRS-505
|
Hi! I've been reading this forums for a lot of time and now that I'm almost in possesion of my PRS-505 y want to try to participate a little more..
I don't know but maybe this could help you Kovid. http://www.ureader.com/message/1018345.aspx If not, if you could explain what do you want this function to do we could try to help you. And sorry for my english... :P |
![]() |
![]() |
![]() |
#15 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Oct 2007
Location: area code five-one-seven
Device: PRS-505
|
I think what you're looking for is this key in the registry :
HKEY_Local_Machine\SYSTEM\Current Control Set\Enum\USB\Vid_054c&Pid_031e As far as I know, those Pid's are unique per device -- so you should only see those if you have a PRS-505 that's been attached. Doing a search for this key may be the easiest way, I'll dig and see if there's another easier identifier. Last edited by sputnik_1; 10-19-2007 at 10:14 AM. |
![]() |
![]() |
![]() |
Tags |
libprs500, prs-505 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
libprs500 | tommy still | Calibre | 2 | 02-09-2008 10:55 AM |
Using libprs500 | jerryleejr | Calibre | 2 | 01-28-2008 12:29 AM |
Using Libprs500 for 505 | JeffASonyReader | Calibre | 17 | 01-21-2008 09:34 AM |
Help!!! libprs500 | MountainMan | Calibre | 11 | 11-13-2007 11:25 PM |
libprs500 and 505 | carchase | Sony Reader | 6 | 10-28-2007 03:06 PM |