ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] ALM24 kernel 26 & psmouse
@ 2004-11-18 10:58 Maxim Morzhukhin
  2004-11-18 11:02 ` [Comm] " Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Morzhukhin @ 2004-11-18 10:58 UTC (permalink / raw)
  To: community

   Коллеги - кто подскажет куда в структуру /etc/X11 вставить скрипт 
типа:

if uname -r|grep "2.6"; then
  modprobe psmouse
fi

чтобы в случае загрузки ядра 2.6 в 5 runlevel нормально работала мышь?

Попробовал /etc/X11/xinit.d - но как выяснилось там скрипты запускаются 
от пользователя прошедшего через xdm/kdm, соответственно до авторизации 
мышь не работает, да и собственно modprobe не хватает прав и нужно 
настраивать sudo - не совсем гибкое решение!

-- 
  rgrds
  Maxim


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

* [Comm] Re: ALM24 kernel 26 & psmouse
  2004-11-18 10:58 [Comm] ALM24 kernel 26 & psmouse Maxim Morzhukhin
@ 2004-11-18 11:02 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2004-11-18 11:02 UTC (permalink / raw)
  To: community

On Thu, Nov 18, 2004 at 03:58:31PM +0500, Maxim Morzhukhin wrote:
> Коллеги - кто подскажет куда в структуру /etc/X11 вставить
> скрипт типа:
> if uname -r|grep "2.6"; then
>   modprobe psmouse
> fi

Дома было сделано иначе:

--- /etc/modules
psmouse
---

--- /etc/modules.conf
if -n `kernelversion_minor` < 5
        alias psmouse off
endif
---

(на самом деле там много больше условностей, но не относящихся к
исходному вопросу)

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


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

end of thread, other threads:[~2004-11-18 11:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-18 10:58 [Comm] ALM24 kernel 26 & psmouse Maxim Morzhukhin
2004-11-18 11:02 ` [Comm] " Michael Shigorin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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