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

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.

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 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

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

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 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