Hi, 

>-----Original Message-----
>From: ext Patrick Ohly [mailto:[email protected]] 
>Sent: Monday, January 17, 2011 1:14 PM
>To: Kodihalli Deepak (Nokia-MS/Bangalore)
>Cc: Kavuri Sateesh (Nokia-MS/Bangalore); [email protected]; 
>Puranik Santosh (Nokia-MS/Bangalore); 
>[email protected]; [email protected]; 
>[email protected]; [email protected]; Duggirala 
>Karthik.2 (Nokia-MS/Helsinki); [email protected]; Drews, Paul
>Subject: RE: Buteo MTP + gadgetfs
>
>On Mo, 2011-01-17 at 04:39 +0000, [email protected] wrote:

>> >Would it be acceptable to create a pseudo Sync::CONNECTIVITY_ALWAYS 
>> >transport? A server plugin specifying that in its XML config then 
>> >would be activated as soon as msyncd starts and remain 
>active as long 
>> >as msyncd runs, and mtp.xml could be changed to use that.
>> 
>> That's already there, but it would be pointless to load the 
>MTP plug-in always.
>
>I agree that a true usb_moded replacement would be nice, but 
>in the meantime I don't see an alternative to loading the 
>plugin all the time.
>
>How is this already there? I only see CONNECTIVITY_USB, 
>CONNECTIVITY_INTERNET, CONNECTIVITY_BT.

There'a a "load_without_transport" profile key, it could be used for this 
purpose.

>> /home/user/MyDocs represents the "root" of a storage, as 
>defined in the MTP1 spec.
>
>Yes, but the spec doesn't mandate what the local path has to 
>be, does it? I agree with Alexander, it would be nice if all 
>the standard freedesktop dirs could be exposed via MTP instead 
>of forcing devices to use a single "MyDocs" directory.

Like I said, we should leave this decision to the storage plug-in. We can use 
XDG user-dirs for file-system storages, but how about a contacts storage?

>>  We can have multiple storages, and each would have their own root.
>
>I think it would be more natural to have one root which 
>contains multiple, independent directories.

Well that's as per the MTP spec, each storage has it's own root. I can tell the 
host that my contacts storage's root it "/contacts", and the host will show 
that as a directory with contacts objects contained within, but this doesn't 
mean there's a /contacts directory on the device. The root is an abstraction 
provided by the MTP storage(s).

>How about this idea: the root of the MTP plugin filestorage is 
>/etc/mtp/filestorage/root. It can be a symlink to 
>/home/user/MyDocs (same result as right now), or a directory 
>with symlinks to multiple other directories.

That might work only for file-system storages.

>Best Regards
>
>Patrick Ohly
>Senior Software Engineer
>
>Intel GmbH
>Open Source Technology Center               
>Pützstr. 5                              Phone: +49-228-2493652
>53129 Bonn
>Germany

Regards,
Deepak
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to