Re: Hylafax: faxaddmodem stuck at flow control

2006-07-13 Thread Uwe Dippel
On Tue, 11 Jul 2006 19:55:44 +0200, Toni Mueller wrote:

 Hmmm? If the fax is garbled, I suspect that you have flow control
 problems with your modem.

No. That was just quite another item. See below.

First, second and third I want to thank 3 nice guys for helping me offline
!!!

Now to what transpired; FYI:

1. 4.1.5 has a procedural problem to faxsetup and faxaddmodem on
   recent OpenBSDs. It doesn't go through; observed by others as well.

2. Some unofficial port (or the straightforward make  make install)
   of 4.2.5 or 4.3.0 do go through *if done from scratch*

3. faxaddmodem of 4.2.5 and 4.3.0 will *not* go through on a system
   that had 4.1.5 installed earlier.
3.a. pkg_delete hylafax leaves a lot of files inclusive the whole
   /var/spool/hylafax intact. That's from where a faulty variable 
   stems that hinders any faxaddmodem to go through. Therefore

4. in order to get it running, a fresh make  make install on a 
   fresh system (or one cleansed from any hyla and fax) of 
   4.2.5 or 4.3.0 is needed.

5. The EOL error of my out-of-the-box install of original hylafax4.3.0
   is completely unrelated:
   http://www.hylafax.org/archive/2005-12/msg00255.php
   One might think of setting
   Class2RecvDataTrigger:  \022
   in /etc/config.tty0x by default

Uwe




Re: Hylafax: faxaddmodem stuck at flow control

2006-07-11 Thread Toni Mueller

Hello Uwe,

On Mon, 10.07.2006 at 18:01:48 +0800, Uwe Dippel [EMAIL PROTECTED] wrote:
 It's getting worse:

well, if you can receive a fax, that's an improvement in my book.

 its configure in vi to make it compile and install. Ran faxsetup /
 faxaddmodem and it does *not* stop at flow control. It doesn't find
 the preset modem-config;

