Re: SiS630, GERMANY Ubuntu 7.04 kernel 2.6.20-15-generic

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

 



Hi Marvin,

I, for one, wasn't able to determine which the proper modem device name
was by myself. If I didn't miss anything, maybe you could add an entry
to the FAQs.

Marvin Stodolsky wrote:
> Thanks for the report.
> Would you please write a clear description of the problem and the fix.
> Send it to the List where it will acquire a URL in the archives,
> which I'll code to display from scanModem
> on Systems using snd-trident drivers.
There were two, probably independent, problems:
1.) On Ubuntu-systems, 7.04 kernel 2.6.20-15-generic and
2.6.20-16-generic, the packages
sl-modem-daemon 2.9.10+2.9.9d+e-pre2-5ubuntu1
sl-modem-source 2.9.10+2.9.9d+e-pre2-5ubuntu1**
do not work.
Reference: https://bugs.launchpad.net/ubuntu/+source/sl-modem/+bug/92777

Fix: As described in
https://bugs.launchpad.net/ubuntu/+source/sl-modem/+bug/92777/comments/9
- Install
slmodem-2.9.11-20070505 from
http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20070505.tar.gz
and
sl-modem-daemon 2.9.10+2.9.9d+e-pre2-5ubuntu1 from the ubuntu feisty
repository.
- Edit
/etc/default/sl-modem-daemon
SLMODEMD_COUNTRY=[YOUR_COUNTRY]
SLMODEMD_DEVICE=[your_modem_device_name]
by replacing [YOUR_COUNTRY] and [device_name] adequately.
- Can't say if it's generally needed, but I had to replace
/usr/sbin/slmodemd with the precompiled slmodemd from SLMODEMD-1.0.13.tar.gz
http://linmodems.technion.ac.il/packages/smartlink/SLMODEMD-1.0.13.tar.gz
to make it work properly.

2.) Having the system set up as described
- on non-Ubuntu systems this should be installing
slmodem-2.9.11-20070505 and using slmodemd from SLMODEMD-1.0.13.tar.gz -
# sudo slmodemd -d2 -c YOUR_COUNTRY --alsa your_modem_device_name
fails with
error: mixer setup: attach hw:1 error: No such device
<923.340191> 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 '[your_modem_device_name]': No such file
or directory
error: cannot setup device `[your_modem_device_name]'

Fix: Prevent the kernel module snd_trident from loading and make sure 

snd_intel8x0
snd_intel8x0m

are loaded in _this_ order.
On Ubuntu systems this can be done by editing
/etc/modprobe.d/blacklist
blacklist snd_intel8x0m
blacklist snd_trident
and /etc/modules
snd_intel8x0
snd_intel8x0m

Now starting
# slmodemd -d2 -c YOUR_COUNTRY --alsa your_modem_device_name
(or
# sudo /etc/init.d/sl-modem-daemon start
on Ubuntu systems)
and the connection works fine.

It might be worth a try to load snd_trident with
# sudo modprobe snd_trident
afterwards (putting it into /etc/rc.local didn't work though).
I could establish (a somewhat limited) sound support while using the
modem, but wasn't able to restart slmodemd then.


Tim.

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

  Powered by Linux