Re: [patch 2.6.24-rc6-git] usb: at91_udc uses generic GPIO calls; minor cleanup

2008-01-05 Thread steve birtles
That's great David, I've just move forward to rc6 ,GOD what a fiasco that was. I'm showing a kernel panic in the Amtel_spi code (i thought we finished with that damned thing), which I have disabled for now. But let me apply this patch and see how it goes. Steve On Jan 6, 2008, at 5:21

Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support

2008-01-05 Thread Al Boldi
Sam Ravnborg wrote: > On Sat, Jan 05, 2008 at 11:03:30PM +0200, Adrian Bunk wrote: > > For kconfig users, "select" is _much_ better than sending them through > > different menus. > > Only if used within the current limitations of Kconfig. > And that requires you to use select only to select symbols

Re: WD My Book 500G external drive: error -110

2008-01-05 Thread Alan Stern
On Sat, 5 Jan 2008, seandarcy wrote: > I'm running Fedora 8: > > uname -r > 2.6.23.8-63.fc8 > > I connected my new Western Digital My Book 500G external drive to the > usb port. > > syslog: > > Jan 5 21:53:35 testbox kernel: usb 1-4: new high speed USB device using > ehci_hcd and address 2

WD My Book 500G external drive: error -110

2008-01-05 Thread seandarcy
I'm running Fedora 8: uname -r 2.6.23.8-63.fc8 I connected my new Western Digital My Book 500G external drive to the usb port. syslog: Jan 5 21:53:35 testbox kernel: usb 1-4: new high speed USB device using ehci_hcd and address 2 Jan 5 21:53:50 testbox kernel: usb 1-4: device descriptor r

Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support

2008-01-05 Thread Randy Dunlap
Stefan Richter wrote: Adrian Bunk wrote: Whether or not an option requires an additional subsystem like e.g. SCSI or SSB are hardware and implementation details we shouldn't bother kconfig users with. What is an implementation detail and what is not? In the end, everything that we configure

Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support

2008-01-05 Thread Adrian Bunk
On Sun, Jan 06, 2008 at 01:35:21AM +0100, Stefan Richter wrote: > Adrian Bunk wrote: > > Whether or not an option requires an additional subsystem like e.g. SCSI > > or SSB are hardware and implementation details we shouldn't bother > > kconfig users with. > > What is an implementation detail an

Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support

2008-01-05 Thread Stefan Richter
Adrian Bunk wrote: > Whether or not an option requires an additional subsystem like e.g. SCSI > or SSB are hardware and implementation details we shouldn't bother > kconfig users with. What is an implementation detail and what is not? In the end, everything that we configure in Kconfig is imple

Re: [pl2303 regression] Linux 2.6.23 breaks gpsbabel's DG-100 support

2008-01-05 Thread Mirko Parthey
On Sat, Jan 05, 2008 at 02:09:32AM +, Alan Cox wrote: > > first segment reverted -> works OK > > first segment applied -> breaks > > So I would guess while data is being transferred your code sets the tty > settings to the exact ones that were still in use, and this now drops > bytes ? Yes -

Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support

2008-01-05 Thread Adrian Bunk
On Sat, Jan 05, 2008 at 03:22:14PM -0800, Randy Dunlap wrote: >... > For Aunt Tillie cases, "select" makes sense. For other cases, > I'd argue that it makes sense for config users to know when they > do something that causes an entire subsystem to be added to their > kernel (like SCSI or NET). We

Re: Which hub chip?

2008-01-05 Thread Berthold Cogel
Diego Zuccato schrieb: Hello all. I'd need to handle many USB devices (the more the best). So, to reduce hubs number I'm going to use 7-port ones. I've found those, so far: - USB2507 (SMSC) - ISB1521 (Philips) - μPD720113 (NEC) The host is a Linux box. Does some1 know of possible problems with

Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support

2008-01-05 Thread Randy Dunlap
Sam Ravnborg wrote: On Sat, Jan 05, 2008 at 11:03:30PM +0200, Adrian Bunk wrote: On Sat, Jan 05, 2008 at 11:30:24AM -0800, Randy Dunlap wrote: On Sat, 5 Jan 2008 18:41:39 +0300 Al Boldi wrote: Select SCSI for USB Mass Storage support. Cc: David Brownell <[EMAIL PROTECTED]> Cc: Greg KH <[EMA

Re: Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm]

