LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] HUAWEI e270 - is there a way to avoid having to run modprobe after reboot

[ILUG] HUAWEI e270 - is there a way to avoid having to run modprobe after reboot

Ruairi Hickey Ruairi.Hickey at collon.ie
Wed Dec 30 18:05:24 GMT 2009


On Wednesday 30 December 2009 14:46:05 Pat Wall wrote:
> Hi All
> 
> This is my first post to the list :-)
> 
> I run Yellow Dog 6.2 on a Powermac G5 (kernel 2.6.29-3.ydl61.4) and I
> have configured the e270 with wvdial and all is working perfectly. I
> have to load /sbin/modprobe usbserial vendor=0x12d1 product=0x1003
> after each reboot to make /dev/ttyUSB0 available.
> 
> I was wondering is it possible to have /dev/ttyUSB0 load
> automatically (after reboot) when the modem is connected without having
> to manually run modprobe?
> 
> I tried putting "options usbserial vendor=0x12d1
> product=0x1003" into /etc/modprobe.conf but had no success and googling
> hasn't thrown up an answer.
> 
> It is only a minor thing but I would be grateful if anyone has a
> solution.
> 
> Thanks in advance
> 
> 
> Pat
> 

For my e3750 I added the following the following files.... it should be 
similar...

Ruairi

cat /etc/udev/rules.d/91-huawei.rules

ACTION!="add", GOTO="Huawei_End"

SUBSYSTEM=="usb", SYSFS{idProduct}=="1465", SYSFS{idVendor}=="12d1", 
GOTO="Huawei_Modem"

LABEL="Huawei_Modem"
RUN+="/usr/local/sbin/huawei_modem"

LABEL="Huawei_End"

===============================

cat /usr/local/sbin/huawei_modem
#!/bin/sh

modprobe option
echo 12d1 1465 > /sys/bus/usb-serial/drivers/option1/new_id




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell