Problem assigning a 2nd IP address to an adapter

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



We have a CE device that is connected to a modem/router via USB
using RNDIS. We have the ability to download either a VxWorks or Linux
image to the modem and boot it into either mode. The modem can be soft
booted independently of the CE side. This has worked fine so far under
VxWorks.

Because of some limitations in Linux, we've had to statically assign
a 2nd IP address to the USB8023 ethernet adapter so it can talk to the
modem (which in Linux mode has its own statically-assigned IP address).
When we reboot under Linux, the USB bus resets and when Linux comes
back up I believe the USB host driver should enumerate the devices,
find device #1, and bind the ethernet adapter. The Linux boot takes
about 30 seconds.

However, after adding the 2nd IP address we've noticed a phenomenon
that has stopped us cold. The adapter gets unbound but it then goes
into an indeterminate state. The adapter icon isn't visible from the
"Network Connections" window, but the adapter symbol is visible on the
shell's start bar. Tapping the symbol to bring up the adapter dialog
shows the standard dialog, but with no information. The CE side can't
be pinged and it appears that the CE network stack is hosed at that
point. Enumerating through the available adapters show that none is
present.

At the bus level using a protocol analyzer, we find that when this
happens, CE enumerates the USB bus and finds the adapter as device #2
when it should be device #1. (Our CE side has a limitation of 1 USB
device.) A reset of CE clears up the problem, but that's not an
acceptable solution.

We need to find out why
1) CE is finding device #2 on the USB bus
2) The USB8023 driver is dying

Some notes:
- I can also make this fail with a modified unit that brings out the
USB connection out on two cables that can be physically unplugged.
Unplugging and replugging this connection works fine until I add the
2nd IP address. After that, I get about 1 - 4 unplug/replugs before
the adapter goes into the indeterminate state.

- One hunch that we've had so far is that it's a timing issue, as
our Linux image is slower than the VxWorks one.

- Is there a way to reset the USB80231 driver (not DeactivateDevice)
without unloading and reloading it?

TIA,
Dan.

.



Relevant Pages

  • Ubuntu wireless SUCCESS!! (Re: cheap ubuntu laptop with wireless that works right "out of the box".
    ... updated) with usb 1.0 sockets. ... The adapter I got is version 5.000, ... has anyone gotten wireless connectivity to work at all with the ... entry for my wireless network connection. ...
    (Ubuntu)
  • Re: Laptop/internet problem!
    ... USB Root Hubs have this option. ... connection, you may have run out of ports. ... It reads like the wireless card is failing. ... adapter would be a good test; turn off the internal, ...
    (microsoft.public.windowsxp.general)
  • Re: [opensuse] Printer USB connection problem
    ... I started Yast and expected to find the USB connected ... WinChipHead CH34x printer adapter cable". ... or usblp in case of a parallel adapter)? ... idea that a connection is detected and that usbpl seems in use. ...
    (SuSE)
  • USB Adapter mit Atheros Chipsatz
    ... Benutze die Distribution Mandrake Linux 10.1. ... Der USB Controller, wie auch die interne Netzwerkkarte, werden ... das mein WLAN USB Adapter erkannt wird. ... das meine Distribution eigentlich mit dem Atheros Chipsatz klarkommen ...
    (de.comp.os.unix.linux.misc)
  • USB Adapter mit Atheros Chipsatz
    ... Benutze die Distribution Mandrake Linux 10.1. ... Der USB Controller, wie auch die interne Netzwerkkarte, werden ... das mein WLAN USB Adapter erkannt wird. ... das meine Distribution eigentlich mit dem Atheros Chipsatz klarkommen ...
    (de.comp.os.unix.linux.hardware)