On Mon, Aug 09, 2004 at 12:40:10AM +1200, Robert Nairn wrote:
> I am new to Linux and have got a copy of Mandrake10 from Dick Smith 
> I have tried three different modems and god only knows how many different
>  drivers in my computer and cannot get any to work properly.
> The original modem in this computer...was the only driver that compiled.

Hi Rob,
        if you bought a internal 56k pci ham modem from Dick Smiths it may 
not be your fault that you could not compile it. This modem (product XH1154)
has the linux logo on the box and includes linux drivers on cdrom.

Drivers supplied as "Intel-536ep-4.51" for the XH1154 have a bug which
prevents the 536ep modules being compiled. I bought this modem last
week and the build number was 4.51, but if dse are selling newer
XH1154's they will probably include updated drivers without this bug. 

The easiest fix is to download the latest drivers "Intel-536ep-4.68"
from the dse website http://www.dse.co.nz

The buggy file in "Intel-536ep-4.51" is "clmdrvr.c" and the error
message is:

---- Error message: lines 481,482 of clmdrvr.c file.
---- clmdrvr.c:481:22: missing terminating " character
---- clmdrvr.c:482:37: missing terminating " character


Details and Patch file follow. 

Product:           XH1154_PCI 56k modem with Intel ham 536ep chipset.
Driver Packages:   distro and generic drivers of build release 4.51
Buggy Source File: /Intel-536ep-451/serialdrv/clmdrvr.c
Symptom:           Compile using the 'make 536ep' command fails with the
                   following error message.

Error message:    lines 481,482 of clmdrvr.c file.
                  clmdrvr.c:481:22: missing terminating " character
                  clmdrvr.c:482:37: missing terminating " character

patchfile: 

------------------- cut ------------------------------------

481,482c481,482
<       printk(KERN_ERR"ham:rs_open: DSP did not reset. try again or restart computer\n
<                       count now %d\n",MOD_IN_USE);
---
>       printk(KERN_ERR"ham:rs_open: DSP did not reset. try again or restart 
> computer\n"
>                       "count now %d\n",MOD_IN_USE);

------------------ cut ---------------------------------------


Fix:
copy the patch to the /Intel-536ep-451/serialdrv/ directory.
(parent directory name will be different as per distro)

change to the serialdrv directory containing the patch and use the command: 

'patch clmdrvr.c patchfile'

change to the parent directory and compile as per instructions,
make clean, make 536ep, make install.


hth,
keith.

Reply via email to