Re: About problems with 64 bits drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Garry,

Most of the COMM functionality resides in slmodemd helper utility.
Its code package has a precompiled component, done with a 32 bit compiler.
This is why the modem can only function in 32 bit mode.

With Conexant now owing the former Smartlink modem sector, there is no
hope that they will provide a 64bit component, in competition with
their own modems.

MarvS
scanModem maintainer

On 7/23/07, Jacques Goldberg <Jacques.Goldberg@xxxxxxx> wrote:


Garry S wrote:
> Hi Jacques,
>
> I am also part of the 64bit problem.

> I will attach my Modemdata.txt file and if you are not the person to
> help with it could you please fwd it to who ever is.
>
> Thanks in advance.
>
> Garry S

Gary,
I attach your ModemData.txt here so that people reading
discuss@xxxxxxxxxxxxx can follow the thread with the file handy.

1-The 64 bit problem: as far as I know the snd-intel8x0m driver which
you have to use works only if your 64 bits processor is set to run on 32
bits mode, but I may be wrong.

2-Making the modem work in 32 bits mode.
As shown in ModemData.txt:

  Download from http://linmodems.technion.ac.il/packages/smartlink/
  the package SLMODEMD.gcc4.0.tar.gz having a compiled slmodemd. Unpack
under Linux with:
        $ tar zxf SLMODEMD.gcc4.0.tar.gz
  and read instructions therein. But briefly, the modem is setup with
command:
        sudo slmodemd -c YOUR_COUNTRY --alsa modem:1
  reporting dynamic creation of ports:
        /dev/ttySL0 --> /dev/pts/N   , with N some number

Once you have done that, use
sudo wvdialconf /etc/wvdial.conf    to create the modem configuration
file /etc/wvdial.conf
Edit that file by:
-removing the ; (semi colon) starting the three lines intended to store
the phone number, your username, and your password, given to you by your
ISP.
- replacing "phone number" by the phone number etc....
- removing < and > used as a container to guide you in editing the file.
All this is a one-time job as long as you use the same ISP.

Finally use command    sudo wvdial  and let it run, not trying to  use
the window where it runs for any other purpose, until the moment you
want to close the connection.

Jacques

 Only plain text email is forwarded by the  DISCUSS@xxxxxxxxxxxxx List Server.
 Do use the following as the email Subject Line:
           SomeName, YourCountry Ubuntu 6.06.1 LTS  kernel 2.6.15-28-amd64-generic
 This will alert cogent experts, and  distinguish cases in the Archives.
 YourCountry will enable Country Code guidance.
 Occassionally responses are blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org .
 Local Linux experts can be found through: http://www.linux.org/groups/index.html
--------------------------  System information ----------------------------
CPU=x86_64,  Ubuntu 6.06.1 LTS
Linux version 2.6.15-28-amd64-generic (buildd@king) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 SMP PREEMPT Tue Mar 13 20:51:52 UTC 2007
 scanModem update of:  2007_July_16


ALSAversion 1.0.10
USB modem not detected by lsusb

Modem or host audio card candidates have firmware information:

 PCI slot       PCI ID          SubsystemID     Name
 ----------     ---------       ---------       --------------
 0000:00:02.6   1039:7013       1025:0083       Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller

 Modem interrupt assignment and sharing:
177:       2099   IO-APIC-level  SiS SI7012, SiS SI7013 Modem

 --- Bootup diagnostics for card in PCI slot 0000:00:02.6 ----
[   12.477182] ACPI: PCI Interrupt 0000:00:02.6[C] -> GSI 18 (level, low) -> IRQ 177
[   12.477191] ACPI: PCI interrupt for device 0000:00:02.6 disabled
[  725.679986] ACPI: PCI Interrupt 0000:00:02.6[C] -> GSI 18 (level, low) -> IRQ 177
[  735.711096] ACPI: PCI interrupt for device 0000:00:02.6 disabled
[  738.064673] ACPI: PCI Interrupt 0000:00:02.6[C] -> GSI 18 (level, low) -> IRQ 177

 The PCI slot 0000:00:02.6 of the modem card may be disabled early in
 a bootup process,  but then enabled later. If modem drivers load
 but the  modem is not responsive, read Bootup.txt about possible fixes.
 Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
 if help is needed.


 === Finished modem firmware and bootup diagnostics section. ===
 === Next deducing cogent software ===

 For candidate modem in PCI bus:  0000:00:02.6
   Class 0703: 1039:7013 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller
      Primary PCI_id  1039:7013
    Subsystem PCI_id  1025:0083
    Softmodem codec or Vendor from diagnostics: SIL2f
                              from    Archives: SIL2f


 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:  snd-intel8x0m
 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.0.tar.gz having a compiled slmodemd. Unpack under Linux with:
        $ tar zxf SLMODEMD.gcc4.0.tar.gz
 and read instructions therein. But briefly, the modem is setup with command:
        sudo slmodemd -c YOUR_COUNTRY --alsa modem:1
 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.

 Already loaded into the kernel is snd-intel8x0m and audio drivers it depends on,
 displayed by:  lsmod | grep snd_intel8x0m
