tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Tips on programming usb devices?

On Thu, Sep 06, 2012 at 07:40:53PM -0700, Brian Buhrow wrote:
>       Hello.  
> On Sep 6, 10:12pm, Thor Lancelot Simon wrote:
> } Subject: Re: Tips on programming usb devices?
> } On Thu, Sep 06, 2012 at 05:30:25PM -0700, Brian Buhrow wrote:
> } >   hello Iain.  Thank you again for your assistance in getting this
> } > Novatel modem working.  I now have a working driver which, when activated
> } > through the modem interface, fires up the ethernet portion of the device
> } > and seems to work quite well.  I'd like to commit this driver,aand 
> probably
> } > the scripts to activate it, to -current, but I have a few style questions
> } 
> } I don't understand.  Why are userspace scripts required to "activate" a
> } kernel device driver?
>       These types of devices seem to be a cross between a packet switched
> device and acircuit switched device.  When you plug it in, all the devices
> show up in the system, but there is no active network connection configured
> on the ethernet device to talk to.  Rather than configuring the ethernet
> through ifconfig commands, one must send traditional AT commands through
> the first serial port associated with the device to get it to establish a
> connection with the broad band provider.  Once the connection with the
> provider is established, dhcp can be used to assign an address to the
> ethernet interface, and all other networking functions are normal.  You can

So what are the scripts - scripts for the existing dhclient/dhcpcd hooks,
to dial the modem using chat?


Home | Main Index | Thread Index | Old Index