[ale] Automatic load of module

Boris Borisov bugyatl at gmail.com
Fri Sep 6 07:16:36 EDT 2013


I'm just copying this from puppy linux udev example:

#my Optus Huawei E160-E 3G modem...
ACTION=="add", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="140c",
RUN+="/usr/sbin/usb_modem_special_status 3g"
ACTION=="remove", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="140c",
RUN+="/bin/rm -f /dev/gsmmodem"


On Thu, Sep 5, 2013 at 5:45 PM, Chris Fowler <cfowler at outpostsentinel.com>wrote:

> On 09/05/2013 04:52 PM, Chris Fowler wrote:
>
>> I'm running kernel 2.6.38 on a device and I've added a module for a ch341
>> USB->Serial cable.  When I attach a pl2303 or ftdi cable their driver is
>> automatically loaded.   When I plug this one in I have to execute 'modprobe
>> ch341'.  It works well. What I'm trying to figure out is file I need to
>> update to tell the system what module to load.
>>
>
>
> I write a udev rule and it is now loading.
>
>
> ______________________________**_________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/**listinfo/ale<http://mail.ale.org/mailman/listinfo/ale>
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/**listinfo<http://mail.ale.org/mailman/listinfo>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20130906/745779a9/attachment.html>


More information about the Ale mailing list