Страница 1 из 1

FreeBSD 7.1 + модем

Добавлено: 2009-05-19 16:38:46
Andrey 21
собрался настроить Hylafax для отправки/получения факсов
но после установки модкма(Acrop на чипе Agre, так же пробовал модемы с чипом Lucent)
dmesg | grep "sio[0-9]"

Код: Выделить всё

sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]

как я понимаю система не "видит " таких модемов, подскажите как быть?

Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-19 16:44:41
Alex Keda
полный dmesg покажите, чтоли...
=======
под люценты есть дрова в портах

Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-19 16:47:01
paradox

Код: Выделить всё

pciconf -lvcb

Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-19 16:52:46
Andrey 21
pciconf -lvcb

Код: Выделить всё

fax# pciconf -lvcb
hostb0@pci0:0:0:0:      class=0x060000 card=0x11308086 chip=0x11308086 rev=0x04                                                                               hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82815/EM/EP/P 815/EM/EP/P (Solano) Host to I/O Hub Bridge'
    class      = bridge
    subclass   = HOST-PCI
    cap 09[88] = vendor (length 4) Intel cap 15 version 1
vgapci0@pci0:0:2:0:     class=0x030000 card=0x11328086 chip=0x11328086 rev=0x04                                                                               hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82815/EM/EP/P 815/EM/EP/P (Solano) Interal GUI Accelerator'
    class      = display
    subclass   = VGA
    cap 01[dc] = powerspec 2  supports D0 D3  current D0
pcib1@pci0:0:30:0:      class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x05                                                                               hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub Interface to                                                                               PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:      class=0x060100 card=0x00000000 chip=0x24408086 rev=0x05                                                                               hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BA (ICH2) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:1:    class=0x010180 card=0x24428086 chip=0x244b8086 rev=0x05                                                                               hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BA (ICH2) UltraATA/100 IDE Controller'
    class      = mass storage
    subclass   = ATA
uhci0@pci0:0:31:2:      class=0x0c0300 card=0x24428086 chip=0x24428086 rev=0x05                                                                               hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BA/BAM (ICH2/ICH2-M) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
none0@pci0:0:31:3:      class=0x0c0500 card=0x24428086 chip=0x24438086 rev=0x05                                                                               hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BA/BAM (ICH2/ICH2-M) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
uhci1@pci0:0:31:4:      class=0x0c0300 card=0x24428086 chip=0x24448086 rev=0x05                                                                               hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BA/BAM (ICH2/ICH2-M) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
none1@pci0:0:31:5:      class=0x040100 card=0x32dd4005 chip=0x24458086 rev=0x05                                                                               hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BA/BAM (ICH2/ICH2-M) AC'97 Audio Controller'
    class      = multimedia
    subclass   = audio
rl0@pci0:1:9:0: class=0x020000 card=0x032010bd chip=0x813910ec rev=0x10 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
    class      = network
    subclass   = ethernet
    cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
none2@pci0:1:10:0:      class=0x078000 card=0x044011c1 chip=0x044e11c1 rev=0x00                                                                               hdr=0x00
    vendor     = 'Lucent/Agere Systems (Was: AT&T MicroElectronics)'
    device     = 'lucent 1646T00 LT WinModem 56k Data+Fax or Agere F-1156IV/A3'
    class      = simple comms
    cap 01[f8] = powerspec 2  supports D0 D2 D3  current D0


Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-19 17:06:21
Andrey 21
поможет ли мне /usr/ports/comms/ltmdm/ ?

Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-19 17:11:38
paradox

Код: Выделить всё

  { 0x11c1, 0x0440, 0x045c, "Lucent Winmodem" },
да есть такой
ставь

Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-19 17:24:42
Andrey 21
поставил, только ничего не изменилось
и в /usr/local/etc/rc.d никакого скрипта не добавилось, стоит ли искать его и добавлять руками?

Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-19 17:26:14
paradox
а там и не должнь было никакого скрипта появиться
читать нужно внимательно что вам пишут после того как поставили порт
там все четко с указаниями

Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-19 17:48:04
Andrey 21
в pciconf -lvcb появилось

Код: Выделить всё

ltmdm0@pci0:1:10:0:     class=0x078000 card=0x044011c1 chip=0x044e11c1 rev=0x00 hdr=0x00
    vendor     = 'Lucent/Agere Systems (Was: AT&T MicroElectronics)'
    device     = 'lucent 1646T00 LT WinModem 56k Data+Fax or Agere F-1156IV/A3'
    class      = simple comms
    cap 01[f8] = powerspec 2  supports D0 D2 D3  current D0

т.е. драйвер модема вроди стоит
но в dmesg | grep "sio[0-9]" по прежнему ничего

Код: Выделить всё

sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]

cu -l /dev/cuall0

Код: Выделить всё

cu: unsupported speed 9600
faxaddmodem показывает

Код: Выделить всё

Probing for best speed to talk to modem: 38400 19200 9600 4800 2400 1200
Unable to deduce DTE-DCE speed; check that you are using the
correct device and/or that your modem is setup properly.  If
all else fails, try the -s option to lock the speed.
Do you want to run faxaddmodem to configure another modem [yes]? n

Подскажите почему может не проходить faxaddmodem?

Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-19 17:52:20
paradox
а с какой радости ты делаешь греп по sio ?
ты dmesg -a покажи когда модем уже подгружен

Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-19 17:58:01
Гость

