The slmodemd in the Ubuntu repository seems to be broken for ALSA support.
For example:

 sudo sl-modem-daemon-2.9.10+2.9.9d+e-pre2/usr/sbin/slmodemd -c USA --alsa 
modem:1
SmartLink Soft Modem: version 2.9.9e-pre1 Sep 30 2007 00:07:03
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `modem:1' created. TTY is `/dev/pts/1'
error: getpwnam Slmodemd: Success
---------

However:
ls -l /dev/ttySL0 /dev/pts/*
crw--w---- 1 marv tty  136, 0 2007-10-06 09:07 /dev/pts/0
crw--w---- 1 marv tty  136, 2 2007-10-06 08:50 /dev/pts/2
lrwxrwxrwx 1 root root     10 2007-10-06 09:06 /dev/ttySL0 -> /dev/pts/1
so the reported port /dev/pts/1  was in fact NOT created

This can be contrasted with the slmodemd from 
http://linmodems.technion.ac.il/packages/smartlink/
within the tarball  SLMODEMD.gcc4.1.tar.gz 
$ sudo slmodemd -c USA --alsa  modem:1
SmartLink Soft Modem: version 2.9.11 Aug  6 2007 22:02:27
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `modem:1' created. TTY is `/dev/pts/1'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

Opening another console and checking:
$ ls -l /dev/ttySL0 /dev/pts/*
crw--w---- 1 marv tty  136, 0 2007-10-06 09:12 /dev/pts/0
crw-rw---- 1 root uucp 136, 1 2007-10-06 09:12 /dev/pts/1
crw--w---- 1 marv tty  136, 2 2007-10-06 09:14 /dev/pts/2
lrwxrwxrwx 1 root root     10 2007-10-06 09:12 /dev/ttySL0 -> /dev/pts/1
port creation is confirmed.

On Waleed'  system the command would be that appropriate to HDA card hosted 
modems
$ sudo slmodemd -c USA --alsa  hw:0,1
or
$ sudo slmodemd -c USA --alsa  hw:0,6
as constrasted to my AC'97 type using  modem:1

Note that to provide ALSA support for slmodemd (as I did for the  SLMODEMD*  
tarballs,
the slmodemd MUST be compiled within the modem/  subfolder with command
$  make  SUPPORT_ALSA=1 

MarvS
scanModem mantainer





-------

-- 
Motorola SM56 Win-modem
https://bugs.launchpad.net/bugs/61671
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to