vlousada / LegacyLenses

An App using OpenMemories to Log EXIF of Legacy lenses on Sony alpha cameras
MIT License
12 stars 3 forks source link

profiles.xml on Sony A7S not loading #3

Open marekkaczkowski opened 5 years ago

marekkaczkowski commented 5 years ago

Hey Vitor, Actually MENU for manager is on Fn on Sony A7S but profiles.xml is not loading (file is in LLEGACY folder on sd card)

Version: LegacyLensExif-debug_0.95d2.apk

Log:

[INFO] |debug| camera model: ILCE-7S
[INFO] Resume com.vlousada.legacylenses.MainActivity
[INFO] Pause com.vlousada.legacylenses.MainActivity
[INFO] |debug| Xml procedure in sdcard init
[INFO] |debug| directory: /mnt/sdcard
[INFO] |debug| expected file: /mnt/sdcard/LLEGACY/profiles.xml
[INFO] |debug| expected file: /mnt/sdcard/LLEGACY/profiles.xml does NOT EXIST
[INFO] |debug| USED profiles.xml from ASSETS instead! 
vlousada commented 5 years ago

Hi Marek ;)

I forgot to change the lens manager button from FN to MENU in A7S model! Which one would you prefer?

Regarding 'profiles.xml' that issue may be related to the system format (ex: fat32, exfat, NTFS) of SDCARDS... What seems to work without issues is a smaller SDCARD (up to 16gb and formatted as 'fat32'). If you have a small capacity sdcard please give another try.

I am still working around to solve those issues, but I am currently developing another way to store the database into camera itself (internal sqlite database) which will solve those and other problems such swapping sdcard and, formatting sdcards.

The app is in an early stage, so testing and suggestion are welcome.

marekkaczkowski commented 5 years ago

I would say Fn is even better than MENU :)

Indeed that may be related with my card capacity (64gb), will try with smaller one.

SQLite is a great idea when it comes to in-camera card formating!

Few ideas when it comes to UI, IMO it would be better to use:

Is it possible to bind 4. Exposure to top exposure compensation dial?

fotovideoguy commented 5 years ago

I was thinking of the same thing for the C2 button, as that really is the only feature I miss with this App on the A7R2.

Since we discovered the fat32 and 16Gb issue, I have been using a 16Gb card with no issues.

I like the other suggestions as well, but have gotten used to the original settings, but I can adapt if these get put into the App.

Sam


From: Marek Kaczkowski notifications@github.com Sent: July 18, 2018 10:17 AM To: vlousada/LegacyLenses Cc: Subscribed Subject: Re: [vlousada/LegacyLenses] profiles.xml on Sony A7S not loading (#3)

I would say Fn is even better than MENU :)

Indeed that may be related with my card capacity (64gb), will try with smaller one.

SQLite is a great idea when it comes to in-camera card formating!

Few ideas when it comes to UI, IMO it would be better to use:

