ALT Linux hardware support
 help / color / mirror / Atom feed
* [Hardware] Как сделать что бы SkyStar-2 не " засыпала "
@ 2006-10-29  9:07 Sharavin Sergey
  2006-10-29 10:26 ` Konstantin A. Lepikhov
  2006-10-29 10:49 ` Sergey Vlasov
  0 siblings, 2 replies; 10+ messages in thread
From: Sharavin Sergey @ 2006-10-29  9:07 UTC (permalink / raw)
  To: Hardware

Здравствуйте.
У меня инет через спутник и одна из проблем это "засыпание"
DVB карты  SkyStar-2
В инете я нашёл рецепт как от этого избавится привожу ниже.
Лезем в <Каталог Распаковки Ядра> /drivers/media/dvb/dvb-core/dvb_frontend.c и 
редактируем его. 
 
 Находим строку: static int dvb_shutdown_timeout =5; 
 Меняем на static int dvb_shutdown_timeout =0; 
 Дажее находим static int dvb_powerdown_on_sleep = 1; 
 меняем на static int dvb_powerdown_on_sleep = 0;

Вся беда в том что в ALC-3.0 + сизиф нету такого файла "dvb_frontend.c"
По крайне мере я не нашёл его в 
/lib/modules/2.6.16-wks26-up-alt8/kernel/drivers/media/dvb/dvb-core

Может не там искал ?
Или может есть другой выход ? 

С уважением.
 Сергей.

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

* Re: [Hardware] Как сделать что бы SkyStar-2 не " засыпала "
  2006-10-29  9:07 [Hardware] Как сделать что бы SkyStar-2 не " засыпала " Sharavin Sergey
@ 2006-10-29 10:26 ` Konstantin A. Lepikhov
  2006-10-29 10:49 ` Sergey Vlasov
  1 sibling, 0 replies; 10+ messages in thread
From: Konstantin A. Lepikhov @ 2006-10-29 10:26 UTC (permalink / raw)
  To: hardware

Hi Sharavin!

Sunday 29, at 03:07:40 PM you wrote:

> Здравствуйте.
> У меня инет через спутник и одна из проблем это "засыпание"
> DVB карты  SkyStar-2
> В инете я нашёл рецепт как от этого избавится привожу ниже.
> Лезем в <Каталог Распаковки Ядра> /drivers/media/dvb/dvb-core/dvb_frontend.c и 
> редактируем его. 
>  
>  Находим строку: static int dvb_shutdown_timeout =5; 
>  Меняем на static int dvb_shutdown_timeout =0; 
>  Дажее находим static int dvb_powerdown_on_sleep = 1; 
>  меняем на static int dvb_powerdown_on_sleep = 0;
> 
> Вся беда в том что в ALC-3.0 + сизиф нету такого файла "dvb_frontend.c"
> По крайне мере я не нашёл его в 
> /lib/modules/2.6.16-wks26-up-alt8/kernel/drivers/media/dvb/dvb-core
> 
> Может не там искал ?
> Или может есть другой выход ? 
http://www.unsafe.ru/lakostis/RPMS/ALTLinux/kernel-dvb/ - а если с этим?

-- 
WBR et al.


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

* Re: [Hardware] Как сделать что бы SkyStar-2 не " засыпала "
  2006-10-29  9:07 [Hardware] Как сделать что бы SkyStar-2 не " засыпала " Sharavin Sergey
  2006-10-29 10:26 ` Konstantin A. Lepikhov
@ 2006-10-29 10:49 ` Sergey Vlasov
  2006-10-29 11:53   ` Sharavin Sergey
  1 sibling, 1 reply; 10+ messages in thread
From: Sergey Vlasov @ 2006-10-29 10:49 UTC (permalink / raw)
  To: hardware

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

On Sun, Oct 29, 2006 at 03:07:40PM +0600, Sharavin Sergey wrote:
> У меня инет через спутник и одна из проблем это "засыпание"
> DVB карты  SkyStar-2
> В инете я нашёл рецепт как от этого избавится привожу ниже.
> Лезем в <Каталог Распаковки Ядра> /drivers/media/dvb/dvb-core/dvb_frontend.c и 
> редактируем его. 
>  
>  Находим строку: static int dvb_shutdown_timeout =5; 
>  Меняем на static int dvb_shutdown_timeout =0; 
>  Дажее находим static int dvb_powerdown_on_sleep = 1; 
>  меняем на static int dvb_powerdown_on_sleep = 0;

Зачем такое варварство?  Достаточно указать эти параметры при загрузке
модуля dvb-core.  Т.е, допишите в /etc/modules.conf строку:

options dvb-core dvb_shutdown_timeout=0 dvb_powerdown_on_sleep=0

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Hardware] Как сделать что бы SkyStar-2 не " засыпала "
  2006-10-29 10:49 ` Sergey Vlasov
@ 2006-10-29 11:53   ` Sharavin Sergey
  2006-10-29 13:43     ` Sergey Vlasov
  0 siblings, 1 reply; 10+ messages in thread
From: Sharavin Sergey @ 2006-10-29 11:53 UTC (permalink / raw)
  To: hardware

В сообщении от 29 октября 2006 16:49 Sergey Vlasov написал(a):
> Зачем такое варварство?  Достаточно указать эти параметры при загрузке
> модуля dvb-core.  Т.е, допишите в /etc/modules.conf строку:
>
> options dvb-core dvb_shutdown_timeout=0 dvb_powerdown_on_sleep=0
Спасибо, но на "dvb_powerdown_on_sleep=0" при загрузке
вываливаются ошибки,  пропадает звук, и мышь отваливается :)

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

* Re: [Hardware] Как сделать что бы SkyStar-2 не " засыпала "
  2006-10-29 11:53   ` Sharavin Sergey
@ 2006-10-29 13:43     ` Sergey Vlasov
  2006-10-29 15:23       ` Sharavin Sergey
  0 siblings, 1 reply; 10+ messages in thread
From: Sergey Vlasov @ 2006-10-29 13:43 UTC (permalink / raw)
  To: hardware

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

On Sun, Oct 29, 2006 at 05:53:27PM +0600, Sharavin Sergey wrote:
> В сообщении от 29 октября 2006 16:49 Sergey Vlasov написал(a):
> > Зачем такое варварство?  Достаточно указать эти параметры при загрузке
> > модуля dvb-core.  Т.е, допишите в /etc/modules.conf строку:
> >
> > options dvb-core dvb_shutdown_timeout=0 dvb_powerdown_on_sleep=0
> Спасибо, но на "dvb_powerdown_on_sleep=0" при загрузке
> вываливаются ошибки,  пропадает звук, и мышь отваливается :)

Не может такого быть (разве что при неаккуратном редактировании
modules.conf в него была внесена синтаксическая ошибка, из-за которой
модули нормально не загружаются).

Покажите сообщения об ошибках и uname -a.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Hardware] Как сделать что бы SkyStar-2 не " засыпала "
  2006-10-29 13:43     ` Sergey Vlasov
