Posts: 20
burak
Joined: 21 Aug 2014
#1
Hi ,

I had spent sometime hoping the use and old notebook with Lucent/Agere winmodem.
I had finally installed it by martian modules when it turned out that martian drivers, eventhough there are newer they do not support faxing. Therefore my dreams with hylafax went down...

Now I know that older version drivers named ltserial or ltmodem works with fax feature however the problem is they support older kernek 2.4.31 latest I could find.
I downloaded some deb files, used dpkg -i ...deb files,

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://linmodems.technion.ac.il/packages/ltmodem/archive/debian/8.00a3/"
linktext was:"http://linmodems.technion.ac.il/package ... an/8.00a3/"
====================================


I could not get the modem to be recognized by the kernel.
I also could find working ltserial.o and ltmodem.o files from DSL linux but how I am gonna get them to be used by Antix ?
Insmod giving invalid module format.

Please help , I am do not understand Linux kernel-driver stuff much...

Thanks,
Burak
Last edited by burak on 04 Sep 2014, 08:32, edited 1 time in total.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Sorry, but you sound like a victim of kernel regression.

The site you linked to shows drivers for kernels light years apart from the 3.x kernels AntiX uses.
Recompiing a kernel to include the driver you need will cover more than a post reply.
Hopefully, some other member knows more than me on this old tech hardware.
Sorry.

Since you say you installed the drivers with dpkg -i. How about a

Code: Select all

inxi -F
and

Code: Select all

lspci -knn
Howdy and Welcome though, Rok
Posts: 20
burak
Joined: 21 Aug 2014
#3
Hi,

The modem can be detected easily by DSL linux on booting and it is working as /dev/ttyS14.
I need ltserial package instead of martian , because martian does not support faxing.

All I need someway to be able to make the modem recognized by kernel of antix using ltserial package.

Here is the inxi output:

System: Host:faxserver Kernel:3.7.10-antix.5-486-smp i686 (32 bit)
Console:tty 1 Distro:antiX-13.2_386-full Luddite 4 November 2013
Machine: System:TOSHIBA product:Portable PC version:Version 1.0 serial:0000000000
Mobo:TOSHIBA model:Portable PC version:Version A0 serial:0000000000
Bios:TOSHIBA version:Version 1.90 date:11/26/2001
CPU: Single corePentium III (Coppermine) (-UP-)cache:256 KB flags:(pae sse)clocked at500.039 MHz
Graphics: Card:S3 86C270-294 Savage/IX-MV
X.org:1.12.4 drivers:savage (unloaded: fbdev,vesa) tty size:80x25 Advanced Data:N/A for root out of X
Audio: Card:Intel 82440MX AC'97 Audio Controller driver:snd_intel8x0 Sound:ALSA ver:k3.7.10-antix.5-486-smp
Network: Card:Failed to Detect Network Card!
Drives: HDD Total Size:24.0GB (15.6% used) 1:id:/dev/sda model:TOSHIBA_MK2016GA size:20.0GB
2:USB id:/dev/sdb model:USB_Flash_Drive size:4.0GB
Partition:ID:/ size:7.6G used:2.6G (37%) fs:ext2
Sensors: System Temperatures: cpu:41.0C mobo:N/A
Fan Speeds (in rpm): cpu:N/A
Info: Processes:65 Uptime:2 min Memory:21.5/120.0MBRunlevel:3 Client:Shell (bash) inxi:1.9.16
==================================================================
Here is the lspci output:
I pointed out the modem in tildes ~.

00:00.0 Host bridge [0600]: Intel Corporation 82440MX Host Bridge [8086:7194] (rev 01)
Subsystem: Toshiba America Info Systems Device [1179:0001]
00:00.1 Multimedia audio controller [0401]: Intel Corporation 82440MX AC'97 Audio Controller [8086:7195]
Subsystem: Toshiba America Info Systems Device [1179:0001]
Kernel driver in use: snd_intel8x0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00:02.0 Communication controller [0780]: LSI Corporation 56k WinModem [11c1:0441] (rev 01)
Subsystem: Toshiba America Info Systems Device [1179:0002]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

00:04.0 VGA compatible controller [0300]: S3 Inc. 86C270-294 Savage/IX-MV [5333:8c12] (rev 13)
Subsystem: Toshiba America Info Systems 86C584 SuperSavage/IXC Toshiba [1179:0001]
00:07.0 Bridge [0680]: Intel Corporation 82440MX ISA Bridge [8086:7198] (rev 01)
00:07.1 IDE interface [0101]: Intel Corporation 82440MX EIDE Controller [8086:7199]
Kernel driver in use: ata_piix
00:07.2 USB controller [0c03]: Intel Corporation 82440MX USB Universal Host Controller [8086:719a]
Kernel driver in use: uhci_hcd
00:07.3 Bridge [0680]: Intel Corporation 82440MX Power Management Controller [8086:719b]
Kernel driver in use: piix4_smbus
00:09.0 IRDA controller [0d00]: Toshiba America Info Systems FIR Port Type-DO [1179:0d01]
Subsystem: Toshiba America Info Systems FIR Port Type-DO [1179:0001]
00:0b.0 CardBus bridge [0607]: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support [1179:0617] (rev 20)
Subsystem: Toshiba America Info Systems Device [1179:0001]
Kernel driver in use: yenta_cardbus
00:0b.1 CardBus bridge [0607]: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support [1179:0617] (rev 20)
Subsystem: Toshiba America Info Systems Device [1179:0001]
Kernel driver in use: yenta_cardbus
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#4

