View Full Version: PPC Mac, 53.12 Firmware -- will it work?

camerahacks >>Questions >>PPC Mac, 53.12 Firmware -- will it work?


<< Prev | Next >>

rccraigb- 04-18-2008
PPC Mac, 53.12 Firmware -- will it work?
I've built libusb and avidownload version 0.5, but the app seems to get stuck at the "response" part of "challenge/response". Will I be able to get this to work, or am I out of luck? Any help would be appreciated. Thanks, rccraigb

SaturnNiGHTS- 04-18-2008

can you please paste the entire application output? also, you might have better luck with mediadownload...that's a further evolution of avidownload between enigma, anewguy and myself

rccraigb- 04-18-2008

Thanks for the quick reply! Below is the output from avidownload. I will try mediadownload - where may I find the most current source? rccraigb's-powerbook-g4:~/Desktop/avidownload/src rccraigb$ ./avidownload INFO: Closing any opened devices... INFO: Open devices closed. INFO: Scanning USB bus 0 ... INFO: USB device with VID: 0x05ac, PID: 0x8005 on bus 0 INFO: USB device with VID: 0x167b, PID: 0x0101 on bus 0 INFO: Device found: Pure Digital Inc. VID: 0x167B, PID: 0x0101 INFO: Device successfully opened. INFO: Loading .saturnkeys from home directory... INFO: Challenge retrieved successfully. C 0486742c6ca195af722682b345505c66acdcb69c79619cc5b1e4d31ceda76322 C 0043534bdaf6b4f7ad3ee1a34ea70461dde1dc85a815bea24d79dab51f23c09f C cb1b23d93cb3dc63bb1b31fd5b30589a949537122e056e1760e7976a3a23cc4e C 40356a3e588015dbe6e4fd2835925ff9191f4ea9d2d8b30c345693a405529018 ERROR: Failed to unlock device ERROR: Failed to unlock camcorder with key 0 ERROR: Please enter your camcorder's challenge and response keys into your .saturnkeys file.

SaturnNiGHTS- 04-18-2008

could you also paste your ".saturnkeys" file in too? http://camerahacks.10.forumer.com/viewtopic.php?t=6429 that's for mediadownload.

rccraigb- 04-18-2008

