Re: [linux-usb-devel] PATCH: (as326) Add mb() during initialization of UHCI controller

2004-06-24 Thread Herbert Xu
On Thu, Jun 24, 2004 at 10:26:06AM -0400, Alan Stern wrote: > > > = drivers/usb/host/uhci-hcd.c 1.115 vs edited = > > > --- 1.115/drivers/usb/host/uhci-hcd.c Wed Jun 23 12:10:07 2004 > > > +++ edited/drivers/usb/host/uhci-hcd.c Wed Jun 23 12:30:05 2004 > > > @@ -2261,6 +2261,11 @@ > > >

[linux-usb-devel] Mail delivery failed: returning message to sender

2004-06-24 Thread Mail Delivery System
This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: [EMAIL PROTECTED] -- This is a copy of the message, including all the headers

Re: [linux-usb-devel] usb pendrive write lock autodetect

2004-06-24 Thread Michal Purzynski
On Thu, 24 Jun 2004, Alan Stern wrote: > On Thu, 24 Jun 2004, Michal Purzynski wrote: > > > is it included in 2.6.7 kernel ? i can't found it (i have 'experimental > > enabled'). mayby in -mm tree ? > > Maybe. I don't know. Is there some nice Web-based interface for viewing > individual files i

[linux-usb-devel] serial over USB

2004-06-24 Thread 박호상
Hello. I have heard the serial over USB. Maybe, I guess that is test tool just like ‘testusb’. However, I don’t know the difference between serial over USB and ‘testusb’, and what is serial over USB exactly. What is the serial over USB? And how can I get the information about serial over USB? Any

Re: [Linux-usb-devel] [bug?] usb device ok with ohci, fails to accept an address with uhci

2004-06-24 Thread Tommy Faasen
Alan Stern wrote: On Wed, 23 Jun 2004, Tommy Faasen wrote: That patch does DMA on the stack. Maybe including such a patch is a good idea, following the other OS. But it'll require a kmalloced buffer. Why, the buffer isn't used anyway? It's just used to jumpstart some usb devices? Wr

[linux-usb-devel] $23221

2004-06-24 Thread Brenda Darnell
Hello, I sent you an email a few days ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or refinance. Please click on this link: http://onlinerefi.biz/a1/ke.php?bks=71 Best Regards, Steve Morris

Re: [linux-usb-devel] Re: [PATCH]kaweth no handling ESHUTDOWN

2004-06-24 Thread Oliver Neukum
> So can you please stop signing patches? Actually, can everyone stop > signing them, they provide no use to me as I don't have a valid > signature on any of the people who send me signed patches :) Roger, will do so. I just recently suffered from spammers sending right wing propaganda with my f

[linux-usb-devel] Re: [PATCH] shut-up kaweth usb/net driver

2004-06-24 Thread Greg KH
On Thu, Jun 24, 2004 at 11:19:02PM +0200, Oliver Neukum wrote: > > > > Hi Greg, > > > > > > for your convinience as a change set. > > > > change sets suck, I took the patch sent to me from akpm :) > > What??? Aren't you the guy who got all extatic about BitKeeper and > used it since ages untold

[linux-usb-devel] PATCH: (as331) Don't track endpoint halts in usbcore

2004-06-24 Thread Alan Stern
Greg: The current mechanism for keeping track of which endpoints in a device are halted is both flawed and unnecessary. It's flawed because devices are free to change the endpoint status whenever they want without telling us, and it's unnecessary because an URB submitted for a halted endpoint

[linux-usb-devel] Re: [PATCH] shut-up kaweth usb/net driver

2004-06-24 Thread Oliver Neukum
> > Hi Greg, > > > > for your convinience as a change set. > > change sets suck, I took the patch sent to me from akpm :) What??? Aren't you the guy who got all extatic about BitKeeper and used it since ages untold before anybody but a handful people knew of its mere existence? Puzzele

[linux-usb-devel] Lose 19%, powerful weightloss now available where you are.

2004-06-24 Thread Ursula Thornton
Hello, I have a special offer for you... WANT TO LOSE WEIGHT? The most powerful weightloss is now available without prescription. All natural Adipren720 100% Money Back Guarantée! - Lose up to 19% Total Body Weight. - Loss of 20-35% abdominal Fat. - Up to 300% more Weight Loss while dieting. - Incr

