W. Ekkehard Blanz, USA, kernel 2.6.35-25-generic

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

 



Did anybody get the slmodem daemon with ALSA drivers running in a Kubuntu 
10.10 64 bit system?

Here is my general system HW info:
ASUS motherboard M4A88TD-V EVO/USB3 featuring
    an AMD 880G / SB850 chipset 
    an integrated ATI Radeon HD 4250 GPU
    a Realtek 8111E Gigabit LAN controller
    an ALC892 8 channel High Definition Audio
8 GB  ADATA DDR3 1600G memory
AMD Phenom II X6 1055T processor

And the relevant software is:
Kubuntu 10.10 (maverick)  amd64 
2.6.35-25-generic kernel
ALSA version=1.0.23
SmartLink Soft Modem: version=2.9.11 Sep  6 2010 13:40:56
dkms version=2.1.1.2

The modem is (from scanModem):
NAME="Modem: Smart Link Ltd. SmartPCI2800 V.92 PCI Soft DFT "
CLASS=0703
PCIDEV=2000:2800
SUBSYS=122d:2800
IRQ=22
HDA2=00:14.2
HDA2=01:05.1
IDENT=slamr

I had that same modem running just fine for occasional fax use in Kubuntu 10.04 
32 bit using the packages dkms, sl-modem-source, and sl-modem-daemon.  After 
upgrading to a 64 bit system, sl-modem-source is no longer available.  Hence, 
I was trying to get the modem working with the ALSA drivers (the alsa-base 
package is installed), since the dkms and sl-modem-daemon packages still exist 
in my distro, which I installed both.  But I wasn't successful.

I tried:

sudo slmodemd -c USA --alsa hw:0,0  (that correct??)

which gave me:

error: mixer setup: Off-hook switch not found for card hw:0
SmartLink Soft Modem: version 2.9.11 Sep  6 2010 13:40:56
symbolic link `/dev/ttySL0' -> `/dev/pts/3' created.
modem `hw:0,0' created. TTY is `/dev/pts/3'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

but that didn't do the trick.  First, it needed to up its locked memory limit 
(that OK??), after I did that, it created a device and a link to it (I also 
created the /dev/modem link that efax wants) but whenever I tried to use it, 
it gave me the error message:

error: cannot set channels for playback: Invalid argument

regardless of whether I used it with efax or wvdial.

What am I doing wrong?

I'd be thankful for any suggestions!

Ekkehard

 P.S. content of ModemData.txt
--------------------------  System information ----------------------------
CPU=x86_64,  Ubuntu ,  ALSA_version=1.0.23
Linux version 2.6.35-25-generic (buildd@crested) (gcc version 4.4.5 
(Ubuntu/Linaro 4.4.4-14ubuntu5) ) #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011
 scanModem update of:  2011_02_04
The modem symbolic link is /dev/modem -> ttySL0
The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/3
Distrib_ID=Ubuntu
DistribCodeName=maverick
AptRepositoryStem=http://us.archive.ubuntu.com/ubuntu/


The dkms driver upgrade utilities are installed,


Some modem drivers can only be used in 32 bit modem on x86_64 systems,
while some others are competent on x86_64 Systems.  Cases are:
1) http://linmodems.technion.ac.il/bigarch/archive-seventh/msg03119.html 
for the snd-hda-intel audio+modem driver. Also applicable to AC97 modem 
controllers.
In both cases, 32 bit libraries must be installed to support the slmodemd 
helper having a precompiled 32 bit component.
2) For USB modems using the slusb.ko driver. 32 bit libraries must be 
installed to support the slmodemd helper having a precompiled 32 bit component
3) The hsfmodem and hcfpcimodem drivers for Conexant chipsest modes are x86_64 
competent.
4) agrsm packages for LSI/AgereSystems softmodems are not competent on x86_64 
systems.

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

 Potentially useful modem drivers now loaded are:
  snd_atiixp_modem snd_via82xx_modem snd_intel8x0m   snd_hda_intel           

Attached USB devices are:
 ID 058f:9410 Alcor Micro Corp. Keyboard
 ID 045e:008c Microsoft Corp. Wireless Intellimouse Explorer 2.0
 ID 047d:2043 Kensington 
 ID 8054:0001  
 ID 04a9:1051 Canon, Inc. BJC-3000 Color Printer
 ID 046d:c215 Logitech, Inc. Extreme 3D Pro
 ID 04f9:002b Brother Industries, Ltd Printer
 ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. 
transcend storejet 25P
 ID 058f:6254 Alcor Micro Corp. USB Hub
 ID 046d:081b Logitech, Inc. 
If a cellphone is not detected, see 
http://ubuntuforums.org/archive/index.php/t-878554.html
A sample report is:  http://linmodems.technion.ac.il/bigarch/archive-
nineth/msg00578.html

If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@xxxxxxxxxxxxx

Candidate PCI devices with modem chips are:
04:07.0 Modem: Smart Link Ltd. SmartPCI2800 V.92 PCI Soft DFT (rev 02)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
01:05.1 Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD 4200]
High Definition Audio cards can host modem chips.

For candidate card in slot 04:07.0, firmware information and bootup diagnostics 
are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 04:07.0	2000:2800	122d:2800	Modem: Smart Link Ltd. SmartPCI2800 V.92 PCI 
Soft DFT 

 Modem interrupt assignment and sharing: 
 --- Bootup diagnostics for card in PCI slot 04:07.0 ----
[    1.350060] pci 0000:04:07.0: reg 10: [mem 0xfc000000-0xfcffffff pref]
[    1.350104] pci 0000:04:07.0: PME# supported from D3hot D3cold
[    1.350107] pci 0000:04:07.0: PME# disabled
[    2.302915] serial 0000:04:07.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[    2.302918] serial 0000:04:07.0: PCI INT A disabled

 The PCI slot 04:07.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 DOCs/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:14.2, firmware information and bootup diagnostics 
are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:14.2	1002:4383	1043:841b	Audio device: ATI Technologies Inc SBx00 Azalia 

 Modem interrupt assignment and sharing: 
 16:          0          0          0          0       4803        500   IO-
APIC-fasteoi   hda_intel
 --- Bootup diagnostics for card in PCI slot 00:14.2 ----
[    1.307759] pci 0000:00:14.2: reg 10: [mem 0xfe7f8000-0xfe7fbfff 64bit]
[    1.307784] pci 0000:00:14.2: PME# supported from D0 D3hot D3cold
[    1.307786] pci 0000:00:14.2: PME# disabled
[   16.629439] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 
16

 The PCI slot 00:14.2 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 DOCs/Bootup.txt about possible fixes.
 Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
 if help is needed.
 

For candidate card in slot 01:05.1, firmware information and bootup diagnostics 
are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 01:05.1	1002:970f	1043:843e	Audio device: ATI Technologies Inc RS880 Audio 
Device [Radeon HD 4200]

 Modem interrupt assignment and sharing: 
 19:          0          0     523806          0          2         81   IO-
APIC-fasteoi   ahci, hda_intel
 --- Bootup diagnostics for card in PCI slot 01:05.1 ----
[    1.308136] pci 0000:01:05.1: reg 10: [mem 0xfe9e8000-0xfe9ebfff]
[    1.308149] pci 0000:01:05.1: supports D1 D2
[   16.733510] HDA Intel 0000:01:05.1: PCI INT B -> GSI 19 (level, low) -> IRQ 
19
[   16.733567] HDA Intel 0000:01:05.1: setting latency timer to 64

=== Finished firmware and bootup diagnostics, next deducing cogent software. 
===

Predictive  diagnostics for card in bus 04:07.0:
	Modem chipset  detected on
NAME="Modem: Smart Link Ltd. SmartPCI2800 V.92 PCI Soft DFT "
CLASS=0703
PCIDEV=2000:2800
SUBSYS=122d:2800
IRQ=22
HDA2=00:14.2
HDA2=01:05.1
IDENT=slamr

 For candidate modem in:  04:07.0
   0703 Modem: Smart Link Ltd. SmartPCI2800 V.92 PCI Soft DFT 
      Primary device ID:  2000:2800
 Support type needed or chipset:	slamr
 

    
There is a package sl-modem-source providing a source code the modem driver  ,
If can be searched for at http://pacakge.ubuntu.com.  After downloading 
install under Linux with:
  $ sudo dpkg -i sl*.deb
It is preferable to install the dkms package first.
With DKMS support installed, driver updates with kernel updates will be 
automatically done.

The modem is supported by the Smartlink 
plus the slmodemd helper utility.  Read the
DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance.


For 2.6.35-25-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-20080126.tar.gz

Writing DOCs/Smartlink.txt
============ end Smartlink section =====================


Predictive  diagnostics for card in bus 00:14.2:
	Modem chipset not detected on
NAME="Audio device: ATI Technologies Inc SBx00 Azalia "
CLASS=0403
PCIDEV=1002:4383
SUBSYS=1043:841b
IRQ=16

 For candidate modem in:  00:14.2
   0403 Audio device: ATI Technologies Inc SBx00 Azalia 
      Primary device ID:  1002:4383
 Support type needed or chipset:	
 


Predictive  diagnostics for card in bus 01:05.1:
	Modem chipset not detected on
NAME="Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD 4200]"
CLASS=0403
PCIDEV=1002:970f
SUBSYS=1043:843e
IRQ=19

 For candidate modem in:  01:05.1
   0403 Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD 4200]
      Primary device ID:  1002:970f
 Support type needed or chipset:	
 

 Completed candidate modem analyses.

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

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

 linux-headers-2.6.35-25-generic resources needed for compiling are not 
manifestly ready!

 If compiling is necessary packages must be installed, providing:
	 linux-headers-2.6.35-25-generic


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 packages.
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 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

For guidance on FAX usage, get from http://linmodems.technion.ac.il/packages/  
get faxing.tar.gz
It has samples for a modem using port /dev/ttySL0, which must be changed to 
match your modem's port.

Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.

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

 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   lrwxrwxrwx 1 root root 6 2011-02-23 14:03 
/dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:  lrwxrwxrwx 1 root root 10 
2011-02-23 15:33 /dev/ttySL0 -> /dev/pts/3
     Within /etc/udev/ files:

     Within /etc/modprobe.conf files:
/etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in order to 
blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem
/etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2
/etc/modprobe.d/sl-modem.conf:install slamr /sbin/modprobe -qb ungrab-
winmodem; /sbin/modprobe --ignore-install slamr; test -e /dev/slamr0 && (chmod 
660 /dev/slamr0 && chgrp dialout /dev/slamr0) || (/bin/mknod -m 660 
/dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0)
/etc/modprobe.d/sl-modem.conf:install slusb /sbin/modprobe -qb ungrab-
winmodem; /sbin/modprobe --ignore-install slusb; test -e /dev/slusb0 && (chmod 
660 /dev/slusb0 && chgrp dialout /dev/slusb0) || (/bin/mknod -m 660 
/dev/slusb0 c 243 0 2>/dev/null && chgrp dialout /dev/slusb0)
     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