On Fri, Nov 30, 2001 at 09:03:05PM +0530, Ravi Kumar B S wrote: > > hi all, > > I am using the usb bluetooth driver. I have written line discipline module > and added to the bluetooth driver. In my application i open the bluetooth > driver and associate the ldisc using the ioctl TIOCSETD. till here this works > fine. then after that when i make a read call, i expect it to come and wait > in my ldisc read (i have interruptible sleep on call here) if data is not > there. this scenario had worked 100% perfectly with the kernel version 2.4.0 > and redhat linux 7.0. further i transferred large amout of data as well. > Recently i changed the kernel from 2.4.0 to 2.4.2 and redhat linux 7.0 to > redhat linux 7.1. after that, the system is hanging in the ldisc read > function where i have the interruptible_sleep_on and this is happening > consistently. i have no clue why it should hang on the sleep call. can any > body give some clue to fix it.
If you show us your patch, it might be a lot easier to figure this out. Also, you might want to upgrade to a newer kernel, as lots of USB things have changed since 2.4.2 :) thanks, greg k-h _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