[linux-usb-devel] PATCH: (as330) Implement usb_lock_device_for_reset()

2004-06-24 Thread Alan Stern
Greg: This patch creates a special locking routine intended specifically for use when calling usb_reset_device(). A special routine like this is needed to avoid deadlocks with disconnect(). Symbolically: Khubd Driver - --

Re: [linux-usb-devel] [liiwi@lonesom.pp.fi: Re: [Linux-usb-users] Edgeport problems]

2004-06-24 Thread Jaakko Niemi
On Mon, 21 Jun 2004, Al Borchers wrote: > Jaakko -- > > Here is a patch against 2.4.26 for io_edgeport.c that I am testing. > The driver still has problems, but you can try this out if you want. Thanks for the patch. It's been in use few days with ciscos attached to the Edgeport, and no problem

[linux-usb-devel] Fw: [Bugme-new] [Bug 2949] New: Creative Muvo doesn't work on kernel 2.6

2004-06-24 Thread Andrew Morton
Begin forwarded message: Date: Thu, 24 Jun 2004 09:32:40 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 2949] New: Creative Muvo doesn't work on kernel 2.6 http://bugme.osdl.org/show_bug.cgi?id=2949 Summary: Creative Muvo doesn't work on kernel 2.6

[linux-usb-devel] PATCH: (as329) Implement usb_lock_device() and friends

2004-06-24 Thread Alan Stern
Greg: This patch plugs a major hole in USB device locking. Whenever a new driver is loaded and the matching unbound interfaces are probed, no devices are locked! Similarly, when a driver is unloaded and its interfaces are unbound, nothing is locked. The patch fixes the problem by introducing

[linux-usb-devel] Spam mail warning notification! (Attachment Removal)

2004-06-24 Thread postmaster
eManager Notification * The following mail was blocked since it contains sensitive content. Source mailbox: <[EMAIL PROTECTED]> Destination mailbox(es): <[EMAIL PROTECTED]> Policy: Attachment Removal Attachment file name: message.scr - audio/x-wav Action: Replaced

[linux-usb-devel] Re: [PATCH 2.6.7] gadgetfs AIO support

2004-06-24 Thread Greg KH
On Wed, Jun 23, 2004 at 02:40:45PM -0700, David Brownell wrote: > This is basically the same patch posted six months ago; > it still works like a charm. Please merge! Applied, thanks. greg k-h --- This SF.Net email sponsored by Black Hat Brie

[linux-usb-devel] Virus Alert

2004-06-24 Thread postmaster
The mail message (file: email-body) you sent contains a virus. Kindly resend the mail after cleaning. --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self

[linux-usb-devel] Re: [PATCH] PWC 9.0.1

