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
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!