Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-25 Thread Pete Zaitcev
I'm cc-ing this back to the list, in case Greg or others want to comment. Let's keep this open from now on. On Wed, 25 Oct 2006 10:31:57 +0200, Paolo Abeni <[EMAIL PROTECTED]> wrote: > On Tue, 2006-10-24 at 22:48 -0700, Pete Zaitcev wrote: > > By the way, there is no patch yet, but I blogged a s

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-17 Thread Pete Zaitcev
On Wed, 11 Oct 2006 10:57:45 +0200, Paolo Abeni <[EMAIL PROTECTED]> wrote: In the patch I see these main issues: object layout, and API design. The rest is minor. I am going to use most of the patch and fix it up. Unfortunately, it's not going to be binary compatible with your API. * Objects are

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-16 Thread Marcel Holtmann
Hi Pete, > > Would relayfs be a better choice than debugfs for exporting potentially > > large quantities of binary data? > > I'm sick of mounting them, so for the binary API I was going to > create a bunch of character devices with a dynamic major. > With udev, I do not even need to read /proc/d

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-12 Thread Pete Zaitcev
On Thu, 12 Oct 2006 10:17:52 +0200, Duncan Sands <[EMAIL PROTECTED]> wrote: > By the way, any reason why CONFIG_USB_MON doesn't select CONFIG_DEBUG_FS? > Is usbmon useful without debugfs? It's not now, but it will be once I and Paolo are done here. -- Pete --

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-12 Thread Duncan Sands
On Wednesday 11 October 2006 22:43, Pete Zaitcev wrote: > On Wed, 11 Oct 2006 19:44:43 +, Pavel Machek <[EMAIL PROTECTED]> wrote: > > > Does it mean text interface is now deprecated? Or perhaps ioctl should > > be added to text interface too? Or maybe we do not need binary > > interface if we

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Pete Zaitcev
On Wed, 11 Oct 2006 16:51:09 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > Would relayfs be a better choice than debugfs for exporting potentially > large quantities of binary data? I'm sick of mounting them, so for the binary API I was going to create a bunch of character devices with a d

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Greg KH
On Wed, Oct 11, 2006 at 04:51:09PM -0400, Alan Stern wrote: > On Wed, 11 Oct 2006, Pete Zaitcev wrote: > > > On Wed, 11 Oct 2006 19:44:43 +, Pavel Machek <[EMAIL PROTECTED]> wrote: > > > > > Does it mean text interface is now deprecated? Or perhaps ioctl should > > > be added to text interfac

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Alan Stern
On Wed, 11 Oct 2006, Pete Zaitcev wrote: > On Wed, 11 Oct 2006 19:44:43 +, Pavel Machek <[EMAIL PROTECTED]> wrote: > > > Does it mean text interface is now deprecated? Or perhaps ioctl should > > be added to text interface too? Or maybe we do not need binary > > interface if we allow resizing

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Pete Zaitcev
On Wed, 11 Oct 2006 19:44:43 +, Pavel Machek <[EMAIL PROTECTED]> wrote: > Does it mean text interface is now deprecated? Or perhaps ioctl should > be added to text interface too? Or maybe we do not need binary > interface if we allow resizing on text interface? I haven't reviewed Paolo's patc

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Pavel Machek
Hi! > From: Paolo Abeni <[EMAIL PROTECTED]> > > A binary interface is added to usbmon. For each USB bus present on the host > system a new file is added to the debugfs directory, in the form "usb%db". > > USB records are stored in a liked list, alike current text interface > implementation, so

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Alan Stern
On Wed, 11 Oct 2006, Paolo Abeni wrote: > From: Paolo Abeni <[EMAIL PROTECTED]> > > A binary interface is added to usbmon. For each USB bus present on the host > system a new file is added to the debugfs directory, in the form "usb%db". > > USB records are stored in a liked list, alike current

[linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Paolo Abeni
From: Paolo Abeni <[EMAIL PROTECTED]> A binary interface is added to usbmon. For each USB bus present on the host system a new file is added to the debugfs directory, in the form "usb%db". USB records are stored in a liked list, alike current text interface implementation, so most code is share