@ 2006-10-29 15:23       ` Sharavin Sergey
  2006-10-29 17:36         ` Michael Shigorin
  2006-10-29 17:40         ` Sergey Vlasov
  0 siblings, 2 replies; 10+ messages in thread
From: Sharavin Sergey @ 2006-10-29 15:23 UTC (permalink / raw)
  To: hardware

В сообщении от 29 октября 2006 19:43 Sergey Vlasov написал(a):

> Покажите сообщения об ошибках и uname -a.

# uname -a
Linux localhost.localdomain 2.6.16-wks26-up-alt8 #1 PREEMPT Tue Jul 11 
02:45:48 MSD 2006 i686 GNU/Linux

Вот modules.conf

# Local configuration goes here.
# To inspect package defined part, see also /etc/modutils.d/

#tvtuner
alias char-major-81 saa7134
alias char-major-89 i2c-dev
alias char-major-61 lirc_gpio
alias char-major-81-0 saa7134
alias char-major-81-1 saa7134
alias char-major-81-64 saa7134
options tda9887 secam=d
options saa7134 card=35
options tuner=38
options dvb_core dvb_shutdown_timeout=0
dvb_powerdown_on_sleep=0

В вот ошибки как раз показывающие на последнию 15 строку.
Oct 28 17:49:23 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:24 localhost cpu.rc: modprobe: Invalid line 15 
in /etc/modules.conf
Oct 28 17:49:24 localhost cpu.rc: ^Idvb-core
Oct 28 17:49:24 localhost hotplug: Hotplug (cpu.rc) start: failed
Oct 28 17:49:24 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:24 localhost pci.agent[3017]: missing kernel or user mode driver 
snd-emu10k1 
Oct 28 17:49:24 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:24 localhost pci.agent[3055]: missing kernel or user mode driver 
saa7134 
Oct 28 17:49:24 localhost hotplug: Hotplug (sound.rc) start: succeeded
Oct 28 17:49:24 localhost hotplug: Hotplug (usb.rc) start: succeeded
Oct 28 17:49:24 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:24 localhost pnp.rc[3109]: missing kernel or user mode driver rtc 
Oct 28 17:49:24 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:24 localhost pnp.rc[3109]: missing kernel or user mode driver 
pcspkr 
Oct 28 17:49:24 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:24 localhost pnp.rc[3109]: missing kernel or user mode driver 
floppy 
Oct 28 17:49:24 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:24 localhost pnp.rc[3109]: missing kernel or user mode driver 
parport_pc 
Oct 28 17:49:24 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:24 localhost pnp.rc[3109]: missing kernel or user mode driver 
psmouse 
Oct 28 17:49:24 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:24 localhost pnp.rc[3109]: missing kernel or user mode driver 
atkbd 
Oct 28 17:49:24 localhost hotplug: Hotplug (pnp.rc) start: succeeded
Oct 28 17:49:25 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:25 localhost pci.agent[3469]: missing kernel or user mode driver 
amd64-agp 
Oct 28 17:49:25 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:25 localhost pci.agent[3533]: missing kernel or user mode driver 
i2c-nforce2 
Oct 28 17:49:25 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:25 localhost pci.agent[3571]: missing kernel or user mode driver 
ohci-hcd 
Oct 28 17:49:25 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:25 localhost pci.agent[3609]: missing kernel or user mode driver 
ohci-hcd 
Oct 28 17:49:25 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:25 localhost pci.agent[3647]: missing kernel or user mode driver 
ehci-hcd 
Oct 28 17:49:26 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:26 localhost pci.agent[4013]: missing kernel or user mode driver 
snd-emu10k1 
Oct 28 17:49:26 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:26 localhost pci.agent[4051]: missing kernel or user mode driver 
emu10k1-gp 
Oct 28 17:49:26 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:26 localhost pci.agent[4089]: missing kernel or user mode driver 
b2c2-flexcop-pci 
Oct 28 17:49:26 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:26 localhost pci.agent[4127]: missing kernel or user mode driver 
saa7134 
Oct 28 17:49:26 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:26 localhost pci.agent[4165]: missing kernel or user mode driver 
ohci1394 
Oct 28 17:49:27 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:27 localhost pci.agent[4203]: missing kernel or user mode driver 
r8169 
Oct 28 17:49:27 localhost hotplug: Hotplug (pci.rc) start: succeeded
Oct 28 17:49:27 localhost modprobe: modprobe: Invalid line 15 
in /etc/modules.conf ^Idvb-core
Oct 28 17:49:27 localhost hotplug: Hotplug (misc.rc) start: succeeded
Oct 28 17:49:27 localhost block.rc: modprobe: Invalid line 15 
in /etc/modules.conf
Oct 28 17:49:27 localhost block.rc: ^Idvb-core
Oct 28 17:49:27 localhost block.rc: modprobe: Invalid line 15 
in /etc/modules.conf
Oct 28 17:49:27 localhost block.rc: ^Idvb-core
Oct 28 17:49:27 localhost hotplug: Hotplug (block.rc) start: failed
Oct 28 17:49:27 localhost acpi.rc: modprobe: 
Oct 28 17:49:27 localhost acpi.rc: Invalid line 15 in /etc/modules.conf
Oct 28 17:49:27 localhost acpi.rc: ^Idvb-core
Oct 28 17:49:27 localhost acpi.rc: modprobe: 
Oct 28 17:49:27 localhost acpi.rc: Invalid line 15 in /etc/modules.conf
Oct 28 17:49:27 localhost acpi.rc: ^Idvb-core
Oct 28 17:49:27 localhost acpi.rc: modprobe: 
Oct 28 17:49:27 localhost acpi.rc: Invalid line 15 in /etc/modules.conf
Oct 28 17:49:27 localhost acpi.rc: ^Idvb-core
Oct 28 17:49:27 localhost acpi.rc: modprobe: 
Oct 28 17:49:27 localhost acpi.rc: Invalid line 15 in /etc/modules.conf
Oct 28 17:49:27 localhost acpi.rc: ^Idvb-core
Oct 28 17:49:27 localhost acpi.rc: modprobe: 
Oct 28 17:49:27 localhost acpi.rc: Invalid line 15 in /etc/modules.conf
Oct 28 17:49:27 localhost acpi.rc: ^Idvb-core
Oct 28 17:49:27 localhost acpi.rc: modprobe: 
Oct 28 17:49:27 localhost acpi.rc: Invalid line 15 in /etc/modules.conf
Oct 28 17:49:27 localhost acpi.rc: ^Idvb-core
Oct 28 17:49:27 localhost hotplug: Hotplug (acpi.rc) start: failed
Oct 28 17:49:27 localhost hotplug: Hotplug (pcmcia.rc) start: succeeded
Oct 28 17:49:27 localhost hotplug: Hotplug (pcmcia_socket.rc) start: succeeded
Oct 28 17:49:28 localhost rc: Starting fbsetfont: succeeded
Oct 28 17:49:28 localhost acpid: acpid startup succeeded
Oct 28 17:49:28 localhost keytable: Loading keymap: ruwin_ct_sh-UTF-8 
Oct 28 17:49:28 localhost loadkeys: 
Loading /usr/lib/kbd/keymaps/i386/qwerty/ruwin_ct_sh-UTF-8.kmap.gz
Oct 28 17:49:28 localhost loadkeys: loadkeys: warning: this map uses Unicode 
symbols
Oct 28 17:49:28 localhost loadkeys:     (perhaps you want to do 
`kbd_mode -u'?)
Oct 28 17:49:28 localhost setsyskeytable: Loading keymap: ruwin_ct_sh-UTF-8 
succeeded


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

