RE: [linux-usb-devel] Device surprise removal-kernel panic

2005-10-27 Thread Iqbal
26, 2005 11:24 PM To: linux-usb-devel@lists.sourceforge.net Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [linux-usb-devel] Device surprise removal-kernel panic Hi All, As Mr.Alan Suggested there was one resource freeing which was still in use by Application. That is Dri

RE: [linux-usb-devel] Device surprise removal-kernel panic

2005-10-27 Thread Iqbal
[EMAIL PROTECTED]; linux-usb-devel@lists.sourceforge.net Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [linux-usb-devel] Device surprise removal-kernel panic Hi Savitha, Even I faced same problem while disconnecting the device and what Mr Alan said is absolutely fine and we should follo

RE: [linux-usb-devel] Device surprise removal-kernel panic

2005-10-26 Thread rao.shalini
-usb-devel@lists.sourceforge.net Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Shalini Rao (WT01 - Voice & Next Generation Networks) Subject: RE: [linux-usb-devel] Device surprise removal-kernel panic Hi All, As Mr.Alan Suggested there was one resource freeing which was still in use by Application.

RE: [linux-usb-devel] Device surprise removal-kernel panic

2005-10-26 Thread Savita H. Neelannava
Hi All, As Mr.Alan Suggested there was one resource freeing which was still in use by Application. That is Driver Specific structure, which is soted in file->private_data in open system call. When disconnected was called i was freeing this structure also which i think i should not free. Becaus

Re: [linux-usb-devel] Device surprise removal-kernel panic

2005-10-24 Thread Alan Stern
On Mon, 24 Oct 2005, Savita H. Neelannava wrote: > Hi, > > i hv written a USB Driver for scanner. Evrything works fine except one thing, > which is surprisal removal of USB device. If manually unload the driver, it > will bw loaded properly, but when i disconnect device when application is > o

RE: [linux-usb-devel] Device surprise removal-kernel panic

2005-10-24 Thread rao.shalini
Hi Savitha, Which version of Kernel are you using? If you are facing problem while disconnecting, please check disconnect function what all data structure you need to clear after disconnecting the device that would solve your problem. It may be clearing data structure is not happening at the ri

Re: [linux-usb-devel] Device surprise removal-kernel panic

2005-10-24 Thread Oliver Neukum
Am Montag, 24. Oktober 2005 15:39 schrieb Savita H. Neelannava: > > Hi, > > i hv written a USB Driver for scanner. Evrything works fine except one thing, > which is surprisal removal of USB device. If manually unload the driver, it > will bw loaded properly, but when i disconnect device when ap