Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
amarsh04
Posts: 2
Joined: 03 Jan 2010, 18:11
Location: Adelaide, South Australia

Digital Photo Frame 1908:1320

Post by amarsh04 » 03 Jan 2010, 19:21

Hi, I just posted in the "Sticky: Please post your inquiry lines here! Update: version 1.0.5 !" thread about a digital photo frame.

When plugged in dmesg shows:

[73457.676495] usb 1-1: new full speed USB device using uhci_hcd and address 7
[73457.849184] usb 1-1: New USB device found, idVendor=1908, idProduct=1320
[73457.849230] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[73457.849258] usb 1-1: Product: Photo Frame
[73457.849280] usb 1-1: Manufacturer: BUILDWIN
[73457.855220] usb 1-1: configuration #1 chosen from 1 choice
[73457.868364] scsi6 : SCSI emulation for USB Mass Storage devices
[73457.873341] usb-storage: device found at 7
[73457.873361] usb-storage: waiting for device to settle before scanning
[73462.947786] scsi 6:0:0:0: CD-ROM buildwin Photo Frame 1.01 PQ: 0 ANSI: 2
[73462.964815] sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
[73462.974363] sr 6:0:0:0: Attached scsi CD-ROM sr0
[73462.975833] sr 6:0:0:0: Attached scsi generic sg2 type 5
[73462.993225] usb-storage: device scan complete
[73463.196969] usb 1-1: reset full speed USB device using uhci_hcd and address 7

and 2 devices get created:

# ls -al /dev/sg* /dev/sr*
crw-rw---- 1 root cdrom 21, 2 Jan 4 03:44 /dev/sg2
brw-rw----+ 1 root cdrom 11, 0 Jan 4 03:44 /dev/sr0

I have no idea what to try next to get this to work

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 03 Jan 2010, 19:30

I have no idea what you want to get working.

Are you sure this device needs a mode switch?


amarsh04
Posts: 2
Joined: 03 Jan 2010, 18:11
Location: Adelaide, South Australia

Post by amarsh04 » 03 Jan 2010, 19:47

Josh wrote:I have no idea what you want to get working.

Are you sure this device needs a mode switch?
I just want to be able to get photos onto the device under GNU/Linux.

The product documentation claims "Software is built-in to your photo frame which will launch automatically on your pc running either Windows 200, XP or Vista after a few simple steps outlined below". I've tried manually installing the software from the company's web site using wine, but that wouldn't detect the photo frame.

Attempting to mount /dev/sr0 doesn't work

It appears to be a USB device that needs a mode switch to get into some state that (under windows) would allow the transfer of pictures to the photo frame, but I have no idea how to set this. I have tried:

usb_modeswitch -v 1908 -p 1320 -d

which removes the /dev/sg* and /dev/sr* devices, but I assume it would be more useful to set the photo frame into another state.

Regards...


I don't know if it should eventually appear as a mass storage device or PTP device or what, but I would like to

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 03 Jan 2010, 20:54

OK, I see.

In any case, you have to find out what the Windows software is doing. I can't help it, this is what manufacturers are deciding if they support only That One Platform.

Fortunately, with USB it's not that hard to reverse engineer. Have a look on the main page, chapter "Contribute" and follow the hints about sniffing. It's the same principle all over as with the modems usually affected.

If you check the pseudo CD drive in Windows (don't install anything after plugging for now) you should see "autorun.inf" and probably files and folders with drivers/software. If so, go ahead and install the sniffer program. Run it with admin rights. If the device is plugged in (driver/software still not installed) you should see it in the sniffer's device list ("Vid_1908 & Pid_1320").

Install the software/driver and run the sniffer again (admin!); if you don't see the Vid/Pid anymore, the device has changed its IDs and was indeed switched to annother mode.

But even if you do see the Vid/Pid the device still may have changed modes. If you check the box "List devices not present" the ID might show up as a different storage device somewhere down the list (which is sorted according to the IDs; these are all devices that were connected to the specific computer once).

If all that is not the case and the device shows no sign of change, there is probably a proprietary protocol involved. But I doubt that.


HansdeGoede
Posts: 1
Joined: 31 Mar 2010, 19:52
Location: Netherlands
Contact:

Re: Digital Photo Frame 1908:1320

Post by HansdeGoede » 31 Mar 2010, 19:56

amarsh04 wrote:Hi, I just posted in the "Sticky: Please post your inquiry lines here! Update: version 1.0.5 !" thread about a digital photo frame.

When plugged in dmesg shows:

[73457.676495] usb 1-1: new full speed USB device using uhci_hcd and address 7
[73457.849184] usb 1-1: New USB device found, idVendor=1908, idProduct=1320

<snip>

I have no idea what to try next to get this to work
Hi,

This picture frame does not need usb_modeswitch to get it to work. It uses a proprietary protocol (and compression) to get pictures on it.

I've just completed a libgphoto2 camlib for accessing these devices, see:
http://hansdegoede.livejournal.com/9183.html
http://picframe.spritesserver.nl/wiki/i ... AsPicframe

For technical details see:
http://picframe.spritesserver.nl/wiki/i ... ch_chipset
http://picframe.spritesserver.nl/wiki/i ... odingAx206

Regards,

Hans

Post Reply