SiS630, GERMANY Ubuntu 7.04 kernel 2.6.20-15-generic

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

 



Hello,

I try to make my modem work on an old IPC TopNote F219 laptop.
I installed Xubuntu and realized that it didn't. 
I installed ungrab-winmodem-20070505 and then, as described in
https://bugs.launchpad.net/ubuntu/+source/sl-modem/+bug/92777
slmodem-2.9.11-20070505
sl-modem-daemon 2.9.10+2.9.9d+e-pre2-5ubuntu1

Now I get
# sudo /etc/init.d/sl-modem-daemon stop
Shutting down SmartLink Modem driver normally.
Unloading modem driver from kernel ... slamr.
# sudo slmodemd -d2 -c GERMANY --alsa
error: mixer setup: attach hw:1 error: No such device
<742.180068> main: alsa setup: cannot setup mixer: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
error: alsa setup: cannot open playback device 'modem:1': No such file or directory
error: cannot setup device `modem:1'

Any other parameter than hw:0 shows the same result.

# sudo slmodemd -d2 -c GERMANY --alsa hw:0
SmartLink Soft Modem: version 2.9.9e-pre1 Mar 20 2007 14:45:09
<886.721541> SmartLink Soft Modem: version 2.9.9e-pre1 Mar 20 2007 14:45:09
<886.721747> hw:0: startup modem...
<886.722197> hw:0: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/0' created.
modem `hw:0' created. TTY is `/dev/pts/0'
<886.725623> open file: /var/lib/slmodem/data.hw:0...
<886.725810> cannot open '/var/lib/slmodem/data.hw:0': No such file or directory
<886.753036> main: rt applyed: SCHED_FIFO, pri 99
<886.754028> main: dropped privileges to 120.111
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

Trying to connect while slmodemd keeps running:
# sudo ifconfig eth0 down
# sudo wvdial
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 X3 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 X3 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATX0DT019164284
--> Waiting for carrier.
ATX0DT019164284
[Note: speaker beeps]
--> Timed out while dialing.  Trying again.
--> Sending: ATX0DT019164284
--> Waiting for carrier.
NO CARRIER
ATX0DT019164284
--> No Carrier!  Trying again.
[...]

Trying to unload snd-trident
# sudo modprobe -r snd-intel8x0m
# sudo modprobe -r snd-intel8x0
# sudo modprobe -r snd-trident
FATAL: Module snd_trident is in use.
# cd /lib/modules/2.6.20-15-generic/kernel/sound/pci/trident/
# sudo mv snd-trident.ko snd-trident.ko~
[Reboot]
# sudo modprobe snd-intel8x0
# sudo modprobe snd-intel8x0m
# sudo slmodemd -d2 -c GERMANY --alsa hw:0
error: mixer setup: attach hw:0 error: No such device
<458.931284> main: alsa setup: cannot setup mixer: No such device
ALSA lib pcm_hw.c:1351:(_snd_pcm_hw_open) Invalid value for card
error: alsa setup: cannot open playback device 'hw:0': No such device
error: cannot setup device `hw:0'
# aplay -l
aplay: device_list:222: no soundcards found...

Now I'm out of ideas reproducing the suggestions I found here on the list (without exactly knowing what I was doing, probably I don't need to tell you _that_).

Thanks for any help,
Tim.


ModemData.txt
--------------------------  System information ----------------------------
CPU=i686,  Ubuntu 7.04 
Linux version 2.6.20-15-generic (root@palmer) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Apr 15 07:36:31 UTC 2007
 scanModem update of:  2007_May_11
The modem symbolic link is /dev/modem -> ttySL0
The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/0

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:01.6	1039:7013		Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller 

 Modem interrupt assignment and sharing: 
 11:        192    XT-PIC-XT        eth0

 --- Bootup diagnositcs for card in PCI slot 00:01.6 ----

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

PCIbus=00:01.6
00:01.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0) (prog-if 00 [Generic])
	Flags: medium devsel, IRQ 11
	I/O ports at 3200 [size=256]
	I/O ports at 3300 [size=128]
	Capabilities: [48] Power Management version 2

 A candidate driver could not be identified.
 For candidate modem in PCI bus:  00:01.6
   Class 0703: 1039:7013 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller
      Primary PCI_id  1039:7013
    Subsystem PCI_id  none 
    Softmodem codec or Vendor from diagnostics: SIL22, a Smartlink type.
                              from    Archives: 
                        

 This is a NEW softmodem case!  Please send the output ModemData.txt 
 to DISCUSS@xxxxxxxxxxxxx , even if further assistance is not needed.
 It will enrich the Archive and help others!
 -------------------------------------------
 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-1.0.13.tar.gz having a compiled slmodemd. Unpack under Linux with:
 	$ tar zxf SLMODEMD-1.0.13.tar.gz
 and read instructions therein. But briefly, the modem is setup with command:
 	sudo slmodemd -c YOUR_COUNTRY --alsa  
 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.


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-01: trident_dx_nx IEC958 : Trident 4DWave IEC958 : playback 1
00-00: trident_dx_nx : Trident 4DWave : playback 32 : capture 1

	/proc/asound/modules
-------------------------------
 0 snd_trident
	/proc/asound/card0/codec97#0/mc97#1-1+regs
-------------------------------
0:7c = 5349  and  0:7e = 4c22
which were translated from hexadecimal code into:  SIL22

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

and from the command:
	aplay -l | grep -i modem


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

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.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-15-generic


Checking pppd properties:
	-rwsr-xr-- 1 root dip 269224 2007-04-05 05:41 /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 2007-05-21 21:04 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:  lrwxrwxrwx 1 root root 10 2007-05-21 21:04 /dev/ttySL0 -> /dev/pts/0
     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/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
/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) 
     Within any ancient /etc/devfs files:

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

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


/etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/modem
#Modem = /dev/ttySL0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 X3 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Dial Command = ATX0DT
Phone = 019164284
Username = ***
Password = ***
New PPPD = yes
Carrier Check = no

## If CONNECT is achieved but browsing fails, try activating the following line
# Auto DNS = yes
##    To make a logfile wvdial.out
# wvdial 2>&1 | tee wvdial.out
# #  For some Internet providers, the following line is necessary 
 Stupid Mode = yes
##  for other wvdial  options, do "man wvdial" or see the documentation in
##    /usr/share/doc/wvdial/


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

  Powered by Linux