Код: Выделить всё

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
    root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Celeron (903.84-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 200212480 (190 MB)
avail memory = 181805056 (173 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <IntelR AWRDACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, bdf0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x4000-0x40f7 on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> mem 0xe0000000-0xe3ffffff,0xe4100000-0xe417ffff irq 11 at device 2.0 on pci0
agp0: <Intel 82815 (i815 GMCH) SVGA controller> on vgapci0
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
rl0: <RealTek 8139 10/100BaseTX> port 0xc000-0xc0ff mem 0xe4000000-0xe40000ff irq 11 at device 9.0 on pci1
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:02:44:12:08:eb
rl0: [ITHREAD]
[b]
ltmdm0: <Lucent Winmodem> port 0xc400-0xc407,0xc800-0xc8ff mem 0xe4001000-0xe40010ff irq 12 at device 10.0 on pci1
ltmdm0: [GIANT-LOCKED]
ltmdm0: [ITHREAD]
ltmdm0: type Virtual 16550A
[/b]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xd000-0xd01f irq 11 at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xd400-0xd41f irq 9 at device 31.4 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
pci0: <multimedia, audio> at device 31.5 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xd57ff pnpid ORM0000 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
plip0: <PLIP network interface> on ppbus0
plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 903840833 Hz quality 800
Timecounters tick every 1.000 msec
ad0: DMA limited to UDMA33, controller found non-ATA66 cable
ad0: 8222MB <Seagate ST38410A 3.03> at ata0-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a
Loading configuration files.
kernel dumps on /dev/ad0s1b
Entropy harvesting:
 interrupts
 ethernet
 point_to_point
 kickstart
.
swapon: adding /dev/ad0s1b as swap device
Starting file system checks:
/dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: clean, 144615 free (3407 frags, 17651 blocks, 1.6% fragmentation)
/dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1e: clean, 196273 free (33 frags, 24530 blocks, 0.0% fragmentation)
/dev/ad0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1f: clean, 1810819 free (40395 frags, 221303 blocks, 1.3% fragmentation)
/dev/ad0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1d: clean, 329128 free (72 frags, 41132 blocks, 0.0% fragmentation)
Setting hostuuid: de5d75c7-4461-11de-97d1-0002441208eb.
Setting hostid: 0x2fa2cf5a.
Mounting local file systems:
.
Setting hostname: fax.sindbad.local.
net.inet6.ip6.auto_linklocal:
1
 ->
0

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:02:44:12:08:eb
        inet 192.168.1.23 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (none)
        status: no carrier
add net default: gateway 192.168.1.19
Additional routing options:
.
Starting devd.
hw.acpi.cpu.cx_lowest:
C1
 ->
C1

Additional IP options:
.
Mounting NFS file systems:
.
Creating and/or trimming log files:
.
Starting syslogd.
Checking for core dump on /dev/ad0s1b...
rl0: link state changed to UP
savecore: no dumps found
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Initial i386 initialization:
.
Additional ABI support:
 linux
.
Clearing /tmp (X related).
Starting local daemons:
.
Updating motd
.
Mounting late file systems:
.
Configuring syscons:
 blanktime
.
Starting sshd.
Starting cron.
Local package initialization:
.
Starting background file system checks in 60 seconds.

Tue May 19 18:32:10 MSD 2009
May 19 18:32:32 fax su: andrey to root on /dev/ttyp0
May 19 18:33:11 fax FaxGetty[697]: MODEM /dev/ttyd4 appears to be wedged
May 19 18:34:11 fax FaxQueuer[869]: MODEM /dev/ttyd4 appears to be wedged
May 19 18:34:45 fax su: andrey to root on /dev/ttyp0
May 19 18:35:11 fax FaxQueuer[869]: MODEM /dev/ttyd4 appears to be wedged
May 19 18:36:11 fax FaxQueuer[869]: MODEM /dev/ttyd4 appears to be wedged
May 19 18:36:25 fax su: andrey to root on /dev/ttyp0
May 19 18:37:11 fax FaxQueuer[869]: MODEM /dev/ttyd4 appears to be wedged
May 19 18:38:11 fax FaxQueuer[1128]: MODEM /dev/ttyd4 appears to be wedged
May 19 18:39:11 fax FaxQueuer[1128]: MODEM /dev/ttyd4 appears to be wedged
May 19 18:41:12 fax last message repeated 2 times
May 19 18:51:12 fax last message repeated 10 times


Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-19 18:04:43
paradox
ltmdm0: <Lucent Winmodem> port 0xc400-0xc407,0xc800-0xc8ff mem 0xe4001000-0xe40010ff irq 12 at device 10.0 on pci1
ltmdm0: [GIANT-LOCKED]
ltmdm0: [ITHREAD]
ltmdm0: type Virtual 16550A
ну так модем определился зачем вы sio ищите

Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-19 18:08:23
paradox
/dev/cual0
у меня например на таком же модеме
так чторазберись с нумерацией портов

Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-20 10:32:32
Andrey 21
Методом вытаскивания модема и перезагрузок увидел что при подключении модема появляются три новых устройства в /dev : cuail0, cuall0, ttyll0.
при тестировании соединения с устройствами ни с одним из них не удается установить соединения

Код: Выделить всё

cu -l /dev/cual0
Connecting...

Код: Выделить всё

cu -l /dev/cuall0
Unsupported speed 9600
и так далее.
Может есть еще какие нибудь причины по которым с модемом не удается установить соединение?

Re: FreeBSD 7.1 + модем

Добавлено: 2009-05-20 13:13:08
paradox
в ppp.conf пропишите и пробуйте пинать
cu не всегда работает
в нём тоже есть ньюансы