Module                  Size  Used by
-------------------------------------
snd_intel8x0m          20884  0
snd_ac97_codec        110396  2 snd_intel8x0m,snd_intel8x0
snd_pcm               104584  4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd                    68576  9 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         13968  3 snd_intel8x0m,snd_intel8x0,snd_pcm


The diagnostic outputs for this softmodem section have their raw information in
folders and text files under /proc/asound/ which you can browse. The information
is from files:
        /proc/asound/pcm
-------------------------------
00-00: Intel ICH : SiS SI7012 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : SiS SI7012 - MIC ADC : capture 1
01-00: Intel ICH - Modem : SiS SI7013 Modem - Modem : playback 1 : capture 1

        /proc/asound/modules
-------------------------------
0 snd_intel8x0
1 snd_intel8x0m
        /proc/asound/card1/codec97#0/mc97#1-1+regs
-------------------------------
0:7c = 5349  and  0:7e = 4c2f
which were translated from hexadecimal code into:  SIL2f

        /proc/asound/card1/codec97#0/mc97#1-1
-------------------------------
Extended modem ID: codec=1 LIN1

and from the command:
        aplay -l | grep -i modem
card 1: Modem [SiS SI7013 Modem], device 0: Intel ICH - Modem [SiS SI7013 Modem - Modem]

----------------end Softmodem section --------------
Writing Smartlink.txt
============ end Smartlink section =====================

 Completed candidate modem analyses.

 The base of the UDEV device file system is: /dev/.udev

 The kernel was compiled with gcc version 4.0.3 and a compiler is not installed


If compiling a modem driver proves to be necessary, one of the two procedures must be followed.
If not yet on the Internet, put the Dapper install CD in the drive
Open a terminal and therein:
$ sudo apt-get install  gcc-4.0  make
Additionally the package linux-headers-2.6.15-28-amd64-generic must be downloaded.
Go to http://packages.ubuntu.com/  and search for linux-headers-2.6.15-28-amd64-generic
After downloading, it can be installed with:
$ sudo dpkg -i linux-header*.deb

Or alternatively if online through Ethernet do:
$ sudo apt-get update
$ sudo apt-get install build-essential
will do all the necessary installations mentioned above.

In either installation case, set a symbolic link which will be expected later:
$ sudo ln -s /usr/bin/gcc-4.0  /usr/bin/gcc
After check with:
$ ls -l /usr/bin/gcc*
which should display:
lrwxrwxrwx 1 root root    16 2006-07-09 21:53 /usr/bin/gcc -> /usr/bin/gcc-4.0
-rwxr-xr-x 1 root root 93584 2006-04-20 18:22 /usr/bin/gcc-4.0
-rwxr-xr-x 1 root root 16245 2006-04-20 18:13 /usr/bin/gccbug-4.0

 Kernel-header resources needed for compiling are not manifestly ready!

 If compiling is necessary packages must be installed, providing:
        gcc-4.0 make linux-headers-2.6.15-28-amd64-generic


Checking pppd properties:
        -rwsr-xr-- 1 root dip 306720 2006-07-05 15:52 /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)
        sudo chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
        sudo 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
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:
slmodemd created symbolic link /dev/ttySL0:
     Within /etc/udev/ files:
/etc/udev/rules.d/60-symlinks.rules:# Create /dev/modem symlink
/etc/udev/rules.d/60-symlinks.rules:KERNEL=="ttyLTM[0-9]*",                     SYMLINK+="modem"
     Within /etc/modprobe.conf files:
/etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
/etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------




[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux