Re: [linux-usb-devel] RFD -- draft of usb "gadget" api

2002-11-20 Thread Ian Molton
On Wed, 20 Nov 2002 16:01:03 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > Looks like some people could have much fun with PXA-250 based PDAs, > they have fifteen endpoints! It ought to be easy to make the rocker > switches show up in a HID control, affecting the audio and video > streams, ye

[linux-usb-devel] [patch 2.5.48] remove CONFIG_USB_LONG_TIMEOUT

2002-11-20 Thread David Brownell
Basically, no point in having short and long timeout options where both are _shorter_ than the timeout from the USB spec. - Dave --- ./include/linux-dist/usb.h Tue Nov 19 18:23:47 2002 +++ ./include/linux/usb.h Wed Nov 20 09:29:17 2002 @@ -901,14 +901,11 @@ /* * timeouts, in seconds, us

Re: [linux-usb-devel] RFD -- draft of usb "gadget" api

2002-11-20 Thread David Brownell
Hi Randy, Thanks for the feedback! Yes, part of the idea of having some shared api like this is that other people _can_ share work in this area. Looks like some people could have much fun with PXA-250 based PDAs, they have fifteen endpoints! It ought to be easy to make the rocker switches show

Re: [linux-usb-devel] RFD -- draft of usb "gadget" api

2002-11-20 Thread Randy.Dunlap
Hi David, Only a few comments from me. I hope that the people who would use this will also respond, esp. for your critical (last) questions. On Wed, 20 Nov 2002, David Brownell wrote: | One of the "we'd like to have it" features for 2.5 is what's been | called a "gadget driver" API -- useful in

[linux-usb-devel] RFD -- draft of usb "gadget" api

2002-11-20 Thread David Brownell
One of the "we'd like to have it" features for 2.5 is what's been called a "gadget driver" API -- useful inside small portable things that talk USB as a pure slave (like most ARM-based PDAs), or other periperals that are smart enough to run Linux. Lineo's code didn't get in to Linus' tree, so ...

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

2002-11-20 Thread Oliver Neukum
> > > absolute mouse worked (this is still a load option for my module) -- > > > but the behaviour isn't what I wanted for a mouse. OTOH, absolute > > > coords > > > > No, if the device generates absolute coordinates, report them. > > There's no use in lying. > > I do not know of a layer or metho

Re: [linux-usb-devel] Updates for usb.ids => Zoran / Nogatech NT100x

2002-11-20 Thread Randy.Dunlap
On Wed, 20 Nov 2002 [EMAIL PROTECTED] wrote: | { USB_DEVICE(0x2304, 0x0109) }, /* Pinnacle Studio PCTV USB correct | (SECAM) */ | { USB_DEVICE(0x2304, 0x0112) }, /* Pinnalce Studio PCTV USB (NTSC)

[linux-usb-devel] USB Not Cleaning up on unplug

2002-11-20 Thread Burton Windle
Starting with Linux 2.5.43 (and still present in 2.5.48-bk1), when I unplug my USB mouse, and reboot the system, the kernel oops/freezes in device_shutdown. After hacking on the device_shutdown function, I can confirm that it really is the USB system doing this. For some reason, some USB code appe

[linux-usb-devel] Updates for usb.ids => Zoran / Nogatech NT100x

2002-11-20 Thread Dwaine_Garden
Could we get the below devices updated into usb.ids. I would also update the Vendor "Nogatech" to Zoran. Nogatech Inc. was absorbed into Zoran { USB_DEVICE(0x050d, 0x0208) }, /* Belkin USBView II */ { USB_DEVICE(0x0573, 0x0003) }, /* USBGear USBG-V1 */ { USB_DEV

[linux-usb-devel] ioctls

2002-11-20 Thread Rob Miller
On Tue, 19 Nov 2002, Randy.Dunlap wrote: > On Tue, 19 Nov 2002, Brad Hards wrote: > | On Tue, 19 Nov 2002 20:06, Ian Molton wrote: > | > why do people hate IOCTLs ? > | Different people hate them for different reasons. There is a lot to hate :) > | 1. Some people don't like the lack of portabilit

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

2002-11-20 Thread Rob Miller
On Tue, 19 Nov 2002, Oliver Neukum wrote: > > 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 > You can't simply change settings from under a running driver. > It's a bad idea even in principle. We

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

2002-11-20 Thread Rob Miller
On Tue, 19 Nov 2002, Randy.Dunlap wrote: > 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 s

[linux-usb-devel] Re: [PATCH] USB changes for 2.5.48

2002-11-20 Thread Greg KH
ChangeSet 1.872.3.7, 2002/11/19 14:51:56-08:00, [EMAIL PROTECTED] [PATCH] ADM8513 support added; diff -Nru a/drivers/usb/net/pegasus.c b/drivers/usb/net/pegasus.c --- a/drivers/usb/net/pegasus.c Wed Nov 20 01:00:56 2002 +++ b/drivers/usb/net/pegasus.c Wed Nov 20 01:00:57 2002 @@ -28,7 +28,6 @@

