mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Resource busy
@ 2001-07-12  3:57 Jatin Shah
  2001-07-12 12:26 ` William Scott Lockwood III
  0 siblings, 1 reply; 3+ messages in thread
From: Jatin Shah @ 2001-07-12  3:57 UTC (permalink / raw)
  To: linux-kernel

Hi,
	I have an application that uses an USB camera. This app is bit buggy and 
when it crashes (segmentation fault) it locks the devices so that the app 
always gets the message "Device or Resource Busy"(Thats error EBUSY). Note 
that app, mmaps device to memory.

        Now that app has crashed how do I release the device? rmmod on 
camera driver (or uhci) does not work.

Jatin
PS: Please cc me the response.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Resource busy
  2001-07-12  3:57 Resource busy Jatin Shah
@ 2001-07-12 12:26 ` William Scott Lockwood III
  2001-07-12 12:50   ` Jatin Shah
  0 siblings, 1 reply; 3+ messages in thread
From: William Scott Lockwood III @ 2001-07-12 12:26 UTC (permalink / raw)
  To: jatin.shah; +Cc: linux-kernel

What does ps aux show?  Is there still a process that has the camera?  Can
you kill -9 <pid> to get rid of that process, and does the camera then
unlock?

----- Original Message -----
From: "Jatin Shah" <jatin_shah100@hotmail.com>
To: <linux-kernel@vger.kernel.org>
Sent: Wednesday, July 11, 2001 10:57 PM
Subject: Resource busy


> Hi,
> I have an application that uses an USB camera. This app is bit buggy and
> when it crashes (segmentation fault) it locks the devices so that the app
> always gets the message "Device or Resource Busy"(Thats error EBUSY). Note
> that app, mmaps device to memory.
>
>         Now that app has crashed how do I release the device? rmmod on
> camera driver (or uhci) does not work.
>
> Jatin
> PS: Please cc me the response.
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Resource busy
  2001-07-12 12:26 ` William Scott Lockwood III
@ 2001-07-12 12:50   ` Jatin Shah
  0 siblings, 0 replies; 3+ messages in thread
From: Jatin Shah @ 2001-07-12 12:50 UTC (permalink / raw)
  To: William Scott Lockwood III, jatin.shah; +Cc: linux-kernel

Nope, there is no process which has the camera. What has happened is that
camera is opened and the process crashes. So now the camera has to be closed
somehow.

I tried all the things you suggested. Did not work.


Jatin

|-----Original Message-----
|From: William Scott Lockwood III [mailto:thatlinuxguy@hotmail.com]
|Sent: Thursday, July 12, 2001 8:26 AM
|To: jatin.shah@yale.edu
|Cc: linux-kernel@vger.kernel.org
|Subject: Re: Resource busy
|
|
|What does ps aux show?  Is there still a process that has the camera?  Can
|you kill -9 <pid> to get rid of that process, and does the camera then
|unlock?
|
|----- Original Message -----
|From: "Jatin Shah" <jatin_shah100@hotmail.com>
|To: <linux-kernel@vger.kernel.org>
|Sent: Wednesday, July 11, 2001 10:57 PM
|Subject: Resource busy
|
|
|> Hi,
|> I have an application that uses an USB camera. This app is bit buggy and
|> when it crashes (segmentation fault) it locks the devices so that the app
|> always gets the message "Device or Resource Busy"(Thats error
|EBUSY). Note
|> that app, mmaps device to memory.
|>
|>         Now that app has crashed how do I release the device? rmmod on
|> camera driver (or uhci) does not work.
|>
|> Jatin
|> PS: Please cc me the response.
|> _________________________________________________________________
|> Get your FREE download of MSN Explorer at http://explorer.msn.com
|>
|> -
|> To unsubscribe from this list: send the line "unsubscribe
|linux-kernel" in
|> the body of a message to majordomo@vger.kernel.org
|> More majordomo info at  http://vger.kernel.org/majordomo-info.html
|> Please read the FAQ at  http://www.tux.org/lkml/
|>
|


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-12 12:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-12  3:57 Resource busy Jatin Shah
2001-07-12 12:26 ` William Scott Lockwood III
2001-07-12 12:50   ` Jatin Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®