* Re: [Hardware] Как сделать что бы SkyStar-2 не " засыпала "
  2006-10-29 15:23       ` Sharavin Sergey
@ 2006-10-29 17:36         ` Michael Shigorin
  2006-10-30 12:58           ` Sharavin Sergey
  2006-10-29 17:40         ` Sergey Vlasov
  1 sibling, 1 reply; 10+ messages in thread
From: Michael Shigorin @ 2006-10-29 17:36 UTC (permalink / raw)
  To: hardware

On Sun, Oct 29, 2006 at 09:23:25PM +0600, Sharavin Sergey wrote:
> > Покажите сообщения об ошибках и uname -a.
> Вот modules.conf
> 
> # Local configuration goes here.
> # To inspect package defined part, see also /etc/modutils.d/
> 
> #tvtuner
> alias char-major-81 saa7134
> alias char-major-89 i2c-dev
> alias char-major-61 lirc_gpio
> alias char-major-81-0 saa7134
> alias char-major-81-1 saa7134
> alias char-major-81-64 saa7134
> options tda9887 secam=d
> options saa7134 card=35
> options tuner=38
> options dvb_core dvb_shutdown_timeout=0
> dvb_powerdown_on_sleep=0

А это что за перенос строки?  options -- одной.

> Oct 28 17:49:23 localhost modprobe: modprobe: Invalid line 15 
> in /etc/modules.conf ^Idvb-core

Дык.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [Hardware] Как сделать что бы SkyStar-2 не " засыпала "
  2006-10-29 15:23       ` Sharavin Sergey
  2006-10-29 17:36         ` Michael Shigorin
@ 2006-10-29 17:40         ` Sergey Vlasov
  2006-10-29 17:42           ` Sergey Vlasov
  1 sibling, 1 reply; 10+ messages in thread
From: Sergey Vlasov @ 2006-10-29 17:40 UTC (permalink / raw)
  To: hardware

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

On Sun, Oct 29, 2006 at 09:23:25PM +0600, Sharavin Sergey wrote:
> options dvb_core dvb_shutdown_timeout=0
> dvb_powerdown_on_sleep=0

Вообще-то это должна быть одна строка, а не две.

> В вот ошибки как раз показывающие на последнию 15 строку.
> Oct 28 17:49:23 localhost modprobe: modprobe: Invalid line 15 
> in /etc/modules.conf ^Idvb-core

А "dvb-core" (с '-') откуда?  ^I - это символ табуляции; похоже, в
файле есть строка, начинающаяся с табуляции и далее dvb-core, её и
нужно исправить.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Hardware] Как сделать что бы SkyStar-2 не " засыпала "
  2006-10-29 17:40         ` Sergey Vlasov
@ 2006-10-29 17:42           ` Sergey Vlasov
  0 siblings, 0 replies; 10+ messages in thread
From: Sergey Vlasov @ 2006-10-29 17:42 UTC (permalink / raw)
  To: hardware

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

On Sun, Oct 29, 2006 at 08:40:51PM +0300, Sergey Vlasov wrote:
> > В вот ошибки как раз показывающие на последнию 15 строку.
> > Oct 28 17:49:23 localhost modprobe: modprobe: Invalid line 15 
> > in /etc/modules.conf ^Idvb-core
> 
> А "dvb-core" (с '-') откуда?  ^I - это символ табуляции; похоже, в
> файле есть строка, начинающаяся с табуляции и далее dvb-core, её и
> нужно исправить.

Хотя не совсем так - ^I там берётся из какого-то другого места, а в
файле написано dvb-core в начале строки (пропущено options).

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Hardware] Как сделать что бы SkyStar-2 не " засыпала "
  2006-10-29 17:36         ` Michael Shigorin
@ 2006-10-30 12:58           ` Sharavin Sergey
  0 siblings, 0 replies; 10+ messages in thread
From: Sharavin Sergey @ 2006-10-30 12:58 UTC (permalink / raw)
  To: hardware

Спасибо, разобрался не было "options" перед "dvb_powerdown_on_sleep=0"
Теперь ошибки нет.
Ещё раз спасибо.

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

end of thread, other threads:[~2006-10-30 12:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-29  9:07 [Hardware] Как сделать что бы SkyStar-2 не " засыпала " Sharavin Sergey
2006-10-29 10:26 ` Konstantin A. Lepikhov
2006-10-29 10:49 ` Sergey Vlasov
2006-10-29 11:53   ` Sharavin Sergey
2006-10-29 13:43     ` Sergey Vlasov
2006-10-29 15:23       ` Sharavin Sergey
2006-10-29 17:36         ` Michael Shigorin
2006-10-30 12:58           ` Sharavin Sergey
2006-10-29 17:40         ` Sergey Vlasov
2006-10-29 17:42           ` Sergey Vlasov

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

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


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