Hi,

> -----Original Message-----
> From: Yang Chengwei [mailto:[email protected]]
> Sent: Thursday, November 21, 2013 3:49 AM
> To: 김태영
> Cc: Stoppa, Igor; Krzysztof Opasiak; Yang Chengwei; Krogerus,
> Heikki; [email protected]
> Subject: Re: [Dev] usb-manager: set correct usb gadget attributes
> 
> On Thu, Nov 21, 2013 at 02:28:14AM +0000, 김태영 wrote:
> > Hello? I'm Taeyoung Kim of SystemFW.
> >
> > Your opinion is that the vendor and product name should not be
> > hard-coded, right?
> 
> Yes.
> 
> >
> > We also agree to your opinion since Tizen platform will be used
> for
> > many companies and products.
> >
> >
> >
> > We have plan to make a XML file for all information of usb
> > configuraitons
> >
> > so that we can change Vendor and Product name by modifying just
> the XML file.
> >
> > The plan is for Tizen 3.0. The XML file can be changed by other
> > methodologies,
> >
> > and thus we should discuss to find better way to change these
> > informations easily.
> 
> For the XML solution, I have some concerns.
> 
> If this XML config file provides by usb-manager, then every OEM
> need maintains a fork version, just for a customized XML.
> 
> Or there will be a cross system OEM customize service (may not
> really a some kind of service, maybe a partition to store all OEM
> customize config files), so USB XML config is part of it. usb-
> manager just go and read, so no fok needed for this purpose.
> 
> Or these HW infomation should be exported from system-info API or
> any other such kind API, so usb-manager just as a user of these
> APIs.
> 
> The latter two also can be combined into one, like some OEM config
> files, exported through system-info APIs but not readable from file
> access.

Currently we have no such global service/API which could hold the configuration 
generated per each device. Such things are done using adaptation/* and we have 
a group for example RD_PQ_adaptation which consist of file specific for each 
platform. Maybe we should generate such XML but don't provide it witch 
USB-manager directly but using for example 
adaptation/DEVICE_XYZ_usb-configuration?

-- 
BR's

Krzysztof Opasiak
Samsung R&D Institute Poland
Samsung Electronics
[email protected]





_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to