IXUS 240/ELPH 320 HS Porting thread - page 6 - DryOS Development - CHDK Forum

IXUS 240/ELPH 320 HS Porting thread

  • 312 Replies
  • 143215 Views
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #50 on: 30 / May / 2013, 22:40:47 »
Advertisements
If none of these apply to your situation, maybe there's something wrong with the switch_mode_usb() implementation on your port.
Ummm .. doesn't look like he ever used "switch_mode_usb()" command based on what he posted?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14121
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #51 on: 30 / May / 2013, 22:48:45 »
If none of these apply to your situation, maybe there's something wrong with the switch_mode_usb() implementation on your port.
Ummm .. doesn't look like he ever used "switch_mode_usb()" command based on what he posted?
rec calls switch_mode_usb() under the hood.
Don't forget what the H stands for.

*

Offline nafraf

  • *****
  • 1308
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #52 on: 31 / May / 2013, 05:40:14 »
Thanks reyalp. There is a bug with "switch_mode_usb()".  This is a R50 camera so CAM_USB_EVENTID should be overriden.

@Uwe, I updated platform_camera.h, please test it.


*

Offline Uwe

  • *
  • 18
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #53 on: 31 / May / 2013, 10:31:58 »
If you are using windows, make sure you are using the INF libusb driver, not the filter driver.
I'm currently on my windows machine and installed libusb "Canon_Digital_Camera.inf", generated by inf-wizard.exe

@Uwe, I updated platform_camera.h, please test it.
sadly no change
Code: [Select]
$ chdkptp.exe -i -c
connected: Canon IXUS 240 HS, max packet size 512
con> rec
con 1> play
ERROR: already in play
con 2> =switch_mode_usb(1)
con 3> play
ERROR: already in play
con 4>


*

Offline nafraf

  • *****
  • 1308
Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #54 on: 31 / May / 2013, 13:32:30 »
Maybe a wrong CAM_USB_EVENTID value?
CAM_USB_EVENTID = 0x202, it is the same value for other R49/R50 ports, where levent id for DisconnectUSBCable and ConnectUSBCable are 0x10B3, 0x10B4 respectively. I checked ixus240 101a firmware, and levent ids are as expected.

By the way, Is there any documentation about how 0x10B3/0x10B4 was translated to 0x202? Thanks.

EDIT: Some pointers here:
* http://www.mweerden.net/chdk_ptp.html
* _set_control_event()
« Last Edit: 31 / May / 2013, 13:38:13 by nafraf »

Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #55 on: 14 / June / 2013, 17:55:40 »
What does it take to get this to boot up, fairly confident I have 1.02a  (ver checker said unknown model 1.02a) and I have used CHDK before on other cameras, when I hit play the firmware update option does not appear.
Thanks! Hoping to run a script so I can lift this cam up on a quadcopter to shoot photos every 5 seconds.

Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #56 on: 14 / June / 2013, 18:03:12 »
What does it take to get this to boot up, fairly confident I have 1.02a  (ver checker said unknown model 1.02a) and I have used CHDK before on other cameras, when I hit play the firmware update option does not appear.
Thanks! Hoping to run a script so I can lift this cam up on a quadcopter to shoot photos every 5 seconds.
You probably need to set things up for "SD Card" lock booting?    The IXUS240 is not in the autobuild yet so I assume you pulled a download from a link in this thread?  Typically those zip files do not include the necessary ps.fi2 file needed by the "firmware update" loading method - which is why you do not see the menu item.
« Last Edit: 14 / June / 2013, 18:04:56 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #57 on: 14 / June / 2013, 21:59:41 »
Thanks for your help, turned out being two software issues on my end that were stopping me,
1. A 32 gb card that refuses to boot
2. My dell for some reason wont allow EOSCard to make the sd card bootable. Loaded just fine from a HP laptop.

Working just fine on a 4gb card.


Test flight shot from my neighborhood. First flight refused to autofocus, second flight with focus set to infinity was better. I think the IS is hindering rather then helping the sharpness as the quad makes thousands of adjustments per second to stay afloat.


Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #58 on: 14 / June / 2013, 22:31:14 »
Working just fine on a 4gb card.
A 4G card can be formatted as either FAT16 or FAT32 and be made to boot CHDK.  Your 32G card must be formatted FAT32 (and not exFAT) to work.    Check the card format to track down why one computer worked and the other did not.

Quote

Nice.  I can even see those two guys breaking into your house while you are looking up and flying your air machine.

Quote
I think the IS is hindering rather then helping the sharpness as the quad makes thousands of adjustments per second to stay afloat.
You can disable IS with a simple script if you can't get to it via the Canon menus.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: IXUS 240/ELPH 320 HS Porting thread
« Reply #59 on: 21 / June / 2013, 09:03:03 »
WOW lots of progress over the past few months! 

Anything I can do to help test at this point?

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal