Date: Thu, 24 Sep 2015 22:10:04 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Shrikanth Kamath <shrikanth07@gmail.com>, freebsd-usb@freebsd.org Subject: Re: usb_event_thread/usb_discover called when block transfer in progress [FreeBSD 6.x] Message-ID: <5604589C.6070306@selasky.org> In-Reply-To: <CAEOAkMWCSMpn9xXQvX%2BHWp5Hj9EM0PdEMXOgofPdi%2BG27Nw9gA@mail.gmail.com> References: <CAEOAkMWCSMpn9xXQvX%2BHWp5Hj9EM0PdEMXOgofPdi%2BG27Nw9gA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09/10/15 00:04, Shrikanth Kamath wrote: > Basic query is it okay for usb_event_thread/usb_discover to get called > when a block transfer is in progress and there was no USB > attach/detach event? > > Is it triggered by usb controller? Hi, This event is typically triggered by a port-status change event. Are you seeing a particular problem? > > Are there any documents on the FreeBSD 6.x USB stack? Not as I'm aware about. > > USB_DEBUG logs > > usb_transfer_complete: repeat=0 new head=0 > usbd_start_next: pipe=0x82acd7d0, xfer=0 > usb_event_thread: woke up > usb_discover > usbd_transfer: xfer=0x82b7a320, flags=0, pipe=0x82acd820, running=0 > usbd_dump_queue: pipe=0x82acd820 > usb_allocmem: use frag=0x9507df00 size=31 > usb_insert_transfer: pipe=0x82acd820 running=0 timeout=65000 > usb_transfer_complete: pipe=0x82acd820 xfer=0x82b7a320 status=0 actlen=31 > --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5604589C.6070306>