2004-06-24 Thread Greg KH
On Wed, Jun 23, 2004 at 11:17:24PM +0200, Nemosoft Unv. wrote: > Hello, > > Attached you will find patches that will bring the PWC driver in the kernel > up to version 9.0.1 from 8.12 (9.0 wasn't accepted at first). Patches are > against 2.4.26 and 2.6.7. The main difference with 9.0 is that the

[linux-usb-devel] Re: PATCH: (as325) Imiprove usb_device tracking in dummy_hcd

2004-06-24 Thread Greg KH
On Wed, Jun 23, 2004 at 12:37:02PM -0400, Alan Stern wrote: > Greg: > > A tricky problem the dummy_hcd driver has to solve is keeping track of the > usb_device structure that corresponds to a registered gadget. Right now > that's not done very robustly. This patch stores the address of the > str

[linux-usb-devel] Re: PATCH: (as324) Use 64-bit IO addresses in UHCI driver

2004-06-24 Thread Greg KH
On Wed, Jun 23, 2004 at 12:14:12PM -0400, Alan Stern wrote: > Greg: > > Thanks to Ludovic Aubry for this patch. It changes some local variables > used by the UHCI driver to store IO addresses from unsigned int to > unsigned long. This is vitally necessary on 64-bit platforms. > > Please apply

[linux-usb-devel] Re: [stern@rowland.harvard.edu: PATCH: (as309) Patch to signal underflow in usb-storage driver]

2004-06-24 Thread Greg KH
On Thu, Jun 24, 2004 at 09:15:02AM -0700, Matthew Dharm wrote: > Greg, I'm jumping this patch forward in my patch queue for you. It's > pretty important, as it fixes a quiet data corruption error. Please apply. Applied, thanks. greg k-h ---

[linux-usb-devel] Re: [PATCH]GFP_KERNEL in irq

2004-06-24 Thread Greg KH
On Sun, Jun 20, 2004 at 01:38:14AM +0200, Oliver Neukum wrote: > Hi, > > you are using GFP_KERNEL in irq. That's illegal. GFP_ATOMIC must > be used. Applied, thanks. greg k-h --- This SF.Net email sponsored by Black Hat Briefings & Training.

[linux-usb-devel] Re: PATCH: (as326) Add mb() during initialization of UHCI controller

2004-06-24 Thread Greg KH
On Wed, Jun 23, 2004 at 12:43:07PM -0400, Alan Stern wrote: > Greg: > > In a recent thread it was mentioned that some architectures, such as PPC, > do not guarantee relative ordering between different varieties of > processor/device data transfers. This patch adds an mb() instruction to > the UHC

[linux-usb-devel] Re: [PATCH]kaweth no handling ESHUTDOWN

2004-06-24 Thread Greg KH
On Sun, Jun 20, 2004 at 11:33:53PM +0200, Oliver Neukum wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > kaweth fails to cleanly shut down operations upon shutdown of the controller. Applied, thanks. greg k-h --- This SF.

Re: [linux-usb-devel] [PATCH] hid-tmff fix

2004-06-24 Thread Greg KH
On Wed, Jun 16, 2004 at 06:18:32PM -0500, Zinx Verituse wrote: > Someone requested I post this here, so here it is :) > This fixes a long-standing bug in the hid-tmff driver that > causes it to not work at all. > > note: I'm not on this list, replies should CC me. Applied, thanks. greg k-h ---

[linux-usb-devel] Re: [patch 2.6.7] EHCI IRQ tweaks

