I forgot to attach a copy of the terminal window. please find attached
here.
--- Begin Message ---
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
> >>
> >>
> >>
> >
--- End Message ---
username@Elmo:~$ cd ~/Desktop
username@Elmo:~/Desktop$ cd agrsm-20090418
username@Elmo:~/Desktop/agrsm-20090418$ make
make -C /lib/modules/2.6.27-7-generic/build SUBDIRS=/home/username/Desktop/agrsm-20090418 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
Building modules, stage 2.
MODPOST 2 modules
WARNING: could not find /home/username/Desktop/agrsm-20090418/.agrsm_core.o.cmd for /home/username/Desktop/agrsm-20090418/agrsm_core.o
WARNING: modpost: Found 3 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
username@Elmo:~/Desktop/agrsm-20090418$ sudo make install
make -C /lib/modules/2.6.27-7-generic/build M="/home/username/Desktop/agrsm-20090418" modules_install
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
INSTALL /home/username/Desktop/agrsm-20090418/agrmodem.ko
INSTALL /home/username/Desktop/agrsm-20090418/agrserial.ko
DEPMOD 2.6.27-7-generic
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
if ! /sbin/modprobe -nq agrmodem.ko ; then /sbin/depmod -a; fi
username@Elmo:~/Desktop/agrsm-20090418$ sudo modprobe agrmodem
username@Elmo:~/Desktop/agrsm-20090418$ sudo modprobe agrserial
username@Elmo:~/Desktop/agrsm-20090418$ ls -l /dev/ttyA*
crw-rw---- 1 root dialout 62, 67 2009-04-20 08:44 /dev/ttyAGS3
username@Elmo:~/Desktop/agrsm-20090418$ sudo ln -s /dev/ttyAGS3 /dev/ttySAGR
username@Elmo:~/Desktop/agrsm-20090418$ sudo ln -s /dev/ttyAGS3 /dev/modem
username@Elmo:~/Desktop/agrsm-20090418$ ls -l /dev/ttyAGS3 /dev/ttySAGR /dev/modem
lrwxrwxrwx 1 root root 12 2009-04-20 08:45 /dev/modem -> /dev/ttyAGS3
crw-rw---- 1 root dialout 62, 67 2009-04-20 08:44 /dev/ttyAGS3
lrwxrwxrwx 1 root root 12 2009-04-20 08:45 /dev/ttySAGR -> /dev/ttyAGS3
username@Elmo:~/Desktop/agrsm-20090418$ sudo wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S2 S3
ttySAGR<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttySAGR<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttySAGR<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial
If you still have problems, send mail to <wvdial-list@xxxxxxxxxxxx>.
username@Elmo:~/Desktop/agrsm-20090418$