LS, UK Ubuntu 7.04 amd64 kernel 2.6.20-16-generic

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

 



Hi

I've been trying to get my modem working on Ubuntu Feisty *amd64* 7.04. Here's comprehensively everything I've done.

user@home:~$ lspci | grep odem
00:14.6 Modem: ATI Technologies Inc ATI SB400 - AC'97 Modem Controller (rev 02)

I read somewhere on the internet I'd need to use the smart link drivers, which were available here:
http://linmodems.technion.ac.il/packages/smartlink/

I did try some precompiled .debs from my distro's repository (which were named sl-modem-source and sl-modem-daemon) but they were outdated and anyway just would not work.

Going to the above link, I noticed an 'Ubuntu' directory, and downloaded and tried the precompiled:
slamr-2.6.20-16-generic.tar.gz

(my kernel being:  uname -r
2.6.20-16-generic  )

However, I got the following error output when I tried to run ./setup in slamr:

================================================
Installing the Debian packages supporting autoloading
dpkg: error processing sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5build1_i386.deb (--install):
package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5build1_i386.deb

Copying over newer files
cp: cannot stat `sl-modem-daemon.modutils': No such file or directory
Making folder /lib/modules/2.6.20-16-generic/extra
Copying drivers to /lib/modules/2.6.20-16-generic/extra
Checking driver install
slamr.ko  slusb.ko  ungrab-winmodem.ko
Finished installs.
Informing the System

Starting function tests, loading drivers:
FATAL: Error inserting ungrab_winmodem (/lib/modules/2.6.20-16-generic/extra/ungrab-winmodem.ko): Invalid module format FATAL: Error inserting ungrab_winmodem (/lib/modules/2.6.20-16-generic/extra/ungrab-winmodem.ko): Invalid module format FATAL: Error inserting slamr (/lib/modules/2.6.20-16-generic/extra/slamr.ko): Invalid module format
Running diagnostic:


ports should be created by:
slmodemd -c UK /dev/slamr0
error: mdm setup: cannot open dev `/dev/slamr0': No such device or address
error: cannot setup device `/dev/slamr0'
Checking for success
Running wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3
WvModem<*1>: Cannot get information for serial port.
ttySL0<*1>: ATQ0 V1 E1 -- OK
ttySL0<*1>: ATQ0 V1 E1 Z -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem
ttySL0<*1>: Speed 4800: AT -- OK
ttySL0<*1>: Speed 9600: AT -- OK
ttySL0<*1>: Speed 19200: AT -- OK
ttySL0<*1>: Speed 38400: AT -- OK
ttySL0<*1>: Speed 57600: AT -- OK
ttySL0<*1>: Speed 115200: AT -- OK
ttySL0<*1>: Speed 230400: AT -- OK
ttySL0<*1>: Speed 460800: AT -- OK
ttySL0<*1>: Max speed is 460800; that should be safe.
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttySL0.
Modem configuration written to /etc/wvdial.conf.
ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
Modem detection successful
edit /etc/wvdial.conf  with:
sudo gedit /etc/wvdial.conf
at the lines beginning with ; and deleting the ;
Then dialout with:
       sudo wvdial
Running setup again is NOT necessary. Only for dialout the:
       sudo wvdial
Read the Slamr.txt record, other 1st_Read.txt CountryList.txt Smartlink.txt wvdial.txt files and the sample wvdial.conf.
================================================

(The first error I overcame by manually installing the .deb with dpkg -i --force-architecture, but I don't understand what has gone wrong after that: if Ubuntu installs "generic" kernels, should the fact that I'm running amd64 be a problem?)

I then tried to manually set up the modules myself by compiling slmodem-2.9.11-20070505 . I made the alterations specified here in order to get it working on my 64-bit system
http://linmodems.technion.ac.il/archive-fourth/msg02594.html

with the only exception being that I added " /usr/lib32/libasound.so " (note: lib32) to the list of slmodem dependencies as opposed to /usr/lib/libasound.so , as it appears that the 32-bit libasound.so library is installed into /usr/lib32 by the lib32asound2-dev .deb.

I then tried to make, but got this other error:

================================================
user@home:/usr/local/slmodem-2.9.11-20070505# sudo make SUPPORT_ALSA=1
make -C modem all
make[1]: Entering directory `/usr/local/slmodem-2.9.11-20070505/modem'
gcc -lasound -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o /usr/lib32/libasound.so
/usr/lib32/libasound.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [slmodemd] Error 1
make[1]: Leaving directory `/usr/local/slmodem-2.9.11-20070505/modem'
make: *** [modem] Error 2
================================================

***** Finally, here's my modemdata.txt: ********

================================================
Only plain text email is forwarded by the DISCUSS@xxxxxxxxxxxxx List Server.
Do use the following as the email Subject Line:
          SomeName, YourCountry Ubuntu 7.04  kernel 2.6.20-16-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 7.04
Linux version 2.6.20-16-generic (root@king) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Thu Jun 7 19:00:28 UTC 2007
scanModem update of:  2007_June_19
The modem symbolic link is /dev/modem -> ttySL0
The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/8

ALSAversion 1.0.13
USB modem not detected by lsusb

Modem or host audio card candidates have firmware information:

PCI slot	PCI ID		SubsystemID	Name
----------	---------	---------	--------------
00:14.6 1002:4378 103c:30a4 Modem: ATI Technologies Inc ATI SB400 - AC'97 Modem Controller

Modem interrupt assignment and sharing:
17:     264702   IO-APIC-fasteoi   ATI IXP Modem, ATI IXP, fglrx

--- Bootup diagnositcs for card in PCI slot 00:14.6 ----
[ 11.870181] ACPI: PCI Interrupt 0000:00:14.6[B] -> GSI 17 (level, low) -> IRQ 17
[   11.870276] ACPI: PCI interrupt for device 0000:00:14.6 disabled
[ 43.127518] ACPI: PCI Interrupt 0000:00:14.6[B] -> GSI 17 (level, low) -> IRQ 17

The PCI slot 00:14.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:  00:14.6

     Primary PCI_id
Support type needed or chipset:



scanModem could not identify the Support Type needed from diagnosics or archives.
	If an alternative boot into Microsoft windows can be done, do mouse
clicks on:
Start > Settings > Control Panel > Classical View (for Window XP) > System
Hardware > Device Manager > Modems > Click on the + > Modem. Double click to
expand the graphic. Manufacturer information may be displayed. For example, CXT stands for Conexant. Click the Diagnostics Tab. Record any hardware ID or vendor
and device information.
Next do the Query Modem and record the ATI specifications displayed such as:
   ATI3 - Agere SoftModem Version 2.1.22
   ATI5 - 2.1.22, AMR Intel MB, AC97 ID:SIL REV:0x27
Try to identify the modem setup file, with name perhaps MODEM.INF.
If may contain chipset Vendor informaton.


Freeware support may be available for a few Conexant chipset modems
with support confirmed only for the PCI_id chipset  14f1:2f00.
See  http://ubuntuforums.org/showthread.php?t=180632

Otherwise formal support for Conexant chipset modems are available ONLY through
http://www.linuxant.com/drivers.  Read Conexant.txt for details.
and Modem/YourSystem.txt for follow through guidance. Driver speed is limited to
14,400 until a key is purchased.  There is NO freeware alternative.
There are two support package types: hsfmodem  and hcflinmodem.
http://www.lorenzobettini.it/linux/LinuxSonyVaioVGN-S5VP_B reports a
problem and solution in stalling a key, after testing of the free low
speed download.

Read Conexant.txt

Writing Conexant.txt


Completed candidate modem analyses.

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

Versions adequately match for the compiler installed: 4.1.2
            and the compiler used in kernel assembly: 4.1.2

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

If compiling is necessary packages must be installed, providing:
	 linux-headers-2.6.20-16-generic
Compressed files at: /usr/src/kqemu.tar.bz2 /usr/src/ndiswrapper-source.tar.bz2 /usr/src/sl-modem-source.tar.bz2 /usr/src/sl-modem.tar.bz2


Checking pppd properties:
	-rwsr-xr-- 1 root dip 309504 2007-04-05 04:49 /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
noauth
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 eth1 eth1:avah
Which can interfere with Browser naviagation.

Don't worry about the following, it is for the experts
should trouble shooting be necessary.
==========================================================

# start/stop the daemon when the USB modem is connected
KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
Checking for modem support lines:
--------------------------------------
/device/modem symbolic link: lrwxrwxrwx 1 root root 6 2007-07-11 16:07 /dev/modem -> ttySL0 slmodemd created symbolic link /dev/ttySL0: lrwxrwxrwx 1 root root 10 2007-07-11 16:07 /dev/ttySL0 -> /dev/pts/8
    Within /etc/udev/ files:
/etc/udev/rules.d/030_sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected /etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon" /etc/udev/sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected /etc/udev/sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
    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/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
/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 --------

==============================================

Can anyone help me install this modem driver?

Thanks,
LS

_________________________________________________________________
Tell Hotmail about an email that changed your life! http://www.emailbritain.co.uk/


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

  Powered by Linux