ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Tue Oct 09, 2012 1:53 am

mm1804 wrote:I tried several times to get this working (pearl DPF @ Raspberry PI) but all of the howtos are not working/ have errors in the steps and so on.
Thanks a lot!
MM1804
And what errors did you encounter?

m_K_o
Posts: 8
Joined: Fri Aug 03, 2012 3:40 am

Re: Photo keyring as screen

Tue Oct 09, 2012 9:21 am

I'm also currently stuck with:

Code: Select all

Found AX206 DPF (bootloader)
Error: Failed to claim usb device!
Possibly you have to 'sudo libhid-detach-device 1908:3318'
dpf: cannot open dpf device usb0
Error initializing driver DPF: Exit!
libhid isn't apparently available via apt-get and compiling it by myself is pretty hard with my current knowledge of linux stuff.
I already have latest svn of libhid, but don't know how to continue from here.
Any help would be appreciated.

Norefall
Posts: 43
Joined: Sun Nov 06, 2011 12:19 pm

Re: Photo keyring as screen

Tue Oct 09, 2012 9:40 am

ax206geek wrote:
Norefall wrote: Got the same error when I ran the test config for lcd4linux too. Whats wrong? Do I need to edit the conf file?
Is frame in bootloader mode - press menu and reset together? You may need to execute hiddetach as well.
No, it was not in bootloader mode.

Im now holding manu and pushed reset, and it is a HID device now, but I still get the same error. How to execute hiddetach?

m_K_o
Posts: 8
Joined: Fri Aug 03, 2012 3:40 am

Re: Photo keyring as screen

Tue Oct 09, 2012 10:10 am

Got the libhid compiled and device detached but still no go.
Now I'm getting this:

Code: Select all

Found AX206 DPF (bootloader)
DPF: framebuffer could not be allocated: malloc() failed
Error initializing driver DPF: Exit!
Now I have absolutely no idea what to do.

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Tue Oct 09, 2012 10:39 am

@m_K_o:
Did you execute the commands as root user?

@Norefall:
The hiddetach is in fw directory. It is a shell script.

Norefall
Posts: 43
Joined: Sun Nov 06, 2011 12:19 pm

Re: Photo keyring as screen

Tue Oct 09, 2012 11:38 am

ax206geek wrote: @Norefall:
The hiddetach is in fw directory. It is a shell script.
Oh.. It works. Thanks!

Norefall
Posts: 43
Joined: Sun Nov 06, 2011 12:19 pm

Re: Photo keyring as screen

Tue Oct 09, 2012 12:38 pm

Identify.py

Code: Select all

Looking for firmware.............: Found (buildwin, 128x128 px).
Looking for known version info...: None.
Looking for Openwin..............: Found.
Looking for LcdIniTbl............: None.
WARNING: This is no "standard" buildwin software!
Looking for known signatures.....: None.

Sorry, no matching dpf found.
So this DPF is not hackable? :|

User avatar
with ice cream
Posts: 165
Joined: Mon Jul 30, 2012 7:25 am

Re: Photo keyring as screen

Tue Oct 09, 2012 4:10 pm

Norefall wrote: So this DPF is not hackable? :|
Mine also wasn't recognized using the python tools. But it worked with the windows tool, once I had the proper INI file and the image for my particular device. I found both in a different forum. Sorry if I cannot be more specific but I am on a business trip.

m_K_o
Posts: 8
Joined: Fri Aug 03, 2012 3:40 am

Re: Photo keyring as screen

Tue Oct 09, 2012 7:58 pm

ax206geek wrote:@m_K_o:
Did you execute the commands as root user?
Yes.

Here's all the info i have about my dpf:
Dump of the firmware: full.bin

Code: Select all

$ python identify.py full.bin
Looking for firmware.............: Found (coby, 320x240 px).
Looking for known version info...: None.
Looking for Openwin..............: Found.
Looking for LcdIniTbl............: Found.
Looking for known signatures.....: None.

Sorry, no matching dpf found.

Code: Select all

$ python detect.py usb0
Found AX206 DPF (bootloader)
Manufacturer: Apple
Size        : 1 MB
Now I'm wondering if i should be running some hacked firmware on the dpf... and if so, where would i get one?

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Wed Oct 10, 2012 12:35 am

Norefall wrote:

Code: Select all

Looking for LcdIniTbl............: None.
WARNING: This is no "standard" buildwin software!
Looking for known signatures.....: None.

Sorry, no matching dpf found.
So this DPF is not hackable? :|
I don't have the skills to hack this type of frame yet but you can backup the firmware with fulldump.py and upload firmware like m_K_o and I will cross-post it to forum.doozan.com to have superelchi to take a look - or you could do these steps yourself.

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Wed Oct 10, 2012 12:38 am

m_K_o wrote:

Code: Select all

Looking for Openwin..............: Found.
Looking for LcdIniTbl............: Found.
Now I'm wondering if i should be running some hacked firmware on the dpf... and if so, where would i get one?
I'll try to hack it for you or you could post the firmware to superelchi at forum.doozan.com to have a look.

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Wed Oct 10, 2012 1:45 am

ax206geek wrote:
I'll try to hack it for you or you could post the firmware to superelchi at forum.doozan.com to have a look.
Try this. You have to unzip the file first as the forum only allows zip extensions.
Attachments
fw.zip
test firmware for coby 320x240 frame
(39 KiB) Downloaded 146 times

m_K_o
Posts: 8
Joined: Fri Aug 03, 2012 3:40 am

Re: Photo keyring as screen

Wed Oct 10, 2012 6:52 am

ax206geek wrote:Try this. You have to unzip the file first as the forum only allows zip extensions.
Now i got the googly eyes and menu, but having hard time getting pi to detect it correctly.

Code: Select all

