Re: pl2303_read_int_callback - usb_submit_urb failed with result -19

2016-08-31 Thread Malith Yapa
On Mon, Aug 29, 2016 at 11:29 PM, Alan Stern wrote: > On Mon, 29 Aug 2016, Greg KH wrote: > >> > >> I have since compiled 4.8.0_rc1. And just as you guys suggested a part >> > >> of problem is solved. The minor number now definitely goes up to 512 >> > >> before giving

Re: pl2303_read_int_callback - usb_submit_urb failed with result -19

2016-08-29 Thread Malith Yapa
On Mon, Aug 29, 2016 at 4:46 PM, Greg KH <gre...@linuxfoundation.org> wrote: > On Mon, Aug 29, 2016 at 02:49:23PM +0530, Malith Yapa wrote: >> On Thu, Jul 14, 2016 at 9:14 AM, Malith Yapa <malithy...@gmail.com> wrote: >> > On Thu, Jul 14, 2016 at 2:14 AM, Greg

Re: pl2303_read_int_callback - usb_submit_urb failed with result -19

2016-08-29 Thread Malith Yapa
On Thu, Jul 14, 2016 at 9:14 AM, Malith Yapa <malithy...@gmail.com> wrote: > On Thu, Jul 14, 2016 at 2:14 AM, Greg KH <gre...@linuxfoundation.org> wrote: >> On Wed, Jul 13, 2016 at 10:59:10AM +0530, Malith Yapa wrote: >>> I think i am. >>> >>> int

Re: pl2303_read_int_callback - usb_submit_urb failed with result -19

2016-07-13 Thread Malith Yapa
On Thu, Jul 14, 2016 at 2:14 AM, Greg KH <gre...@linuxfoundation.org> wrote: > On Wed, Jul 13, 2016 at 10:59:10AM +0530, Malith Yapa wrote: >> I think i am. >> >> int readDword(int addr) { >> >> uint16_t reg[1];// will store read registers values >&g

Re: pl2303_read_int_callback - usb_submit_urb failed with result -19

2016-07-12 Thread Malith Yapa
imex A20-micro, Linux version 3.4.90+ (gcc version 4.7.1 (Debian 4.7.1-7) ) Thanks, Malith On Wed, Jul 13, 2016 at 10:17 AM, Greg KH <gre...@linuxfoundation.org> wrote: > On Wed, Jul 13, 2016 at 08:58:48AM +0530, Malith Yapa wrote: >> The reason for the random disconnects is apparent

Re: pl2303_read_int_callback - usb_submit_urb failed with result -19

2016-07-12 Thread Malith Yapa
wo reasons i can see for this are either if the malloc fails (but there's no "out of memory" error) or if minor numbers have exceeded the limit. But the minor is only 84! Any pointers for a solution? Thanks, Malith On Wed, Jul 6, 2016 at 4:38 PM, Malith Yapa <malithy...@gmail.com> wrote: >

Re: pl2303_read_int_callback - usb_submit_urb failed with result -19

2016-07-06 Thread Malith Yapa
On Wed, Jul 6, 2016 at 3:42 PM, Johan Hovold <jo...@kernel.org> wrote: > [ +CC: linux-usb, for real this time ;) ] > > On Wed, Jul 06, 2016 at 02:40:25PM +0530, Malith Yapa wrote: >> On Wed, Jul 6, 2016 at 2:13 PM, Johan Hovold <jo...@kernel.org> wrote: >

Fwd: pl2303_read_int_callback - usb_submit_urb failed with result -19

2016-07-05 Thread Malith Yapa
ate? Thanks, Malith On Tue, Jul 5, 2016 at 6:09 PM Johan Hovold <jo...@kernel.org> wrote: > > On Mon, Jul 04, 2016 at 10:22:04PM +0530, Malith Yapa wrote: > > Continuously polling registers with the PL2303 usb serial adapter > > eventually results in usb_subimit_urb failed

pl2303_read_int_callback - usb_submit_urb failed with result -19

2016-07-04 Thread Malith Yapa
Continuously polling registers with the PL2303 usb serial adapter eventually results in usb_subimit_urb failed with result -19 (ENODEV) but reconnects immediately. occurrences are random. tried with two different PL2303 devices with the same result. -- To unsubscribe from this list: send the line