Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-19 Thread Ian Molton
On Mon, 18 Nov 2002 21:30:29 -0800 Greg KH <[EMAIL PROTECTED]> wrote: > > > partly because of comments on this list about it being better than > > just leaving users to do everything through file i/o :-) > > Hm, no, not a good idea :) why do people hate IOCTLs ?

Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-19 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 19 Nov 2002 20:06, Ian Molton wrote: > On Mon, 18 Nov 2002 21:30:29 -0800 > > Greg KH <[EMAIL PROTECTED]> wrote: > > > partly because of comments on this list about it being better than > > > just leaving users to do everything through file i/o

Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-19 Thread Rob Miller
On Tue, 19 Nov 2002, Brad Hards wrote: > On Tue, 19 Nov 2002 11:34, Rob Miller wrote: > > S: Product=Synaptics cPad > > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA > > I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=syn_cpad > > E: Ad=83(I) Atr=03(Int.) MxPS= 3 Ivl= 10ms > > I: If#=

Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-19 Thread Rob Miller
On Mon, 18 Nov 2002, Greg KH wrote: > > > On Mon, Nov 18, 2002 at 02:29:56PM +, Rob Miller wrote: > > > > (1) I just 'grabbed' ioctls 'U' 0x71-0x79 (77-79 in the 0.3 ver at > It's much better to wrap things like this through a userspace library > that does not use ioctls. It looks like you

[linux-usb-devel] linux-usb.org link request

2002-11-19 Thread Rob Miller
Hi, it's the guy with the weird LCD mouse thingy again Greg, can you please put a link to http://sourceforge.net/projects/usbsnoop/ on the 'tools' page for linux-usb.org ? 'USB Snoopy' didn't actually catch all the packets for the cPad, but 'SnoopyPro' on this page did. thanks, rob.

[linux-usb-devel] [PATCH] usbdevfs: finalize urbs on interface release

2002-11-19 Thread Duncan Sands
Patch against 2.4.20-rc1. Greg, please apply. The only change from the previous version is that I got rid of code duplication between destroy_all_async and destroy_async_on_interface. I have been running this for a few days now without problems. Description: When an urb has been submitted via u

Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-19 Thread Rob Miller
On Tue, 19 Nov 2002, Rob Miller wrote: > and it's still a 3-button mouse... this may make more sense if I get some > photos up of the applications so far. photos at http://www.janerob.com/rob/ts5100/cPad/gallery rob. --- This sf.net email

Re: [linux-usb-devel] linux-usb.org link request

2002-11-19 Thread Stephen J. Gowdy
I've just added this to the web pages. It should appear tonight. On Tue, 19 Nov 2002, Rob Miller wrote: > > Hi, > > it's the guy with the weird LCD mouse thingy again > > Greg, can you please put a link to > http://sourceforge.net/projects/usbsnoop/ on the 'tools' page for > linux-usb.org

Re: [linux-usb-devel] struct urb's urb_list

2002-11-19 Thread Stuart MacDonald
From: "David Brownell" <[EMAIL PROTECTED]> > Stuart MacDonald wrote: > > The problem boils down to the fact that I can't use urb_list to keep a > > list of urbs for later unlinking. I'm thinking the best solution is to > > add a second list_head to struct urb. > > You've already got urb->context fo

Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-19 Thread Oliver Neukum
> but as yet no one's done the really obvious thing, hacking the palm pilot > emulator to display on the cPad -- except for the newer models the Palm > display is 160x160, leaving 80 pixels on the side for the "hard" > buttons! :-) Well, upon further thought. You shouldn't need to hack anything t

Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-19 Thread Oliver Neukum
> My experience with the HID driver was that once it grabbed the device I > couldn't do much with it, in particular I couldn't go in and tell it to > switch to 'alternate setting 2' on interface 0. I admit to not getting > very far with libusb, and in a previous message I referred to using an > '

Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-19 Thread Randy.Dunlap
On Tue, 19 Nov 2002, Oliver Neukum wrote: | > but as yet no one's done the really obvious thing, hacking the palm pilot | > emulator to display on the cPad -- except for the newer models the Palm | > display is 160x160, leaving 80 pixels on the side for the "hard" | > buttons! :-) | | Well, upon f

[linux-usb-devel] ioctls?

2002-11-19 Thread Greg Herlein
> > why do people hate IOCTLs ? > Different people hate them for different reasons. There is a lot to hate :) Question: the Linux Telephony API heavily uses ioctls to control the low level telephone behavior via the driver. Existing drivers for PCI/ISA/PCMCIA all use this interface. I am workin

Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-19 Thread Randy.Dunlap
On Tue, 19 Nov 2002, Brad Hards wrote: | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | On Tue, 19 Nov 2002 20:06, Ian Molton wrote: | > On Mon, 18 Nov 2002 21:30:29 -0800 | > | > Greg KH <[EMAIL PROTECTED]> wrote: | > > > partly because of comments on this list about it being better than | >

Re: [linux-usb-devel] ioctls?