[1516775.794935] usb 1-1.2: new full-speed USB device number 40 using dwc_otg
[1516775.874954] usb 1-1.2: device descriptor read/64, error -71
[1516776.064977] usb 1-1.2: device descriptor read/64, error -71
[1516776.254994] usb 1-1.2: new full-speed USB device number 41 using dwc_otg
[1516776.335004] usb 1-1.2: device descriptor read/64, error -71
[1516776.524895] usb 1-1.2: device descriptor read/64, error -71
[1516776.714930] usb 1-1.2: new full-speed USB device number 42 using dwc_otg
[1516777.134769] usb 1-1.2: device not accepting address 42, error -71
[1516777.214983] usb 1-1.2: new full-speed USB device number 43 using dwc_otg
[1516777.634782] usb 1-1.2: device not accepting address 43, error -71
[1516777.635037] hub 1-1:1.0: unable to enumerate USB device on port 2
Same thing in both "normal" and bootloader mode.
With progspi i can detect it, but I'd need to enter some flash info (that I'm not sure about) to get it to flash.

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Wed Oct 10, 2012 11:20 am

m_K_o wrote: Now i got the googly eyes and menu, but having hard time getting pi to detect it correctly.
That's an indication the frame is already hacked so you don't need to flash it anymore. Try lcd4linux or any other compatible program like ax206term or dpfsend.

m_K_o
Posts: 8
Joined: Fri Aug 03, 2012 3:40 am

Re: Photo keyring as screen

Wed Oct 10, 2012 11:37 am

ax206geek wrote:That's an indication the frame is already hacked so you don't need to flash it anymore. Try lcd4linux or any other compatible program like ax206term or dpfsend.

Code: Select all

$ sudo ./lcd4linux -f ../dpf.conf -F
Error: No matching USB device found!
dpf: cannot open dpf device usb0
Error initializing driver DPF: Exit!

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Thu Oct 11, 2012 11:27 am

@Norefall:
http://forum.doozan.com/read.php?9,2435,9844#msg-9844
Is there a manufacturer or link?

@m_K_o:
Try a different cable. Some of the shipped cables that comes with the frame are of bad quality. Is the display and menu working normally?

Norefall
Posts: 43
Joined: Sun Nov 06, 2011 12:19 pm

Re: Photo keyring as screen

Thu Oct 11, 2012 11:40 am

ax206geek wrote:@Norefall:
http://forum.doozan.com/read.php?9,2435,9844#msg-9844
Is there a manufacturer or link?
Not that I know of. I threw the box and cover it came with. Thanks for helping me ax206geek!:) I will try the proposed fw.

Norefall
Posts: 43
Joined: Sun Nov 06, 2011 12:19 pm

Re: Photo keyring as screen

Thu Oct 11, 2012 12:49 pm

ax206geek wrote: Is there a manufacturer or link?
I think I found it. When I was trying to flash the fw from superelchi I got this:

Code: Select all

Found AX206 DPF (bootloader)
Manufacturer: Apple
Size : 1 MB
Flash size mismatch, specify -f to force
As you can see, there is a mismatch in size (~28kb vs 1MB), but it says my Manufacturer is Apple.
Shuld I force flash?

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Thu Oct 11, 2012 1:22 pm

@Norefall: Yes, with -f

Norefall
Posts: 43
Joined: Sun Nov 06, 2011 12:19 pm

Re: Photo keyring as screen

Thu Oct 11, 2012 1:52 pm

ax206geek wrote:@Norefall: Yes, with -f
Yey, it's hacked!:) Big thanks to ax206geek and superelchi!
Photo 15 33 19 11.10.12_resize.jpg

m_K_o
Posts: 8
Joined: Fri Aug 03, 2012 3:40 am

Re: Photo keyring as screen

Thu Oct 11, 2012 4:19 pm

ax206geek wrote:m_K_o:
Try a different cable. Some of the shipped cables that comes with the frame are of bad quality. Is the display and menu working normally?
Same thing with three different cables. Even with the cable that came with it, it detected just fine before the firmware flashing.

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Fri Oct 12, 2012 12:36 pm

@m_K_o:
If the USB errors appear in bootloader mode, it is unlikely it is due to the new firmware you flashed since bootloader mode works even with a blank flash. What other USB peripherals is plugged to the r-pi? Have you tried rebooting the pi?

Do you have desktop linux to reflash back to the original firmware with restore.py? doozan forum might have the right flashlib for your device for ProgSPI, see this: http://forum.doozan.com/read.php?9,2435,9541#msg-9541.

m_K_o
Posts: 8
Joined: Fri Aug 03, 2012 3:40 am

Re: Photo keyring as screen

Fri Oct 12, 2012 1:30 pm

@ax206geek
Restarting pi fixed the detecting issue.
Also the flashlib you linked contains info for my dpf so I'm also able to flash with my win7 now.
Big thanks for all the help so far.

ax206geek
Posts: 52
Joined: Sat Jun 16, 2012 2:55 pm

Re: Photo keyring as screen

Fri Oct 12, 2012 2:14 pm

@m_K_o:

That's great. Is the hacked frame working? Do you have a link of where you bought the frame/manufacturer? I'll need to update superelchi with these details to commit the code so others who got the frame can hack it too.

m_K_o
Posts: 8
Joined: Fri Aug 03, 2012 3:40 am

Re: Photo keyring as screen

Fri Oct 12, 2012 9:01 pm

@ax206geek

I believe the frame itself is working, but I'm still having some issues.
I'm getting "bulk write: Resource temporarily unavailable" whenever i run lcd4linux.
It prints something on the top half of the screen and then goes back to googly eyes.

Frame is bought from here: ebay.de link
Let me know if you need any other information of the screen.

Return to “Other projects”