Re: [linux-usb-devel] autosuspend for HID devices, take #4

2007-06-22 Thread Oliver Neukum
Am Freitag, 22. Juni 2007 schrieb Jiri Kosina: On Mon, 28 May 2007, Oliver Neukum wrote: Sure, it still could be a HW issue (I have experienced this with two random keyboards I used for testing), but I'd guess it would be something different than what you describe. What do you think?

Re: [linux-usb-devel] usblp: add dynamic URBs, fix races

2007-06-22 Thread Oliver Neukum
+ if (urb-status 0) + usblp-rstatus = urb-status; + else + usblp-rstatus = urb-actual_length; usblp-rcomplete = 1; -unplug: - wake_up_interruptible(usblp-wait); + wake_up(usblp-rwait); Why no longer _interruptible ? +

Re: [linux-usb-devel] can't suspend on vaio sz (rc4 and rc5 are ok) [was Re: 2.6.22-rc4-mm2]

2007-06-22 Thread Mattia Dongili
On Thu, Jun 21, 2007 at 11:49:37PM +0200, Rafael J. Wysocki wrote: On Thursday, 21 June 2007 21:39, Alan Stern wrote: On Thu, 21 Jun 2007, Rafael J. Wysocki wrote: I'll see if I can reproduce your problem here. Yes, I can. It's only necessary to load usb-storage (without any

[linux-usb-devel] Your Response Is Needed

2007-06-22 Thread Katrine Jones
Dear Friend , My name is Mrs . Katrine Jones am 79yrs old of age, i stay at No 303 N. Glenoaks Blvd, Suite L110 Burbank CA USA 91502 . I've enjoyed great success with several companies in the world .I spend all my life on investment and corporate business. All the way i lost my husband

Re: [linux-usb-devel] usblp: add dynamic URBs, fix races

2007-06-22 Thread Pete Zaitcev
On Fri, 22 Jun 2007 10:52:18 +0200, Oliver Neukum [EMAIL PROTECTED] wrote: + if (urb-status 0) + usblp-rstatus = urb-status; + else + usblp-rstatus = urb-actual_length; usblp-rcomplete = 1; -unplug: - wake_up_interruptible(usblp-wait); +

Re: [linux-usb-devel] usblp: add dynamic URBs, fix races

2007-06-22 Thread Oliver Neukum
Am Freitag, 22. Juni 2007 schrieb Pete Zaitcev: On Fri, 22 Jun 2007 10:52:18 +0200, Oliver Neukum [EMAIL PROTECTED] wrote: + if (urb-status 0) + usblp-rstatus = urb-status; + else + usblp-rstatus = urb-actual_length; usblp-rcomplete = 1; -unplug: -

[linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Mauro Carvalho Chehab
Hi Roman, Several instabilities on Kconfig started to happen after replacing Kconfig menus to use menuconfig, as this one, reported by Oliver: Em Qui, 2007-06-21 às 13:50 +0200, Oliver Neukum escreveu: Am Donnerstag, 21. Juni 2007 schrieb Toralf Förster: Right, but IMHO this issue is typical

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 10:22:46AM -0300, Mauro Carvalho Chehab wrote: Hi Roman, Several instabilities on Kconfig started to happen after replacing Kconfig menus to use menuconfig, as this one, reported by Oliver: Em Qui, 2007-06-21 às 13:50 +0200, Oliver Neukum escreveu: Am Donnerstag,

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Jan Engelhardt
On Jun 22 2007 15:46, Andreas Herrmann wrote: Hi, I am not sure whether it is related or not But if you select USB as module but build your v4l_usb driver into the kernel you also get compile errors. Attached is a patch which will prevent this by changing the menuconfig from bool to tristate. A

[linux-usb-devel] [patch] usbnet: fix kconfig for usbnet drivers

2007-06-22 Thread Andreas Herrmann
Fix kernel build error: drivers/built-in.o: In function `usbnet_set_settings': : undefined reference to `mii_ethtool_sset' drivers/built-in.o: In function `usbnet_get_settings': : undefined reference to `mii_ethtool_gset' drivers/built-in.o: In function `usbnet_get_link': : undefined

[linux-usb-devel] [PATCH] ark3116.c: Mixed fixups

2007-06-22 Thread Alan Cox
o Don't parse the cflag for baud rates, its not valid to do so any more and this driver got it wrong anyway o Don't do clever termios change checks in drivers and get them wrong (arguably we should do some smart ones in the tty core but stty to change nothing is

[linux-usb-devel] [PATCH] belkin_sa: Various needed fixes

2007-06-22 Thread Alan Cox
Use the baud rate stuff from the kernel don't parse CBAUD directly Remove pointless and wrong 'no change' check Could do with some good testing as well but again better than adding BROKEN (The use of BELKIN_SA_BAUD() might seem a bit odd but x/a = b and x/b = a (rounded for integers)).

[linux-usb-devel] [PATCH] ir_usb: Clean up the worst of it, remove exciting 'crash on open' feature

2007-06-22 Thread Alan Cox
- Drivers don't call ldisc termios methods. They certainly don't call them the way this one does - remove wrong call - The tty buffer code isn't designed to be abused from IRQ handlers and the new buffering removes the need for the uglies involved - fix them - Style - Remove incorrect baud and

Re: [linux-usb-devel] can't suspend on vaio sz (rc4 and rc5 are ok) [was Re: 2.6.22-rc4-mm2]

2007-06-22 Thread Alan Stern
On Fri, 22 Jun 2007, Mattia Dongili wrote: Yes, the problem is not present after reverting this patch. Not for me, I had that patch already reverted. As I said there was a point when bisecting which the kernel came back to life instead of just hanging trying to suspend. I'll try to get a

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Roman Zippel
Hi, On Fri, 22 Jun 2007, Mauro Carvalho Chehab wrote: Hi Roman, Several instabilities on Kconfig started to happen after replacing Kconfig menus to use menuconfig, as this one, reported by Oliver: Em Qui, 2007-06-21 às 13:50 +0200, Oliver Neukum escreveu: Am Donnerstag, 21. Juni 2007

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 03:51:34PM +0200, Jan Engelhardt wrote: On Jun 22 2007 15:46, Andreas Herrmann wrote: Hi, I am not sure whether it is related or not But if you select USB as module but build your v4l_usb driver into the kernel you also get compile errors. Attached is a patch

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Mauro Carvalho Chehab
Em Sex, 2007-06-22 às 15:51 +0200, Jan Engelhardt escreveu: On Jun 22 2007 15:46, Andreas Herrmann wrote: Hi, I am not sure whether it is related or not But if you select USB as module but build your v4l_usb driver into the kernel you also get compile errors. Attached is a patch which will

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Jan Engelhardt
On Jun 22 2007 16:27, Roman Zippel wrote: In this specific case, all V4L USB drivers depends on V4L_USB_DRIVERS, that depends, in turn, on USB. So, if USB is not selected, V4L_USB_DRIVERS should be unselected, unselecting zc0301. Unfortunately, the Kernel building system is not properly

[linux-usb-devel] Please reactivate your Yahoo! Groups email address

2007-06-22 Thread Yahoo!Groups
Dear Yahoo! Groups member, You belong to one or more email groups provided by Yahoo! Groups (groups.yahoo.com). Recently, messages sent to you from Yahoo! Groups have been returned to us as undeliverable. As a result, we have temporarily turned off message delivery to this email address. If

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Mauro Carvalho Chehab
Em Sex, 2007-06-22 às 16:27 +0200, Roman Zippel escreveu: Hi, On Fri, 22 Jun 2007, Mauro Carvalho Chehab wrote: Hi Roman, Several instabilities on Kconfig started to happen after replacing Kconfig menus to use menuconfig, as this one, reported by Oliver: Em Qui, 2007-06-21 às

Re: [linux-usb-devel] ALi M5273 not working reliably

2007-06-22 Thread Guillaume Bedot
Re, Le mardi 19 juin 2007 à 20:14 +0200, Oliver Neukum a écrit : Does it fail with -EPROTO (-71) and a subsequent reset? No, it fails with -ECONNRESET (-104). Regards, Guillaume B. - This SF.net email is sponsored by

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 12:03:19PM -0300, Mauro Carvalho Chehab wrote: Em Sex, 2007-06-22 às 15:51 +0200, Jan Engelhardt escreveu: On Jun 22 2007 15:46, Andreas Herrmann wrote: Hi, I am not sure whether it is related or not But if you select USB as module but build your v4l_usb driver

Re: [linux-usb-devel] HID device communication problem with kernel 2.4

2007-06-22 Thread Szilvási Bertalan
Hi again, After some serious investigation problem is solved. And the key of the solution is contained by this listgroup.. :-). As it turned out from this mail http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg13486.html , duplicate messages are filtered out in kernel 2.4. I

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Oliver Neukum
Am Freitag, 22. Juni 2007 schrieb Mauro Carvalho Chehab: Em Sex, 2007-06-22 às 15:51 +0200, Jan Engelhardt escreveu: On Jun 22 2007 15:46, Andreas Herrmann wrote: Hi, I am not sure whether it is related or not But if you select USB as module but build your v4l_usb driver into the

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Roman Zippel
Hi, On Fri, 22 Jun 2007, Jan Engelhardt wrote: V4L_USB_DRIVERS=y turns USB into =y? That can't be. It should give the this depends on another symbol [USB] that is modular. That's not how it works, the enclosed symbols depend now on V4L_USB_DRIVERS, which is a boolean and it can only have two

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Jan Engelhardt
On Jun 22 2007 18:24, Roman Zippel wrote: There have been discussions to remove the default-ys again, I've sent a patch [http://lkml.org/lkml/2007/5/12/216], but nothing happened. So, should all affected menuconfigs be transformed into tristates, what do you think, Roman? Let me know so I

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Roman Zippel
Hi, On Fri, 22 Jun 2007, Mauro Carvalho Chehab wrote: I'm to keep default y for the menuconfig items. Since those don't generate any code (there's no Makefile items associated with the menuconfig vars), I don't know that without checking Makefiles/sources, so I have to assume it may

[linux-usb-devel] upping a semaphore from a USB completion handler?

2007-06-22 Thread Florin Iucha
Hello, I am writing a USB driver for some custom hardware, and I need to synchronize between the user-space and the USB subsystem. Can I create a semaphore and down it in the reader then up it in the completion handler? I know the completion handler runs in interrupt context so you are not

Re: [linux-usb-devel] upping a semaphore from a USB completion handler?

2007-06-22 Thread Oliver Neukum
Am Freitag, 22. Juni 2007 schrieb Florin Iucha: Hello, I am writing a USB driver for some custom hardware, and I need to synchronize between the user-space and the USB subsystem. Can I create a semaphore and down it in the reader then up it in the completion handler? Yes, you can. I

[linux-usb-devel] =?us-ascii?B?aXRzIGdvbm5hIGJlIGJlZXRyIHNvb24gLSCg

2007-06-22 Thread Luke
?= Date: Fri, 22 May 2007 11:02:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1158 Highly respected ,

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Satyam Sharma
Hi Jan, On 6/22/07, Jan Engelhardt [EMAIL PROTECTED] wrote: On Jun 22 2007 18:24, Roman Zippel wrote: There have been discussions to remove the default-ys again, I've sent a patch [http://lkml.org/lkml/2007/5/12/216], but nothing happened. So, should all affected menuconfigs be

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Trent Piepho
On Fri, 22 Jun 2007, Mauro Carvalho Chehab wrote: Hi Roman, Several instabilities on Kconfig started to happen after replacing Kconfig menus to use menuconfig, as this one, reported by Oliver: This is the same problem I explained before:

Re: [linux-usb-devel] usblp: add dynamic URBs, fix races

2007-06-22 Thread Oliver Neukum
Am Freitag, 22. Juni 2007 schrieb Pete Zaitcev:  static unsigned int usblp_poll(struct file *file, struct poll_table_struct *wait)  { +   int ret; +   unsigned long flags; We are called with interrupts on. We discussed it a few times before. I

[linux-usb-devel] USB devices

2007-06-22 Thread Bill Cunningham
Well on my linux whenever I plug in my usb flash cards all the system says to me is address:2 then tries again with address:3 and everytime it does this I get error code -110. I don't know what's wrong. I don't know if I've uninstalled and RPM or what. I use a somewhat aged RH 9. Bill

Re: [linux-usb-devel] Kconfig troubles when using menuconfig - Was: [patch]Re: linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Satyam Sharma
On 6/23/07, Satyam Sharma [EMAIL PROTECTED] wrote: Hi Jan, On 6/22/07, Jan Engelhardt [EMAIL PROTECTED] wrote: On Jun 22 2007 18:24, Roman Zippel wrote: There have been discussions to remove the default-ys again, I've sent a patch [http://lkml.org/lkml/2007/5/12/216], but

Re: [linux-usb-devel] Possible bug in isp116x-hcd

2007-06-22 Thread ok
On Thu, Jun 21, 2007 at 05:17:42PM -0400, Alan Stern wrote: On Thu, 21 Jun 2007, ok wrote: Do you mean something like that below? I haven't tested it. Yes, something very much like this. It could be simplified a little; in a couple of places where you have finish_request();