Rather than paste the whole file (it's big), I'll describe it: I googled saturnkeys.txt and found a file that has 45 challenge/response pairs, named "001" through "045". I added the next few lines in the first position in this file (just repeated the challenge and replaced the C with an R). S RCCRAIGB C 0486742c6ca195af722682b345505c66acdcb69c79619cc5b1e4d31ceda76322 C 0043534bdaf6b4f7ad3ee1a34ea70461dde1dc85a815bea24d79dab51f23c09f C cb1b23d93cb3dc63bb1b31fd5b30589a949537122e056e1760e7976a3a23cc4e C 40356a3e588015dbe6e4fd2835925ff9191f4ea9d2d8b30c345693a405529018 R 0486742c6ca195af722682b345505c66acdcb69c79619cc5b1e4d31ceda76322 R 0043534bdaf6b4f7ad3ee1a34ea70461dde1dc85a815bea24d79dab51f23c09f R cb1b23d93cb3dc63bb1b31fd5b30589a949537122e056e1760e7976a3a23cc4e R 40356a3e588015dbe6e4fd2835925ff9191f4ea9d2d8b30c345693a405529018 Also, I tried to build mediadownload (0.1) , but received LOTS of errors; here are a few at the top: rccraigb's-powerbook-g4:~/Desktop/mediadownload/src rccraigb$ gcc *.c -lusb -lm -llcms -ljpeg -o mediadownload In file included from avidownload.c:1: ops-linux.h:101: warning: malformed '#pragma pack' - ignored In file included from cam_format.c:1: ops-linux.h:101: warning: malformed '#pragma pack' - ignored In file included from cam_unlock.c:1: ops-linux.h:101: warning: malformed '#pragma pack' - ignored cam_unlock.c: In function 'camera_Unlock': cam_unlock.c:304: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness cam_unlock.c:305: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness In file included from camera_Format.c:1: ops-linux.h:101: warning: malformed '#pragma pack' - ignored In file included from camera_download.c:9: ops-linux.h:101: warning: malformed '#pragma pack' - ignored camera_download.c: In function 'pv2_download_pictures': camera_download.c:123: warning: pointer targets in passing argument 1 of 'pv2_savetofile' differ in signedness

SaturnNiGHTS- 04-18-2008

that would be the problem. the challenge/response you placed in the file is invalid...it's just the challenge and then the challenge...repeated. you actually need to generate the response, using cronuskey or burningman . wipe out all the other keys from that file, since those keys don't work with your cam. generate your correct challenge/response pair, insert them into .saturnkeys, and you'll be set. and for the mediadownload built, those appears to be just warnings, not errors. nothing showstopping from what you pasted. take care of the key situation first, and that should get avidownload working for you.

rccraigb- 04-18-2008
Success!
Thank you, SaturnNiGHTS! That worked perfectly. In summary: PowerBook G4, 10.4, with camera at firmware 53.12. CronusKeys used to generate response based on camera's challenge. avidownload used to retrieve video file. VLC used to play back video. Now I will try to build mediadownload. Oh, and buy a couple more of these cameras. ;) Thanks again, rccraigb

SaturnNiGHTS- 04-18-2008

sure, no problem. if you do plan on building and using mediadownload, make sure you also have the library dependencies installed for it. and if you get a successful build, please contact me so i can include a prebuilt binary in the package for other users.

rccraigb- 04-18-2008

Will do. One more question from a novice: what defines the "number" of a challenge? That is, I've seen several mentions of some tools being able to deal with "challenges 01-04, but not 01-0C". How do I figure out which challenge my camera is employing?

SaturnNiGHTS- 04-18-2008

first two digits of your challenge. yours is "04"

rccraigb- 04-18-2008

I built mediadownload, but it does not work. I have not looked at the source, but here is the output: rccraigbs-powerbook-g4:~/Desktop/mediadownload/src rccraigb$ ./mediadownload INFO: Closing any opened devices... INFO: Open devices closed. INFO: Scanning USB bus 0 ... INFO: USB device with VID: 0x05ac, PID: 0x8005 on bus 0 INFO: USB device with VID: 0x167b, PID: 0x0101 on bus 0 INFO: Device found: Pure Digital Inc. VID: 0x167B, PID: 0x0101 INFO: Device is a camcorder Warning: Unable to set usb configuration (-9) ****************************************************** * ERROR: Couldn't open device * * * * press Enter to close this window * ****************************************************** Closing devices INFO: Closing any opened devices... INFO: Open devices closed. However, when I run avidownload immediately after, it works perfectly.

SaturnNiGHTS- 04-18-2008

almost seems like the app doesn't have permission. try running it with sudo.

rccraigb- 04-21-2008

I figured out what is going on. Let me clarify; I know the "what", but I still don't know the "why". avidownload and mediadownload each use a file called "open_device.c". While these files are not the same, the same usb interface calls are being made to usb_set_configuration(). In the case of avidownload, it appears that the status from this call is greater than or equal to zero, while it is negative 9 for mediadownload. If I comment out the check for the status value from this function, that is, ignore the response from usb_set_config, mediadownload works, albeit very slowly. An 8 megabyte video took almost 7 minutes to retrieve; it took under 30 seconds for the same video using avidownload. In any case, I would call my change to mediadownload a kludge because I don't know what is happening in usb_set_config without further research.

SaturnNiGHTS- 04-21-2008

I figured out what is going on. Let me clarify; I know the "what", but I still don't know the "why". avidownload and mediadownload each use a file called "open_device.c". While these files are not the same, the same usb interface calls are being made to usb_set_configuration(). In the case of avidownload, it appears that the status from this call is greater than or equal to zero, while it is negative 9 for mediadownload. If I comment out the check for the status value from this function, that is, ignore the response from usb_set_config, mediadownload works, albeit very slowly. An 8 megabyte video took almost 7 minutes to retrieve; it took under 30 seconds for the same video using avidownload. In any case, I would call my change to mediadownload a kludge because I don't know what is happening in usb_set_config without further research. we will investigate...thanks for the info.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.