I'd say try to stick with the standard HylaFAX locations for a start.
Although they are incompatible with what OpenBSD requires, I suspect
deeper problems in HylaFAX which will be easier to iron out when you
didn't modify the package too much (yet). That's one of the reasons why
I have some code in INSTALL...

 but in the end - after adding it to ttys - it
 answers the phone and receives a fax (alas, faulty, but that has
 probably to make with my horrible patch-ing; there's an EOL error.)

Hmmm? If the fax is garbled, I suspect that you have flow control
problems with your modem.

Can you send a fax?


Best,
--Toni++



Re: Hylafax: faxaddmodem stuck at flow control

2006-07-10 Thread Uwe Dippel

Here is a bit more on this:

I made a fresh install of 3.9, followed by just pkg_add hylafax. The
behaviour is the same, at faxsetup / faxaddmodem flow control scheme
it gets stuck.
I also used another - also serial - modem type; it shows the identical
behaviour.
minicom sees the modem working okay: ATDT123435 dials out to 12345;
and when I dial the phone, RING shows on the terminal screen.

[Once again, the same modem has worked for years on 3.3-3.5, same hylafax.]

It's getting worse:
I downloaded hylafax 4.3.0 (the lastest of a few weeks ago), patched
its configure in vi to make it compile and install. Ran faxsetup /
faxaddmodem and it does *not* stop at flow control. It doesn't find
the preset modem-config; but in the end - after adding it to ttys - it
answers the phone and receives a fax (alas, faulty, but that has
probably to make with my horrible patch-ing; there's an EOL error.)

All this is no solution, but *maybe* it rings some bell ... ?!

Uwe




On 7/10/06, Uwe Dippel [EMAIL PROTECTED] wrote:

This is astonishing, because the modem has been working earlier (on
earlier OpenBSDs and earlier main boards).

But now it doesn't work any longer, whatever I try, it stops at DTE-DCE
flow control scheme [default]. I can still press enter or anything, but
faxaddmodem waits indefinitely (for what ?).
I also tried xonxoff and rtscts; with the same result. I also tried
class 1; same result. (I use class 2 here, because this modem always
worked well with class 2)

I searched the archives and google; and found one similar occurrence:
http://www.bsdforums.org/forums/showthread.php?t=34612
Is this a BSD-problem, eventually ?

This is about what it does:


Are these ok [yes]?

Now we are going to probe the tty port to figure out the type
of modem that is attached.  This takes a few seconds, so be patient.
Note that if you do not have the modem cabled to the port, or the
modem is turned off, this may hang (just go and cable up the modem
or turn it on, or whatever).

Probing for best speed to talk to modem: 38400 OK.

This modem looks to have support for Class 1 and 2.
How should it be configured [1]? 2

Hmm, this looks like a Class 2 modem.
Modem manufacturer is PHILIPS.
Modem model is ROCKWELL 144DPI.
DTE-DCE flow control scheme [default]?
whatever I type
here, it is echoed.
But no DTE-DCE takes place.


Any hint welcome,

Uwe


OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Sempron(tm) Processor 3000+ (AuthenticAMD 686-class, 256KB
L2 cache) 1.61 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3
cpu0: AMD Powernow: TS TTP TM STC
real mem  = 469278720 (458280K)
avail mem = 421019648 (411152K)
using 4278 buffers containing 23568384 bytes (23016K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(05) BIOS, date 06/05/06, BIOS32 rev. 0 @ 0xfb300
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 3.0 @ 0xf/0xd324
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfd200/256 (14 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xde00 0xd/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 2 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 3 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 4 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 5 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 6 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 7 not configured
ppb0 at pci0 dev 2 function 0 NVIDIA C51 PCIE rev 0xa1
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 0 NVIDIA C51 PCIE rev 0xa1
pci2 at ppb1 bus 2
ppb2 at pci0 dev 4 function 0 NVIDIA C51 PCIE rev 0xa1
pci3 at ppb2 bus 3
vga1 at pci0 dev 5 function 0 NVIDIA GeForce 6100 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
NVIDIA MCP51 Host rev 0xa2 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 NVIDIA MCP51 ISA rev 0xa3
NVIDIA MCP51 SMBus rev 0xa3 at pci0 dev 10 function 1 not configured
NVIDIA MCP51 Memory rev 0xa3 at pci0 dev 10 function 2 not configured
ohci0 at pci0 dev 11 function 0 NVIDIA MCP51 USB rev 0xa3: irq 10,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
ehci0 at pci0 dev 11 function 1 NVIDIA MCP51 USB rev 0xa3: irq 5
usb1 at ehci0: USB revision 2.0
uhub1 at usb1

Hylafax: faxaddmodem stuck at flow control

2006-07-09 Thread Uwe Dippel

This is astonishing, because the modem has been working earlier (on
earlier OpenBSDs and earlier main boards).

But now it doesn't work any longer, whatever I try, it stops at DTE-DCE
flow control scheme [default]. I can still press enter or anything, but
faxaddmodem waits indefinitely (for what ?).
I also tried xonxoff and rtscts; with the same result. I also tried
class 1; same result. (I use class 2 here, because this modem always
worked well with class 2)

I searched the archives and google; and found one similar occurrence:
http://www.bsdforums.org/forums/showthread.php?t=34612
Is this a BSD-problem, eventually ?

This is about what it does:


Are these ok [yes]?

Now we are going to probe the tty port to figure out the type
of modem that is attached.  This takes a few seconds, so be patient.
Note that if you do not have the modem cabled to the port, or the
modem is turned off, this may hang (just go and cable up the modem
or turn it on, or whatever).

Probing for best speed to talk to modem: 38400 OK.

This modem looks to have support for Class 1 and 2.
How should it be configured [1]? 2

Hmm, this looks like a Class 2 modem.
Modem manufacturer is PHILIPS.
Modem model is ROCKWELL 144DPI.
DTE-DCE flow control scheme [default]?
whatever I type
here, it is echoed.
But no DTE-DCE takes place.


Any hint welcome,

Uwe


OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Sempron(tm) Processor 3000+ (AuthenticAMD 686-class, 256KB 
L2 cache) 1.61 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3

cpu0: AMD Powernow: TS TTP TM STC
real mem  = 469278720 (458280K)
avail mem = 421019648 (411152K)
using 4278 buffers containing 23568384 bytes (23016K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(05) BIOS, date 06/05/06, BIOS32 rev. 0 @ 0xfb300
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 3.0 @ 0xf/0xd324
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfd200/256 (14 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xde00 0xd/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 2 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 3 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 4 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 5 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 6 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 7 not configured
ppb0 at pci0 dev 2 function 0 NVIDIA C51 PCIE rev 0xa1
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 0 NVIDIA C51 PCIE rev 0xa1
pci2 at ppb1 bus 2
ppb2 at pci0 dev 4 function 0 NVIDIA C51 PCIE rev 0xa1
pci3 at ppb2 bus 3
vga1 at pci0 dev 5 function 0 NVIDIA GeForce 6100 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
NVIDIA MCP51 Host rev 0xa2 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 NVIDIA MCP51 ISA rev 0xa3
NVIDIA MCP51 SMBus rev 0xa3 at pci0 dev 10 function 1 not configured
NVIDIA MCP51 Memory rev 0xa3 at pci0 dev 10 function 2 not configured
ohci0 at pci0 dev 11 function 0 NVIDIA MCP51 USB rev 0xa3: irq 10, 
version 1.0, legacy support

usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
ehci0 at pci0 dev 11 function 1 NVIDIA MCP51 USB rev 0xa3: irq 5
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
pciide0 at pci0 dev 13 function 0 NVIDIA MCP51 IDE rev 0xa1: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility

pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVDRRW GWA-4166B, 2.04 SCSI0 
5/cdrom removable

cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
ppb3 at pci0 dev 16 function 0 NVIDIA MCP51 PCI-PCI rev 0xa2
pci4 at ppb3 bus 4
eap0 at pci4 dev 7 function 0 Ensoniq CT5880 rev 0x02: irq 5
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at eap0
midi0 at eap0: AudioPCI MIDI UART
Texas Instruments TSB43AB23 FireWire rev 0x00 at pci4 dev 14 function 
0 not configured
nfe0 at pci0 dev 20 function 0 NVIDIA MCP51 LAN rev 0xa3: irq 11, 
address 00:16:e6:4f:31:1e
ukphy0 at nfe0 phy 1: Generic IEEE 802.3u