mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "John Chris Wren" <jcwren@jcwren.com>
To: <linux-kernel@vger.kernel.org>
Subject: Re: USBDEVFS_URB_TYPE_INTERRUPT
Date: Wed, 6 Jun 2001 01:54:32 -0400	[thread overview]
Message-ID: <NDBBKBJHGFJMEMHPOPEGGEICCIAA.jcwren@jcwren.com> (raw)


	Sigh.  What do half the answers always show up seconds after clicking
'Send'?

	I see there is a FILL_URB_INT macro in linux/usb.h, but the only things
using it seem to be drivers (as opposed to usbstress, libusb, etc).  The
ioctl call supports USBDEVFS_SUBMITURB, but passing a type
USBDEVFS_URB_TYPE_INTERRUPT returns EINVAL.  If the ioctl calls are the
'proper' way to talk to the USB drivers, should my code be calling
usb_submit_urb directly if I want to pass interrupt type messages?

	I don't really want to write a full-up kernel mode driver for this device,
but interrupt type messages are the preferred method for communicating,
since once a message needs to be sent, it should be timely (whereas control
messages could be delayed a significant amount on a busy USB channel).

	-- John


             reply	other threads:[~2001-06-06  5:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-06  5:54 John Chris Wren [this message]
2001-06-06  9:01 ` USBDEVFS_URB_TYPE_INTERRUPT Thomas Sailer
  -- strict thread matches above, loose matches on Subject: below --
2001-06-06  5:31 USBDEVFS_URB_TYPE_INTERRUPT John Chris Wren
2001-06-06  5:36 ` USBDEVFS_URB_TYPE_INTERRUPT Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NDBBKBJHGFJMEMHPOPEGGEICCIAA.jcwren@jcwren.com \
    --to=jcwren@jcwren.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®