2008-01-05 Thread Arnd Bergmann
On Saturday 05 January 2008, Russell King wrote: > Not everything in drivers/ is suitable for every ARM configuration.  It > was felt at the time better for ARM to remain separate because people > didn't want to pollute drivers/Kconfig with the ARM specific conditionals. We made drivers/Kconfig wo

Re: [patch 2.6.24-rc6-git] usb: at91_udc uses generic GPIO calls; minor cleanup

2008-01-05 Thread David Brownell
From: David Brownell <[EMAIL PROTECTED]> Various small at91_udc cleanups: - Use generic GPIO calls, not older platform-specific ones - Use gpio_request()/gpio_free() - Use VERBOSE_DEBUG convention, not older VERBOSE - Fix sparse complaint about parameter type (changed to gfp_t) - Add missing

Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support

2008-01-05 Thread Sam Ravnborg
On Sat, Jan 05, 2008 at 11:03:30PM +0200, Adrian Bunk wrote: > On Sat, Jan 05, 2008 at 11:30:24AM -0800, Randy Dunlap wrote: > > On Sat, 5 Jan 2008 18:41:39 +0300 Al Boldi wrote: > > > > > > > > Select SCSI for USB Mass Storage support. > > > > > > > > > Cc: David Brownell <[EMAIL PROTECTED]> >

Re: Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm]

2008-01-05 Thread Russell King
On Sat, Jan 05, 2008 at 09:54:24PM +0100, Sam Ravnborg wrote: > On Sat, Jan 05, 2008 at 08:31:24PM +, Russell King wrote: > > Not everything in drivers/ is suitable for every ARM configuration. It > > was felt at the time better for ARM to remain separate because people > > didn't want to poll

Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support

2008-01-05 Thread Adrian Bunk
On Sat, Jan 05, 2008 at 11:30:24AM -0800, Randy Dunlap wrote: > On Sat, 5 Jan 2008 18:41:39 +0300 Al Boldi wrote: > > > > > Select SCSI for USB Mass Storage support. > > > > > > Cc: David Brownell <[EMAIL PROTECTED]> > > Cc: Greg KH <[EMAIL PROTECTED]> > > Cc: Andrew Morton <[EMAIL PROTECTED]>

Re: Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm]

2008-01-05 Thread Sam Ravnborg
On Sat, Jan 05, 2008 at 08:31:24PM +, Russell King wrote: > On Sat, Jan 05, 2008 at 08:20:00PM +0100, Sam Ravnborg wrote: > > On Sat, Jan 05, 2008 at 06:42:52PM +0300, Al Boldi wrote: > > > > > > From: David Brownell <[EMAIL PROTECTED]> > > > > > > Source "drivers/usb/gadget/Kconfig" for ARCH

Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support

2008-01-05 Thread Stefan Richter
Al Boldi wrote: > -comment "NOTE: USB_STORAGE needs SCSI, and 'SCSI disk support' may" > - depends on USB > -comment "also be needed; see USB_STORAGE Help for more information" > - depends on USB Your patch description fails to mention what is wrong with the existing solution. -- Stefan R

Re: Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm]

2008-01-05 Thread Russell King
On Sat, Jan 05, 2008 at 08:20:00PM +0100, Sam Ravnborg wrote: > On Sat, Jan 05, 2008 at 06:42:52PM +0300, Al Boldi wrote: > > > > From: David Brownell <[EMAIL PROTECTED]> > > > > Source "drivers/usb/gadget/Kconfig" for ARCH=arm. > > > > > > Cc: David Brownell <[EMAIL PROTECTED]> > > Cc: Greg KH

Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support

2008-01-05 Thread David Brownell
On Saturday 05 January 2008, Al Boldi wrote: > +comment "NOTE: USB_STORAGE selects SCSI, but 'SCSI disk support' may" > +comment "also be needed; see USB_STORAGE Help for more information" > + >  config USB_STORAGE_DEBUG Better ... but wouldn't something like comment "You probably also ne

Re: [PATCH 4/5] USB Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm

2008-01-05 Thread David Brownell
> --- 23.a/arch/arm/Kconfig > +++ 23.b/arch/arm/Kconfig > @@ -1049,6 +1049,8 @@ source "drivers/hid/Kconfig" > > source "drivers/usb/Kconfig" > > +source "drivers/usb/gadget/Kconfig" > + > source "drivers/mmc/Kconfig" > > source "drivers/rtc/Kconfig" > Better IMO to include such update

Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support

