Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-12 Thread Mariusz Kozlowski
Hello, Any thoughts? Another mistake on my part. The correct command is echo -n '2-2:1.0' /sys/bus/usb/drivers/usbhid/unbind Without the -n, the system thinks that the newline character at the end of the line written by echo is part of the filename. Nice tip. Thanks. I've

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-12 Thread Jiri Kosina
On Mon, 12 Mar 2007, Mariusz Kozlowski wrote: echo -n '2-2:1.0' /sys/bus/usb/drivers/usbhid/unbind Without the -n, the system thinks that the newline character at the end of the line written by echo is part of the filename. Nice tip. Thanks. I've run some tests and as expected - no

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-10 Thread Mariusz Kozlowski
Hello, - The wireless changes in here need a lot of testers, please. It is major rework. Works for me ... so far ;-) Anyway to the point: When moving my laptop I reattached the usb mouse. Then I found this in syslog: usb 2-1: new low speed USB device using uhci_hcd and address 3 usb 2-1:

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-10 Thread Mariusz Kozlowski
Hello, Unable to reproduce so far. Ok I was wrong. Able to reproduce quite easily. Let me know if you need anything more. usb 2-1: new low speed USB device using uhci_hcd and address 11 usb 2-1: new device found, idVendor=046d, idProduct=c00e usb 2-1: new device strings: Mfr=1, Product=2,

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-10 Thread Andrew Morton
On Sat, 10 Mar 2007 09:33:35 +0100 Mariusz Kozlowski [EMAIL PROTECTED] wrote: Hello, - The wireless changes in here need a lot of testers, please. It is major rework. Works for me ... so far ;-) Anyway to the point: When moving my laptop I reattached the usb mouse. Then I found

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-10 Thread Greg KH
On Sat, Mar 10, 2007 at 12:58:28AM -0800, Andrew Morton wrote: On Sat, 10 Mar 2007 09:33:35 +0100 Mariusz Kozlowski [EMAIL PROTECTED] wrote: Hello, - The wireless changes in here need a lot of testers, please. It is major rework. Works for me ... so far ;-) Anyway to the

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-10 Thread Jiri Kosina
On Sat, 10 Mar 2007, Greg KH wrote: hid_parse_report() is doing kmalloc(128k kbytes). We canot sanely support that and the code shold be rewritten to not do that. A simple though somewhat lame fix would be to switch to vmalloc(). It's been this way for some time, so it's odd that the

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-10 Thread Mariusz Kozlowski
Hello, On Sat, 10 Mar 2007, Greg KH wrote: hid_parse_report() is doing kmalloc(128k kbytes). We canot sanely support that and the code shold be rewritten to not do that. A simple though somewhat lame fix would be to switch to vmalloc(). It's been this way for some time, so it's

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-10 Thread Alan Stern
On Sat, 10 Mar 2007, Mariusz Kozlowski wrote: Right. Can't be 100% sure but without the patch it would have probably failed by now so I guess the patch is ok. Not sure how to make usb mouse plugging/unplugging process automatic ;-) echo FOO /sys/bus/usb/drivers/usbhid/unbind to

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-10 Thread Mariusz Kozlowski
Hello, Right. Can't be 100% sure but without the patch it would have probably failed by now so I guess the patch is ok. Not sure how to make usb mouse plugging/unplugging process automatic ;-) echo FOO /sys/bus/usb/drivers/usbhid/unbind to simulate an unplug (actually, to do an

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-10 Thread Alan Stern
On Sat, 10 Mar 2007, Mariusz Kozlowski wrote: Hello, Right. Can't be 100% sure but without the patch it would have probably failed by now so I guess the patch is ok. Not sure how to make usb mouse plugging/unplugging process automatic ;-) echo FOO