Re: [linux-usb-devel] 2.6.0-test4 - PL2303 OOPS - see also 2.4.22: OOPS on disconnect PL2303 adapter

2003-09-05 Thread Greg KH
On Sat, Sep 06, 2003 at 10:31:19AM +0800, Michael Frank wrote: > On Saturday 06 September 2003 07:08, Greg KH wrote: > > On Wed, Sep 03, 2003 at 02:32:16PM +0800, Michael Frank wrote: > > > On Wednesday 03 September 2003 07:52, Greg KH wrote: > > > > Try the patch below and let me know if this solv

[linux-usb-devel] Re: [PATCH] More USB fixes for 2.6.0-test4

2003-09-05 Thread Greg KH
ChangeSet 1.1414, 2003/09/02 16:54:01-07:00, [EMAIL PROTECTED] [PATCH] USB: fix data toggle problem for pl2303 driver. drivers/usb/serial/pl2303.c |3 +++ 1 files changed, 3 insertions(+) diff -Nru a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c --- a/drivers/usb/serial/pl2303

[linux-usb-devel] Re: [PATCH] More USB fixes for 2.6.0-test4

2003-09-05 Thread Greg KH
ChangeSet 1.1416, 2003/09/04 15:27:04-07:00, [EMAIL PROTECTED] [PATCH] USB: usb "gadgetfs" (1/2) This is another "gadget" driver -- one that lets user mode code implement usb device functions, with all the classic advantages of such solutions. There's an example driver at the linux-usb "gadget"

[linux-usb-devel] [PATCH] More USB fixes for 2.6.0-test4

2003-09-05 Thread Greg KH
ChangeSet 1.1413, 2003/09/02 16:50:21-07:00, [EMAIL PROTECTED] [PATCH] USB: fix uhci "host controller process error" By the way, let me explain what the problem was with uhci-hcd. The usb hardware directly accesses your computers memory. The bug is that it could still be accessing a bit of memo

[linux-usb-devel] Re: [PATCH] More USB fixes for 2.6.0-test4

2003-09-05 Thread Greg KH
ChangeSet 1.1420, 2003/09/05 16:23:30-07:00, [EMAIL PROTECTED] [PATCH] unusual_devs.h entry Hereby you may find my patch for a Medion digital camera along with the /proc/bus/usb/devices output. drivers/usb/storage/unusual_devs.h |7 +++ 1 files changed, 7 insertions(+) diff -Nru a/dr

[linux-usb-devel] Re: [PATCH] More USB fixes for 2.6.0-test4

2003-09-05 Thread Greg KH
ChangeSet 1.1419, 2003/09/05 16:23:05-07:00, [EMAIL PROTECTED] [PATCH] USB: usb_epnum_to_ep_desc only look Original patch from [EMAIL PROTECTED] ... this updates it: - usb_epnum_to_ep_desc() only looks at the active altsetting - docs clarified It's possible some user mode drivers will have

[linux-usb-devel] Re: [PATCH] More USB fixes for 2.6.0-test4

2003-09-05 Thread Greg KH
ChangeSet 1.1417, 2003/09/04 15:27:33-07:00, [EMAIL PROTECTED] [PATCH] USB: usb "gadgetfs" (2/2) This adds the kconfig/kbuild hooks needed to build the driver. drivers/usb/gadget/Kconfig | 24 drivers/usb/gadget/Makefile |2 ++ 2 files changed, 26 insertions(+)

[linux-usb-devel] Re: [PATCH] More USB fixes for 2.6.0-test4

2003-09-05 Thread Greg KH
ChangeSet 1.1415, 2003/09/03 11:44:49-07:00, [EMAIL PROTECTED] [PATCH] USB: fix up B0 support in the pl2303 driver. Thanks to Gernot Fink <[EMAIL PROTECTED]> for pointing this out. drivers/usb/serial/pl2303.c | 21 - 1 files changed, 12 insertions(+), 9 deletions(-) dif

Re: [linux-usb-devel] 2.6.0-test4 - PL2303 OOPS - see also 2.4.22: OOPS on disconnect PL2303 adapter

2003-09-05 Thread Michael Frank
On Saturday 06 September 2003 07:08, Greg KH wrote: > On Wed, Sep 03, 2003 at 02:32:16PM +0800, Michael Frank wrote: > > On Wednesday 03 September 2003 07:52, Greg KH wrote: > > > Try the patch below and let me know if this solves it for you or not. > > > > If it is meant to reset the buffers, it h

[linux-usb-devel] Re: [PATCH] Lego USB Infrared Tower driver for 2.6.0-test4

