On Monday 18 April 2016 10:02:57 Ivaylo Dimitrov wrote:
>
>
> On 8.04.2016 23:13, Ivaylo Dimitrov wrote:
> >Hi,
> >
> >On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
> >>Hi,
> >>
> >>On 16.01.2016 00:48, Tony Lindgren wrote:
> >>>Hi all,
> >>>
> >>>Looks like there's some issue with the USB gadgets
On 26.04.2016 19:49, Tony Lindgren wrote:
* Ivaylo Dimitrov [160426 09:46]:
On 26.04.2016 18:03, Alan Stern wrote:
On Tue, 26 Apr 2016, Felipe Balbi wrote:
Is there a reason why a process (pnatd in this particular case) doesn't
get killed on reboot?
there might be, and that's probably
On 26.04.2016 18:03, Alan Stern wrote:
On Tue, 26 Apr 2016, Felipe Balbi wrote:
Is there a reason why a process (pnatd in this particular case) doesn't
get killed on reboot?
there might be, and that's probably the bug we're trying to figure
out. But so far, no idea.
One possible reason is
* Ivaylo Dimitrov [160426 09:46]:
>
>
> On 26.04.2016 18:03, Alan Stern wrote:
> >On Tue, 26 Apr 2016, Felipe Balbi wrote:
> >
> >>>Is there a reason why a process (pnatd in this particular case) doesn't
> >>>get killed on reboot?
> >>
> >>there might be, and that's probably the bug we're trying
On Tue, 26 Apr 2016, Felipe Balbi wrote:
> > Is there a reason why a process (pnatd in this particular case) doesn't
> > get killed on reboot?
>
> there might be, and that's probably the bug we're trying to figure
> out. But so far, no idea.
One possible reason is that the process is in an unin
Hi,
Ivaylo Dimitrov writes:
> Looks like there's some issue with the USB gadgets and configfs.
>
> I'm seeing rmmod of the UDC driver cause a warning and then reboot
> hangs the system. This happens at least with v4.4, and I've reproduced
> it with dwc3 and musb so it seems t
Hi,
On 18.04.2016 10:55, Felipe Balbi wrote:
Hi,
Ivaylo Dimitrov writes:
Hi,
On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
Hi,
On 16.01.2016 00:48, Tony Lindgren wrote:
Hi all,
Looks like there's some issue with the USB gadgets and configfs.
I'm seeing rmmod of the UDC driver cause a war
Hi,
Ivaylo Dimitrov writes:
> Hi,
>
> On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
>> Hi,
>>
>> On 16.01.2016 00:48, Tony Lindgren wrote:
>>> Hi all,
>>>
>>> Looks like there's some issue with the USB gadgets and configfs.
>>>
>>> I'm seeing rmmod of the UDC driver cause a warning and then reboot
On 8.04.2016 23:13, Ivaylo Dimitrov wrote:
Hi,
On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
Hi,
On 16.01.2016 00:48, Tony Lindgren wrote:
Hi all,
Looks like there's some issue with the USB gadgets and configfs.
...
(copied from "Re: [PATCH] usb: f_mass_storage: test whether thread is
r
Hi,
On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
Hi,
On 16.01.2016 00:48, Tony Lindgren wrote:
Hi all,
Looks like there's some issue with the USB gadgets and configfs.
I'm seeing rmmod of the UDC driver cause a warning and then reboot
hangs the system. This happens at least with v4.4, and I'v
On Fri, Apr 01 2016, Michal Nazarewicz wrote:
> For legacy/nokia setting no_configfs should be a valid solution:
>
> >8
> diff --git a/drivers/usb/gadget/legacy/nokia.c
> b/drivers/usb/gadget/legacy/nokia.c
> index 0997504..e4bc
On Mon, 4 Apr 2016, Michal Nazarewicz wrote:
> On Mon, Apr 04 2016, Alan Stern wrote:
> > So there is no way to add a single function to several configurations?
>
> There is. f_mass_storage (and any other usb_function_instance) simply
> has to have multiple usb_function structures.
>
> > It sou
On Mon, Apr 04 2016, Ivaylo Dimitrov wrote:
> Who and when is going to destroy the thread if one does
> "/sys/bus/platform/drivers/musb-hdrc# echo musb-hdrc.0.auto > unbind"?
> Wouldn't some kind of refcounting make sense here?
Currently the thread is killed when fsg_common structure is released a
On Mon, Apr 04 2016, Alan Stern wrote:
> So there is no way to add a single function to several configurations?
There is. f_mass_storage (and any other usb_function_instance) simply
has to have multiple usb_function structures.
> It sounds like there are two problems then. The first problem is
Hi,
On 4.04.2016 15:57, Michal Nazarewicz wrote:
On Sat, Apr 02 2016, Alan Stern wrote:
On Sat, 2 Apr 2016, Michal Nazarewicz wrote:
Because of all that, I think the best course of action is to just check
whether the thread is running and conditionally start it in fsg_bind,
i.e.:
--- a/driv
On Mon, 4 Apr 2016, Michal Nazarewicz wrote:
> On Sat, Apr 02 2016, Alan Stern wrote:
> > On Sat, 2 Apr 2016, Michal Nazarewicz wrote:
> >> At the same time, mass storage should work fine if it’s bound to
> >> multiple configurations. Only one configuration can be active at any
> >> given time so
On Sat, Apr 02 2016, Alan Stern wrote:
> On Sat, 2 Apr 2016, Michal Nazarewicz wrote:
>> At the same time, mass storage should work fine if it’s bound to
>> multiple configurations. Only one configuration can be active at any
>> given time so interfaces on different configurations cannot interfere
Hi,
Alan Stern writes:
> On Thu, 31 Mar 2016, Ivaylo Dimitrov wrote:
>
>> > This isn't supposed to cause any problems. The two instances should
>> > never run at the same time, because they belong to different configs.
>> >
>>
>> The problem seems to be that fsg driver creates a thread for eve
Hi,
Ivaylo Dimitrov writes:
>>> Looks like there's some issue with the USB gadgets and configfs.
>>>
>>> I'm seeing rmmod of the UDC driver cause a warning and then reboot
>>> hangs the system. This happens at least with v4.4, and I've
>>> reproduced
On Sat, 2 Apr 2016, Michal Nazarewicz wrote:
> > I'm not so sure about this. Earlier I was undecided about what to do
> > if there are multiple mass-storage interfaces in the same config, but
> > now I realize that one thread won't work in that situation. The
> > difficulty is exception handling
> On Fri, 1 Apr 2016, Michal Nazarewicz wrote:
>> @@ -3050,9 +3053,11 @@ static int fsg_bind(struct usb_configuration *c,
>> struct usb_function *f)
>> if (ret)
>> return ret;
>> fsg_common_set_inquiry_string(fsg->common, NULL, NULL);
>> -
On Fri, 1 Apr 2016, Michal Nazarewicz wrote:
> On Thu, Mar 31 2016, Alan Stern wrote:
> > Michal, I'm not sure how you intended to handle this.
>
> For legacy/nokia setting no_configfs should be a valid solution:
>
> >8
> diff
On Thu, Mar 31 2016, Alan Stern wrote:
> Michal, I'm not sure how you intended to handle this.
For legacy/nokia setting no_configfs should be a valid solution:
>8
diff --git a/drivers/usb/gadget/legacy/nokia.c
b/drivers/usb/ga
On Thu, 31 Mar 2016, Ivaylo Dimitrov wrote:
> > This isn't supposed to cause any problems. The two instances should
> > never run at the same time, because they belong to different configs.
> >
>
> The problem seems to be that fsg driver creates a thread for every
> fsg_bind() call, which overw
On 30.03.2016 22:25, Alan Stern wrote:
On Wed, 30 Mar 2016, Ivaylo Dimitrov wrote:
seems to be created twice :). Maybe the problem is that the first time
musb-hdrc is probed it fails with -EPROBE_DEFER, however that failure is
after gadget drivers got loaded and noone unloads them.
gadget d
* Alan Stern [160330 12:26]:
> On Wed, 30 Mar 2016, Ivaylo Dimitrov wrote:
>
> > >>> seems to be created twice :). Maybe the problem is that the first time
> > >>> musb-hdrc is probed it fails with -EPROBE_DEFER, however that failure is
> > >>> after gadget drivers got loaded and noone unloads th
On Wed, 30 Mar 2016, Ivaylo Dimitrov wrote:
> >>> seems to be created twice :). Maybe the problem is that the first time
> >>> musb-hdrc is probed it fails with -EPROBE_DEFER, however that failure is
> >>> after gadget drivers got loaded and noone unloads them.
> >>
> >> gadget drivers will get ad
On 30.03.2016 21:50, Ivaylo Dimitrov wrote:
On 30.03.2016 17:01, Ivaylo Dimitrov wrote:
On 30.03.2016 16:38, Felipe Balbi wrote:
Hi,
Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
Hi,
On 30.03.2016 17:01, Ivaylo Dimitrov wrote:
On 30.03.2016 16:38, Felipe Balbi wrote:
Hi,
Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
Hi,
On 16.01.2016 00:48, Tony Lindgren wrote:
Hi a
On Wednesday 30 March 2016 16:01:53 Ivaylo Dimitrov wrote:
> On 30.03.2016 16:38, Felipe Balbi wrote:
> > Hi,
> >
> > Ivaylo Dimitrov writes:
> >>> Ivaylo Dimitrov writes:
> > Ivaylo Dimitrov writes:
> >>> Ivaylo Dimitrov writes:
> On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
>
On 30.03.2016 16:38, Felipe Balbi wrote:
Hi,
Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
Hi,
On 16.01.2016 00:48, Tony Lindgren wrote:
Hi all,
Looks like there's some issue with the USB
Hi,
Ivaylo Dimitrov writes:
>> Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
>> Ivaylo Dimitrov writes:
>>> On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
Hi,
On 16.01.2016 00:48, Tony Lindgren wrote:
> Hi all,
>
> Looks like ther
Hi,
On 30.03.2016 13:22, Felipe Balbi wrote:
Hi,
Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
Hi,
On 16.01.2016 00:48, Tony Lindgren wrote:
Hi all,
Looks like there's some issue with the USB gadgets and configfs.
Hi,
Ivaylo Dimitrov writes:
>> Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
> On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
>> Hi,
>>
>> On 16.01.2016 00:48, Tony Lindgren wrote:
>>> Hi all,
>>>
>>> Looks like there's some issue with the USB gadgets and config
Hi,
On 24.03.2016 09:11, Felipe Balbi wrote:
Hi,
Ivaylo Dimitrov writes:
Ivaylo Dimitrov writes:
On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
Hi,
On 16.01.2016 00:48, Tony Lindgren wrote:
Hi all,
Looks like there's some issue with the USB gadgets and configfs.
I'm seeing rmmod of the U
Hi,
Ivaylo Dimitrov writes:
>> Ivaylo Dimitrov writes:
>>> On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
Hi,
On 16.01.2016 00:48, Tony Lindgren wrote:
> Hi all,
>
> Looks like there's some issue with the USB gadgets and configfs.
>
> I'm seeing rmmod of the UDC
Hi,
On 24.03.2016 08:50, Felipe Balbi wrote:
Hi,
Ivaylo Dimitrov writes:
On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
Hi,
On 16.01.2016 00:48, Tony Lindgren wrote:
Hi all,
Looks like there's some issue with the USB gadgets and configfs.
I'm seeing rmmod of the UDC driver cause a warning
Hi,
Ivaylo Dimitrov writes:
> On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
>> Hi,
>>
>> On 16.01.2016 00:48, Tony Lindgren wrote:
>>> Hi all,
>>>
>>> Looks like there's some issue with the USB gadgets and configfs.
>>>
>>> I'm seeing rmmod of the UDC driver cause a warning and then reboot
>>> han
Hi
On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
Hi,
On 16.01.2016 00:48, Tony Lindgren wrote:
Hi all,
Looks like there's some issue with the USB gadgets and configfs.
I'm seeing rmmod of the UDC driver cause a warning and then reboot
hangs the system. This happens at least with v4.4, and I've
* Andrzej Pietrasiewicz [160122 02:36]:
> Hi Tony,
>
> W dniu 15.01.2016 o 23:48, Tony Lindgren pisze:
> >Hi all,
> >
> >Looks like there's some issue with the USB gadgets and configfs.
> >
> >I'm seeing rmmod of the UDC driver cause a warning and then reboot
> >hangs the system. This happens at
Hi Tony,
W dniu 15.01.2016 o 23:48, Tony Lindgren pisze:
Hi all,
Looks like there's some issue with the USB gadgets and configfs.
I'm seeing rmmod of the UDC driver cause a warning and then reboot
hangs the system. This happens at least with v4.4, and I've reproduced
it with dwc3 and musb so i
41 matches
Mail list logo