Code: Select all

Network: Card:Failed to Detect Network Card! 
That is a 1st for me.

Code: Select all

00:02.0 Communication controller [0780]: LSI Corporation 56k WinModem [11c1:0441] (rev 01)
Subsystem: Toshiba America Info Systems Device [1179:0002]
Well, since AntiX is based on Debian. Lets see if my Debian search skill is any good.
From 2007

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.spinics.net/lists/linmodem/msg00751.html"
linktext was:"http://www.spinics.net/lists/linmodem/msg00751.html"
====================================


I know you said Martian is useless for your purposes but I am throwing this in here anyways for info purposes
for other members and readers of this thread.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.debian.org/martian_dev"
linktext was:"https://wiki.debian.org/martian_dev"
====================================


With a bikers mentality and thinking cap on. Maybe ndiswrapper type of install may be the trail to travel to get
to a destination on this thread and use the Windows driver instead.

Did you think of that? I say this because everything on the net on this is ancient thread/posts on this stuff.
Posts: 20
burak
Joined: 21 Aug 2014
#5
Network card not detected because I removed it. It is in a big extension and I did not carry it to my desktop.
Normally it works without any problems.

I honestly could not understand much from the link. What does actually say?

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.spinics.net/lists/linmodem/msg00751.html"
linktext was:"http://www.spinics.net/lists/linmodem/msg00751.html"
====================================


Regarding this link,

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.debian.org/martian_dev"
linktext was:"https://wiki.debian.org/martian_dev"
====================================

I used it to install martian_dev, it should state faxing is not supported in martian , it is stated in the source but I noticed it much later.
m-a a-i martian-modem command is not enough to install it.
The m-a does not compile it for some reason. In the end, I had to manually goto source dir and do"make""make -install" after that martian modem is recognized by kernel...

Thanks,
Burak
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#6
I honestly could not understand much from the link. What does actually say?
It is a attempt to do exactly what this thread is about. It is up to you to understand that link
because I do not have your hardware to test this on. Sorry. Since it does not help. There are more responses in that thread also to read.

What about ndiswrapper? Seems safer? No?

What about installing kernel 2.4.27-2-386 in AntiX and using dpkg -i to install what you need then.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://archive.debian.org/debian-archive/debian/pool/main/k/kernel-image-2.4.27-i386/kernel-image-2.4.27-i386_2.4.27-8.dsc"
linktext was:"http://archive.debian.org/debian-archiv ... 4.27-8.dsc"
====================================


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://archive.debian.net/sarge/kernel-image-2.4.27-2-386"
linktext was:"http://archive.debian.net/sarge/kernel- ... 4.27-2-386"
====================================


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://archive.debian.net/sarge/kernel-headers-2.4.27-2-386"
linktext was:"http://archive.debian.net/sarge/kernel- ... 4.27-2-386"
====================================


Then

Code: Select all

update-grub
in root terminal.

This is all poke and hope for me. I poke and hope on a regular basis though.
I also break my installs on a regular basis experimenting with poke and hope.

if it does not boot or work. Boot into good kernel and uninstall I guess.
__{{emoticon}}__
Posts: 20
burak
Joined: 21 Aug 2014
#7
Regarding ndiswrapper ;

In DSL linux there are 3 files in the kernel / misc folder. I guess maybe the attached ndiswrapper might be used for the modem. How can I find out what for the ndiswrapper is used for?
I could not attach the *.o files now.
Here is a link to download them. 3 files in a zip file. Maybe you can find out more about this ndiswrapper.o


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://s000.tinyupload.com/index.php?file_id=29002818423137955273"
linktext was:"http://s000.tinyupload.com/index.php?fi ... 3137955273"
====================================
Posts: 20
burak
Joined: 21 Aug 2014
#8
Regarding installing linux kernel.
Here is what I got. I removed some of messages those not important and I guess blocking me from posting this message, getting a 403 all the time.

Code: Select all

dpkg -i kernel-image-2.4.27-2-386_2.4.27-10sarge1_i386.deb
Selecting previously unselected package kernel-image-2.4.27-2-386.
(Reading database ... 106646 files and directories currently installed.)
Unpacking kernel-image-2.4.27-2-386 (from kernel-image-2.4.27-2-386_2.4.27-10sarge1_i386.deb) ...

You are attempting to install an initrd kernel image (version 2.4.27-2-386) but you do not seem to have a mkinitrd command in the path. This will break the installation, unless initrd-tools are also being installed right now.

Could not find mkinitrd in path. at /var/lib/dpkg/tmp.ci/preinst line 190.