2003-09-05 Thread David Glance
On Sat, 2003-09-06 at 06:47, Greg KH wrote: > On Fri, Sep 05, 2003 at 03:53:17PM +0800, David Glance wrote: > > Thanks for the feedback - I will try libusb again with 2.6 although I > > think we will still see the same issues with the interrupt transfers > > (one-shot wasn't really the problem the

[linux-usb-devel] [BK PATCH] More USB fixes for 2.6.0-test4

2003-09-05 Thread Greg KH
Hi, Here are some more USB fixes for 2.6.0-test4. They include a fix for the uhci driver that a lot of people have been running into for a while. Also included is a fix for the pl2303 driver for B0 and for when you connect to the device after closing it. Also included is gadgetfs which allows ac

[linux-usb-devel] Re: [PATCH] USB fixes for 2.4.23-pre3

2003-09-05 Thread Greg KH
ChangeSet 1.1119.3.3, 2003/09/04 08:52:26-07:00, [EMAIL PROTECTED] [PATCH] USB: backport some pl2303 B0 fixes. Also add proper locking for the port structure. This comes from the 2.6 kernel tree too. drivers/usb/serial/pl2303.c | 111 1 files chan

[linux-usb-devel] Re: [PATCH] USB fixes for 2.4.23-pre3

2003-09-05 Thread Greg KH
ChangeSet 1.1119.3.11, 2003/09/05 16:09:03-07:00, [EMAIL PROTECTED] [PATCH] unusual_devs.h entry Hereby you may find my patch for a Medion digital camera along with the /proc/bus/usb/devices output. drivers/usb/storage/unusual_devs.h |7 +++ 1 files changed, 7 insertions(+) diff -Nru

[linux-usb-devel] Re: [PATCH] USB fixes for 2.4.23-pre3

2003-09-05 Thread Greg KH
ChangeSet 1.1119.3.9, 2003/09/05 15:47:32-07:00, [EMAIL PROTECTED] [PATCH] USB: remove duplicated copy_from_user call in stv680 driver drivers/usb/stv680.c |1 - 1 files changed, 1 deletion(-) diff -Nru a/drivers/usb/stv680.c b/drivers/usb/stv680.c --- a/drivers/usb/stv680.c Fri Sep

[linux-usb-devel] [PATCH] USB fixes for 2.4.23-pre3

2003-09-05 Thread Greg KH
ChangeSet 1.1119.3.1, 2003/09/03 11:54:59-07:00, [EMAIL PROTECTED] [PATCH] USB: fix data toggle problem for pl2303 driver. drivers/usb/serial/pl2303.c |3 +++ 1 files changed, 3 insertions(+) diff -Nru a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c --- a/drivers/usb/serial/pl

[linux-usb-devel] Re: [PATCH] USB fixes for 2.4.23-pre3

2003-09-05 Thread Greg KH
ChangeSet 1.1119.3.4, 2003/09/05 15:46:55-07:00, [EMAIL PROTECTED] [PATCH] USB: fix oops when yanking a usb-serial device from the system with the port still opened. Thanks to Ian Abbott <[EMAIL PROTECTED]> for help finding this bug. drivers/usb/serial/usbserial.c | 12 ++-- 1 files

[linux-usb-devel] Re: [PATCH] USB fixes for 2.4.23-pre3

2003-09-05 Thread Greg KH
ChangeSet 1.1119.3.6, 2003/09/05 15:47:10-07:00, [EMAIL PROTECTED] [PATCH] USB: fix copy_from_user call in aiptek.c drivers/usb/aiptek.c |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -Nru a/drivers/usb/aiptek.c b/drivers/usb/aiptek.c --- a/drivers/usb/aiptek.c Fri Sep

[linux-usb-devel] Re: [PATCH] USB fixes for 2.4.23-pre3

2003-09-05 Thread Greg KH
ChangeSet 1.1119.3.2, 2003/09/03 11:56:08-07:00, [EMAIL PROTECTED] [PATCH] USB: update usb-serial.h with spelling fixes and get and set functions Based off of the current 2.6 version, makes keeping the usb-serial drivers more in sync between the two trees. drivers/usb/serial/usb-serial.h | 2

[linux-usb-devel] Re: [PATCH] USB fixes for 2.4.23-pre3

2003-09-05 Thread Greg KH
ChangeSet 1.1119.3.8, 2003/09/05 15:47:25-07:00, [EMAIL PROTECTED] [PATCH] USB: fix copy_to_user call in mdc800 driver drivers/usb/mdc800.c |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -Nru a/drivers/usb/mdc800.c b/drivers/usb/mdc800.c --- a/drivers/usb/mdc800.c Fri S

[linux-usb-devel] Re: [PATCH] USB fixes for 2.4.23-pre3

2003-09-05 Thread Greg KH
ChangeSet 1.1119.3.7, 2003/09/05 15:47:17-07:00, [EMAIL PROTECTED] [PATCH] USB: fix copy_to_user call in uhci-debug.h drivers/usb/host/uhci-debug.h |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -Nru a/drivers/usb/host/uhci-debug.h b/drivers/usb/host/uhci-debug.h --- a/drive

[linux-usb-devel] Re: [PATCH] USB fixes for 2.4.23-pre3

2003-09-05 Thread Greg KH
ChangeSet 1.1119.3.10, 2003/09/05 15:47:40-07:00, [EMAIL PROTECTED] [PATCH] USB: fix copy_to_user calls in vicam driver. drivers/usb/vicam.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff -Nru a/drivers/usb/vicam.c b/drivers/usb/vicam.c --- a/drivers/usb/vica

[linux-usb-devel] Re: [PATCH] USB fixes for 2.4.23-pre3

2003-09-05 Thread Greg KH
ChangeSet 1.1119.3.5, 2003/09/05 15:47:03-07:00, [EMAIL PROTECTED] [PATCH] USB: fix copy_from_user call in acm.c drivers/usb/acm.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff -Nru a/drivers/usb/acm.c b/drivers/usb/acm.c --- a/drivers/usb/acm.c Fri Sep 5 17:10:51 200

[linux-usb-devel] [BK PATCH] USB fixes for 2.4.23-pre3

2003-09-05 Thread Greg KH
Hi, Here are some USB bugfixes against 2.4.23-pre3. They include a copy_*_user audit of the usb tree, and a usb-serial fix that solves an oops for a lot of people. There is also some pl2303 driver fixes based on changes that are in the 2.6 tree. Please pull from: bk://kernel.bkbits.net/gregkh/

Re: [linux-usb-devel] Re: How to handle errors in configuration descriptors

2003-09-05 Thread David Brownell
Greg KH wrote: Seriously, if a device doesn't meet the spec, we don't have to work with it. That being said, it might be nice if we do catch such problems that we at least tell the user about them and then just abort adding the device. That's why I ended up being happier with the notion of relying

Re: [linux-usb-devel] 2.6.0-test4 - PL2303 OOPS - see also 2.4.22: OOPS on disconnect PL2303 adapter

2003-09-05 Thread Greg KH
On Wed, Sep 03, 2003 at 02:32:16PM +0800, Michael Frank wrote: > On Wednesday 03 September 2003 07:52, Greg KH wrote: > > > > Try the patch below and let me know if this solves it for you or not. > > If it is meant to reset the buffers, it has _no_ effect. > > Some more observations: > > Besides

[linux-usb-devel] Re: How to handle errors in configuration descriptors

2003-09-05 Thread Greg KH
On Fri, Sep 05, 2003 at 10:06:15AM -0400, Alan Stern wrote: > Greg et al. > > I'm considering adding more error checking to the descriptor parsing > routines in core/config.c. Especially I want to sort the interface > pointers in order by bInterfaceNumber and sort the altsettings for each > inter

[linux-usb-devel] Re: [PATCH] Lego USB Infrared Tower driver for 2.6.0-test4

2003-09-05 Thread Greg KH
On Fri, Sep 05, 2003 at 03:53:17PM +0800, David Glance wrote: > Thanks for the feedback - I will try libusb again with 2.6 although I > think we will still see the same issues with the interrupt transfers > (one-shot wasn't really the problem there). What was the problem? > As for the serial driv

Re: [linux-usb-devel] Re: [BUG 2.4.23-pre3] usbserial - null pointer deref on disconnect when port is open

2003-09-05 Thread Greg KH
On Fri, Sep 05, 2003 at 11:03:59AM +0100, Ian Abbott wrote: > On Thursday 04 Sep 2003 21:51, Greg KH wrote: > > On Thu, Sep 04, 2003 at 11:34:09AM -0700, Greg KH wrote: > > > On Thu, Sep 04, 2003 at 07:21:54PM +0100, Ian Abbott wrote: > > > > If port->open_count > 0, the final call to __serial_clos

[linux-usb-devel] Apacer USB 2.0 6-in-1 internal flash reader Multi LUN and 8020i issue

2003-09-05 Thread Joel Smith
Hi, I saw this message: http://www.mail-archive.com/[EMAIL PROTECTED]/msg07062.html and decided to try this: --- drivers/usb/storage/usb.c.orig 2003-08-28 19:42:35.0 -0600 +++ drivers/usb/storage/usb.c 2003-08-28 19:42:44.0 -0600 @@ -952,7 +952,7 @@ case US_

[linux-usb-devel] M-Systems Disk on a Chip, any patches about?

2003-09-05 Thread Alex Bennee
Hi, I've gotten the isp1161 chip driver working on out board and we can happily talk to USB keyboards and the like. However I'm trying to get the a 32Mb Disgo "Disk on a Chip" working. Although I can see it with lsusb (so somesort of communication has been established) I cannot get to the point I

[linux-usb-devel] RE: usb-starge not working in the latest kernel 2.4

2003-09-05 Thread Alan Stern
On Fri, 5 Sep 2003, Tomita, Haruo wrote: > I tested using kernel 2.4.22-bk6. It failed by the following two patterns. > 1. Bulk command transfer result=-104 > 2. usb_stor_bulk_msg() returned -32 This was two different failures on two separate runs? > The detailed message is as follows. > > 1.

[linux-usb-devel] How to handle errors in configuration descriptors

2003-09-05 Thread Alan Stern
Greg et al. I'm considering adding more error checking to the descriptor parsing routines in core/config.c. Especially I want to sort the interface pointers in order by bInterfaceNumber and sort the altsettings for each interface by bAlternateSetting -- since the device isn't necessarily going to

[linux-usb-devel] Returned mail: User unknown

2003-09-05 Thread Mail Delivery Subsystem
The original message was received at Fri, 5 Sep 2003 07:28:47 -0400 (EDT) from [218.246.97.16] *** ATTENTION *** Your e-mail is being returned to you because there was a problem with its delivery. The address which was undeliverable is listed in the section labeled: "- The following addres

[linux-usb-devel] RE: usb-starge not working in the latest kernel 2.4

2003-09-05 Thread Tomita, Haruo
Hi Alan, Alan> This "not accepting new address" problem for ECHI was Alan> recently addressed by a new patch. See Alan> http://sourceforge.net/mailarchive/message.php?msg_id=5927120 Alan> Maybe once that's fixed the error recovery will work better. I tested using kernel 2.4.22-bk6. It failed

Re: [linux-usb-devel] Re: [BUG 2.4.23-pre3] usbserial - null pointer deref on disconnect when port is open

2003-09-05 Thread Ian Abbott
On Thursday 04 Sep 2003 21:51, Greg KH wrote: > On Thu, Sep 04, 2003 at 11:34:09AM -0700, Greg KH wrote: > > On Thu, Sep 04, 2003 at 07:21:54PM +0100, Ian Abbott wrote: > > > If port->open_count > 0, the final call to __serial_close > > > sets port->tty = NULL, resulting in the null pointer > > > d

[linux-usb-devel] Re: [PATCH] Lego USB Infrared Tower driver for 2.6.0-test4

2003-09-05 Thread David Glance
Thanks for the feedback - I will try libusb again with 2.6 although I think we will still see the same issues with the interrupt transfers (one-shot wasn't really the problem there). As for the serial driver - what would be the main advantages of that? The usb tower doesn't really do anything soph

[linux-usb-devel] Atención: Virus detectado en e-mail

2003-09-05 Thread MailScanner
Nuestro detector de virus ha sido activado por un mensaje enviado por Usted: A: [EMAIL PROTECTED] Asunto: Re: Wicked screensaver Fecha: Fri Sep 5 04:32:05 2003 Las partes del mensaje que estaban infectadas no han sido enviadas. Este mensaje es sólo para avisarle de que su sistema puede tene

[linux-usb-devel] Returned mail

2003-09-05 Thread postmaster
--- The message cannot be delivered to the following address. --- [EMAIL PROTECTED]Mailbox unknown or not accepting mail. 550 5.1.1 <[EMAIL PROTECTED]>... User unknown Reporting-MTA: [EMAIL PROTECTED] Final-Recipient: rfc822;[EMAIL PROTECTED] Action: failed Status: 5.1.1 Diagnostic-Code: X-No

[linux-usb-devel] You linux-usb-devel@lists.sourceforge.net are not member (linux-sh-ja ML)

2003-09-05 Thread linux-sh-ja-admin
$B$"$J$?$O$3$N%a!<%j%s%0%j%9%H(B <[EMAIL PROTECTED]> $B$N%a%s%P!<$G$O$"$j$^$;$s!#(B (B $B%a!<%j%s%0%j%9%H$K$D$$$F$N0lHLE*$J0FFb$O%a!<%k$NK\J8$K(B (B (Bguide (B $B$H=q$$$?%a!<%k$r(B (B (B[EMAIL PROTECTED] (B $B08$KAw$k$HAw$i$l$F$-$^$9!#(B (B (B (B (B-