Call for enabling HP Pavilion internal softmodem
Have you managed to get the HP Pavilion internal softmodem to work?
Could you provide a tutorial on how to make it work?
As a starting point here is some information that may be useful:
Internal modem is a winmodem by Motorola model SM56 Si3054. Being a softmodem much of the work is delegated to the audio drivers. Recent ALSA drivers do support this modem, however their support is somehow lacking and not perfect at all. You can give them a try though.
First of all ensure you have the above mentioned version and model. You may usue scanModem tool from http://www.linmodems.org/.
Here are some instructions that may get it working:
cd /tmp
wget http://132.68.73.235/linmodems/packages/scanModem.gz
gzip -d scanModem.gz
chmod 777 scanModem
./scanModem
grep 3054 Modem/ModemData.txt
If you get the following info (or similar) you actually have 3054 device
0000:03:0d.0 1057:3052 1057:3020 Modem: Motorola: Unknown device 3054 Class 0703: 1057:3054 Modem: Motorola: Unknown device 3054 Primary PCI_id 1057:305
If not, read carefully the ModemData.txt file to get more help on how to setup your winmodem.
To the Si3054 or Si3052 Motorola modem owners: let’s install the smarlink driver.
Despite what stated on the old documentation this modem is now supported both on 64bit and 32bit flavours of Ubuntu Linux. What you need to have it run is just install sl-modem-daemon packet via package manager (along with 32bit emulation libraries linux32 if you have Ubuntu Linux x64) and simply running this command
slmodemd -country=ITALY --alsa hw:0,6
makes the modem wake up and run. You should only deactivate CARRIER sensing; from the minicom (for testing) just issue an ATX0 before the dial command.
User Max has kindly provided us with a tweaked version of sl-modem-daemon packet specifically conceived right for Si3054 Motorola modem which si provided on the vast majority of HP Pavilion DV laptops. You can download and install this package via GDebi from here.
—– follows old documentation for reference only —–
Get the tools necessary to build the drivers
sudo apt-get install linux-headers-generic build-essential
Download the latest ungrab-winmodem and slmodem drivers from
http://linmodems.technion.ac.il/packages/smartlink
https://help.ubuntu.com/community/DialupModemHowto
then patch it with the simple patch found at Hell Labs
http://helllabs.org/blog/20070710/slmodem-period-size-48-not-supported/
As of the slmodem-2.9.11-20070813 tarball, this patch is still necessary.
Compile slmodem with make SUPPORT_ALSA=1.
WvDial needs the Carrier Check = no line for it to work, but other chatscripts work.
Config modem country.
Use AT+GCI=<T.35 country code> command to setup country.
Also you can setup default modem country by passing command line
parameter ‘–country=MY_COUNTRY’ to program ’slmodemd’.
See output of ’slmodemd –countrylist’ for a list of supported
country names and T.35 country codes (see also ’slmodemd –help’).
Note: Command ATI7 shows currently installed country setting.
slmodemd –country USA –alsa hw:0,6
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
error: period size 48 is not supported by playback (64).
Untar them
tar xzf slmodem-2.9.11-20070505.tar.gz
tar xzf ungrab-winmodem-20070505.tar.gz
Build and install
cd /tmp/slmodem-2.9.11-20070505/drivers/
make
sudo make install
cd /tmp/ungrab-winmodem-20070505/
make
sudo make install
Load the modules
sudo modprobe ungrab-winmodem
sudo modprobe slamr
Edit your /etc/modules:
sudo gedit /etc/modules
and add the following lines (in the same order) at the tail of the file:
ungrab-winmodem
slamr
Install the sl daemon:
sudo apt-get install sl-modem-daemon
And start it:
sudo /etc/init.d/sl-modem-daemon start
That’s all. You must have now a /dev/ttySL0 device as your modem
Note: you have to reinstall ungrab-winmodem and slamr each time you upgrade your kernel