You are attempting to install an initrd kernel image (version 2.4.27-2-386)
This will not work unless you have configured your boot loader to use initrd. (An initrd image is a kernel image that expects to use an INITial Ram Disk to mount a minimal root file system into RAM and use that for booting).

Do you want to stop now? [Y/n]
Ok, Aborting

Errors were encountered while processing:
kernel-image-2.4.27-2-386_2.4.27-10sarge1_i386.deb

Code: Select all

apt-get install initrd-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package initrd-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'initrd-tools' has no installation candidate
--------

The problem seems linux kernel is too old. I can add to the grub menu.lst manually kernel but there is no initrd to be made ready without initrd-tools.

What package I can install instead of initrd-tools ?

Burak
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#9
Forget the kernel. It will be a bust. The forbidden error was caused by posting / in front of etc. It is a known forum bug.
ndiswrapper is in AntiX and is used to install Windows drivers into AntiX. I only used it once for

post16931.html#p16931
Posts: 20
burak
Joined: 21 Aug 2014
#10
Ndiswapper -l shows nothing therefore DSL linux does not use it to detect the modem.
Well I will give it a try anyway. Maybe windows driver can be helpful...

Other than ndiswrapper;
Since kernel is out of the way.

Is there anyway to find a workaround to compile and use the old ltmodem drivers in the current antix kernel?
Or
is there anyway to use the binary precompiled ltmodem drivers in the current antix kernel?

Does a driver in linux works on the kernel for it is compiled for?

Thanks,
Burak
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#11
Burak, I am out of ideas bro.
Someone else needs to weigh in on this that is better than me on AntiX.
Sorry.
Posts: 20
burak
Joined: 21 Aug 2014

02 Sep 2014, 12:45 #12

Ok thanks for the effort.

By the way I found newer drivers here. For kernel 2.6 maybe can downgrade to a 2.6 kernel and apply these will give it a try.

By the way what the ALK means in the file names in link below ? Got any idea?


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/"
linktext was:"http://linmodems.technion.ac.il/package ... ernel-2.6/"
====================================
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#13
By the way what the ALK means in the file names in link below ? Got any idea?
No. I downloaded and extracted a a;k.bz2 to read the text files. Nothing mentioned about alk.

There are some Ubuntu debs there also.
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997,
* 1998, 1999 Theodore Ts'o
*
* Extensively rewritten by Theodore Ts'o, 8/16/92 -- 9/14/92. Now
* much more extensible to support other serial cards based on the
* 16450/16550A UART's. Added support for the AST FourPort and the
* Accent Async board.
Pretty old Torvalds mention.
README for 2.6 kernel series port
of Lucent/Agere linmodem driver.

1. Requirements

- Linux kernel 2.6.x (up to 2.6.6 tested at the moment of writing)
- serial_core enabled in kernel configuration
(Device Drivers/Character Devices/Serial Drivers/"8250/16550..."
in menuconfig to"Yes" or"Module")
(most vendor supplied kernels enable this)
- See chapter 4 for state of SMP support

2. HOWTO build

You may need to create /dev/ttyLT0 if you haven't used 2.4 version
of driver. Just do:
a. mknod --mode=0640 /dev/ttyLT0 c 62 64
b. Change owner and group owner to match /dev/ttyS0
(Debian users: set group to dialout)
c. Create symlink /dev/modem to it ('ln -s /dev/ttyLT0 /dev/modem')

Edit KERNEL_DIR variable in Makefile to reflect your 2.6 kernel dir.
Then just run make. You will get ltmodem.ko & ltserial.ko.
Copy them to /lib/modules/`uname -r`/other/ dir and
run depmod -a.

Edit your modprobe.conf to load ltserial (not lt_serial)
for /dev/ttyLT0.

My modprobe.conf contains following lines:
alias /dev/modem ltserial
alias char-major-62 ltserial
alias /dev/tts/LT0 ltserial

3. Report any problems to alk@tut.by

4. State of SMP support

8.31 core which is supposed to support SMP does not work on my system,
so default core is old one. I have also included 8.31 core which
seems to work on some systems.

This version of ltmodem driver uses binary core
from ltmodem 8.31 distribution, and has same level of SMP support
as 8.31. BUT, I think it's SMP support is broken.

Please, report SMP success/fail reports to me (alk@tut.by).

But the readme shows alk email address so probably best guess is a persons initials on the file.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#14
Just another idea. Maybe try out a older AntiX version.

Older kernels in those.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://mirror.internode.on.net/pub/mepis/antix/old/"
linktext was:"http://mirror.internode.on.net/pub/mepis/antix/old/"
====================================
Posts: 20
burak
Joined: 21 Aug 2014
#15
Thank you rokytnji thank you for the link to older antix.

I used 7.5 iso and after hours of fighting finally I got the modem and the hylafax to work.
Success at last !!!

I just want to add here for anyone who wants to install packages with version 7.5 , edit apt sources.list file and add # to all the deb packages repos other than first one and change the stable to oldstable.
After that you can apt-get update and install anything you want.

Thank you rokytnji for the help.