| Poster | Thread |
SOFISTISOFTWARE
|  |
PTP & Virtual Memory test under OS4.1 Posted on 7-Sep-2008 22:33:39
| | [ #1 ] |
|
|
 |
Regular Member  |
Joined: 25-Dec-2003 Posts: 458
From: Latina, Italy | | |
|
| Hello everybody,
this time i tested PTP (picture trasfer protocol) feature of AOS4.1 As everyone knows this protocol is used by many digital cameras and also my Kodak C875 that has 8.0 mega pixels and Schneider Kreuznach lens. The camera was recognized immediately, i have in it a 2GB of memory SD and at a time when it was linked there were 569 photos and 3 videos, the thumbnails (160x120 pixel) were transferred in less then 40 seconds and were displayed in the window, then you can decide which copy or you can also select all, while it is in place the transfer is shown the photo thumbnail (very nice), I decided to transfer them all to test the operation of virtual memory, when i upgraded my OS4.0 i created a SWAP partition of 1GB, as you can see from the picture 'SWAP' at the top of the toolbar tha USED memory is 536MB, on my uA1 i have only 512MB ram installed and when the workbench is loaded the free memory is under 400MB, i also tried to fill ram disk with other files up to 967MB and everything went well, seems the class PTP encounters difficulties when the virtual memory exhausted and generates an error retrienving content and if you click on 'Stop' all is well but if you click on 'Retry' or 'Skip' (not remember now) the ptp.usbfd crash generating a DSI Guru Meditation, now i do not know if it is a problem with virtual memory or with the class PTP transferring large files (about 100MB), however this is a small problem, you can also see a screenshot of the program ScreenThumb in operation.
http://digilander.libero.it/flq/immagini/screenthumb http://digilander.libero.it/flq/immagini/ptp.jpg http://digilander.libero.it/flq/immagini/ptp-1.jpg http://digilander.libero.it/flq/immagini/ptp-2.jpg http://digilander.libero.it/flq/immagini/SWAP
_________________ Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE A4000 PPC604@233, Mediator A1200 PPC603@160, Mediator uA1 G3@800, 512 Mb [sold] |
|
| Status: Offline |
|
|
Develin
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 7-Sep-2008 22:51:39
| | [ #2 ] |
|
|
 |
Regular Member  |
Joined: 16-Mar-2006 Posts: 443
From: Karlstad, Sweden | | |
|
| @SOFISTISOFTWARE
Just a question regarding Screen Thumb... Can you snoop other screens with it except the currently one which is front most (which it runs on) ?
|
|
| Status: Offline |
|
|
SOFISTISOFTWARE
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 7-Sep-2008 23:04:35
| | [ #3 ] |
|
|
 |
Regular Member  |
Joined: 25-Dec-2003 Posts: 458
From: Latina, Italy | | |
|
| @Develin
for now (it's a demo) seems not _________________ Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE A4000 PPC604@233, Mediator A1200 PPC603@160, Mediator uA1 G3@800, 512 Mb [sold] |
|
| Status: Offline |
|
|
Thematic
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 1:27:58
| | [ #4 ] |
|
|
 |
Super Member  |
Joined: 28-Oct-2003 Posts: 1616
From: I'm actually flying into a bug! | | |
|
| @SOFISTISOFTWARE
Can OS 4.1 use linux swap partition for swap? I don't see why not... _________________ : AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1) : A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5 : A500/1MB : Pegasos (ff) 512 MB & MorphOS Praise seitan. |
|
| Status: Offline |
|
|
Hypex
 |  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 6:09:18
| | [ #5 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @Thematic
Yeah my Debian partition has 8GB set aside for swap. That should cover it.  |
|
| Status: Offline |
|
|
jack
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 7:30:36
| | [ #6 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| @Thematic
Quote:
Can OS 4.1 use linux swap partition for swap? I don't see why not...
|
Linux checks the swap partition for a valid signature before activating it. If the signature was overwritten, "mkswap /dev/blah-blah" and "swapon -a" will do it (on debian it can be done in /etc/rc.local, kind of s:user-startup) On OS4.1? Dunnoh (yet). If there's a signature check, similar to linux' procedure should be performed upon failure to use swap (prepare and activate). Otherwise, it (no signature check) it'll be picked up as is.
JackLast edited by jack on 08-Sep-2008 at 07:31 AM.
_________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
| Status: Offline |
|
|
xeron
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 7:34:46
| | [ #7 ] |
|
|
 |
Elite Member  |
Joined: 22-Jun-2003 Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe | | |
|
| I have no idea if Linux can use an RDB defined partition for SWAP.
OS4's requirement is simply that the partition has a filesystem identifier of "SWAP". _________________ Playstation Network ID: xeron6 |
|
| Status: Offline |
|
|
jack
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 7:54:28
| | [ #8 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| @xeron
Quote:
I have no idea if Linux can use an RDB defined partition for SWAP.
|
If Linux kernel has RDB support compiled in, then it'll be "transparent", will just work. If Linux and AOS are on separate disks, and Linux can't see the patition table of the AOS disk, then there'll have be separate swaps (Liunx is then on an MBR-ish disk).
Jack
_________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
| Status: Offline |
|
|
Mr_Capehill
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 9:41:31
| | [ #9 ] |
|
|
 |
Super Member  |
Joined: 15-Mar-2003 Posts: 1933
From: Yharnam | | |
|
| @Thematic
You should prepare OS 4.1 SWAP partition as instructed with given block sizes etc.
|
|
| Status: Offline |
|
|
Mr_Capehill
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 9:45:17
| | [ #10 ] |
|
|
 |
Super Member  |
Joined: 15-Mar-2003 Posts: 1933
From: Yharnam | | |
|
| @Hypex
8 GB is overkill as the address space is 32-bit and AFAIK you can anyway address only < 2 GB. So 512 MB - 1024 MB might be useful, depending on how much you've got RAM. |
|
| Status: Offline |
|
|
jack
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 10:03:58
| | [ #11 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| @Mr_Capehill
Quote:
@Hypex
8 GB is overkill as the address space is 32-bit and AFAIK you can anyway address only < 2 GB. So 512 MB - 1024 MB might be useful, depending on how much you've got R
|
Afair, swap size recomended for linux is 4x the ram size. I would take it as upper limit for OS4 (unless there's a specific reason to do otherwise).
Jack_________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
| Status: Offline |
|
|
Hypex
 |  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 16:09:34
| | [ #12 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @Mr_Capehill
Quote:
| 8 GB is overkill as the address space is 32-bit and AFAIK you can anyway address only < 2 GB. So 512 MB - 1024 MB might be useful, depending on how much you've got RAM. |
I agree, but I wanted to be sure. The Linux guide said you should have 4x the RAM in swap, so that's what I did. |
|
| Status: Offline |
|
|
Mr_Capehill
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 18:34:31
| | [ #13 ] |
|
|
 |
Super Member  |
Joined: 15-Mar-2003 Posts: 1933
From: Yharnam | | |
|
| @Hypex
Sorry, I did perhaps misunderstand. I didn't realise the swap partition was for Linux. Anyway, AmigaOS is currently a bit more limited, it's no use to set bigger than 2 GB partition. Personally I have 256 MB of RAM and 512MB of SWAP.
|
|
| Status: Offline |
|
|
hotrod
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 18:44:56
| | [ #14 ] |
|
|
 |
Elite Member  |
Joined: 11-Mar-2003 Posts: 3005
From: Stockholm, Sweden | | |
|
| @Hypex
I got a 1.1GB partition for use as a SWAP partition for AOS 4.1. Is that ok according to you *experts* ? ;) |
|
| Status: Offline |
|
|
unimon
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 20:56:55
| | [ #15 ] |
|
|
 |
Regular Member  |
Joined: 26-Aug-2003 Posts: 382
From: Switzerland | | |
|
| Hi,
Sorry for my ignorance, but were can I find the program PTP or how to launch it?
I have a Samsung DigiCam...
Thanks
Nic
_________________ RedOneX (SAM 460ex) and an A1 which now rests quite. Amiga OS 4.1.6 and CinemaWare games. Classic and NG softwares. |
|
| Status: Offline |
|
|
RWO
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 8-Sep-2008 21:28:36
| | [ #16 ] |
|
|
 |
Regular Member  |
Joined: 8-Mar-2003 Posts: 457
From: Denmark | | |
|
| @unimon
You just connect the Camera to a usb port and turn on the camera. This should launch the PTP driver automaticly.
Note: Some cameras can change settings, so you can select if it would mount as MassStorage or PTP.
RWO
_________________
|
|
| Status: Offline |
|
|
unimon
|  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 9-Sep-2008 15:21:43
| | [ #17 ] |
|
|
 |
Regular Member  |
Joined: 26-Aug-2003 Posts: 382
From: Switzerland | | |
|
| @RWO
OK, thanks.
In fact, my camera was taken as "MassStorage".
Nic _________________ RedOneX (SAM 460ex) and an A1 which now rests quite. Amiga OS 4.1.6 and CinemaWare games. Classic and NG softwares. |
|
| Status: Offline |
|
|
Hypex
 |  |
Re: PTP & Virtual Memory test under OS4.1 Posted on 9-Sep-2008 15:40:06
| | [ #18 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @hotrod
Quote:
| I got a 1.1GB partition for use as a SWAP partition for AOS 4.1. Is that ok according to you *experts* ? ;) |
Oh yes, that should be fine. 
But, althought it is OS4.1 and you have a 1.1GB partiion I don't think it will make use of the extra .1.  |
|
| Status: Offline |
|
|