Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Lucent win modem

  • 21-08-2001 5:18pm
    #1
    Registered Users, Registered Users 2 Posts: 197 ✭✭


    I got a lucent internal 56k winmodem and I've looked up the chipset and as far as I know it is compatible with linux. I'll reply back with the chip code later. I got the drivers from linmodems.org and they compiled without error. But minicom can't find the device. I'll reply with more info later
    any ideas appreciated.


Comments

  • Closed Accounts Posts: 222 ✭✭Red Moose


    1. Which version of the drivers are you using? The version I use are 6.00a1, so make sure it's at least that anyway.

    2. Next, have you compiled it from source? Do not try and build the RPM which can be dodgy (i.e., don't do ./build_rpm), but just do the ./build_module option. Also, you know that if you upgrade or change your kernel you will have to rebuild and reinstall.

    3. The installation command (./ltinst or ./ltinst2 in the 6.00a1 driver) creates the device /dev/ttyLT0 and links /dev/modem against it. The version compiled is a file called something like lt_modem.o or something. After the compilation, the ./ltinst2 and ./autoload will install it into /lib/modules/kernel-version-number/ for use.

    Effectively, you can use the /dev/modem for any comms application after this. Try *not* use the real device as it may change with different drivers (it used to be LT14 or so). ls -la /dev/modem to ensure that /dev/modem is softlink to the LT device the driver installation creates, and use /dev/modem as the device in minicom. Read the output of all scripts, and note if there is any ANY error. If /dev/modem points to something other than /dev/ttyLT0, change it.

    Use ]# minicom -s to setup the dialling device as /dev/modem.

    Also, don't forget to do ./autoload after the ./ltinst2 to allow dynamic loading and unloading of the driver module whenever it is needed. This is different to older driver versions which had a single ./ltinst command to install the module.

    Any more probs, maybe provide some info as kernel version, etc., . I have no probs at all with kernel 2.4.9, and using minicom and Kppp as dialers.

    Is this the first time you have tried to us e winmodem or any modem in linux?

    [This message has been edited by Red Moose (edited 21-08-2001).]

    [This message has been edited by Red Moose (edited 21-08-2001).]


  • Registered Users, Registered Users 2 Posts: 197 ✭✭Patrick


    I think the version is 5.99. yes I got them as source and jus did a './build_module' or whatever the command is. The kernel I'm using now is 2.4.9. I must try minicom with /dev/modem instead of /dev/ttyLT0. It has made that device and linked it to /dev/modem. I must check that also with the 'ls -la' command later. Does it try and load modules into the kernel? (lt_modem.o and lt_serial.o)? cos they are not loaded even tho the installation went grand.
    I'll try all that anyway.
    It's my first time trying to get a win-modem working altho I've setup an external one before, not that there is much setting up smile.gif

    Ok minicom says it can't open /dev/modem .. 'no such device'. '/dev/modem' has '/dev/ttyLT0' linked to it.


    [This message has been edited by Patrick (edited 21-08-2001).]


  • Closed Accounts Posts: 222 ✭✭Red Moose


    Damn that's strange then. The modules are loaded in and out of the running kernel as needed - that's what modules do.

    If it's any solution.....are you using the latest version of minicom and can you dial or even get something like KPPP to detect the modem?

    I remember I used to have trouble with ppp-on and those scripts with a winmodem on 5.68 drivers but no trouble with simple detection.

    This is the ls -la result for me:
    crw-r
    1 redmoose tty 62, 64 Aug 22 03:49 /dev/ttyLT0

    lrwxrwxrwx 1 root root 11 Aug 18 17:03 /dev/modem -> /dev/ttyLT0

    Is there any chance you didn't compile something like serial port & PPP usage in the kernel or anything? (PPP support for async serial ports as well).

    Could you post up the result of dmesg here - it might be a help. I am going to be annoying here but here's my result to compare it to. You'll see the serial port settings and the LT modem bit down the end.

    Linux version 2.4.9 (root@localhost.localdomain) (gcc version 3.0.1 20010802 (Mandrake Linux 8.0 3.0.1-0.2mdk
    )) #14 Sat Aug 18 15:37:49 IST 2001
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
    BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000e7000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 00000000040fd800 (usable)
    BIOS-e820: 00000000040fd800 - 00000000040ff800 (ACPI data)
    BIOS-e820: 00000000040ff800 - 00000000040ffc00 (ACPI NVS)
    BIOS-e820: 00000000040ffc00 - 0000000008000000 (usable)
    BIOS-e820: 00000000fffe7000 - 0000000100000000 (reserved)
    On node 0 totalpages: 32768
    zone(0): 4096 pages.
    zone(1): 28672 pages.
    zone(2): 0 pages.
    Kernel command line: auto BOOT_IMAGE=linux root=305 hdc=ide-scsi hdd=ide-scsi
    ide_setup: hdc=ide-scsi
    ide_setup: hdd=ide-scsi
    Initializing CPU#0
    Detected 497.840 MHz processor.
    Console: colour dummy device 80x25
    Calibrating delay loop... 992.87 BogoMIPS
    Memory: 126340k/131072k available (1432k kernel code, 4332k reserved, 378k data, 216k init, 0k highmem)
    Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
    Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
    Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
    CPU: Before vendor init, caps: 0383f9ff 00000000 00000000, vendor = 0
    CPU: L1 I cache: 16K, L1 D cache: 16K
    CPU: L2 cache: 512K
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    CPU: After vendor init, caps: 0383f9ff 00000000 00000000 00000000
    CPU: After generic, caps: 0383f9ff 00000000 00000000 00000000
    CPU: Common caps: 0383f9ff 00000000 00000000 00000000
    CPU: Intel Pentium III (Katmai) stepping 03
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Checking 'hlt' instruction... OK.
    POSIX conformance testing by UNIFIX
    mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
    mtrr: detected mtrr type: Intel
    PCI: PCI BIOS revision 2.10 entry at 0xfd983, last bus=1
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    Unknown bridge resource 0: assuming transparent
    PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
    Limiting direct PCI/PCI transfers.
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Starting kswapd v1.8
    udf: registering filesystem
    parport0: PC-style at 0x378 [PCSPP(,...)]
    vesafb: framebuffer at 0xfc000000, mapped to 0xc8800000, size 4096k
    vesafb: mode is 1024x768x16, linelength=2048, pages=0
    vesafb: protected mode interface info at c000:03cd
    vesafb: scrolling: redraw
    vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
    Console: switching to colour frame buffer device 128x48
    fb0: VESA VGA frame buffer device
    pty: 256 Unix98 ptys configured
    Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ttyS01 at 0x02f8 (irq = 3) is a 16550A
    lp0: using parport0 (polling).
    block: 128 slots per queue, batch=16
    Uniform Multi-Platform E-IDE driver Revision: 6.31
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    PIIX4: IDE controller on PCI bus 00 dev 39
    PIIX4: chipset revision 1
    PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1460-0x1467, BIOS settings: hda biggrin.gifMA, hdb tongue.gifio
    ide1: BM-DMA at 0x1468-0x146f, BIOS settings: hdc biggrin.gifMA, hdd biggrin.gifMA
    hda: IBM-DPTA-372050, ATA DISK drive
    hdc: HITACHI DVD-ROM GD-5000, ATAPI CD/DVD-ROM drive
    hdd: R/RW 4x4x24, ATAPI CD/DVD-ROM drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    hda: 40088160 sectors (20525 MB) w/1961KiB Cache, CHS=2495/255/63, UDMA(33)
    Partition check:
    hda: hda1 hda2 < hda5 hda6 >
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a post-1991 82077
    loop: loaded (max 8 devices)
    PPP generic driver version 2.4.1
    Linux agpgart interface v0.99 (c) Jeff Hartmann
    agpgart: Maximum main memory to use for agp memory: 96M
    agpgart: Detected Intel 440BX chipset
    agpgart: AGP aperture is 64M @ 0xf8000000
    SCSI subsystem driver Revision: 1.00
    request_module[scsi_hostadapter]: Root fs not mounted
    request_module[scsi_hostadapter]: Root fs not mounted
    es1371: version v0.30 time 15:43:14 Aug 18 2001
    PCI: Found IRQ 11 for device 00:0e.0
    PCI: Sharing IRQ 11 with 01:00.0
    es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
    es1371: found es1371 rev 8 at io 0x1400 irq 11
    es1371: features: joystick 0x0
    ac97_codec: AC97 Audio codec, id: 0x4352:0x5913 (Cirrus Logic CS4297A rev A)
    Linux Kernel Card Services 3.1.22
    options: [pci] [cardbus] [pm]
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP
    IP: routing cache hash table of 1024 buckets, 8Kbytes
    TCP: Hash tables configured (established 8192 bind 16384)
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    ds: no socket drivers loaded!
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing unused kernel memory: 216k freed
    Adding Swap: 265032k swap-space (priority -1)
    scsi0 : SCSI host adapter emulation for IDE ATAPI devices
    Vendor: HITACHI Model: DVD-ROM GD-5000 Rev: 0212
    Type: CD-ROM ANSI SCSI revision: 02
    Vendor: IDE-CD Model: R/RW 4x4x24 Rev: 1.4C
    Type: CD-ROM ANSI SCSI revision: 02
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
    Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
    sr0: scsi3-mmc drive: 14x/40x cd/rw xa/form2 cdda tray
    Uniform CD-ROM driver Revision: 3.12
    sr1: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
    usb.c: registered new driver usbdevfs
    usb.c: registered new driver hub
    usb-uhci.c: $Revision: 1.259 $ time 16:56:38 Aug 18 2001
    usb-uhci.c: High bandwidth mode enabled
    PCI: Found IRQ 9 for device 00:07.2
    usb-uhci.c: USB UHCI at I/O 0x1440, IRQ 9
    usb-uhci.c: Detected 2 ports
    usb.c: new USB bus registered, assigned bus number 1
    hub.c: USB hub found
    hub.c: 2 ports detected
    usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
    NVRM: loading NVIDIA kernel module version 1.0-1251
    NVRM: not using NVAGP, AGPGART is loaded!!
    Loading Lucent Modem Controller driver version 6.00
    Detected Parameters Irq=10 BaseAddress=0x1000 ComAddress=0x1470
    Lucent Modem Interface driver version 6.00 (2001-01-26) with SHARE_IRQ enabled
    ttyLT00 at 0x1000 (irq = 10) is a Lucent Modem


  • Registered Users, Registered Users 2 Posts: 197 ✭✭Patrick


    Yes it is quite possibe that I could have left some stuff out while configuring the kernel. One thing I notice I did leave out, you mentioned serial port things and I re-compiled today and recompiled the drivers but still no luck in getting the modem working.
    Here's my dmesg:

    Linux version 2.4.9 (root@altec) (gcc version 2.95.2 20000220 (Debian GNU/Linux)) #2 SMP Wed Aug 22 14:25:33 IST 2001
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
    BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 000000000ffc0000 (usable)
    BIOS-e820: 000000000ffc0000 - 000000000fff8000 (ACPI data)
    BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
    BIOS-e820: 00000000ffb80000 - 00000000ffc00000 (reserved)
    BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
    Scan SMP from c0000000 for 1024 bytes.
    Scan SMP from c009fc00 for 1024 bytes.
    Scan SMP from c00f0000 for 65536 bytes.
    Scan SMP from c009fc00 for 4096 bytes.
    On node 0 totalpages: 65472
    zone(0): 4096 pages.
    zone(1): 61376 pages.
    zone(2): 0 pages.
    mapped APIC to ffffe000 (01441000)
    Kernel command line: BOOT_IMAGE=linuxnew ro root=303 BOOT_FILE=/boot/bzImage
    Initializing CPU#0
    Detected 996.777 MHz processor.
    Console: colour VGA+ 80x25
    Calibrating delay loop... 1985.74 BogoMIPS
    Memory: 254792k/261888k available (1324k kernel code, 6708k reserved, 467k data, 224k init, 0k highmem)
    Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
    Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
    Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
    CPU: Before vendor init, caps: 0383f9ff 00000000 00000000, vendor = 0
    CPU: L1 I cache: 16K, L1 D cache: 16K
    CPU: L2 cache: 256K
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    CPU: After vendor init, caps: 0383f9ff 00000000 00000000 00000000
    CPU: After generic, caps: 0383f9ff 00000000 00000000 00000000
    CPU: Common caps: 0383f9ff 00000000 00000000 00000000
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Checking 'hlt' instruction... OK.
    POSIX conformance testing by UNIFIX
    mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
    mtrr: detected mtrr type: Intel
    CPU: Before vendor init, caps: 0383f9ff 00000000 00000000, vendor = 0
    CPU: L1 I cache: 16K, L1 D cache: 16K
    CPU: L2 cache: 256K
    Intel machine check reporting enabled on CPU#0.
    CPU: After vendor init, caps: 0383f9ff 00000000 00000000 00000000
    CPU: After generic, caps: 0383f9ff 00000000 00000000 00000000
    CPU: Common caps: 0383f9ff 00000000 00000000 00000000
    CPU0: Intel Pentium III (Coppermine) stepping 06
    per-CPU timeslice cutoff: 731.68 usecs.
    SMP motherboard not detected. Using dummy APIC emulation.
    Setting commenced=1, go go go
    PCI: PCI BIOS revision 2.10 entry at 0xfda95, last bus=2
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    Unknown bridge resource 0: assuming transparent
    PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    Starting kswapd v1.8
    VFS: Diskquotas version dquot_6.4.0 initialized
    0x378: FIFO is 16 bytes
    0x378: writeIntrThreshold is 8
    0x378: readIntrThreshold is 8
    0x378: PWord is 8 bits
    0x378: Interrupts are ISA-Pulses
    0x378: ECP port cfgA=0x10 cfgB=0x4b
    0x378: ECP settings irq=7 dma=3
    parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,COMPAT,ECP]
    parport0: irq 7 detected
    parport0: cpp_daisy: aa5500ff(98)
    parport0: assign_addrs: aa5500ff(98)
    parport0: Printer, HEWLETT-PACKARD DESKJET 660C
    pty: 256 Unix98 ptys configured
    Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    lp0: using parport0 (polling).
    lp0: console ready
    block: 128 slots per queue, batch=16
    Uniform Multi-Platform E-IDE driver Revision: 6.31
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    PIIX4: IDE controller on PCI bus 00 dev f9
    PIIX4: chipset revision 2
    PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda biggrin.gifMA, hdb biggrin.gifMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc biggrin.gifMA, hdd biggrin.gifMA
    hda: ST320413A, ATA DISK drive
    hdb: ST320413A, ATA DISK drive
    hdc: _NEC DV-5800A, ATAPI CD/DVD-ROM drive
    hdd: RICOH CD-R/RW MP7125A, ATAPI CD/DVD-ROM drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    hda: 39102336 sectors (20020 MB) w/512KiB Cache, CHS=2434/255/63, UDMA(100)
    hdb: 39102336 sectors (20020 MB) w/512KiB Cache, CHS=2434/255/63, UDMA(100)
    hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
    Uniform CD-ROM driver Revision: 3.12
    hdd: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
    ide-floppy driver 0.97
    Partition check:
    hda: hda1 hda2 < hda5 hda6 > hda3 hda4
    hdb: unknown partition table
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a post-1991 82077
    PPP generic driver version 2.4.1
    PPP Deflate Compression module registered
    PPP BSD Compression module registered
    8139too Fast Ethernet driver 0.9.18a
    PCI: Found IRQ 11 for device 02:0b.0
    eth0: RealTek RTL8139 Fast Ethernet at 0xd0800800, 00:c0:df:08:42:ea, IRQ 11
    eth0: Identified 8139 chip type 'RTL-8139C'
    Linux agpgart interface v0.99 (c) Jeff Hartmann
    agpgart: Maximum main memory to use for agp memory: 203M
    agpgart: Detected Intel i815 chipset
    agpgart: AGP aperture is 64M @ 0xf8000000
    ide-floppy driver 0.97
    Creative EMU10K1 PCI Audio Driver, version 0.15, 23:12:03 Aug 19 2001
    PCI: Found IRQ 9 for device 02:0c.0
    PCI: Sharing IRQ 9 with 00:1f.3
    emu10k1: EMU10K1 rev 10 model 0x8022 found, IO at 0xdf80-0xdf9f, IRQ 9
    ac97_codec: AC97 Audio codec, id: 0x4352:0x5914 (Cirrus Logic CS4297A rev B)
    usb.c: registered new driver hub
    PCI: Found IRQ 10 for device 00:1f.2
    PCI: Setting latency timer of device 00:1f.2 to 64
    uhci.c: USB UHCI at I/O 0xef80, IRQ 10
    usb.c: new USB bus registered, assigned bus number 1
    hub.c: USB hub found
    hub.c: 2 ports detected
    uhci.c: :USB Universal Host Controller Interface driver
    usb.c: registered new driver usbscanner
    scanner.c: USB Scanner support registered.
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 2048 buckets, 16Kbytes
    TCP: Hash tables configured (established 16384 bind 16384)
    ip_conntrack (2046 buckets, 16368 max)
    ip_tables: (c)2000 Netfilter core team
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing unused kernel memory: 224k freed
    Adding Swap: 265032k swap-space (priority -1)
    eth0: Setting half-duplex based on auto-negotiated partner ability 0000.


    Anything missing?


  • Closed Accounts Posts: 222 ✭✭Red Moose


    Yup, the Lucent winmodem part wink.gif. Look at the last four lines in my listing, and you have zero mention of it. Therefore it's possible to conclude that whatever it is you are doing for the installation is just not working.

    Have you seen if the module is in /lib/modules/2.4.9/ at all? You could also try seeing if it is being called at boot from the initscripts (I don't know how Debian works regarding this).

    Download the latest version (can't do any harm).

    What do you do to install it? After the ./build_module what do you do then? Also, I suspect your kernel configuration is not accurate as you don't have SCSI emulation running yet you have a CDRW attached........

    Get the latest version 6.00 drivers and tell me what happens after the ./build_module, ./ltinst2 and ./autoload.

    That is exactly all I did to get it working for me. This is bloody odd, but obviously the driver is not being installed at all for you.

    Tell me did you make sure to do a make modules and make modules_install after the kernel compilation? And after that making the modem module driver and then installation that and rebooting?

    Also, are you using the latest modutils?

    Also, only one serial port is listed for you - is this correct and has any been inadvertently been disabled in the BIOS?

    [This message has been edited by Red Moose (edited 22-08-2001).]


  • Advertisement
Advertisement