Re: [RFC] raise the maximum number of usb-serial devices to 512

2013-06-04 Thread Tobias Winter
On 04.06.2013 04:49, Greg KH wrote: > Tobias, can you test this patch out? Note, I only compiled it, did not > get the chance to actually run it, so it might not work at all. Sure, I'll gladly give it a try. Seeing the comments on the code, I'm just wondering if there might be a more recent versi

Re: [PATCH 0/3] Increase the number of USB to serial devices we can support at once

2013-06-06 Thread Tobias Winter
Hi Greg, On 06/05/2013 07:54 PM, Greg KH wrote: > Here are 3 patches that I've tested out on my system with only a small > number of devices, but it seems to work, so why not let others try it > out... It compiles and runs without any errors. My current setup has 272 ftdi devices connected: resc

Re: [PATCH 0/3] Increase the number of USB to serial devices we can support at once

2013-06-06 Thread Tobias Winter
On 06.06.2013 17:21, Greg KH wrote: > On Thu, Jun 06, 2013 at 11:01:12AM -0400, Dave Jones wrote: >> On Wed, Jun 05, 2013 at 10:54:26AM -0700, Greg KH wrote: >> > These patches make the USB to serial core have the ability to support up >> > to 3000 devices at once now. >> >> I'm curious how thi

Re: [PATCH v2 0/3] Increase the number of USB to serial devices we can support at once

2013-06-06 Thread Tobias Winter
Hey Greg, I patched it two times to be safe, but I can't seem to get it to compile. CC drivers/usb/serial/console.o drivers/usb/serial/console.c: In function ‘usb_console_setup’: drivers/usb/serial/console.c:111:2: error: implicit declaration of function ‘usb_serial_get_by_index’ [-Werror=

Re: [PATCH v2 0/3] Increase the number of USB to serial devices we can support at once

2013-06-07 Thread Tobias Winter
On 06/07/2013 08:00 AM, Tobias Winter wrote: > CC drivers/usb/serial/console.o > drivers/usb/serial/console.c: In function ‘usb_console_setup’: > drivers/usb/serial/console.c:111:2: error: implicit declaration of > function ‘usb_serial_get_by_index’ [-Werror=implicit-function

Re: [PATCH v2 0/3] Increase the number of USB to serial devices we can support at once

2013-06-08 Thread Tobias Winter
On 06/07/2013 07:25 PM, Greg KH wrote: > On Fri, Jun 07, 2013 at 11:55:59AM +0200, Tobias Winter wrote: >> On 06/07/2013 08:00 AM, Tobias Winter wrote: >>> CC drivers/usb/serial/console.o >>> drivers/usb/serial/console.c: In function ‘usb_console_setup’: >>&

[PATCH] Raise the maximum number of usb-serial devices to 256

2013-05-27 Thread Tobias Winter
Raise the maximum number of usb-serial devices to 256, which is the actual limit supported by the codebase. Signed-off-by: Jakob-Tobias Winter Tested-by: Jakob-Tobias Winter --- include/linux/usb/serial.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/usb

[RFC] raise the maximum number of usb-serial devices to 512

2013-05-27 Thread Tobias Winter
Hi, I did a bit more fiddling with the usb-serial stack and got it to support more than 256 devices. I tested it with up to 281 FTDI singleport adapters. (After that i ran out of usb cables.. ) Signed-off-by: Jakob-Tobias Winter --- include/linux/usb/serial.h |6 +++--- 1 file changed, 3