2004-06-24 Thread Greg KH
On Mon, Jun 21, 2004 at 03:15:04PM -0700, David Brownell wrote: > Please merge. > > - Dave > Various tweaks to EHCI IRQ handling, these may affact some systems. > > - Delays enabling IRQs until the root hub is more fully set up, so >any "resume detect" IRQs can be handled properly. (Craig

[linux-usb-devel] Re: [PATCH] shut-up kaweth usb/net driver

2004-06-24 Thread Greg KH
On Thu, Jun 24, 2004 at 10:00:36AM +0200, Oliver Neukum wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am Mittwoch, 23. Juni 2004 23:25 schrieben Sie: > > Hi, > > > > The kaweth usb ethernet driver is pretty noisy. > > It generates over 40 lines during a modprobe. > > The following

[linux-usb-devel] Re: [patch 2.6.7] usb gadget drivers should be stricter about ZLPs

2004-06-24 Thread Greg KH
On Wed, Jun 23, 2004 at 10:45:19AM -0700, David Brownell wrote: > Title says it all ... this helps avoid problems with some hardware. > Please merge. Applied, thanks. greg k-h --- This SF.Net email sponsored by Black Hat Briefings & Training.

[linux-usb-devel] Re: [PATCH]kaweth no handling ESHUTDOWN

2004-06-24 Thread Greg KH
Oh, one comment on your recent patch submissions... On Sun, Jun 20, 2004 at 11:33:53PM +0200, Oliver Neukum wrote: > -BEGIN PGP SIGNED MESSAGE- PGP signed patches are a pain to deal with. In short, it just doesn't work :( If I take the raw message, it usually contains mime attachments (

Re: [linux-usb-devel] File backed storage support for dynamically installed and removed storage media like Compact Flash and Secure Digital

2004-06-24 Thread Alan Stern
On Thu, 24 Jun 2004, Todd Fischer wrote: > Hi, > > I am trying to figure out how to use the USB file backed storage driver with > storage media that can be installed or removed at any time (but hopefully, > only when the system isn't using the media). > > We currently get a hardware interrupt wh

Re: [linux-usb-devel] Retreive camera device file using Serial Number

2004-06-24 Thread Greg KH
On Thu, Jun 24, 2004 at 09:28:17AM +0100, Hugo Costelha wrote: > On Thursday 24 June 2004 06:34, Greg KH wrote: > > On Wed, Jun 23, 2004 at 06:04:27PM +0100, Hugo Costelha wrote: > > > The code that runs in the robots is the same for every robot. It's > > > important to us that when our program sta

[linux-usb-devel] [stern@rowland.harvard.edu: PATCH: (as309) Patch to signal underflow in usb-storage driver]

2004-06-24 Thread Matthew Dharm
Greg, I'm jumping this patch forward in my patch queue for you. It's pretty important, as it fixes a quiet data corruption error. Please apply. Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Matt - Forwarded message from Alan Stern <[EMAIL PROTECTED]> - Date: Sun, 13 Jun 2004 13:45:

[linux-usb-devel] File backed storage support for dynamically installed and removed storage media like Compact Flash and Secure Digital

2004-06-24 Thread Todd Fischer
Hi, I am trying to figure out how to use the USB file backed storage driver with storage media that can be installed or removed at any time (but hopefully, only when the system isn't using the media). We currently get a hardware interrupt when the media is inserted and removed, which is monitored

Re: [linux-usb-devel] OHCI host controller and interrupt endpoints

2004-06-24 Thread [EMAIL PROTECTED]
On Wed, 23 Jun 2004, David Brownell wrote: > The interrupt transfer should normally poll each interrupt endpoint > just once per period ... so there should be at most one NAK per period. > > Are you sure your driver is scheduling an interrupt transfer? Sounds > like it's trying to use a bulk endp

Re: [linux-usb-devel] usb-storage deadlock

2004-06-24 Thread Alan Stern
On Thu, 24 Jun 2004, Ian E. Morgan wrote: > On Wed, 23 Jun 2004, Phil Brunner wrote: > > > I had a similar problem with different hardware see "smartcard reader kills > > usb hub on 2.6.5+, OK on 2.6.4" thread. > > > > The attached Matthew Dharm patch (which should probably be in 2.6.8 per Alan

[linux-usb-devel] (as316b) Patch for scatter-gather library

2004-06-24 Thread Alan Stern
David: Have you had a chance to go over this patch: http://marc.theaimsgroup.com/?l=linux-usb-devel&m=108739543030415&w=2 As the original author of that code you are the best person to decide whether the patch is correct. Alan Stern --- Th

Re: [linux-usb-devel] PATCH: (as326) Add mb() during initialization of UHCI controller

2004-06-24 Thread Alan Stern
On Thu, 24 Jun 2004, Herbert Xu wrote: > Alan Stern <[EMAIL PROTECTED]> wrote: > > > > = drivers/usb/host/uhci-hcd.c 1.115 vs edited = > > --- 1.115/drivers/usb/host/uhci-hcd.c Wed Jun 23 12:10:07 2004 > > +++ edited/drivers/usb/host/uhci-hcd.c Wed Jun 23 12:30:05 2004 > > @@ -2261,6 +

Re: [linux-usb-devel] usb-storage deadlock

2004-06-24 Thread Ian E. Morgan
On Wed, 23 Jun 2004, Phil Brunner wrote: I had a similar problem with different hardware see "smartcard reader kills usb hub on 2.6.5+, OK on 2.6.4" thread. The attached Matthew Dharm patch (which should probably be in 2.6.8 per Alan Stern) fixed the problem for 2.6.5, 2.6.6 and all 2.6.7 variet

Re: [linux-usb-devel] usb pendrive write lock autodetect

2004-06-24 Thread Alan Stern
On Thu, 24 Jun 2004, Michal Purzynski wrote: > > The ability to do this was just added back into 2.6. It may not have > > appeared in the distribution kernels yet, but it will. It's a kernel > > configuration option under usb-storage labelled > > > > USB Mass Storage Write-Protected Media De

Re: [linux-usb-devel] usb-storage deadlock

2004-06-24 Thread Alan Stern
On Wed, 23 Jun 2004, Phil Brunner wrote: > > Ian Morgan wrote: > > > On Wed, 23 Jun 2004, Ian E. Morgan wrote: > > > >> The only immediate thing that stands out to me is that in 2.4 the > >> INQUIRY is > >> '12 00 00 00 FF 00' (Allocation length 255), while in 2.6 it is '12 > >> 00 00 00 24 00

Re: [linux-usb-devel] usb-storage deadlock

2004-06-24 Thread Alan Stern
On Wed, 23 Jun 2004, Ian Morgan wrote: > On Wed, 23 Jun 2004, Ian E. Morgan wrote: > > > The only immediate thing that stands out to me is that in 2.4 the INQUIRY is > > '12 00 00 00 FF 00' (Allocation length 255), while in 2.6 it is '12 00 00 00 > > 24 00' (Allocation length 36 (makes sense)).

Re: [linux-usb-devel] PATCH: (as326) Add mb() during initialization of UHCI controller

2004-06-24 Thread Herbert Xu
Alan Stern <[EMAIL PROTECTED]> wrote: > > = drivers/usb/host/uhci-hcd.c 1.115 vs edited = > --- 1.115/drivers/usb/host/uhci-hcd.c Wed Jun 23 12:10:07 2004 > +++ edited/drivers/usb/host/uhci-hcd.c Wed Jun 23 12:30:05 2004 > @@ -2261,6 +2261,11 @@ >uhci->fl->frame[i] = cpu

[linux-usb-devel] question about usb gadget driver

2004-06-24 Thread 박호상
Hello. I used ‘Gadget Driver’ to test my USB RDK. However, I have a question. In Gadget Driver, how read() and write() are operated ? Generally, read(fd, …, ) and write(fd, …, ) are used or ioctl() is used. Then, in Gadget Driver, how read and write is realized? (I will make the host side driver an

[linux-usb-devel] USB EndPoints and the chip datasheet

2004-06-24 Thread sting sting
Hello, I had submitted recently a question regarding 'USB Host Controller And a Web Cam' Mark McClelland answered a few days ago in this Forum that "Any isochronous-based camera controller with alternate settings for MxPS < 180 should work. This includes OV511+, OV518, OV518+ and probably others"

Re: [linux-usb-devel] babble errors from message.c

2004-06-24 Thread Oliver Neukum
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 24. Juni 2004 10:29 schrieb Ullrich Sigwanz: > A very clear symptom is that the device information does not occor in a > "cat /proc/bus/usb/devices" > at all. Please send a syslog trace with usb debugging enabled of plugging in such a

Re: [linux-usb-devel] question about 'testusb.c'

2004-06-24 Thread Martin Diehl
On Thu, 24 Jun 2004, [ks_c_5601-1987] ¹ÚÈ£»ó wrote: > /proc/bus/usb/001/002 test 14 --> 22 (error 22) > --- > You can see that the last test is error. > > Anyone who knows what test 14 performs tell me it in detail. Write & read-back test using Con

Re: [linux-usb-devel] Retreive camera device file using Serial Number

2004-06-24 Thread Hugo Costelha
On Thursday 24 June 2004 06:34, Greg KH wrote: > On Wed, Jun 23, 2004 at 06:04:27PM +0100, Hugo Costelha wrote: > > The code that runs in the robots is the same for every robot. It's > > important to us that when our program starts it now which cameras is > > /dev/video0 and which cameras is /dev/v

[linux-usb-devel] Re: [PATCH] shut-up kaweth usb/net driver

2004-06-24 Thread Oliver Neukum
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Mittwoch, 23. Juni 2004 23:25 schrieben Sie: > Hi, > > The kaweth usb ethernet driver is pretty noisy. > It generates over 40 lines during a modprobe. > The following patch reduces the prints generated by this driver. > > Regards, > Harm Verhagen

[linux-usb-devel] question about 'testusb.c'

2004-06-24 Thread 박호상
Hello. I am using ‘tsestusb.c’ to test USB gadget driver. In the Web page, test is run to ‘test 8’. However, my output is different from that Web page. Here is my output : -- # testusb -a /proc/bus/usb/001/002 test 0,0.10 secs /proc/bus/usb/0

Re: [linux-usb-devel] usb pendrive write lock autodetect

2004-06-24 Thread Michal Purzynski
> The ability to do this was just added back into 2.6. It may not have > appeared in the distribution kernels yet, but it will. It's a kernel > configuration option under usb-storage labelled > > USB Mass Storage Write-Protected Media Detection (EXPERIMENTAL) > > You won't see it unless you

Re: [linux-usb-devel] Re: your concerns about using flags to synchronise task and irq context

2004-06-24 Thread Oliver Neukum
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 24. Juni 2004 00:22 schrieb David Brownell: > > > I investigated and it turns out that up/down/spin_(un)lock contain code > > equivalent to wmb. By chance cdc-acm is save. I am investigating other > > drivers. > > That's good. But I d