2002-11-19 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 Nov 2002 10:02, Greg Herlein wrote: > > > why do people hate IOCTLs ? > > > > Different people hate them for different reasons. There is a lot to hate > > :) Note the smiley. I find ioctl's are good for some things - they are just easy to a

Re: [linux-usb-devel] ioctls?

2002-11-19 Thread Alan Cox
On Tue, 2002-11-19 at 23:02, Greg Herlein wrote: > > > why do people hate IOCTLs ? > > Different people hate them for different reasons. There is a lot to hate :) > > Question: the Linux Telephony API heavily uses ioctls to control > the low level telephone behavior via the driver. Existing > dr

Re: [linux-usb-devel] ioctls?

2002-11-19 Thread Ian Molton
On Wed, 20 Nov 2002 10:39:45 +1100 Brad Hards <[EMAIL PROTECTED]> wrote: > > I'm not the maintainer, but my opinion is that if you have to use > them, do so. If there is a better way, use that instead. If theres a better way to do ANYTHING do it instead. --

Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-19 Thread Randy.Dunlap
This seems to have been lost, so I'm resending it. -- Forwarded message -- Date: Tue, 19 Nov 2002 09:41:36 -0800 (PST) Cc: Rob Miller <[EMAIL PROTECTED]>, Brad Hards <[EMAIL PROTECTED]> Subject: Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what? On Tue, 19 Nov 20

Re: [linux-usb-devel] Re: [usb-storage] Re: PATCH: change functionsignatures and cleanup debug msgs

2002-11-19 Thread David Brownell
Yeah, looking at struct urb, transfer_buffer is a void *, so nevermind, I'll take this patch. Sorry for the noise :) It's really a bunch of bytes, right? So u8 * would be a better description? Doesn't "void *" behave better for casts though? ---

Re: [linux-usb-devel] ioctls?

2002-11-19 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 Nov 2002 11:15, Ian Molton wrote: > On Wed, 20 Nov 2002 10:39:45 +1100 > > Brad Hards <[EMAIL PROTECTED]> wrote: > > I'm not the maintainer, but my opinion is that if you have to use > > them, do so. If there is a better way, use that inste

Re: [linux-usb-devel] Re: [usb-storage] Re: PATCH: change function signatures and cleanup debug msgs

2002-11-19 Thread Greg KH
On Tue, Nov 19, 2002 at 04:47:58PM -0800, David Brownell wrote: > > >>Yeah, looking at struct urb, transfer_buffer is a void *, so nevermind, > >>I'll take this patch. Sorry for the noise :) > > > >It's really a bunch of bytes, right? So u8 * would be a better description? > > Doesn't "void *" b

Re: [linux-usb-devel] Re: [usb-storage] Re: PATCH: change function signatures and cleanup debug msgs

2002-11-19 Thread Andries Brouwer
On Tue, Nov 19, 2002 at 04:47:58PM -0800, David Brownell wrote: > > >>Yeah, looking at struct urb, transfer_buffer is a void *, so nevermind, > >>I'll take this patch. Sorry for the noise :) > > > >It's really a bunch of bytes, right? So u8 * would be a better description? > > Doesn't "void *" b

[linux-usb-devel] Yenilenen noseks dbobe

2002-11-19 Thread Barbieri Kandemir
FULL 2002 YAPIMI PORNO VIDEOLAR Sitemize yeni filmler eklendi. Tam metraj, full kalite Yenilenen Kategoriler: AMATEUR ANAL ASIAN LESBIAN Ýyi eðlenceler, http://www.noseks.com id: linux-usb-devel - kkggdqlykjsvtyywncby- †+,~w­zf¢–+,¦‰ì¢·o$è•æ«žØ^m«"rʱç.®)àʋ

Re: [linux-usb-devel] Re: [usb-storage] Re: PATCH: change functionsignatures and cleanup debug msgs

2002-11-19 Thread David Brownell
It's really a bunch of bytes, right? So u8 * would be a better description? Doesn't "void *" behave better for casts though? Quite the contrary. Saying "void *" means: "compiler, don't check". If you have a buffer and declare it "char *", then it cannot be confused with a "struct urb *urb".

[linux-usb-devel] Re: linux-usb-devel -- confirmation of subscription -- request 454153

2002-11-19 Thread Michael Mao
On Tue, 19 Nov 2002 20:53:44 -0800 [EMAIL PROTECTED] wrote: > linux-usb-devel -- confirmation of subscription -- request 454153 > > We have received a request from 210.172.124.112 for subscription of > your email address, <[EMAIL PROTECTED]>, to the > [EMAIL PROTECTED] mailing list. To confirm t

[linux-usb-devel] Re: [PATCH] usbdevfs: finalize urbs on interface release

2002-11-19 Thread Greg KH
On Tue, Nov 19, 2002 at 01:49:20PM +0100, Duncan Sands wrote: > Patch against 2.4.20-rc1. > > Greg, please apply. Applied, thanks. Could you also make a 2.5 version of this patch? thanks, greg k-h --- This sf.net email is sponsored by: To l