Re:%20Re: Desperation with Hylafax and AVM Fritz ISDN Card PCI on a debian system

From: Brent Frère (brf_at_plan-net.lu)
Date: 09/30/05

  • Next message: Scott Fitzgerald: "Storing whole sarge disto on a HD partition?"
    Date: Fri, 30 Sep 2005 13:58:47 +0200
    To: debian-user@lists.debian.org
    
    
    
    

    I have the same problem. The faxsend command part of the Hylafax package
    (under /var/spool/bax/bin) is actually a wrapper to choose between usual
    modems and faxCAPI modems:

    #!/bin/sh
    #
    # This script is a wrapper to call the correct faxsend
    # program, depending of the modem type
    #
    PARA=$*
    SENDFAX=/usr/lib/fax/faxsend

    m_found="no"
    while [ $# -gt 0 ]; do
        case $1 in
            "-m")
                m_found="yes"
                ;;
            faxCAPI*)
                if [ "$m_found" = "yes" ]; then
                    SENDFAX=/usr/bin/c2faxsend
                fi
                m_found="no"
                ;;
            *)
                m_found="no"
                ;;
        esac
        shift
    done

    $SENDFAX $PARA

    I added commands to have an exact idea of what is passed as parameters
    to c2faxsend, and it is as example:
    c2faxsend -m faxCAPI sendq/q12

    which makes sense. The problem is that this command fails immediately
    with message

    # c2faxsend -m faxCAPI sendq/q12
    usage: c2faxsend.sav [-f format] [-C cfile] [-c param] [-m dev]
                    [-d number] [-P mailadr] [-v] [-V] [file(s)]
            -f: Specify the output format. Allowed types are:
                     HYLAFAX (default), TIFF, SFF, G3
            -C: Name and path of the config file
            -c: One Entry from the config-file of type: {value}:{data}
            -m: Virtual device name only needed for Hylafax. Default:
    faxCAPI
            -P: Fax Polling. At the end pollrcvd with "mailadr" is called
            -v Start in verbose mode
            -V Show version information
            file(s): Depending on the format(-f) switch.
                     HYLAFAX: one qfile
                     SFF: one sff file
                     TIFF: one or more tiff file(s)

    even if the parameters looks to me perfectly correct.
    I even ran this command with "strace" to try to figure out what's wrong,
    but I didn't found the reason of such behaviour.
    Maybe the c2faxsend command is broken ? As it is proprietary software,
    I'm stucked here.
    I logged the output of this command when called by HylaFax suite, and it
    is the error message above.

    -- 
    Brent Frère
    Directeur Technique
    Plan-Net s.à r.l.
    8, rue des Martyrs
    L-3739 Rumelange
    Grand-Duché de Luxembourg
    Tél: +352-26.56.02.22
    Fax: +352-26.56.02.55
    http://plan-net.lu
    Le Service-Pack Plan-Net: l'abonnement services qui met à votre disposition immédiate une équipe multi-disciplinaire en informatique:
    * Réseaux, solutions libres et traditionnelles
    * Sites web et Intranet
    * Développement sur mesure
    * Gestion de projets
    * Infographie (communication et technique)
    This e-mail signature can be checked if you have the CaCERT certificate installed.
    Check http://www.CaCERT.org for details.
    
    

    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Scott Fitzgerald: "Storing whole sarge disto on a HD partition?"

    Relevant Pages