Re: [1/2] 2.6.22-rc7: known regressions

From: Marcel Holtmann
Date: Sat Jul 07 2007 - 14:30:34 EST


Hi David,

> > I suspect it's more likely that hci_conn_del_sysfs() is running and
> > removing the object representing the ACL connection. That's what the
> > input device's remove event is reporting as 'PHYSDEVPATH' on the
> > occasions that it _doesn't_ oops.
>
> Yes, that seems to be it. It happens when we hit the idle_timeout and
> the kernel tears down the connection. Adding a mdelay(5000) into
> hidp_session() just before calling input_unregister_device(), and
> hard-coding idle_to to 1 second, makes it nice and easy to reproduce...
>
> Marcel? Can we deregister the input devices earlier...?

looks good to me.

Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>

Regards

Marcel


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/