2008-01-05 Thread Randy Dunlap
On Sat, 5 Jan 2008 18:41:39 +0300 Al Boldi wrote: > > Select SCSI for USB Mass Storage support. > > > Cc: David Brownell <[EMAIL PROTECTED]> > Cc: Greg KH <[EMAIL PROTECTED]> > Cc: Andrew Morton <[EMAIL PROTECTED]> > Signed-off-by: Al Boldi <[EMAIL PROTECTED]> > > --- > > --- 23.a/drivers/usb

Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm]

2008-01-05 Thread Sam Ravnborg
On Sat, Jan 05, 2008 at 06:42:52PM +0300, Al Boldi wrote: > > From: David Brownell <[EMAIL PROTECTED]> > > Source "drivers/usb/gadget/Kconfig" for ARCH=arm. > > > Cc: David Brownell <[EMAIL PROTECTED]> > Cc: Greg KH <[EMAIL PROTECTED]> > Cc: Andrew Morton <[EMAIL PROTECTED]> > Signed-off-by: Al

Re: [PATCH 5/5] USB Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=v850

2008-01-05 Thread Al Boldi
Source "drivers/usb/gadget/Kconfig" for ARCH=v850. Cc: David Brownell <[EMAIL PROTECTED]> Cc: Greg KH <[EMAIL PROTECTED]> Cc: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Al Boldi <[EMAIL PROTECTED]> --- --- 23.a/arch/v850/Kconfig +++ 23.b/arch/v850/Kconfig @@ -331,6 +331,8 @@ source "soun

[PATCH 0/5] USB Kconfig: Reorganize USB Kconfig Menu

2008-01-05 Thread Al Boldi
Reorganize USB Kconfig Menu, and move USB_GADGET out into the Device Driver Menu.  This helps the USB Kconfig Menu to be more logical/usable. Patchset against 2.6.23 arch/arm/Kconfig|2 ++ arch/v850/Kconfig |2 ++ drivers/Kconfig |2 ++ drivers/usb/

Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support

2008-01-05 Thread Al Boldi
Select SCSI for USB Mass Storage support. Cc: David Brownell <[EMAIL PROTECTED]> Cc: Greg KH <[EMAIL PROTECTED]> Cc: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Al Boldi <[EMAIL PROTECTED]> --- --- 23.a/drivers/usb/storage/Kconfig +++ 23.b/drivers/usb/storage/Kconfig @@ -2,14 +2,10 @@ #

Re: [PATCH 4/5] USB Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm

2008-01-05 Thread Al Boldi
From: David Brownell <[EMAIL PROTECTED]> Source "drivers/usb/gadget/Kconfig" for ARCH=arm. Cc: David Brownell <[EMAIL PROTECTED]> Cc: Greg KH <[EMAIL PROTECTED]> Cc: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Al Boldi <[EMAIL PROTECTED]> --- --- 23.a/arch/arm/Kconfig +++ 23.b/arch/arm/K

Re: [PATCH 1/5] USB Kconfig: Reorganize USB Kconfig Menu

2008-01-05 Thread Al Boldi
Reorganize USB Kconfig Menu, and move USB_GADGET out into the Device Driver Menu. Cc: David Brownell <[EMAIL PROTECTED]> Cc: Greg KH <[EMAIL PROTECTED]> Cc: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Al Boldi <[EMAIL PROTECTED]> --- --- 23.a/drivers/Kconfig +++ 23.b/drivers/Kconfig @@ -70

Re: [PATCH 3/5] USB Kconfig: Select ATM for USB DSL modem support

2008-01-05 Thread Al Boldi
Select ATM for USB DSL modem support. Cc: David Brownell <[EMAIL PROTECTED]> Cc: Greg KH <[EMAIL PROTECTED]> Cc: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Al Boldi <[EMAIL PROTECTED]> --- --- 23.a/drivers/usb/atm/Kconfig +++ 23.b/drivers/usb/atm/Kconfig @@ -4,7 +4,8 @@ menuconfig USB

clutter in /var/log/messages (drivers/usb/serial/usb-serial.c)

2008-01-05 Thread devzero
Hello ! besides some other drivers, there is usb-serial which always prints kernel messages containing path and module sourcefile information. some (maybe worst case) example: modprobe keyspan: usbcore: registered new interface driver usbserial drivers/usb/serial/usb-serial.c: USB Serial supp

usbfs: struct async is a fixed size structure

2008-01-05 Thread Pete Zaitcev
The ISO descriptors are allocated separately in proc_submiturb for a fetch from user mode, then tucked at the end of URB. This seems like a dead code. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 1f4f6d0..d51980a 100644 ---