MandrakeUser.Org - Your Mandrake-Linux Knowledge Base!


 
 

*DocIndex - Hardware

Hardware Titbits IV

* Linksys LNE100TX
* Lucent WinModem
* Adaptec 1542 On Mandrake Linux 8.1

Related Resources:

Linmodems
Linux on Laptops

Modified: Oct. 29, 2001
Author: Tom Berger

 

'Hardware Titbits' collects instructions on how to set up hardware devices which haven't been detected or configured by Mandrake Linux.
You are welcome to contribute a titbit, too!

* Linksys LNE100TX

(Contributed by Robert Brooks, edited)

"So, the first oddity was that the Netgear card was recognized on install but the Linksys wasn't. A little digging on the net (linuxnewbie.org in this case) revealed the need to update to the latest tulip driver from scyld.com. Since I had selected "server" on the install and had to scrimp on disk space, loading up the gcc, make, and kernel-headers RPMs was required, as well as the scyld.com package. This all went smoothly. The scyld.com netdrivers-2.0 package is a module source package that needs to be compiled for one's specific kernel. The only compile error involved errno.h missing from include/; it was only in lower directories. A quick hardlink and problem solved.

"Upon installing the modules, though, I got Unresolved Symbols. After much messing around, a modprobe command yielded a message that the module had been compiled for a different kernel. I ran across a post on the scyld site about compiling for an SMP system.
I learned that kernel variations are from the same source code but need differing flags defined, __SMP__ in their case. I was running mdk-secure. So, I went into the RPMS/BUILD/netdrivers* directory, added-D __SECURE__ to the compile opts line in the Makefile, and compiled again. Copied and installed the .o's, and success!"

* section index * top

* Lucent Winmodem

(Contributed by pete, edited)

I just got my Toshiba Tecra 8000 laptop's Lucent WinModem working under Linux Mandrake 7.2 w/ kernel 2.2.17-21mdk. (The kernel-sources package needs to be installed.)

Steps to reproduce for a working modem:

  1. Get 'linux568.zip' from Linmodems

  2. Make modification to '/usr/src/linux/include/tty.h' as described at this ltmodem page.

  3. Link (ln -sf [source] [target]) 'version.h' to 'version-up.h' (for uniprocessor kernel)

  4. In '/usr/src/linux', type make menuconfig (defaults should be fine, exit and save)

  5. Type make depend && make clean && make bzImage && make modules && make modules_install && cp arch/i386/boot/bzImage /boot/bvmlinux-new

    (Note: If you can't make head or tails of this, have a look at the Kernel Upgrade pages)

  6. Arrange for GRUB to load the new kernel. (See the GRUB page)

  7. Unzip 'linux568.zip', and type cp ltmodem.o /lib/modules/2.2.17-21mdk/misc

  8. The important part for this particular laptop:

    put the line insmod -f ltmodem at the top of '/etc/rc.d/rc.sysinit'

    When it's put in '/etc/rc.d/rc.local' therefore loaded after the network drivers, the machine hangs for a bit and whenever dialing, yields "NO DIALTONE". Apparently this is due to IRQ conflicts relating to the modem getting IRQ 11, instead of IRQ3. When insmod -f ltmodem is in 'rc.sysinit', everything works fine right off the bat.

* section index * top

* Adaptec 1542 On Mandrake Linux 8.1

Mandrake Linux user Paul Tammes writes:

"Having fooled around for over 2 hours before finally getting it right, this little tip may save you some time:

  1. Get the I/O adress (found that value by pressing CTRL-A shortly after boot.

  2. Insert Mandrake CD 1 in a bootable ATAPI CD drive (lend one from my 2nd computer temporarily for installation purposes on the antique machine myself).

  3. Boot up from CD Drive and use the correct bootparameters.
    Example: if your card uses i/o port = 230h, you have to enter:
    expert aha1542=0x230,11,4,5
    at the linux boot prompt.
    TIP: Do not forget the 'x'! (If you only type '230' or '0230', the whole adapter will NOT be detected ... )

  4. Then in order to install to a SCSI HD you have to answer 'yes' on the 'Do you have a scsi adapter?' question that the Mandrake Linux installer comes up with, and select the 'aha1542.o' scsi module from the popup listing. All downhill from here ;-)."

* section index * top

 
Legal: All texts on this site are covered by the GNU Free Documentation License. Standard disclaimers of warranty apply. Copyright LSTB (Tom Berger) and Mandrakesoft 1999-2002.