[https://cloud.githubusercontent.com/assets/20803070/17577067/84b5310e-5f71-11e6-97e3-c089f88ba8e8.png]

Is it possible to bind 4. Exposure to top exposure compensation dial?

β€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/vlousada/LegacyLenses/issues/3#issuecomment-405946974, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlvHtk3TYBhknYFcHWakfs4afL3B6C8Vks5uH0OLgaJpZM4VTeQc.

vlousada commented 5 years ago

Thanks Marek, Sam for the inputs πŸ‘

As for

UI and directional keys

I do understand the purpose, yet it may somehow confusing because I am already used to other way! The implementation can be a little tricky because UP key is ALREADY used for swap modes in display, yet I would give try...


ZOOM key:

I took a look at each model and assigned the key as default for that model.. I can see that A7R2 has C3 but A7S must use C2, can you confirm which key is used in A7S for Zoom? but can handle easily it with "key mapping" for each model:

put("ILCE-7S", new int[] {ScalarInput.ISV_KEY_CUSTOM2, ScalarInput.ISV_KEY_FN, ScalarInput.ISV_KEY_STASTOP}); //A7S
.................
put("ILCE-7RM2", new int[] {ScalarInput.ISV_KEY_CUSTOM3, ScalarInput.ISV_KEY_FN, ScalarInput.ISV_KEY_STASTOP}); //A7R2

Customizable DIALS (front and back)

When started with models like nex-6 (code is based in a5100 too) with zero or one dial, this would be useless, but for other cameras it makes really sense. I have started that implementation in code for each model with a map, but yet did not complete their funcionality and UI for it.

public final static float FEATURE_ONE = 1.5f; //Crop-factor (1.5x for APS-C and 1x for Full-frame
public final static float FEATURE_TWO =  0f; //Touch-Screen (0 for no touch devices  &   1 for Touch devices
public final static float FEATURE_THREE = 2f; //Number of Dials excluding PASM dial
public final static float FEATURE_FOUR = 0f; //has wide & tele for zoom
...
put("ILCE-7S", new float[] {1.0f, 0f, 3f, 0f}); //A7S

something todo for sure!


bind 4. Exposure to top exposure compensation dial?

idem, like above

fotovideoguy commented 5 years ago

On the A7R2 when making a photo, C2 is used for magnification when focusing. C3 is used for zoom when reviewing photos that have been made.

Sam

Sent from my iPhone

On Jul 18, 2018, at 6:06 PM, Vitor notifications@github.com<mailto:notifications@github.com> wrote:

Thanks Marek, Sam for the inputs πŸ‘

As for

UI and directional keys

I do understand the purpose, yet it may somehow confusing because I am already used to other way! The implementation can be a little tricky because UP key is ALREADY used for swap modes in display, yet I would give try...


ZOOM key:

I took a look at each model and assigned the key as default for that model.. I can see that A7R2 has C3 but A7S must use C2, can you confirm which key is used in A7S for Zoom? but can handle easily it with "key mapping" for each model:

put("ILCE-7S", new int[] {ScalarInput.ISV_KEY_CUSTOM2, ScalarInput.ISV_KEY_FN, ScalarInput.ISV_KEY_STASTOP}); //A7S ................. put("ILCE-7RM2", new int[] {ScalarInput.ISV_KEY_CUSTOM3, ScalarInput.ISV_KEY_FN, ScalarInput.ISV_KEY_STASTOP}); //A7R2


Customizable DIALS (front and back)

When started with models like nex-6 (code is based in a5100 too) with zero or one dial, this would be useless, but for other cameras it makes really sense. I have started that implementation in code for each model with a map, but yet did not complete their funcionality and UI for it.

public final static float FEATURE_ONE = 1.5f; //Crop-factor (1.5x for APS-C and 1x for Full-frame public final static float FEATURE_TWO = 0f; //Touch-Screen (0 for no touch devices & 1 for Touch devices public final static float FEATURE_THREE = 2f; //Number of Dials excluding PASM dial public final static float FEATURE_FOUR = 0f; //has wide & tele for zoom ... put("ILCE-7S", new float[] {1.0f, 0f, 3f, 0f}); //A7S

something todo for sure!


bind 4. Exposure to top exposure compensation dial?

idem, like above

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/vlousada/LegacyLenses/issues/3#issuecomment-406089391, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlvHtotQ8Vbp3imVMK1aQqv2WQXh7XVTks5uH7F0gaJpZM4VTeQc.

vlousada commented 5 years ago

Thank you Sam, Which buttons would you like to assign for such functions?

fotovideoguy commented 5 years ago

If you can map C2 as it is originally programmed on A7R2: to zoom in for focus it is more intuitive. C3 for zooming in while reviewing photos is the normal setting as originally programmed on A7R2

These should be similar on the A7S, different location obviously.

Thanks Vitor

Sam

Sent from my iPhone

On Jul 18, 2018, at 7:44 PM, Vitor notifications@github.com<mailto:notifications@github.com> wrote:

Thank you Sam, Which buttons would you line to assign for such functions?

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/vlousada/LegacyLenses/issues/3#issuecomment-406108008, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlvHtj8_mOtkImQAtLxs-YtDEvc2bWTrks5uH8hegaJpZM4VTeQc.

vlousada commented 5 years ago

Hi, Added a new debug version: https://github.com/vlousada/LegacyLenses/releases

Please report some useful keycodes in order to assign some app functions

Thank you

fotovideoguy commented 5 years ago

Starts with no Scancode on screen Press any button and a scan code for that button appears Scancodes do not clear screen, they just pile up one a top the other on the screen. not able to clear the Scancodes from screen. the codes do not appear in the final photo when reviewing. When pressing the Centre button(enter), the minimum shutter speed window opens. Pressing C4 which is the Trash can, does as expected and returns you to the previous state.

When reviewing photos, it is not possible to delete them using the Trash can button, as this button takes you back to previous state.

The App can lock up, not allowing you to get out of the App. Have to pull battery, restart, press Trashcan button, and it allows you back into the Sony side of the camera.

Scancodes for A7R2

Menu Button: 514 shutter: 517 AF/MF: 638 Fn: 520 enter(centre button): 232 DISP (up): 103 (down): 108 Left: 105 Right: 106 Play: 207 C4 Trash Can/Exit (Return to previous): 595 C1: 622 C2: 623 C3: 588

When pressing C2, to allow zoom while focusing: 1st press: 5.00X 2nd press: 12.50X 3rd press: back to 5.00X

hope this adds to the knowledge base

sam

vlousada commented 5 years ago

thank you sam

Released a clean APK (without debug) with C2 assigned for zooming while shooting. Next week perhaps can have some news regarding above suggestions and sqlite.

Regards Vitor

fotovideoguy commented 5 years ago

using this for a week now with no issues. just wondering if it is possible to show the status of the battery?

sam

fotovideoguy commented 5 years ago

I have a battery grip that has c1 C2 and c3 buttons that clone what's on the camera body. These are not working with the app but work properly when the camera is in its regular mode of operation.

vlousada commented 5 years ago

hi Sam, Would you check scancodes for those buttons? regards

fotovideoguy commented 5 years ago

Scan codes for Meike battery grip:
C1 660
C2 661 C3 662

Camera: C1 622 C2 623 C3 588

All other buttons and dials on the grip are the same as the camera AF/MF 638 SHUTTER 517 FRONT DIAL 525 REAR DIAL 528

fotovideoguy commented 5 years ago

The battery status works. It shows one battery level in the top left corner of the screen. The battery status when using the battery grip however only shows one battery. Curious thing about this is that it recognizes both battery compartments. If I take one battery out, it shows the capacity of the battery in a compartment. If I remove that battery and replace it for another in the other compartment, the app recognizes that battery. I tested with 2 batteries that had different levels. When initial testing started, the addition or removal of a battery caused had app to reset the mode from A to M as well as resetting the frame mode from single shot to high speed. A few battery changes and the app corrected itself.

vlousada commented 5 years ago

Once again thanks for inputs. Code has yet some issues for resume and pause modes, as well saving preferences..

Regarding battery level I did not used any Sony function, instead used battery level function from Android and the informed behavior of changing battery works as expected.

fotovideoguy commented 5 years ago

Thank you Vitor.

The camera shows 2 batteries and their levels when they are both installed. I can live with one on the screen, as the app shows that when one is depleted, it shows the level of the other battery. I just have to remember that one of the batteries is exhausted.

Sam

Get Outlook for Androidhttps://aka.ms/ghei36


From: lh8511 notifications@github.com Sent: Wednesday, August 8, 2018 4:52:14 PM To: vlousada/LegacyLenses Cc: fotovideoguy; Comment Subject: Re: [vlousada/LegacyLenses] profiles.xml on Sony A7S not loading (#3)

Once again thanks for inputs. Code has yet some issues for resume and pause modes, as well saving preferences..

Regarding battery level I did not used any Sony function, instead used battery level function from Android and the informed behavior of changing battery works as expected.

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/vlousada/LegacyLenses/issues/3#issuecomment-411548215, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlvHtmVHV7VGE2dH0SM5eGJtqS7UEjYnks5uO09-gaJpZM4VTeQc.

fotovideoguy commented 5 years ago

Hello Vitor,

A curious thing, noticed this evening. When I have the camera in B&W mode, the app is not showing a B&W image when making a photo. I do believe that it did originally follow the mode the camera was in. Not sure if something changed?

Also; when reviewing photos from the app, the Exif is not showing the settings of the lens being used?

Sam

Get Outlook for Androidhttps://aka.ms/ghei36


From: sam mendolia sam.mendolia1@hotmail.ca Sent: Wednesday, August 8, 2018 8:06:36 PM To: vlousada/LegacyLenses; vlousada/LegacyLenses Cc: Comment Subject: Re: [vlousada/LegacyLenses] profiles.xml on Sony A7S not loading (#3)

Thank you Vitor.

The camera shows 2 batteries and their levels when they are both installed. I can live with one on the screen, as the app prices that when one is depleted, it shows the level of the other battery. I just have to remember that one of the batteries is exhausted.

Sam

Get Outlook for Androidhttps://aka.ms/ghei36


From: lh8511 notifications@github.com Sent: Wednesday, August 8, 2018 4:52:14 PM To: vlousada/LegacyLenses Cc: fotovideoguy; Comment Subject: Re: [vlousada/LegacyLenses] profiles.xml on Sony A7S not loading (#3)

Once again thanks for inputs. Code has yet some issues for resume and pause modes, as well saving preferences..

Regarding battery level I did not used any Sony function, instead used battery level function from Android and the informed behavior of changing battery works as expected.

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/vlousada/LegacyLenses/issues/3#issuecomment-411548215, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlvHtmVHV7VGE2dH0SM5eGJtqS7UEjYnks5uO09-gaJpZM4VTeQc.

fotovideoguy commented 5 years ago

Hello Vitor,

A curious thing, noticed this evening. When I have the camera in B&W mode, the app is not showing a B&W image when making a photo. I do believe that it did originally follow the mode the camera was in. Not sure if something changed?

Also; when reviewing photos from the app, the Exif is not showing the settings of the lens being used?

Sam

vlousada commented 5 years ago

Hi Sam,

The app forces image settings as 'raw' , M mode and others, so B&W only after post-processing.

Regarding reviewings from the app, has yet to implement reading lens, sorry. I am realy busy till probably 15th Sep so only expected some developments after that. Anyway keep reporting issues and sugestions for the app.

Regards

fotovideoguy commented 5 years ago

Thanks Vitor. I think it’s just me with the B&W and playing back and forth between the app and regular camera setting and to many vintage lenses.

Take care

Sam

Sent from my iPhone

On Aug 13, 2018, at 11:51 AM, Vitor notifications@github.com<mailto:notifications@github.com> wrote:

Hi Sam,

The app forces image settings as 'raw' , M mode and others, so B&W only after post-processing.

Regarding reviewings from the app, has yet to implement reading lens, sorry. I am realy busy till probably 15th Sep so only expected some developments after that. Anyway keep reporting issues and sugestions for the app.

Regards

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/vlousada/LegacyLenses/issues/3#issuecomment-412566734, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlvHtqBk8e5WVIKieayJO9HCngUgEB6hks5uQaCcgaJpZM4VTeQc.

fotovideoguy commented 5 years ago

A minor issue, when formatting the SD card, the profiles.xml is lost and has to be reinserted to the folder. The folder stays on the card and the log is there. This may be due to the fact that I restarted the app and then noticed the profiles.xml was gone. In this case the app refers to the profiles.xml inside the app.

vlousada commented 5 years ago

Yes, migrating db for SQLite for that reason. Card format removes everything, and folder exists after APP Run just because APP will create it for log.txt. profiles.xml need to be copied there after formatting.

SQLite db will reside inside camera space, so it will remain after card format.

fotovideoguy commented 5 years ago

OK, tonight, the app allowed to photograph in B&W mode, just as I have to camera set to More testing for me on this and will report anomalies 😊

fotovideoguy commented 5 years ago

Hello Vitor.

Just wondering if you were able to migrate the database to the SQLITE db. I have been using the app on 16Gb and 32Gb cards with no issue, except of course having to load the lens list after every card format.

Let me know how it is progressing.

Thank you,

Sam

Get Outlook for Androidhttps://aka.ms/ghei36

From: Vitor Sent: Tuesday, August 14, 2:50 PM Subject: Re: [vlousada/LegacyLenses] profiles.xml on Sony A7S not loading (#3) To: vlousada/LegacyLenses Cc: fotovideoguy, Comment

Yes, migrating db for SQLite for that reason. Card format removes everything, and folder exists after APP Run just because APP will create it for log.txt. profiles.xml need to be copied there after formatting. SQLite db will reside inside camera space, so it will remain after card format. β€” You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/vlousada/LegacyLenses/issues/3#issuecomment-412977493, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlvHtvzByHDByBAHHsZQXENJtAIf0jquks5uQxv0gaJpZM4VTeQc.

fotovideoguy commented 5 years ago

Hello Vitor,

Hope you have been doing well. Just wondering if you had any time to update to the SQLITE as yet.

Sam