Or quite possible I'm asking the wrong question, but here is the story
anyway:
I recently received a Novatel Merlin U740 HSDPA cellular modem. I got it
working with just a bit of fiddling on my Fedora Core 5 laptop, but I
need to modprobe usbserial to use it (apparently regardless of the
PCMCIA interface, its actually a serial USB device - the PCMCIA
interface is to a USB hub in the card with the actual modem hardware
connected to that. funny).
Problem is, I can't get usbserial to auto load (by HAL?), so I have to
modprobe it by hand. Some instruction pages which I utilized to get to
where I am now (the card working properly) suggest adding
post-install usbcore modprobe usbserial
to /etc/modprobe.conf, but I have a feeling that modprobe doesn't like
it (I get these in /var/log/messages:
modprobe: WARNING: /etc/modprobe.conf line 15: ignoring bad line
starting with 'post-install'
) and anyway I'd rather not have usbserial loaded all the time as I'm
not using the cellular modem all that much (its basically a last resort
for getting network connection, only if I MUST have access and there is
no hot spot near by).
Improvising on a tutorial I found on connecting handspring PDAs I added
these lines to modprobe.conf:
alias /dev/tts/USB* usbserial
options usbserial vendor=0x1410 product=0x1410
and a file with this content to /etc/udev/rules.d:
# Novatel HSDPA modems
BUS=="usb",SYSFS{product}=="Novatel Wireless HSDPA
Modem",NAME="modem1",OWNER="root",GROUP="tty",MODE="0660"
#
# any user in the "usb" group can now use this device
KERNEL=="ttyUSB[01]*", NAME="tts/USB%n", GROUP="usb", MODE="0660"
I'm not sure what NAME means in this context, but when the card is
inserted it actually creates a device /dev/modem1 although I don't
understand what its supposed to be doing - its definitely not the
modem's serial interface. Also /dev/ttyUSB0, /dev/ttyUSB1
or /dev/tts/USB<whatever> aren't being created.
>From what I understand that should now happen, is that when the card is
inserted, either something should create /dev/ttyUSB0 and load
usbserial, or that when I try to reference /dev/ttyUSB0 then the device
node gets created and the module loaded. This is obviously wrong because
it doesn't work.
What does work - except for me manually modprobing usbserial - is that
for some reason there are /dev/ttyUSB10 through 15, which I don't
remember making or being there previously, and if I try to access any of
them I get an error (minicom reports "no such device"), but usbserial
gets auto-loaded and the ttyUSB0 and 1 appear! which I don't get at all.
I'm obviously missing something very important here - can someone
enlighten me please ?
Thanks
--
Oded
::..
The generation of random numbers is too important to be left to chance.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]