Re: agrsm-20080203.tar.gz will not compile on Ubuntu 8.10.

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

 



Dave,


The first thing to check is that you have not fallen into the well known trap that wvdialconf searches for entries like

/dev/ttyS* where the * may be anything while the Agere-oriented drivers create "ports" such as /dev/ttyAGS* where * is a number (most often AGS3)

The command  sudo ls /dev/ttyAG* will show you which you have.

Then a command sudo ln -s /dev/ttyAGS3 /dev/ttySAGS3 for example will redirect wvdialconf to ttySAGS3 and thus make the modem visible to sudo wvdialconf /etc/wvdial.conf


I am not an expert with Agere drivers but the trap and the cure are documented in the installation instructions within the packages.


Jacques


Dave and Marleen Rentoul wrote:

Thanks Marvin, I very much appreciate your effort in updating the tar
ball.
Now the drivers are compiled and installed. However I've hit another
issue. I followed the instructions through to the first test using
wvdialconf. That was it, it couldn't find my modem. I tried adding the
"PCI=noacpi" into the grub file. The result was the system hung while
booting up and I had to use recovery mode. I then changed the PCI slot
the modem was in. This was unsuccessful also. Any ideas would be much appreciated. Thanks again
Dave




On Sat, 2009-04-18 at 21:39 -0400, Marvin Stodolsky wrote:
Dave,

Per the attachment, I've done the fix and will send you the tarball separately

MarvS

On Sat, Apr 18, 2009 at 10:23 AM, Marvin Stodolsky
<marvin.stodolsky@xxxxxxxxx> wrote:
Dave,

The ‘struct uart_info’ error has been encoiubtered i other code
packages. The fix is to make a change like

struct tty_struct *tty =p->port.info->port.tty;
from an original like:
struct tty_struct *tty =p->port.info->tty;

But I'm not under linux now and cannot check in detail.
Maybe this PM.  But you can search out the lines like above and test yourself.

MarvS

On Fri, Apr 17, 2009 at 4:25 PM, Dave and Marleen Rentoul
<rentoul@xxxxxxxxxxx> wrote:
Hi, can any one that has installed the drivers for a:-

NAME="Communication controller: Agere Systems V.92 56K WinModem "
CLASS=0780
PCIDEV=11c1:048c
SUBSYS=11c1:044c
IDENT=agrsm

please tell me what I need to do to so that the "make" instruction
compiles the code without error

"/home/username/Desktop/agrsm/serial26.c:1007: error: ‘struct uart_info’
has no member named ‘tty’"

Thanks

Dave


Quote from terminal window follows:-

username@Elmo:~/Desktop/agrsm$ make
make -C /lib/modules/2.6.27-7-generic/build
SUBDIRS=/home/username/Desktop/agrsm modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
 CC [M]  /home/username/Desktop/agrsm/serial26.o
/home/username/Desktop/agrsm/serial26.c: In function ‘receive_chars’:
/home/username/Desktop/agrsm/serial26.c:1007: error: ‘struct uart_info’
has no member named ‘tty’
/home/username/Desktop/agrsm/serial26.c: In function
‘serial8250_get_mctrl’:
/home/username/Desktop/agrsm/serial26.c:1371: warning: unused variable
‘flags’
/home/username/Desktop/agrsm/serial26.c: In function
‘serial8250_config_port’:
/home/username/Desktop/agrsm/serial26.c:2039: warning: unused variable
‘ret’
/home/username/Desktop/agrsm/serial26.c: At top level:
/home/username/Desktop/agrsm/serial26.c:2131: warning: initialization
from incompatible pointer type
/home/username/Desktop/agrsm/serial26.c:2132: warning: initialization
from incompatible pointer type
make[2]: *** [/home/username/Desktop/agrsm/serial26.o] Error 1
make[1]: *** [_module_/home/username/Desktop/agrsm] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [modules] Error 2






[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux