Motorola Si3054 1057:3055 64bit

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

 



Hi

Here are the complete instructions do get the Motorola Si3054 Modem (vendor: 1057, device 3055) to run on a debian based 64bit linux distribution.

Good luck!

Andreas

revamp-it
Rosengartenstr. 1
8037 Zürich

0041 43 960 32 64
skype und wengophone: arevamp
www.revamp-it.ch
https://wiki.ubuntu.com/AndreasRudin
Internal Modem Motorola Si3054 1057:3055 (Intel HDA subdevice)

As found for example in a Twinhead J12S laptop

To be sure, that you have the same modem, type on a console:

cat /proc/asound/card0/codec#1

this should give you:

Codec: Motorola Si3054
Address: 1
Vendor Id: 0x10573055
... 

Getting the modem working on a debian based 64bit distribution

(I worked with Kubuntu 7.10, Amd64, but things should be very similar on any other debian based 64bit distribution.)

1. Open a console

2. get root rights:

 with ubuntu, kubuntu etc.:
 $ sudo su on 

 other debian distributions:
 $ su

3. install lib32asound2 (a 32bit library needed, as all the versions of slmodem source code used to compile slmodemd have a component compiled by the original Smartink owner with a 32 bit compiler.  Hence the modem will not work in the full 64 bit mode.):

 # apt-get update

 # apt-get install lib32asound2

 If not already installed, install wvdial:

 # apt-get install wvdial

4. As Ubuntu doesn't provides a 64bit sl-modem-daemon,
 you have to download sl-modem-daemon_2.9.9d+e-pre2-11_amd64.deb or any newer version from

 http://packages.debian.org/lenny/amd64/sl-modem-daemon/download

 to your desktop.

 (in case you are working with debian lenny, you can install the package directly via apt-get 
 and ignore step 5:
 # apt-get install sl-modem-daemon )

5. install the downloaded package:

 # cd /home/<your name>/Desktop  
 (replace <your name> by your user name)

 # dpkg -i sl-modem-daemon_2.9.9d+e-pre2-11_amd64.deb

 Probably you get the following message:

 Only access through ALSA is available on amd64 but slamr driver was chosen!
 Make sure that an ALSA driver for your chipset is available and is loaded
 and that access to SmartLink modem components is supported by it.
 invoke-rc.d: initscript sl-modem-daemon, action "start" failed.

 Don't worry about that!

6. now check, which version of slmodemd has been installed:

 # slmodemd --version

 If you get: 
 SmartLink Soft Modem: version 2.9.11 ...
 you can directly jump to step 8

 If you get:
 SmartLink Soft Modem: version 2.9.9 ...
 go on with step 7

7. Download SLMODEMD.gcc4.1.tar.gz (it's important that you chose version 4.1, not 4.2!) from

 http://linmodems.technion.ac.il/packages/smartlink/

 to your desktop.

 unpack it:

 # tar xzf SLMODEMD.gcc4.1.tar.gz

 make a copy of the existing file /usr/sbin/slmodemd:

 # mv /usr/sbin/slmodemd /usr/sbin/slmodemd_orig

 copy slmodemd from the downloaded archiv to /usr/sbin:

 # cp SLMODEMD.gcc4.1/slmodemd /usr/sbin/

 now check the version again, which should give 2.9.11 now:

 # slmodemd --version

8. Now edit as root  /etc/default/sl-modem-daemon and add or change the following lines:

 SLMODEMD_DEVICE=hw:0,6
 SLMODEMD_COUNTRY=<your country name>

 In SWITZERLAND for example this means:

 SLMODEMD_DEVICE=hw:0,6
 SLMODEMD_COUNTRY=SWITZERLAND

 Save the file.

9. Now run

 # wvdialconf

 This should detect your modem and write create or change the file /etc/wvdial.conf

 Now edit /etc/wvdial.conf and enter the details to connect with your provider:

 For example for sunrise freesurf in Switzerland:

 Phone = 0840555555
 Username = sunrise
 Password = freesurf

 Also add the following lines:

 Init3 = ATX3
 Carrier Check = no
 Stupid Mode = on

 If you get a very low connection speed, you also might set:

 Baud = 115200 
 (instead of Baud = 460800)

 Save the file.

10. Now connect the laptop with a modem cable to your telephone line

 start slmodemd:

 # slmodemd -c SWITZERLAND --alsa hw:0,6
 (replace SWITZERLAND with your country name)

 If you get an error, maybe slmodemd is already running, so check:

 # ps -A | grep slmodemd

 If you get a line like this:
 5318 	?	00:00:00 slmodemd

 You have to stop slmodemd using the number of the slmodemd process you find at the beginning of the line:

 # kill 5318

 Then try again:
 # slmodemd -c SWITZERLAND --alsa hw:0,6
 (replace SWITZERLAND with your country name)

 Then keep this console open and open a second console and start wvdial:

 $ sudo wvdial

 Now the modem should dial and you should get an internet connection

 You can stop with

 CTRL-C

 (sometimes it's necessary to retry serveral times till you get a connection)

11. Options

 If this doesn't work for you, you can try to alter the entries in /etc/wvdial.conf
 for example you can try:

 Stupid Mode = off

 If you want to use kppp instead of wvdial to connect to the internet, you might have to configure your modem as /dev/ttySL0 first.

Good luck!


 



 

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

  Powered by Linux