A simple modem driver compilation !!Forum: Networking Topic: A simple modem driver compilation !! started by: kuhndera Posted by kuhndera on Sep. 16 2006,20:19
Hello DSL,I found the information about my winmodem Cirrus/Ambient/Intel MD5620 on < http://linmodems.technion.ac.il/resources.html#intel > and I want install on DSL, but I need compile on kernel 2.4.26!! I have recently downloaded one from: < http://distro.ibiblio.org/pub/linux/distributions/damnsmall/current/ > dsl-3.0.1.iso and < http://distro.ibiblio.org/pub....ces-2.1 > linux-2.4.31.tar.gz? knoppix-kernel.patch dsl.config Where I found the 2.4.26 source? What I need to use my old modem with DSL? Have a how to about kernel compilation here? DSL found my winmodem: lspci 0000:00:09.0 Communication controller: Cirrus Logic: Unknown device 4000 cat /proc/pci Bus 0, device 9, function 0: Communication controller PCI device 1013:4000 (Cirrus Logic) (Rev 0) IRQ 11 Non-prefetchable 32 bit memory at 0xed800000 [0xed800ff] I/O at 0xb0ff] I found this messages and I am very confused now < http://damnsmalllinux.org/cgi-bin....=2.4.26 > < http://damnsmalllinux.org/cgi-bin....emaster > < http://damnsmalllinux.org/cgi-bin....emaster > < http://damnsmalllinux.org/cgi-bin....;st=290 > Damn Small Linux is the best!!! My dream is using Internet with DSL I've a dream to use Internet with DSL. I pay for this information. U$ 7. Can you help me? Thank you Posted by u2musicmike on Sep. 16 2006,21:50
The link that I posted is only for adding mydsl files to a .iso file before burning to a CD. I have downloaded lots of mydsl files and DSL is so small that I hate wasting all of the extra space on a CD.It sounds like what you are trying to do is complie some drivers. I haven't done much of this and I gave up on my winmodem that used a rockwell chip set. I have compiled some programs and what I did was download: gcc.dsl clibs.dsl kernel sources.dsl I may not have the names exactly right and meo's post may have more up to date names. Anyway insatall the above packages and then type make in the directory were you saved your program code. Posted by kuhndera on Sep. 20 2006,04:05
OK I can , but this winmodem have experimental drivers (alpha)I tried absolutely everything with this driver - nothing worked bash-2.05b# make Ld -m elf_8386 -r -o clm.o clm_dspdrv clm_modem.o clmodem.o bash-2.05b# mknod /dev/clm c 121 0 bash-2.05b# /sbin/insmod clm.o bash-2.05b# ln -s /dev/clm /dev/modem bash-2.05b# dmesg CL-MD5620DT modem found OK I hear the modem open port, but the modem don't dialing Sep 19 08:47:35 box syslog.info syslogd started: BusyBox v1.00 (2006.01.04-23:00+0000) Sep 19 08:47:35 box authpriv.notice sudo: root : TTY=pts/0 ; PWD=/ramdisk/tmp ; USER=root ; COMMAND=/usr/bin/tail -f /var/log/messages Sep 19 08:47:36 box local2.notice pppd[1076]: pppd 2.4.1 started by root, uid 0 Sep 19 08:47:38 box local2.info chat[1079]: abort on (BUSY) Sep 19 08:47:38 box local2.info chat[1079]: abort on (NO CARRIER) Sep 19 08:47:38 box local2.info chat[1079]: abort on (VOICE) Sep 19 08:47:38 box local2.info chat[1079]: abort on (NO DIALTONE) Sep 19 08:47:38 box local2.info chat[1079]: abort on (NO DIAL TONE) Sep 19 08:47:38 box local2.info chat[1079]: abort on (NO ANSWER) Sep 19 08:47:38 box local2.info chat[1079]: abort on (DELAYED) Sep 19 08:47:38 box local2.info chat[1079]: send (ATZ^M) Sep 19 08:47:39 box local2.info chat[1079]: expect (OK) Sep 19 08:47:39 box local2.info chat[1079]: OK Sep 19 08:47:39 box local2.info chat[1079]: -- got it Sep 19 08:47:39 box local2.info chat[1079]: send (ATDT66014333^M) Sep 19 08:47:51 box local2.info chat[1079]: expect (CONNECT) Sep 19 08:47:51 box local2.info chat[1079]: ^M Sep 19 08:47:51 box local2.info chat[1079]: NO ANSWER Sep 19 08:47:51 box local2.info chat[1079]: -- failed Sep 19 08:47:51 box local2.info chat[1079]: Failed (NO ANSWER) Sep 19 08:47:51 box local2.err pppd[1076]: Connect script failed Sep 19 08:47:53 box local2.info pppd[1076]: Exit. I need a new dial-up modem Can you help me? Send me it ty Posted by u2musicmike on Sep. 20 2006,16:03
Sorry I'm not much help on this. I was reading this link:< http://linmodems.technion.ac.il/compiling.html > It is from your link about compiling and it says code for drivers may contain some proprietary binaries to compile with the source. That binary may need something that most linuxes has so you might try installing gnu-utils.dsl. I wish they had something like ndiswrapper for modems because wifi works good with dsl without compiling stuff. |