PDA

View Full Version : Where to modprobe my driver ?


messner
2004-12-02, 01:32 PM CST
I have a UMTS PCMCIA card ...

Before inserting the card i have to type this :
/sbin/modprobe usbserial vendor=0xaf0 product=0x6000
... so the card can properly asign ttyUSB's (ttyUSB0-3)...

I have put this modprobe in /etc/rc.d/rc.local ...

It works fine when I insert the card when my Fedora core is allready running ...

But when the computer starts with the card inserted the USB dev's aren't generated ...

Where should I put this modprobe so it can work well also when the coputer starts with the card inserted :confused:
------------------------------------------------------------------------
Fedora core 3
happily runnin' on HP Nx7000

Artemis
2004-12-02, 01:45 PM CST
add your line into /etc/modprobe.conf

usbserial vendor=0xaf0 product=0x6000

messner
2004-12-02, 02:27 PM CST
I have tried to put :
options usbserial vendor=0xaf0 product=0x6000
in /etc/modprobe.conf ...

but this doesn't work at all ... not even if I insert the card latter ...

It does recognise the card but doesn't make the ttyUSB0-3 ...

so I can't use it ....

I must manually start :
/sbin/modprobe usbserial vendor=0xaf0 product=0x6000

When I put it in /etc/rc.d/rc.local I don't have to type it ... but this still doesn't work when I try to start the computer with the card in the slot ...

my /etc/modprobe.conf
alias eth0 8139cp
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias ieee1394-controller ohci1394
alias net-pf-10 off
alias ipv6 off
options usbserial vendor=0xaf0 product=0x6000

messner
2004-12-04, 02:14 AM CST
Why doesn't :

options usbserial vendor=0xaf0 product=0x6000
- written in modprobe.conf

work ?

If I do it manualy later, then it works ...
/sbin/modprobe usbserial vendor=0xaf0 product=0x6000
Why ?