ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Lenya Khachaturov <lenyak@mail.ru>
To: mandrake <mandrake-russian@linuxteam.iplabs.ru>
Subject: [mdk-re] Re[3]: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] USB  не работает
Date: Wed Dec 27 19:27:00 2000
Message-ID: <378978450.20001227192728@mail.ru> (raw)
In-Reply-To: <1508285624.20001227191555@mail.ru>

Hello Lenya,

Wednesday, December 27, 2000, 7:15:55 PM, you wrote:

LK> Hello Sergei,

LK> Wednesday, December 27, 2000, 12:03:32 AM, you wrote:


SE>> -----Original Message-----
SE>> From: Lenya Khachaturov <lenyak@mail.ru>
SE>> To: Viacheslav Kaloshin <mandrake-russian@linuxteam.iplabs.ru>
SE>> Date: Tue, 26 Dec 2000 18:20:45 +0300
SE>> Subject: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] USB  не работает

SE>> у меня сейчас Red Hat 7.0 Вот что у нее:
SE>> /etc/modules.conf:
SE>> ...
SE>> alias usb-controller usb-uhci
SE>> ...


SE>> /etc/rc.d/init.d/rc.sysinit
SE>> ...
SE>> usb=0
SE>> if ! grep -iq "nousb" /proc/cmdline 2>/dev/null && ! grep -q "usb" /proc/devices 2>/dev/null ; then
SE>>         alias=`egrep -s "^alias[[:space:]]+usb-controller[[:space:]]+" /etc/modules.conf | awk '{ print $3 }'`
SE>>         if [ -n "$alias" -a "$alias" != "off" ] ; then
SE>>                 action "Initialize USB controller ($alias): " modprobe $alias
SE>>                 [ $? -eq 0 ] && usb=1
SE>>         fi
SE>> fi

SE>> if [ $usb = "1" ]; then
SE>>         sleep 5
SE>>         action "Mounting USB filesystem: " mount -t usbdev usbdevfs /proc/bus/usb
SE>>         mouseoutput=`cat /proc/bus/usb/devices|grep -E "^I.*Cls=03.*Prot=02"`
SE>>         kbdoutput=`cat /proc/bus/usb/devices|grep -E "^I.*Cls=03.*Prot=01"`
SE>>         if [ -n "$kbdoutput" ] || [  -n "$mouseoutput" ]; then
SE>>                 action "Init USB HID interfaces: " modprobe hid 2> /dev/null
SE>>         fi
SE>>         if [ -n "$kbdoutput" ]; then
SE>>                 action "Init USB keyb: " modprobe keybdev
SE>>         fi
SE>>         if [ -n "$mouseoutput" ]; then
SE>>                 action "Init USB keyb: " modprobe mousedev
SE>>         fi
SE>> fi
SE>> ...

SE>>  У меня это аботает нормально при обычных ядрах Ip Labs и RedHat 7.0, а также при сборке USB в качестве модулей.
SE>>                 Сергей.

LK> М-да.... Вставил этот кусок в свой rc.sysinit, вроде не абы куда, и все - linux больше не
LK> грузится. Можно как нибудь его оживить?

Вдогонку: linux single грузится, но - дискету смонтировать нельзя,
чтобы нормальный rc.sysinit восстановить. Остается только одно - vi.
А как им пользоваться? Нужно выделить кусок, стереть его и выйти. Все.


-- 
Best regards,
 Lenya                            mailto:lenyak@mail.ru





  reply	other threads:[~2000-12-27 19:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-25 18:39 Lenya Khachaturov
2000-12-25 18:54 ` Viacheslav Kaloshin
2000-12-25 20:01   ` [mdk-re] Re[2]: " Lenya Khachaturov
2000-12-26 13:19     ` Viacheslav Kaloshin
2000-12-26 15:03       ` [mdk-re] Re[2]: [mdk-re] USB ÎÅ ÒÁÂÏÔÁÅÔ AB
2000-12-26 21:43       ` [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] USB не работает Lenya Khachaturov
2000-12-26 22:08         ` [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] USB ÎÅ ÒÁÂÏÔÁÅÔ AB
2000-12-27  0:02         ` Sergei Epiphanov
2000-12-27 12:31           ` AB
2000-12-27 19:15           ` [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] USB не работает Lenya Khachaturov
2000-12-27 19:27             ` Lenya Khachaturov [this message]
2000-12-27 23:12               ` [mdk-re] Re[3]: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] USB ÎÅ ÒÁÂÏÔÁÅÔ AB
2000-12-28 12:15                 ` [mdk-re] Re[2]: [mdk-re] Re[3]: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] USB не работает Lenya Khachaturov
2000-12-28 15:08                   ` [mdk-re] USB ÎÅ ÒÁÂÏÔÁÅÔ Sergei Aranovsky
2000-12-27 19:30             ` [mdk-re] Re: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] USB не работает Alexander Bokovoy
2000-12-27 19:43               ` [mdk-re] " Lenya Khachaturov
2000-12-27 23:38             ` [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] USB ÎÅ ÒÁÂÏÔÁÅÔ Sergei Epiphanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=378978450.20001227192728@mail.ru \
    --to=lenyak@mail.ru \
    --cc=mandrake-russian@linuxteam.iplabs.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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