Re: handling ioctl for storage autopm

2008-01-15 Thread Oliver Neukum
Am Dienstag, 15. Januar 2008 17:19:02 schrieb Alan Stern: > On Tue, 15 Jan 2008, Oliver Neukum wrote: > > > > > --- linux-as/drivers/scsi/sd.c 2008-01-15 14:17:05.0 +0100 > > > > +++ linux-2.6.24-scsi-pm/drivers/scsi/sd.c 2008-01-15 > > > > 14:20:13.0 +0100 > > > > @@ -711,6

Re: Frame rate

2008-01-15 Thread Vijay Ramamurthi
Thanks.. I do a usb_submit_urb and the callback doesnt come back this is my current state. what can i do to debug? Thanks Vijay On 1/14/08, David Brownell <[EMAIL PROTECTED]> wrote: > On Monday 14 January 2008, Vijay Ramamurthi wrote: > > Thanks for the response David, > > but somehow I want to

Re: handling ioctl for storage autopm

2008-01-15 Thread Alan Stern
On Tue, 15 Jan 2008, Oliver Neukum wrote: > > > --- linux-as/drivers/scsi/sd.c2008-01-15 14:17:05.0 +0100 > > > +++ linux-2.6.24-scsi-pm/drivers/scsi/sd.c2008-01-15 > > > 14:20:13.0 +0100 > > > @@ -711,6 +718,19 @@ static int sd_ioctl(struct inode * inode > > >

Re: handling ioctl for storage autopm

2008-01-15 Thread Oliver Neukum
Am Dienstag, 15. Januar 2008 16:30:34 schrieb Alan Stern: > On Tue, 15 Jan 2008, Oliver Neukum wrote: > > > Hi Alan, > > > > here's a simple implementation to handle ioctl() by blocking > > autosuspend until the device is closed again. > > > > It is relative to your patch set. > > A few comment

Re: handling ioctl for storage autopm

2008-01-15 Thread Alan Stern
On Tue, 15 Jan 2008, Oliver Neukum wrote: > Hi Alan, > > here's a simple implementation to handle ioctl() by blocking > autosuspend until the device is closed again. > > It is relative to your patch set. A few comments are below. > --- linux-as/drivers/scsi/sd.c2008-01-15 14:17:05.

handling ioctl for storage autopm

2008-01-15 Thread Oliver Neukum
Hi Alan, here's a simple implementation to handle ioctl() by blocking autosuspend until the device is closed again. It is relative to your patch set. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> --- linux-as/drivers/scsi/sd.c 2008-01-15 14:17:05.0 +0100 +++ linux-2.6.24-scsi-

Re: HID Joysticks: Reset/failed to restore altsetting/disconnect

2008-01-15 Thread Jiri Kosina
On Fri, 11 Jan 2008, Alexey Spiridonov wrote: > They are USB HID joysticks. If I plug in one, it works fine. If I plug in two, > each one works fine by itself. However, bad things happen if I attempt to read > data from both simultaneosly, for example like this: > [in one terminal] cat /dev/input/