Re: Looking for advice about using NM with a Sprint U301 modem



Hi Daenyth,

On Wed, Jun 02, 2010 at 12:54:40PM -0400, Daenyth Blank wrote:
> I'm looking into the 598 now, and I'm having a little trouble getting
> NM to recognize it. I plug in the device and I can see by using dmesg
> that the sierra driver gets loaded, but when I run
> nm-connection-editor and try to edit the connection, it doesn't get
> listed in the device dropdown. Is there anything I have to do to get
> it recognized? I also haven't been able to find any good guides on
> setting it up. I'm running Ubuntu Karmic right now.

In Hardy, I have to use the option driver:

  modprobe option
  echo -n '1199 0025' >/sys/bus/usb-serial/drivers/option1/new_id
  
I use these udev rules to automate this:

  SUBSYSTEM=="usb", SYSFS{idVendor}=="1199", SYSFS{idProduct}=="0025", RUN+="/sbin/modprobe option"
  SUBSYSTEM=="drivers", DEVPATH=="/bus/usb-serial/drivers/option1", RUN+="/path/to/new_id 1199 0025 %p"
  SUBSYSTEM=="tty", ATTRS{idVendor}=="1199", ATTRS{idProduct}=="0025", SYMLINK+="modem"

This is the script called "new_id":

--------------------------------------------------------------------------------
#!/bin/sh

if [ $# -lt 3 ]; then
  echo 'too few arguments' >&2
  exit 1
fi

VENDOR="${1}"
PRODUCT="${2}"
DEVPATH="${3}"

echo -n "${VENDOR} ${PRODUCT}" >"/sys/${DEVPATH}/new_id"
--------------------------------------------------------------------------------

I believe that proper support from Sierra is forthcoming ... ?

Hope this helps.

Thanks,
Forest

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]