DigiBoard Xem with 2 extenal modules

Alexandre Biancalana biancalana at gmail.com
Mon Aug 4 16:49:59 UTC 2008


On 7/4/08, Alexandre Biancalana <biancalana at gmail.com> wrote:
> On 7/4/08, Gavin Atkinson <gavin at freebsd.org> wrote:
>  >  It's not a solution, but it may well be a great help in diagnosing where
>  >  the problem lies:  it would be useful to know if the driver is simply
>  >  failing to detect the correct number of ports, or if the driver
>  >  physically cannot use them.
>  >
>  >  In /usr/src/sys/dev/digi/digi.c, line 510, you'll see the following
>  >  code:
>  >
>  >         if (sc->numports == 0) {
>  >               device_printf(sc->dev, "%s, 0 ports found\n", sc->name);
>  >               sc->hidewin(sc);
>  >               return (0);
>  >         }
>  >
>  >  Just before that section, can you add a line "sc->numports = 32;",
>  >  recompile, and see if the missing 16 ports are usable?  If they are, I
>  >  suspect fixing the driver will be trivial.
>
>
> Wow !! Now the 32 ports are detected and devices created.
>
>  # digictl -d 1 -r /dev/digi0.ctl
>
> digi0: Got init reset after 0 us
>  digi0: BIOS uploaded
>  digi0: BIOS started after 0 us
>
> digi0: BIOS booted after 1619 iterations
>
> digi0: Loading FEP/OS
>  digi0: FEP/OS loaded
>  digi0: FEP/OS started after 28 iterations
>
> digi0: Digiboard PCI PC/Xem ASIC, 32 ports found
>
>  # ls /dev/cuaD?? | wc -l
>       32
>
>  I will connect some modems to that ports to test and let you know.

Modems connected but they only work on ports of the first module, any
decice connected on ports of second module does not work.

Any other idea ?

Thank you


More information about the freebsd-stable mailing list