(please use reply to all and keep the previous mail)
On Tue, Jul 24, 2012 at 02:29:57PM +, Dipen Patel wrote:
> Hi Felipe,
>
> I think I know why my application is not receiving SIGHUP.
>
> When HOST sends SET_CONFIGURATION the set_config() in composite.c calls
> acm_set_alt(). Now acm_set_
Hi Felipe,
I think I know why my application is not receiving SIGHUP.
When HOST sends SET_CONFIGURATION the set_config() in composite.c calls
acm_set_alt(). Now acm_set_alt() calls gserial_connect() and it will
create new port. But it never called gserial_disconnect() to close
previously calle
Hi Felipe,
In my device application I am not receiving SIGHUP when HOST sends
SET_CONFIGURATION or my device is replugged into HOST.
Signals are another mechanism for application to know that either
device is reattached or SET_CONFIGURATION is called by HOST apart from
my custom solution of
Hi,
On Mon, Jul 23, 2012 at 02:34:33PM +, Dipen Patel wrote:
> Can anyone help me with this? How my application should detect device
> plugout/plugin and SET_CONFIGURATION events?
>
> Is my current solution of generating input event on SET_CONFIGURATION call for
> application to close and re
Dipen Patel wrote:
> Can anyone help me with this? How my application should detect device
> plugout/plugin and SET_CONFIGURATION events?
>
> Is my current solution of generating input event on SET_CONFIGURATION
> call for application to close and reopen device node is Okay?
I don't think g_ser
Can anyone help me with this? How my application should detect device
plugout/plugin and SET_CONFIGURATION events?
Is my current solution of generating input event on SET_CONFIGURATION call for
application to close and reopen device node is Okay?
Appreciate any help on this.
Regards,
Dipen Pa
HI,
One thing I observed is that set_config() from composite.c calls acm_set_alt()
in f_acm.c. Here in acm_set_alt() for intf==acm->data_id it always goes to
else part. So rather than resetting it activates new configuration and
thus it gets new port number everytime.
I guess once the device i
Peter Chen writes:
>
> >
> > However I have another problem. My host application calls
> > SET_CONFIGURATION everytime it starts. On device side my application
> > is running and waiting for data from Host. But whenever set config
> > is called serial gadget driver (from composite.c) does soft r
>
> However I have another problem. My host application calls
> SET_CONFIGURATION everytime it starts. On device side my application
> is running and waiting for data from Host. But whenever set config
> is called serial gadget driver (from composite.c) does soft reset and
> I think new port number
Hi,
However I have another problem. My host application calls
SET_CONFIGURATION everytime it starts. On device side my application
is running and waiting for data from Host. But whenever set config
is called serial gadget driver (from composite.c) does soft reset and
I think new port number is
> Hi,
>
> Resolved this by fixing a bug in device side transmit routine. Anyways thank
> you
> guys. This was the only post I found on net with exactly my problem.
>
Do you mean BUGs at fsl_udc_core.c?
Do you mind share of your finding?
Thanks,
Peter
> Regards,
> Dipen Patel
>
> --
> To unsubscr
On Thu, 12 Jul 2012, Dipen Patel wrote:
>
> Hi Ron/Greg,
>
> I am facing similar issue with serial gadget configured on i.MX6Q
> Sabrelite board.
>
> In my case Host sends packets starting with 10 bytes to 2MB bytes in
> increments of 1 byte. And device simply loopback the same packet with
>
Hi,
Resolved this by fixing a bug in device side transmit routine. Anyways thank you
guys. This was the only post I found on net with exactly my problem.
Regards,
Dipen Patel
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel
Hi Ron/Greg,
I am facing similar issue with serial gadget configured on i.MX6Q
Sabrelite board.
In my case Host sends packets starting with 10 bytes to 2MB bytes in
increments of 1 byte. And device simply loopback the same packet with
status byte.
However everything works fine until Tx (repl
14 matches
Mail list logo