Re: firmware loading interface

From: Arjan van de Ven
Date: Sat Nov 14 2009 - 13:28:05 EST


On Sat, 14 Nov 2009 12:19:13 -0600
Robert Hancock <hancockrwd@xxxxxxxxx> wrote:

> On Sat, Nov 14, 2009 at 10:55 AM, venu <vjosyula@xxxxxxxxx> wrote:
> > Âwho triggers this upgrade from userspace ? I understand it is a
> > naivee / beginers questions but i hope somebody explains me how ?
>
> The request_firmware interface probably isn't suitable for that..
> using an ioctl or read/write-based interface, possibly on a separate
> device node, would likely be the way to go..
>

it's not unusual to have a sysfs attribute that, when written to, will
just do a request_firmware().
It's not pretty, but it's cleaner than the alternatives....


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/