public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: USBDEVFS_URB_TYPE_INTERRUPT
@ 2001-06-06  5:54 John Chris Wren
  2001-06-06  9:01 ` USBDEVFS_URB_TYPE_INTERRUPT Thomas Sailer
  0 siblings, 1 reply; 4+ messages in thread
From: John Chris Wren @ 2001-06-06  5:54 UTC (permalink / raw)
  To: linux-kernel


	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


^ permalink raw reply	[flat|nested] 4+ messages in thread
* USBDEVFS_URB_TYPE_INTERRUPT
@ 2001-06-06  5:31 John Chris Wren
  2001-06-06  5:36 ` USBDEVFS_URB_TYPE_INTERRUPT Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: John Chris Wren @ 2001-06-06  5:31 UTC (permalink / raw)
  To: linux-kernel


	I was designing a USB based device and was looking through the 2.4.5 kernel
code, and noticed that while it supports bulk, iso, and control types, there
is no support for interrupt types.  A grep through the entire kernel source
code reveals that USBDEVFS_URB_TYPE_INTERRUPT defined in
linux/usbdevice_fs.h, but no where is it used.  Any thoughts as to why that
might be?

	A google search didn't seem to turn up any answers either.

	-- John


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-06-06  9:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-06  5:54 USBDEVFS_URB_TYPE_INTERRUPT John Chris Wren
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox