ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] slmodemd
  @ 2007-09-18  7:48 ` Slava Semushin
  2007-09-18  8:17 ` Yuriy Kashirin
  1 sibling, 0 replies; 4+ messages in thread
From: Slava Semushin @ 2007-09-18  7:48 UTC (permalink / raw)
  To: ALT Linux Team development discussions

18.09.07, Yury A.Romanov<damned / altlinux.ru> написал(а):
> Доброго времени суток. Я являюсь счастливым обладателем ноутбука ASUS S200,
> с чипсетом SIS. Недавно возникла острая необходимость завести модем. В ходе
> ковыряний, оказалось, что модем заводится с помощью магической
> последовательности действий:
> modprobe slamr
> slmodemd -a 'hw:0,0'&
> ln -s /dev/ttySLM0 /dev/modem
> При этом, скрипт /etc/init.d/slmodemd сообщает об успешном старте, но ничего
> не делает, процесс slmodemd падает. Вставка в функцию start строчки
> echo ${PORTARG}
> показала, что в результате магической последовательности действий,
> использованной в инитскрипте
> PORT=`aplay -l  2>&1 | sed -ne '/ Modem/s/^card \([0-9]\).*, device
> \([0-9]\).*/modem:\1,\2/p'`
>
> для определения порта ALSA, используемого модемом, получается пустое
> значение. Теперь вопрос.
> Это бага?

https://bugzilla.altlinux.org/show_bug.cgi?id=9665

Не оно?


-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] slmodemd
    2007-09-18  7:48 ` [devel] slmodemd Slava Semushin
@ 2007-09-18  8:17 ` Yuriy Kashirin
    1 sibling, 1 reply; 4+ messages in thread
From: Yuriy Kashirin @ 2007-09-18  8:17 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Вторник 18 сентября 2007, Yury A.Romanov wrote:
> Доброго времени суток. Я являюсь счастливым обладателем ноутбука
> ASUS S200, с чипсетом SIS. Недавно возникла острая необходимость
> завести модем. В ходе ковыряний, оказалось, что модем заводится с
> помощью магической последовательности действий:
> modprobe slamr
> slmodemd -a 'hw:0,0'&

Если у вас модем работает через ALSA, то модуль slamr вам не нужен.
Покажите, пожалуйста:
 lsmod | egrep '^(slamr|snd)'
 cat /proc/asound/cards

ну и еще что говорит про модем
 lspci -vnn
?


> ln -s /dev/ttySLM0 /dev/modem
> При этом, скрипт /etc/init.d/slmodemd сообщает об успешном старте,
> но ничего не делает, процесс slmodemd падает. Вставка в функцию
> start строчки echo ${PORTARG}
> показала, что в результате магической последовательности действий,
> использованной в инитскрипте
> PORT=`aplay -l  2>&1 | sed -ne '/ Modem/s/^card \([0-9]\).*, device
> \([0-9]\).*/modem:\1,\2/p'`
>
> для определения порта ALSA, используемого модемом, получается
> пустое значение.
А что у вас выводит
 aplay -l
?


-- 
 Best regards
 Yuriy Kashirin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] slmodemd
  @ 2007-09-18 10:07     ` Yuriy Kashirin
  2007-09-18 10:41       ` Yury A.Romanov
  0 siblings, 1 reply; 4+ messages in thread
From: Yuriy Kashirin @ 2007-09-18 10:07 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Вторник 18 сентября 2007, Yury A.Romanov wrote:
> root@urde ~ #  lsmod | egrep '^(slamr|snd)'
> snd_trident            46500  5
.....

Получается, что и модем, и звуковая карта обслуживается модулем 
snd_trident.

.....
>
> root@urde ~ # aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: SI7018 [SiS SI7018], device 0: trident_dx_nx [Trident
.....
> card 0: SI7018 [SiS SI7018], device 1: trident_dx_nx IEC958

При таком выводе текущий скрипт запуска slmodemd, конечно, не сможет 
разобраться, где звук, а где модем...

А у вас звук одновременно с модемом работают? google говорит, что:
  The Trident  hardware is a known problem,
  which we may be able to work around,
  through you may not be able to have Sound and modem service
  simultaneously supported under Linux.
(http://linmodems.technion.ac.il/archive-seventh/msg01221.html)

google вывел на такой workaround для этой карты:
http://linmodems.technion.ac.il/archive-seventh/msg01358.html

Суть его в том, чтобы не загружать snd_trident, а вместо него 
snd_intel8x0 и snd_intel8x0m. (С последним service slmodemd start 
отрабатывает нормально)


-- 
 Best regards
 Yuriy Kashirin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] slmodemd
  2007-09-18 10:07     ` Yuriy Kashirin
@ 2007-09-18 10:41       ` Yury A.Romanov
  0 siblings, 0 replies; 4+ messages in thread
From: Yury A.Romanov @ 2007-09-18 10:41 UTC (permalink / raw)
  To: ALT Linux Team development discussions

2007/9/18, Yuriy Kashirin <yura@emict.com>:
> On Вторник 18 сентября 2007, Yury A.Romanov wrote:
> > root@urde ~ #  lsmod | egrep '^(slamr|snd)'
> > snd_trident            46500  5
> .....
>
> Получается, что и модем, и звуковая карта обслуживается модулем
> snd_trident.
>
> .....
> >
> > root@urde ~ # aplay -l
> > **** List of PLAYBACK Hardware Devices ****
> > card 0: SI7018 [SiS SI7018], device 0: trident_dx_nx [Trident
> .....
> > card 0: SI7018 [SiS SI7018], device 1: trident_dx_nx IEC958
>
> При таком выводе текущий скрипт запуска slmodemd, конечно, не сможет
> разобраться, где звук, а где модем...
>
> А у вас звук одновременно с модемом работают? google говорит, что:
>   The Trident  hardware is a known problem,
>   which we may be able to work around,
>   through you may not be able to have Sound and modem service
>   simultaneously supported under Linux.
> (http://linmodems.technion.ac.il/archive-seventh/msg01221.html)
>
> google вывел на такой workaround для этой карты:
> http://linmodems.technion.ac.il/archive-seventh/msg01358.html
>
> Суть его в том, чтобы не загружать snd_trident, а вместо него
> snd_intel8x0 и snd_intel8x0m. (С последним service slmodemd start
> отрабатывает нормально)
>
>
> --
>  Best regards
>  Yuriy Kashirin
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-09-18 10:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-18  7:48 ` [devel] slmodemd Slava Semushin
2007-09-18  8:17 ` Yuriy Kashirin
2007-09-18 10:07     ` Yuriy Kashirin
2007-09-18 10:41       ` Yury A.Romanov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git