Re: [linux-usb-devel] Re: usb_get_intf, etc.

2004-04-27 Thread Oliver Neukum
> Out of curiosity, exactly where does open() call lock_kernel()? Although > there are loads of places it gets called in fs/*.c, I didn't notice any on > the path for open(). if (filp->f_op->open) { lock_kernel(); ret = filp->f_op->open(inode,filp);

Re: [linux-usb-devel] Re: usb_get_intf, etc.

2004-04-27 Thread Oliver Neukum
Am Mittwoch, 28. April 2004 02:16 schrieb Greg KH: > On Mon, Apr 19, 2004 at 09:06:50AM +0200, Oliver Neukum wrote: > > Am Montag, 19. April 2004 04:55 schrieb Alan Stern: > > > On Sun, 18 Apr 2004, Oliver Neukum wrote: > > > > Am Sonntag, 18. April 2004 16:36 schrieb Alan Stern: > > > > > > A spin

[linux-usb-devel] crash with kernel 2.6.5 using ohci but not with uhci controller

2004-04-27 Thread Martijn Thijssen
Hi all, I get a stacktrace with kernel 2.6.5 and a usb bluetooth dongle from 3com. First I load the affix kernel module then I load affix_usb and this results in the following stacktrace. I am using affix-kernel 2.1.2 It works on another platform using an uhci controller from intel. That's why I p

[linux-usb-devel] Returned Mail: 210.22.151.22 Message Blocking via filter

2004-04-27 Thread hongyz
ÓÉÓÚ¸½¼þÖк¬ÓÐ:.pif .exe .com .bat .vbs .scr .cpl .mp3 .ceo .rm .avi .wav .mpeg µÈÎļþ£¬ÒѾ­±»·þÎñÆ÷¹ýÂË! Èç¹ûÈ·Ðè·¢ËÍ´ËÀàÐ͵ÄÎļþ£¬Ç뽫ÎļþѹËõ³Érar¸ñʽ»ò¸ÄÃûºóÖØÐ·¢ËÍ¡£ Your message to [EMAIL PROTECTED] could not delivery as of filter blocking. The original message header fields are: From: [EM

[linux-usb-devel] Returned mail: see transcript for details

2004-04-27 Thread Mail Delivery Subsystem
** ** Óʼþ·þÎñÆ÷ÌáʾÐÅÏ¢£º·¢ËÍÔÝûÓгɹ¦ ** ** ·þÎñÆ÷ÈÔÔÚ×Ô¶¯ÖØ·¢£¬ÇëÔݲ»ÔÙ·¢Í¬Ò»ÐÅÏ¢ ** ** ԭʼÐÅÏ¢·¢Ë͵Äʱ¼äÊÇ Wed, 28 Apr 2004 11:17:03 +0800 (CST) Ô­·¢ËÍÖ÷»ú [210.22.151.22]

[linux-usb-devel] Undeliverable Mail

2004-04-27 Thread Postmaster
No message body: [EMAIL PROTECTED] Original message follows. --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam

[linux-usb-devel] Informacja techniczna: alert antywirusowy W32/Netsky.B@mm

2004-04-27 Thread avscan
Zawartość wysłanej z Twojego konta wiadomości została uznana przez skaner antywirusowy jako niebezpieczna. Wiadomość nie została więc dostarczona do adresata. Prawdopodobne jest, iż Twój komputer został zarażony przez wirusa. Zalecamy jak najszybsze sprawdzenie systemu programem antywirusowym! P

[linux-usb-devel] failure notice

2004-04-27 Thread MAILER-DAEMON
Hi. This is the qmail-send program at isl.net.tw. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <[EMAIL PROTECTED]>: Sorry, no mailbox here by that name. vpopmail (#5.1.1) --- Below this line is a c

Re: [linux-usb-devel] Re: usb_get_intf, etc.

2004-04-27 Thread Greg KH
On Tue, Apr 27, 2004 at 09:51:34PM -0400, Alan Stern wrote: > On Tue, 27 Apr 2004, Greg KH wrote: > > > On Mon, Apr 19, 2004 at 09:06:50AM +0200, Oliver Neukum wrote: > > > That's an advantage. Using the knowledge that sys_open() takes BKL in > > > an example driver is not nice. > > > > But it's

Re: [linux-usb-devel] Re: usb_get_intf, etc.

2004-04-27 Thread Alan Stern
On Tue, 27 Apr 2004, Greg KH wrote: > On Mon, Apr 19, 2004 at 09:06:50AM +0200, Oliver Neukum wrote: > > That's an advantage. Using the knowledge that sys_open() takes BKL in > > an example driver is not nice. > > But it's a fact of life. We need an external lock (from the internal > device stru

Re: [linux-usb-devel] RNDIS gadget driver

2004-04-27 Thread David Meggy
On Tue, 2004-04-27 at 18:07, David Brownell wrote: > What does /proc/rndis/0 (or whatever) have to say? At a guess, > I'd say that it'll NOT be in the RNDIS_DATA_INITIALIZED state, > it'll be in RNDIS_INITIALIZED instead. yep, that's correct ~ # cat /proc/rndis/000 Config Nr. 0 used : y st

[linux-usb-devel] Symantec Mail Security detected that you sent a message containing an executable file. (SYM:28322374840680643733)

2004-04-27 Thread grace
Subject of the message: Mail Delivery (failure [EMAIL PROTECTED]) Recipient of the message: æåå --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g cla

Re: [linux-usb-devel] RNDIS gadget driver

2004-04-27 Thread David Brownell
David Meggy wrote: Hmm, why isn't it xmitting? Regardless of any Windows problems, I put a printk at the top of ether.c: eth_start_xmit, which never gets called. And I see at line 2427: net->hard_start_xmit = eth_start_xmit; So this should really be getting called. Here is a little snippet of my

Re: [linux-usb-devel] RNDIS gadget driver

2004-04-27 Thread David Brownell
David Meggy wrote: CDC ethernet works again (dumb mistake on my part). I still get the warning message, but at least it works. If you change bcdUSB to "0110" (1.1), does Windows like it better? RNDIS still doesn't work. Same messages as Friday afternoon. Any suggestions are appreciated. Grab t

Re: [linux-usb-devel] Re: usb_get_intf, etc.

2004-04-27 Thread Greg KH
On Mon, Apr 19, 2004 at 09:06:50AM +0200, Oliver Neukum wrote: > Am Montag, 19. April 2004 04:55 schrieb Alan Stern: > > On Sun, 18 Apr 2004, Oliver Neukum wrote: > > > Am Sonntag, 18. April 2004 16:36 schrieb Alan Stern: > > > > > A spinlock could replace it. But that is a small detail. > > > > >

[linux-usb-devel] Re: PATCH: (as246c) Allocate interface structures dynamically

2004-04-27 Thread Greg KH
On Mon, Apr 19, 2004 at 12:04:39PM -0400, Alan Stern wrote: > Here is a slight revision of patch as246b. This one allocates all the new > interfaces before changing any other state; otherwise it's the same. Thanks a lot for doing this work, It looks good. I've applied it to my trees and will sh

Re: [linux-usb-devel] RNDIS gadget driver

2004-04-27 Thread David Meggy
Hmm, why isn't it xmitting? Regardless of any Windows problems, I put a printk at the top of ether.c: eth_start_xmit, which never gets called. And I see at line 2427: net->hard_start_xmit = eth_start_xmit; So this should really be getting called. Here is a little snippet of my networking ~ # mo

[linux-usb-devel] Re: [patch] datafab fix and unusual devices

2004-04-27 Thread Marcelo Tosatti
On Mon, Apr 26, 2004 at 11:41:59AM +0200, [EMAIL PROTECTED] wrote: > From [EMAIL PROTECTED] Mon Apr 5 14:38:27 2004 > On Mon, Apr 05, 2004 at 08:39:56AM -0300, Marcelo Tosatti wrote: > > On Tue, Mar 30, 2004 at 01:56:14PM -0800, Greg KH wrote: > > > On Tue, Mar 30, 2004 at 12:44:09

Re: [linux-usb-devel] RNDIS gadget driver

2004-04-27 Thread David Meggy
CDC ethernet works again (dumb mistake on my part). I still get the warning message, but at least it works. RNDIS still doesn't work. Same messages as Friday afternoon. Any suggestions are appreciated. David -- David Meggy Engineering Technical Solutions I

[linux-usb-devel] Re: [PATCH] use kref in ehci

2004-04-27 Thread Greg KH
On Tue, Apr 27, 2004 at 01:04:05PM -0700, David Brownell wrote: > Greg KH wrote: > >Hi, > > > >Here's a patch against 2.6.6-rc2 that replaces the use of atomic_t in > >the ehci driver with a kref. It builds for for me here, any objections > >to me adding it to the main kernel tree? > > Looks like

[linux-usb-devel] Re: [PATCH] use kref in ehci

2004-04-27 Thread David Brownell
Greg KH wrote: Hi, Here's a patch against 2.6.6-rc2 that replaces the use of atomic_t in the ehci driver with a kref. It builds for for me here, any objections to me adding it to the main kernel tree? Looks like a nice update, but it didn't build for me: CC [M] drivers/usb/host/ehci-hcd.o In

Re: [linux-usb-devel] Re: [PATCH 1/9] USB usbfs: take a reference to the usb device

2004-04-27 Thread Duncan Sands
> Have you decided to go through and change all those interface indices to > interface numbers? It's on my TODO list, which isn't saying much. Ciao, Duncan. --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited

[linux-usb-devel] failure notice

2004-04-27 Thread MAILER-DAEMON
Hi. This is the qmail-send program at mx2.pce.de. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <[EMAIL PROTECTED]>: 213.185.66.186 failed after I sent the message. Remote host said: 550 5.7.1 virus

Re: [linux-usb-devel] what is

2004-04-27 Thread Alan Stern
On Tue, 27 Apr 2004, David Bashaw wrote: > the actual endpoint number of a hub's "status change endpoint"? It can be anything from 1 to 15. > from the 2.0 usb spec - > 11.12.1 Endpoint Organization - > The Hub Class defines one additional endpoint beyond Default Control > Pipe, which is r

[linux-usb-devel] PATCH (as264) Small change to CPiA USB driver

2004-04-27 Thread Alan Stern
The CPiA USB driver calls usb_driver_release_interface() during its disconnect() routine. That doesn't appear to be necessary, since it didn't call usb_driver_claim_interface() beforehand and since the interface will be released automatically when disconnect() returns. Please let me know if th

[linux-usb-devel] what is

2004-04-27 Thread David Bashaw
the actual endpoint number of a hub's "status change endpoint"? from the 2.0 usb spec - 11.12.1 Endpoint Organization - The Hub Class defines one additional endpoint beyond Default Control Pipe, which is required for all hubs: the Status Change endpoint. The host system receives port an

[linux-usb-devel] PATCH: (as263) Add test in dvb-ttusb-budget driver

2004-04-27 Thread Alan Stern
I can't tell if this test is correct, but the dvb-ttusb-budget driver appears to need it. It changes altsettings for interface 1, so apparently it wants to be bound to that interface. Please let me know if this patch is right or not. Alan Stern = drivers/media/dvb/ttusb-budget/dvb-ttusb-

Re: [linux-usb-devel] [PATCH] use kref in ehci

2004-04-27 Thread Greg KH
On Tue, Apr 27, 2004 at 06:49:36PM +0200, Oliver Neukum wrote: > Am Dienstag, 27. April 2004 17:53 schrieb Greg KH: > > - atomic_read (&qh->refcount), ehci->periodic_sched); > > + atomic_read (&qh->kref.refcount), ehci->periodic_sched); > > This is ugly. If you are usin

Re: [linux-usb-devel] [PATCH] use kref in ehci

2004-04-27 Thread Oliver Neukum
Am Dienstag, 27. April 2004 17:53 schrieb Greg KH: > - atomic_read (&qh->refcount), ehci->periodic_sched); > + atomic_read (&qh->kref.refcount), ehci->periodic_sched); This is ugly. If you are using an opaque data structure, keep it opaque. Regards

[linux-usb-devel] [PATCH] use kref in ehci

2004-04-27 Thread Greg KH
Hi, Here's a patch against 2.6.6-rc2 that replaces the use of atomic_t in the ehci driver with a kref. It builds for for me here, any objections to me adding it to the main kernel tree? thanks, greg k-h = drivers/usb/host/ehci-hcd.c 1.113 vs edited = --- 1.113/drivers/usb/host/ehci-hc

[linux-usb-devel] Re: PATCH: (as257) Altsetting update for USB misc drivers

2004-04-27 Thread Greg KH
On Fri, Apr 23, 2004 at 10:59:51PM -0400, Alan Stern wrote: > On Fri, 23 Apr 2004, Greg KH wrote: > > > On Thu, Apr 22, 2004 at 04:29:14PM -0400, Alan Stern wrote: > > > --- 1.22/drivers/usb/misc/uss720.cThu Mar 4 11:57:51 2004 > > > +++ edited/drivers/usb/misc/uss720.c Thu Apr 22 16

[linux-usb-devel] Undeliverable Mail

2004-04-27 Thread Postmaster
Delivery failed 5 attempts: [EMAIL PROTECTED] Original message follows. Received: from SMTP32-FWD by superedition.com (SMTP32) id A06880902; Tue, 27 Apr 2004 05:29:55 Received: from superedition.com [202.51.77.123] by mail003.readyhosting.com with ESMTP (SMTPD32-8.05) id A61412A00D2; Tue, 2

RE: [linux-usb-devel] Problem in Bluetooth USB driver.

2004-04-27 Thread Marcel Holtmann
Hi Sunil, > When I connected the device I found that the probe function is called > more than once. First time when the probe gets called it returns success > with the number of bulk ins and outs as one. For the rest of the probe calls > the bulk ins and outs are zero and the probe returns NULL an

RE: [linux-usb-devel] Problem in Bluetooth USB driver.

2004-04-27 Thread Sunil Kumar
Hi, When I connected the device I found that the probe function is called more than once. First time when the probe gets called it returns success with the number of bulk ins and outs as one. For the rest of the probe calls the bulk ins and outs are zero and the probe returns NULL and hence it fai

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

2004-04-27 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] SMTP error from remote mailer after RCPT TO:<[EMAIL PROTECTED]>:

Re: [linux-usb-devel] Re: [PATCH 1/9] USB usbfs: take a reference to the usb device

2004-04-27 Thread Oliver Neukum
Am Dienstag, 27. April 2004 00:14 schrieb Greg KH: > On Mon, Apr 26, 2004 at 04:05:17PM +0200, Duncan Sands wrote: > > diff -Nru a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c > > --- a/drivers/usb/core/devio.c Mon Apr 26 13:48:28 2004 > > +++ b/drivers/usb/core/devio.c Mon Apr 26