Re: Detecting USB over-current

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 20, 2010 at 15:11, Jim Paris <jim@xxxxxxxx> wrote:
> Kay Sievers wrote:
>> On Mon, Jul 19, 2010 at 23:47, Luis Felipe Strano Moraes
>> <luis.strano@xxxxxxxxx> 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=27991

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
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux