ali5457 problem

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

 



Hello list,
I'm stuck for quite some time after trying out all the sl-modem
packages i could find, scanmodem says i can use slamr with sl-modem.

specifications:
xubuntu gutsy (updated)
kernel is: 2.6.22-14-generic
sl-modem-source from gutsy seems broken, so i used the following:
slmodem-2.9.11-20080126.tar.gz  ungrab-winmodem-20080126.tar.gz
from linmodems.
compiles fine with alsa support, starts fine:

/usr/sbin/slmodemd --alsa hw:0
error: mixer setup: Off-hook switch not found for card hw:0
SmartLink Soft Modem: version 2.9.11 Feb  6 2008 15:07:12
symbolic link `/dev/ttySL0' -> `/dev/pts/0' created.
modem `hw:0' created. TTY is `/dev/pts/0'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

i dial:

GNOME PPP: STDERR: WvDial<*1>: WvDial: Internet dialer version 1.56
GNOME PPP: STDERR: WvModem<*1>: Cannot get information for serial port.
GNOME PPP: STDERR: WvDial<*1>: Initializing modem.
GNOME PPP: STDERR: WvDial<*1>: Sending: ATZ
GNOME PPP: STDERR: WvDial Modem<*1>: ATZ
GNOME PPP: STDERR: WvDial Modem<*1>: OK
GNOME PPP: STDERR: WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
GNOME PPP: STDERR: WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
GNOME PPP: STDERR: WvDial Modem<*1>: OK
GNOME PPP: STDERR: WvDial<*1>: Modem initialized.
GNOME PPP: STDERR: WvDial<*1>: Sending: ATM1L3DT17003131
GNOME PPP: STDERR: WvDial<*1>: Waiting for carrier.
GNOME PPP: STDERR: WvDial Modem<*1>: ATM1L3DT17003131
GNOME PPP: STDERR: WvDial<Warn>: Timed out while dialing.  Trying again.
GNOME PPP: STDERR: WvDial<Warn>: Maximum Attempts Exceeded..Aborting!!
GNOME PPP: STDERR: WvDial<*1>: Disconnecting at Wed Feb  6 15:09:06 2008

seems to hang when composing, it doesn't dial anything, i tried with
wvdial as well and Carrier Check = no and Stupid mode = yes but it's
always the same