[linux-usb-devel] Re: [PATCH] USB changes for 2.5.48

2002-11-20 Thread Greg KH
ChangeSet 1.872.3.8, 2002/11/19 22:32:33-08:00, [EMAIL PROTECTED] USB: usb-serial core updates - removed a few #ifdefs in the main code - cleaned up the failure logic in initialization. diff -Nru a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c --- a/drivers/usb/serial/usb

[linux-usb-devel] Re: [PATCH] USB changes for 2.5.48

2002-11-20 Thread Greg KH
ChangeSet 1.872.3.2, 2002/11/18 17:03:33-08:00, [EMAIL PROTECTED] USB: vicam.c driver fixes fixed a bug if CONFIG_VIDEO_PROC_FS was not enabled. removed unneeded #ifdefs removed bool nonsense. diff -Nru a/drivers/usb/media/vicam.c b/drivers/usb/media/vicam.c --- a/drivers/usb/media/vicam.c Wed

[linux-usb-devel] Re: [PATCH] USB changes for 2.5.48

2002-11-20 Thread Greg KH
ChangeSet 1.911, 2002/11/20 00:10:26-08:00, [EMAIL PROTECTED] [PATCH] USB core/config.c == memory corruption parse_interface allocates the incorrect storage size for additional altsettings (new buffer) leading to a BUG being triggered in mm/slab.c:1453 when we do the memcpy from the old buffer to

[linux-usb-devel] Re: [PATCH] USB changes for 2.5.48

2002-11-20 Thread Greg KH
ChangeSet 1.872.3.4, 2002/11/18 17:05:46-08:00, [EMAIL PROTECTED] [PATCH] usb-storage: fix missed changes in freecom.c and isd200.c This patch changes freecom.c and isd200.c to use the new data-moving logic instead of the old data-moving logic. This allows for code consolidation and better error

[linux-usb-devel] Re: [PATCH] USB changes for 2.5.48

2002-11-20 Thread Greg KH
ChangeSet 1.872.3.5, 2002/11/18 17:08:42-08:00, [EMAIL PROTECTED] [PATCH] usb-storage: code consolidation This patch puts all the code to interpret the result code from an URB into a single place, instead of copying it everywhere throughout transport.c diff -Nru a/drivers/usb/storage/transport.

[linux-usb-devel] Re: [PATCH] USB changes for 2.5.48

2002-11-20 Thread Greg KH
ChangeSet 1.872.3.6, 2002/11/18 18:34:46-08:00, [EMAIL PROTECTED] [PATCH] fix compile error in usb-serial.c drivers/usb/serial/usb-serial.c in 2.5.48 fails to compile with the following error: drivers/usb/serial/usb-serial.c:842: dereferencing pointer to incompletetype Is the following patch co

[linux-usb-devel] Re: [PATCH] USB changes for 2.5.48

2002-11-20 Thread Greg KH
ChangeSet 1.872.3.3, 2002/11/18 17:04:16-08:00, [EMAIL PROTECTED] [PATCH] usb-storage: change function signatures and cleanup debug msgs This patch changes the data buffer type from char* to void*, and fixes some problems with debug prints and comments. diff -Nru a/drivers/usb/storage/transport

[linux-usb-devel] [PATCH] USB changes for 2.5.48

2002-11-20 Thread Greg KH
ChangeSet 1.872.3.1, 2002/11/18 16:54:24-08:00, [EMAIL PROTECTED] [PATCH] vicam.c Included in this patch: - (From John Tyner) Move allocation of memory out of send_control_msg. With the allocation moved to open, control messages are less expensive since they don't allocate and free memory every

[linux-usb-devel] [BK PATCH] USB changes for 2.5.48

2002-11-20 Thread Greg KH
Please pull from: bk://linuxusb.bkbits.net/linus-2.5 thanks, greg k-h drivers/usb/core/config.c | 23 +-- drivers/usb/media/vicam.c | 252 - drivers/usb/net/pegasus.c | 303 ++-- drivers/usb/net/pegasus.h

Re: [linux-usb-devel] [PATCH 2.4.20-rc1] scanner.h: add/fix vendor/product ids

2002-11-20 Thread Greg KH
On Wed, Nov 13, 2002 at 05:16:09PM +0100, Henning Meier-Geinitz wrote: > +static inline void > +usb_scanner_inc_use(struct scn_usb_data *scn) > +{ > + atomic_inc(&scn->users); > +} > + > +static inline void > +usb_scanner_dec_use(struct scn_usb_data *scn) > +{ > + if (atomic_dec_and_test(&s

Re: [linux-usb-devel] ioctls?

2002-11-20 Thread Oliver Neukum
Am Mittwoch, 20. November 2002 00:02 schrieb 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 drive