* Detecting USB over-current
@ 2010-07-19 21:47 Luis Felipe Strano Moraes
2010-07-20 7:17 ` Kay Sievers
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Luis Felipe Strano Moraes @ 2010-07-19 21:47 UTC (permalink / raw)
To: linux-hotplug
Hello,
I've been searching if it's possible to receive an event on udev regarding
over-current on a USB port, but so far have been unable to find anything.
Does anyone have any ideas about how I can do this?
Best regards,
--lf
--
"I believe in looking reality straight in the eye and denying it." --
Garrison Keillor
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Detecting USB over-current
2010-07-19 21:47 Detecting USB over-current Luis Felipe Strano Moraes
@ 2010-07-20 7:17 ` Kay Sievers
2010-07-20 13:11 ` Jim Paris
2010-07-20 14:27 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Kay Sievers @ 2010-07-20 7:17 UTC (permalink / raw)
To: linux-hotplug
On Mon, Jul 19, 2010 at 23:47, Luis Felipe Strano Moraes
<luis.strano@gmail.com> wrote:
> I've been searching if it's possible to receive an event on udev regarding
> over-current on a USB port, but so far have been unable to find anything.
>
> Does anyone have any ideas about how I can do this?
Udev does not provide anything like this, and is unlikely the right
place to add support for things like this.
Better ask at the linux-usb list if you can somehow watch devices for
this state.
Kay
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Detecting USB over-current
2010-07-19 21:47 Detecting USB over-current Luis Felipe Strano Moraes
2010-07-20 7:17 ` Kay Sievers
@ 2010-07-20 13:11 ` Jim Paris
2010-07-20 14:27 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Jim Paris @ 2010-07-20 13:11 UTC (permalink / raw)
To: linux-hotplug
Kay Sievers wrote:
> On Mon, Jul 19, 2010 at 23:47, Luis Felipe Strano Moraes
> <luis.strano@gmail.com> wrote:
> > I've been searching if it's possible to receive an event on udev regarding
> > over-current on a USB port, but so far have been unable to find anything.
> >
> > Does anyone have any ideas about how I can do this?
>
> Udev does not provide anything like this, and is unlikely the right
> place to add support for things like this.
>
> Better ask at the linux-usb list if you can somehow watch devices for
> this state.
There was some relatively recent discussion about this on linux-usb here:
http://thread.gmane.org/gmane.linux.usb.general/27802/focus'991
-jim
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Detecting USB over-current
2010-07-19 21:47 Detecting USB over-current Luis Felipe Strano Moraes
2010-07-20 7:17 ` Kay Sievers
2010-07-20 13:11 ` Jim Paris
@ 2010-07-20 14:27 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Kay Sievers @ 2010-07-20 14:27 UTC (permalink / raw)
To: linux-hotplug
On Tue, Jul 20, 2010 at 15:11, Jim Paris <jim@jtan.com> wrote:
> Kay Sievers wrote:
>> On Mon, Jul 19, 2010 at 23:47, Luis Felipe Strano Moraes
>> <luis.strano@gmail.com> wrote:
>> > I've been searching if it's possible to receive an event on udev regarding
>> > over-current on a USB port, but so far have been unable to find anything.
>> >
>> > Does anyone have any ideas about how I can do this?
>>
>> Udev does not provide anything like this, and is unlikely the right
>> place to add support for things like this.
>>
>> Better ask at the linux-usb list if you can somehow watch devices for
>> this state.
>
> There was some relatively recent discussion about this on linux-usb here:
> Â http://thread.gmane.org/gmane.linux.usb.general/27802/focus'991
Yeah, that happens quite often, but for many reasons it's totally
wrong to use uevents for error reporting or anything not related to
very basic device state changes, just because nobody provides any
appropriate infrastructure to get errors from the kernel to userspace.
:)
Kay
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-07-20 14:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-19 21:47 Detecting USB over-current Luis Felipe Strano Moraes
2010-07-20 7:17 ` Kay Sievers
2010-07-20 13:11 ` Jim Paris
2010-07-20 14:27 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox