TX1 Porting Completed - page 9 - General Discussion and Assistance - CHDK Forum

TX1 Porting Completed

  • 91 Replies
  • 26527 Views
*

Offline reyalp

  • ******
  • 13387
Re: TX1 Porting Completed
« Reply #80 on: 30 / November / 2009, 04:57:32 »
Advertisements
TX1 defines CAM_SWIVEL_SCREEN but as far as I can tell never sets the MODE_SCREEN_OPENED or MODE_SCREEN_ROTATED  (as other S, A and SX cams with this do) in mode_get().

I guess this means flashlight mode doesn't work. If anyone has one and wants to fix it, let me know.
Don't forget what the H stands for.

Re: TX1 Porting Completed
« Reply #81 on: 14 / December / 2009, 21:32:04 »
Reyalp,

Heh - I wondered why the flashlight never worked for me!

If you are looking for someone to test a fix, I am happy to oblige. Email me at echronomics@echronomics.com

*

Offline reyalp

  • ******
  • 13387
Re: TX1 Porting Completed
« Reply #82 on: 25 / December / 2009, 22:04:19 »
Reyalp,

Heh - I wondered why the flashlight never worked for me!

If you are looking for someone to test a fix, I am happy to oblige. Email me at echronomics@echronomics.com
Ooops, I was going to follow up on this and then forgot. What we need is someone to watch physw_status with the screen in it's various positions.

Here's diskboots for 100g and 101b that have the physw_status display hard coded on. You just need to find out which digits change when you open and rotate the screen. There's probably a few that change continuously, but hopefully it isn't one of those.
Don't forget what the H stands for.

Re: TX1 Porting Completed
« Reply #83 on: 26 / December / 2009, 05:58:16 »
physw_status 2 is 170f0f1f with LCD in normal position, and 170f1f1f with LCD turned upside down to inverted position (i.e. can see LCD while taking a photo of yourself!).

1 and 3 don't change.

Thanks!


*

Offline reyalp

  • ******
  • 13387
Re: TX1 Porting Completed
« Reply #84 on: 26 / December / 2009, 06:36:12 »
Ok, I guess that's the one for flashlight mode.

The other cameras with swivel screen check both rotated and opened (I guess because you can have it closed but rotated ?) but I'm not sure if this applies to TX1.
Don't forget what the H stands for.

Re: TX1 Porting Completed
« Reply #85 on: 26 / December / 2009, 11:53:03 »
The other cameras with swivel screen check both rotated and opened (I guess because you can have it closed but rotated ?) but I'm not sure if this applies to TX1.

Yes, you can have it flush against the body (closed) with the LCD on the outside (rotated).

There is a tab on the screen that presses against a switch on the body when the screen is closed normally. This is used to turn off the display, but has been overridden in SDM (and perhaps CHDK), so the screen remains illuminated even when this switch is pressed.
« Last Edit: 26 / December / 2009, 11:58:41 by cybercom »
~~~~~~~~~~~~~~~~~~~~~

<")%%%><<

*

Offline reyalp

  • ******
  • 13387
Re: TX1 Porting Completed
« Reply #86 on: 26 / December / 2009, 16:32:00 »
Yes, you can have it flush against the body (closed) with the LCD on the outside (rotated).

There is a tab on the screen that presses against a switch on the body when the screen is closed normally. This is used to turn off the display, but has been overridden in SDM (and perhaps CHDK), so the screen remains illuminated even when this switch is pressed.
Ah sure enough, it's in CHDK kbd.c

Since CHDK overrides this, we'll need an additional hack to get this state for screen_opened().

While I'm here: Should the closed flag be overridden only if the screen is rotated ? Or would this prevent you from doing MD with the screen closed ?
Don't forget what the H stands for.

Re: TX1 Porting Completed
« Reply #87 on: 26 / December / 2009, 17:22:33 »
Personally, I'd love a menu selection to make the choice. There are times when battery life is more important than having the screen on all the time.

I know that takes things in a different direction and I don't really know why it was decided to leave the screen on all the time, but it's a drag having to constantly shut down the camera to save juice. When the TX-1 is mounted it is a pain to have to disassemble the rig to change the battery.
~~~~~~~~~~~~~~~~~~~~~

<")%%%><<


Re: TX1 Porting Completed
« Reply #88 on: 26 / December / 2009, 17:28:58 »
Personally, I'd love a menu selection to make the choice. I don't really know why it was decided to leave the screen on all the time

Andrew Woods request at the very earliest stages of porting.

If I can summon-up the energy I may add a menu option   :)

*

Offline reyalp

  • ******
  • 13387
Re: TX1 Porting Completed
« Reply #89 on: 26 / December / 2009, 17:45:39 »
Personally, I'd love a menu selection to make the choice. There are times when battery life is more important than having the screen on all the time.

I know that takes things in a different direction and I don't really know why it was decided to leave the screen on all the time, but it's a drag having to constantly shut down the camera to save juice. When the TX-1 is mounted it is a pain to have to disassemble the rig to change the battery.
Yes it sounds like it should be an option, I suspect it wasn't done in the first place because there's not really a well defined way to make camera specific options, and no other camera (AFAIK) needs it (S/SX/G normally have display on in this configuration).

I'll see what I can do.

I guess someone should verify that MD doesn't work with the screen closed in the default canon behavior (i.e. screen off due to being closed). I'm pretty sure this will be true, but if it isn't things would be much simpler. I can provide a test build if needed.
Don't forget what the H stands for.

 

Related Topics