From: Hans de G. <hde...@re...> - 2010-11-02 14:56:37
|
Hi, On 10/27/2010 05:39 PM, danu wrote: > Hi > > I'm experiencing the same problem as reported by Mario > On 09/20/2010 11:14 AM > > used the howto as on page: > http://picframe.spritesserver.nl/wiki/index.php/UsingAsPicframe > > dings:/home/danu# gphoto2 --version > [..] > This version of gphoto2 is using the following software versions and > options: > gphoto2 2.4.5 gcc, popt(m), exif, cdk, aa, jpeg, > readline > libgphoto2 2.4.10.1 gcc, ltdl, EXIF > libgphoto2_port 0.8.0 gcc, ltdl, USB, serial lockdev locking > > > Please find my output below and the log attached: > > > dings:/home/danu# gphoto2 --auto-detect > Model Port > ---------------------------------------------------------- > AX203 USB picture frame firmware ver 3.5.x usbscsi:/dev/sg1 > > > and > > > dings:/home/danu# gphoto2 -L > *** Error (-105: 'Unknown model') *** > > > Am I having another model or what could be done in order to use it? Yes you seem to have another model. This part of the log file you've send is the crucial part: 0.531400 ax203(0): unknown eeprom id: c81440c8 Unfortunately I cannot find anything in google about a manufacturer id of c8, so I've no idea what sort of eeprom your picture frame is using. Can you see if there is a flashlib.dat file on the cdrom the picture frame emulates? (if it won't work as a cdrom, kill haldaemon, unplug and try again you will need to mount it manually as haldaemon is not running), or use windows to look at the "cdrom". If there is no flashlib.dat (which I expect to be the case), that is not really a problem, I can just add an unknown entry in the table, assuming it follows the standard spiflash command set (a reasonable assumption) and that it cannot handle 64k erases. I do need to know the size of the eeprom though. The easiest way to find this out is to dump it, please compile the attached test.c, like this gcc -o test test.c Then plug in your picture frame and select usb connect from its menu, then do dmesg, at the end of the dmesg output there should be something like this: [21795.542373] sr 16:0:0:0: Attached scsi CD-ROM sr1 [21795.542580] sr 16:0:0:0: Attached scsi generic sg10 type 5 The sg10, likely with a different nr in your case so sg# is what is important here. now as root do: ./test /dev/sg# This will create a 8MB dump.bin file, please gzip it: gzip dump.bin And then send me a private message with dump.bin.gz attached, then I can figure out how big the eeprom is in your frame and add an unknown entry to the table for it. Thanks & Regards, Hans |