Menu

efax-gtk doesn't work

Help
2012-10-27
2013-05-13
  • Roger Davis

    Roger Davis - 2012-10-27

    efax-gtk used to work on this machine, no hardware changes since.  efax-gtk simply quit working, probably due to an update of Ubuntu.  I changed no settings until it quit.

    This same computer will fax on Windoze 7, no problems.

    I was getting Socket running on port 9900
    efax-0.9a: 01:11:06 Error: can't open serial port /dev/ttyS1: Permission denied
    efax-0.9a: 01:11:06 failed page /home/roger/Documents/Libre Office/Saddleback Labs Request.pdf.001
    efax-0.9a: 01:11:06 finished - unrecoverable error

    So I tried to give myself permission with:
    sudo adduser MyUser dialout
    sudo chmod a+rw /dev/ttyUSB0

    and got:
    Socket running on port 9900
    efax-0.9a: 02:23:07 opened /dev/ttyS1
    efax-0.9a: 02:23:07 failed page /home/roger/Documents/Libre Office/Saddleback Labs Request.pdf.001
    efax-0.9a: 02:23:07 Error: tcgetattr on fd=8 failed: Input/output error
    efax-0.9a: 02:23:07 Error: fax device write: Input/output error
    efax-0.9a: 02:23:09 Error: tcgetattr on fd=8 failed: Input/output error
    efax-0.9a: 02:23:11 Error: fax device write: Input/output error
    efax-0.9a: 02:23:13 Error: tcgetattr on fd=8 failed: Input/output error
    efax-0.9a: 02:23:13 sync: dropping DTR
    efax-0.9a: 02:23:13 Error: tcgetattr on fd=8 failed: Input/output error
    efax-0.9a: 02:23:14 Error: tcgetattr on fd=8 failed: Input/output error
    efax-0.9a: 02:23:16 Error: fax device write: Input/output error
    efax-0.9a: 02:23:18 Error: tcgetattr on fd=8 failed: Input/output error
    efax-0.9a: 02:23:18 Error: fax device write: Input/output error
    efax-0.9a: 02:23:18 Error: fax device write: Input/output error
    efax-0.9a: 02:23:18 sync: sending escapes
    efax-0.9a: 02:23:18 Error: tcgetattr on fd=8 failed: Input/output error
    efax-0.9a: 02:23:18 Error: fax device write: Input/output error
    efax-0.9a: 02:23:18 Error: fax device write: Input/output error
    efax-0.9a: 02:23:19 Error: fax device write: Input/output error
    efax-0.9a: 02:23:21 Error: fax device write: Input/output error
    efax-0.9a: 02:23:23 Error: sync: modem not responding
    efax-0.9a: 02:23:23 Error: tcgetattr on fd=8 failed: Input/output error
    efax-0.9a: 02:23:23 finished - unrecoverable error

    Switched to ttyS4, and now when I triy to send, I get :
    Socket running on port 9900
    efax-0.9a: 12:49:40 opened /dev/ttyS4
    with no sounds, no nothing.  It will sit there forever that way.

    Ideas?

     
  • Roger Davis

    Roger Davis - 2012-10-27

    Also
    - the "light" always remains red
    and
    roger@roger-desktop:~$ dmesg | grep tty
    console  enabled
    0000:04:01.0: ttyS4 at I/O 0xd000 (irq = 17) is a 16550A

     
  • Roger Davis

    Roger Davis - 2012-11-05

    It seems that DTR is never raised ?

     
  • Chris Vine

    Chris Vine - 2012-11-05

    It looks as if you don't have your fax modem on the device you have picked for efax-gtk.  Probably the device file has changed on an update to ubuntu, and you need to find out what it is.  I notice incidentally that you say that you have given yourself permissions on /dev/ttyUSB0, but you have been trying to use efax-gtk with /dev/ttyS1 and /dev/ttyS4, which is obviously not right.

    One question is whether you are using a USB modem or not.  If you are, you should be looking in /dev/ttyUSB*.

    I don't think I can help you any further.  You need to know what device name your fax modem has on your system.

     
  • Roger Davis

    Roger Davis - 2012-11-05

    1)  I don't understand about "don't have your fax modem on the device you have picked"
    2) How do I check the device file?
    3) How do I address permission on ttyS4, if not from the "Users and Groups" Advanced settings?
    4) Not a USB modem.    ( roger@roger-desktop:~$ dmesg | grep tty  console  enabled  0000:04:01.0: ttyS4 at I/O 0xd000 (irq = 17) is a 16550A  ) 
    5) I see the "tty0" above, but I thought that was simply a function of the console to perform the checks, which shows the modem at ttyS4 ?  
    6) How do I find the device name?  Or does the above identify it?
    Thanks!

     
  • Chris Vine

    Chris Vine - 2012-11-06

    No idea.  I should ask on a ubuntu forum.

     
  • Roger Davis

    Roger Davis - 2012-11-06

    DISREGARD MY INITIAL ENTRY WAY ABOVE !!!  Start at my second entry now due to some gains!

    Current send attempt result :

    Socket running on port 9900
    efax-0.9a: 14:23:28 opened /dev/ttyS4
    *** Stopping send/receive session ***
    efax-0.9a: 14:24:04 failed page /home/roger/Documents/Libre Office/Saddleback Labs Request.pdf.001
    ==========================
    My modem Info:

    *-pci
                    description: PCI bridge
                    product: Integrated Technology Express, Inc.
                    vendor: Integrated Technology Express, Inc.
                    physical id: 0
                    bus info: pci@0000:03:00.0
                    version: 30
                    width: 32 bits
                    clock: 33MHz
                    capabilities: pci pm subtractive_decode bus_master cap_list
                    resources: ioport:d000(size=4096) memory:f7d00000-f7dfffff
                  *-communication
                       description: Serial controller
                       product: 56K FaxModem Model 5610
                       vendor: 3Com Corp, Modem Division
                       physical id: 1
                       bus info: pci@0000:04:01.0
                       version: 01
                       width: 32 bits
                       clock: 33MHz
                       capabilities: pm 16550 cap_list
                       configuration: driver=serial latency=0
                       resources: irq:17 ioport:d000(size=8)
    ==============================================
    I don't think it's the init string, I've tried several strings, several ways.

    I'm almost ready to believe it's the kernel, except not by intent.  I can't imagine anyone would intentionally screw that up thinking it's best for the world…

     
  • Roger Davis

    Roger Davis - 2012-11-09

    roger@roger-desktop:~$ wvdial
    -> WvDial: Internet dialer version 1.61
    -> Cannot open /dev/modem: No such file or directory
    -> Cannot open /dev/modem: No such file or directory
    -> Cannot open /dev/modem: No such file or directory
    roger@roger-desktop:~$

    There is a ttyS4 (0 bytes), shows root as owner - user

    I am a member of dialout
    roger@roger-desktop:~$ id
    uid=1000(roger) gid=1000(roger) groups=1000(roger),0(root),1(daemon),4(adm),5(tty) ,6(disk),9(news),10(uucp),13(proxy),20(dialout),21 (fax),22(voice),24(cdrom),25(floppy),27(sudo),29(a udio),30(dip),33(www-data),37(operator),39(irc),43(utmp),44(video),46(p lugdev),100(users),107(scanner),109(lpadmin),113(n etdev),124(sambashare),126(clamav),1001(earlleen)
    roger@roger-desktop:~$

    It seems to initialize the modem ok, and will answer an incoming call (can't check for connect, just a call), but not respond at all to any further commands or communication from the computer after initialization.

    No third party software or drivers.

     

Log in to post a comment.