Hi: I am the (otherwise happy) owner of a HP Pavilion DV9000 Entertainment laptop, with an Intel Core2 duo x86-64 processor, and I would like to know if there is a way to compile the sm56.ko module for x86-64 under a recent Linux kernel (2.6.23), so as to get the integrated Data/Fax modem (Motorola SM56) work. As far as I understand, the last binary blob was released 3 or 4 years ago by Motorola, but only in 32 bits. Is there a way to convert to 64 bit ? (I tried with objcopy, but this did not succeed yet) Is there a way to get the slmodem package work on this, also with a 64 bit kernel ? (I tried with ndiswrapper as well - it does not complain but the modem remains inactive...) Thanks ! Jean-Pierre Demailly Encl: ModemData.txt
Only plain text email is forwarded by the Discuss@xxxxxxxxxxxxx List Server, as HTML can contain viruses. Use as the email Subject Line: YourName, YourCountry Debian GNU/Linux lenny/sid kernel 2.6.23.12-slh64-smp-2 With this Subject Line cogent experts will be alerted, and useful case names left in the Archive. YourCountry will enable Country specific guidance. Your contry's local Linux experts can be found through: http://www.linux.org/groups/index.html Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an Internet Provider mail filters. So in a day, also check the Archived responses at http://www.linmodems.org -------------------------- System information ---------------------------- CPU=x86_64, Debian GNU/Linux lenny/sid Linux version 2.6.23.12-slh64-smp-2 (slh@xxxxxxxxxxxxx) (gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)) #1 SMP PREEMPT Sun Dec 23 12:57:14 UTC 2007 scanModem update of: 2008_11_01 The modem symbolic link is /dev/modem -> slamr0 There are no blacklisted modem drivers in /etc/modprobe* files USB modem not detected by lsusb For candidate card in slot 00:1b.0, firmware information and bootup diagnostics are: PCI slot PCI ID SubsystemID Name ---------- --------- --------- -------------- 00:1b.0 8086:284b 103c:30cc Audio device: Intel Corporation 82801H Modem interrupt assignment and sharing: 22: 58 133 IO-APIC-fasteoi HDA Intel --- Bootup diagnostics for card in PCI slot 00:1b.0 ---- ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22 PCI: Setting latency timer of device 0000:00:1b.0 to 64 === Finished modem firmware and bootup diagnostics section. === === Next deducing cogent software === For candidate modem in PCI bus: 00:1b.0 Class 0403: 8086:284b Audio device: Intel Corporation 82801H Primary PCI_id 8086:284b Subsystem PCI_id 103c:30cc Softmodem codec or chipset from diagnostics: from Archives: 10573055 Lacking a dsp (digital signal processing) chip, the modem is a software intensive or "softmodem" type. Its primary controller manages the traffic with the CPU. But the software needed is specified in the Subsystem. ----------------------------------------- Support type needed or chipset: slmodemd An ALSA (Advanced Linux Sound Architecture) modem driver: provides Low Level support enabling contact with the modem hardware. For all BUT Conexant chip soft modems (using hsfmodem software) complementary High Level support is through a Smartlink utility: slmodemd Download from http://linmodems.technion.ac.il/packages/smartlink/ the package SLMODEMD.gcc4.2.tar.gz having a compiled slmodemd. Unpack under Linux with: $ tar zxf SLMODEMD.gcc4.2.tar.gz and read instructions therein. But briefly, the modem is setup with command: slmodemd -c YOUR_COUNTRY --alsa hw:0,1_or_hw:0,6 reporting dynamic creation of ports: /dev/ttySL0 --> /dev/pts/N , with N some number Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance. ----------------end Softmodem section -------------- Writing Intel.txt Writing Smartlink.txt ============ end Smartlink section ===================== Completed candidate modem analyses. The base of the UDEV device file system is: /dev/.udev Versions adequately match for the compiler installed: 4.2.3 and the compiler used in kernel assembly: 4.2.3 Minimal compiling resources appear complete: make utility - /usr/bin/make Compiler version 4.2 linuc_headers base folder /lib/modules/2.6.23.12-slh64-smp-2/build However some compilations and executable functions may need additional files, in the FileNames.h (so called kernel "h"eaders) collection installed in /usr/include/ . For martian_modem, additional required packages are libc6-dev (and for Debian/Ubuntu, linux-libc-dev). The also required headers of package libc6 are commonly installed by default. For Debian and some related distributions, a package kernel-kbuild-2.6-23 may be needed to support driver compiling If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev and any of its dependents, under Ubuntu linux-libc-dev If an alternate ethernet connection is available, $ apt-get update $ apt-get -s install linux-kernel-devel will install needed package For Debian/Ubuntu related distributions, run the following command to display the needed package list: Otherwise packages have to be found through http://packages.ubuntu.com Once downloaded and transferred into a Linux partition, they can be installed alltogether with: $ sudo dpkg -i *.deb Checking pppd properties: -rwsr-xr-- 1 root dip 294016 2007-04-14 03:22 /usr/sbin/pppd In case of an "error 17" "serial loopback" problem, see: http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html To enable dialout without Root permission do: $ su - root (not for Ubuntu) chmod a+x /usr/sbin/pppd or under Ubuntu related Linuxes chmod a+x /usr/sbin/pppd Checking settings of: /etc/ppp/options asyncmap 0 auth crtscts lock hide-password modem proxyarp lcp-echo-interval 30 lcp-echo-failure 4 noipx In case of a message like: Warning: Could not modify /etc/ppp/pap-secrets: Permission denied see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html Read Modem/YourSystem.txt concerning other COMM channels: eth0 wlan0 wmaster0 Which can interfere with Browser naviagation. Don't worry about the following, it is for the experts should trouble shooting be necessary. ========================================================== Checking for modem support lines: -------------------------------------- /device/modem symbolic link: lrwxrwxrwx 1 root root 6 2008-01-19 17:00 /dev/modem -> slamr0 slmodemd created symbolic link /dev/ttySL0: Within /etc/udev/ files: Within /etc/modprobe.conf files: /etc/modprobe.d/sl-modem-daemon.modutils:install slamr modprobe --ignore-install ungrab-winmodem ; modprobe --ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0) /etc/modprobe.d/alsa-base-blacklist:# Uncomment these entries in order to blacklist unwanted modem drivers /etc/modprobe.d/alsa-base-blacklist:# blacklist snd-atiixp-modem /etc/modprobe.d/alsa-base-blacklist:# blacklist snd-via82xx-modem /etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2 /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2 Within any ancient /etc/devfs files: Within ancient kernel 2.4.n /etc/module.conf files: --------- end modem support lines --------