Hi,

> -----Original Message-----
> From: Yang Chengwei [mailto:[email protected]]
> Sent: Thursday, November 21, 2013 3:05 AM
> To: Krzysztof Opasiak
> Cc: 'Yang Chengwei'; 'Taeyoung Kim'; 'Krogerus, Heikki'; 'Stoppa,
> Igor'; [email protected]
> Subject: Re: [Dev] usb-manager: set correct usb gadget attributes
> >
> >
> > Some time ago Matt Porter introduced a libusbg[1] which is a C
> API for
> > ConfigFS. Currently we are working under development of this
> library
> > and under command line tool called gt[2]. When the library will
> be
> > ready we will rewrite usb manager functionality related to usb
> gadgets
> > with usage of that library.
> 
> Do you plan it for Tizen 3.0?

It's really hard to say now. Of course we will make usb-manager work
with ConfigFS and use libusbg but I'm not sure if we will be able to
provide API for this functionality on time. There are several issue for
example security, which should be solve before and CAPI will be
accessible for other services than USB manager.

Gt is under high development now and basic functionality will be
provided asap. This will allow internal developers to set-up usb gadgets
easily using serial port or ssh over wifi.

> >
> >
> > > We (Intel developers) currently has some discussion about if
> the
> > > gadget iSerial attribute can also handle in user space like
> this
> > > way.
> > >
> > > So far, iSerial setup in kernel gadget driver I found. How do
> you
> > > think?
> > >
> >
> > Moreover, there is a FunctionFS in Kernel. We prepare to rewrite
> SDB
> > to use it instead of specialized Kernel driver. Aleksander Zdyb
> 
> Yes, I see you're trying to register all usb gadget functions to
> configfs[1].
> 
> > <[email protected]> is responsible for this task. The
> goal
> > which we would like to achieve is to eliminate our specific
> drivers
> > and have only the parts of Kernel which are in mainline. This
> will be
> > very beneficial for us and allow to easier Kernel upgrade.
> 
> I see sdb was forked from adb? With a little changes, name, sub
> protocol and etc. Is it possible to mainline both adb and sdb?

We plan to do this. Andrzej Pietrasiewicz has wrote a patch which is a
proof of concept of using FunctionFS with adb/sdb. The patch has not
been submitted because it fails in some corner cases, so we are working
to fix all the issues and then we will try to submit it to mainline of
adb and sdb.

Moreover there is still an issue with several copies of sdb in
repositories. There was even a discussion about this on the list but I
see no conclusion? What is the current state? Maybe just merge those
repositories and remove one of them from gerrit and obs?

-- 
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