USB is not handled, its current address / mask is wrong (as the source says).
#if defined(CAMERA_a630) || defined(CAMERA_a640) || defined(CAMERA_a610) || defined(CAMERA_a620) || defined(CAMERA_ixus800_sd700) || defined(CAMERA_ixus65_sd630) || defined(CAMERA_ixus850_sd800) || defined(CAMERA_ixus900_sd900) || defined (CAMERA_ixus70_sd1000) || defined (CAMERA_ixus950_sd850) || defined(CAMERA_a410)#define USB_MASK 0x8000000#define USB_REG 1#endif
#define USB_MASK 0x40 // ?? incomplete port - probably wrong#define USB_IDX 2 // ?? incomplete port - probably wrong
I'm sorry if I wasn't clear, I do have this camera, so I wrote about my experiences.One thing that bothers me, why is thiskbd.o: kbd.c ../generic/kbd.cin platform/ixus65_sd630/Makefile ?It builds and works without the red part. The port's kbd.c does not #include the generic one.
I guess that depends on whether you are talking about the release-1_0 branch ( i.e. CHDK Stable) or the main dev trunk ( unstable ) ?
UPDATE : I confirmed that both stable and unstable versions compile the platform/generic/kbd.c file but do not link in the result.
can you fix this ?
I can provide some code for both trunk versions if that will help get things started.
This is not entirely clear to me. The line of the makefile I posted above specifies two kbd.c files as the source of kbd.o (?), the two kbd.c files have many conflicting definitions (functions, variables). How can this not cause any build issues? (I would also like to note that there is a number of ports whose makefiles unnecessarily specify that generic kbd.c)
Quotecan you fix this ?I will definitely try.
Quote I can provide some code for both trunk versions if that will help get things started.That would help, as you surely know how the remote related code works. I will take care of the firmware specific code, the usb definitions for this model in the generic kbd code are correct.
get there in the next couple of weeks
Started by AquaAddict RAW Shooting and Processing
Started by maestrodellatorre « 1 2 » Hotwire! Hardware Mods, Accessories and Insights
Started by tyguy123 Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by miked3 General Help and Assistance on using CHDK stable releases
Started by Jez General Help and Assistance on using CHDK stable releases