But i saw that i have this in dmesg when i modprobe slamr:
[22488.376000] slamr: SmartLink AMRMO modem.
[22488.384000] slamr: probe 10b9:5457 SL1800 card...
[22488.384000] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNK6] ->
GSI 9 (level, low) ->
IRQ 9
[22488.384000] PCI: Unable to reserve I/O region #2:100@1000 for
device 0000:00:03.0
[22488.384000] slamr: failed request regions.
[22488.384000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[22488.384000] slamr: probe of 0000:00:03.0 failed with error -16

i attached the scanmodem output, any help appreciated because i'm
really stuck.. i read in a text that slamr may work with some ALI5457
and not with others, but maybe you can help..

regards,
Kevin
 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  kernel 2.6.22-14-generic 
 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. 
They will know your Country's modem code, which may be essential for dialup service.
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=i686,  
Linux version 2.6.22-14-generic (buildd@terranova) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Tue Dec 18 08:02:57 UTC 2007
 scanModem update of:  2008_01_22
The modem symbolic link is /dev/modem -> ttySL0
The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/3

 There are no blacklisted modem drivers in /etc/modprobe*  files 

The Advanced Linux Sound Architecture (ALSA) packages providing audio support, 
also includes drivers for some modems. The ALSA diagnostics are written during 
bootup to /proc/asound/ folders.

 The /proc/asound/ audio+modem diagostics are being copied.
 Finished copy to Modem/ALSAroot.tgz

The ALSA verion is 1.0.14
The modem cards detected by "aplay -l"  are:


The /proc/asound/pcm file reports:
-----------------------
00-00: ALI 5451 : ALI 5451 : playback 32 : capture 1

about /proc/asound/cards:
------------------------
 0 [A5451          ]: ALI5451 - ALI 5451
                      ALI 5451 at 0x8400, irq 9

USB modem not detected by lsusb

For candidate card in slot 00:03.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:03.0	10b9:5457	104d:8175	Modem: ALi Corporation M5457 AC'97 Modem Controller

 Modem interrupt assignment and sharing: 
  9:     257891    XT-PIC-XT        acpi, ALI 5451
 --- Bootup diagnostics for card in PCI slot 00:03.0 ----
[   12.362279] PCI: Enabling device 0000:00:03.0 (0000 -> 0003)
[   12.362643] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNK6] -> GSI 9 (level, low) -> IRQ 9
[   12.368735] 0000:00:03.0: ttyS0 at I/O 0x1028 (irq = 9) is a 8250
[   12.372155] 0000:00:03.0: ttyS1 at I/O 0x1040 (irq = 9) is a 8250
[   12.374359] 0000:00:03.0: ttyS2 at I/O 0x1050 (irq = 9) is a 8250
[   12.376630] 0000:00:03.0: ttyS3 at I/O 0x1060 (irq = 9) is a 8250
[   12.377357] Couldn't register serial port 0000:00:03.0: -28
[   23.104000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[   23.408000] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNK6] -> GSI 9 (level, low) -> IRQ 9
[   23.408000] PCI: Setting latency timer of device 0000:00:03.0 to 64
[   25.580000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[ 5158.356000] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNK6] -> GSI 9 (level, low) -> IRQ 9
[ 5158.356000] PCI: Unable to reserve I/O region #2:100@1000 for device 0000:00:03.0
[ 5158.356000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[ 5158.356000] slamr: probe of 0000:00:03.0 failed with error -16
[ 5418.480000] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNK6] -> GSI 9 (level, low) -> IRQ 9
[ 5418.480000] PCI: Unable to reserve I/O region #2:100@1000 for device 0000:00:03.0
[ 5418.484000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[ 5418.484000] slamr: probe of 0000:00:03.0 failed with error -16
[ 5553.564000] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNK6] -> GSI 9 (level, low) -> IRQ 9
[ 5553.564000] PCI: Unable to reserve I/O region #2:100@1000 for device 0000:00:03.0
[ 5553.564000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[ 5553.568000] slamr: probe of 0000:00:03.0 failed with error -16
[ 5557.404000] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNK6] -> GSI 9 (level, low) -> IRQ 9
[ 5557.404000] PCI: Unable to reserve I/O region #2:100@1000 for device 0000:00:03.0
[ 5557.408000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[ 5557.408000] slamr: probe of 0000:00:03.0 failed with error -16
[ 5783.576000] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNK6] -> GSI 9 (level, low) -> IRQ 9
[ 5783.580000] PCI: Unable to reserve I/O region #2:100@1000 for device 0000:00:03.0
[ 5783.580000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[ 5783.580000] slamr: probe of 0000:00:03.0 failed with error -16

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

For candidate card in slot 00:04.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:04.0	10b9:5451	104d:8175	Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device 

 Modem interrupt assignment and sharing: 
  9:     257891    XT-PIC-XT        acpi, ALI 5451
 --- Bootup diagnostics for card in PCI slot 00:04.0 ----
[   27.200000] ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [LNK7] -> GSI 9 (level, low) -> IRQ 9


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



 For candidate modem in PCI bus:  00:03.0
   Class 0703: 10b9:5457 Modem: ALi Corporation M5457 AC'97 Modem Controller
      Primary PCI_id  10b9:5457
    Subsystem PCI_id  104d:8175 
    Softmodem codec or chipset from diagnostics: 
                               from    Archives: 
                        

 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:	slamr

----------------end Softmodem section --------------
The modem is supported by the Smartlink slamr driver
plus the slmodemd helper utility.  Read the
Smartlink.txt and Modem/YourSystem.txt for follow through guidance.


For 2.6.22-14-generic compiling drivers is necessary. As of October 2007 the current packages at
http://linmodems.technion.ac.il/packages/smartlink/  are the
ungrab-winmodem-20070505.tar.gz and slmodem-2.9.11-20070813.tar.gz

Writing Smartlink.txt
============ end Smartlink section =====================

 For candidate modem in PCI bus:  00:04.0
   Class 0401: 10b9:5451 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device
      Primary PCI_id  10b9:5451
    Subsystem PCI_id  104d:8175 
    Softmodem codec or chipset from diagnostics: 
                               from    Archives: 
                        

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

----------------end Softmodem section --------------

 Completed candidate modem analyses.

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

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


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.1
   linuc_headers base folder /lib/modules/2.6.22-14-generic/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. 



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 269256 2007-10-04 16:57 /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


 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 2008-02-06 14:21 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:  lrwxrwxrwx 1 root root 10 2008-02-06 14:21 /dev/ttySL0 -> /dev/pts/3
     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 --------


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

  Powered by Linux