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

Hello Alexander,

Wednesday, December 27, 2000, 7:29:51 PM, you wrote:

AB> On Wed, Dec 27, 2000 at 07:15:55PM +0300, Lenya Khachaturov wrote:
>> 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
AB>                     ^^^^^^^
                    
>> 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>                 Сергей.
>> 
>> М-да.... Вставил этот кусок в свой rc.sysinit, вроде не абы куда, и все - linux больше не
>> грузится. Можно как нибудь его оживить?

AB> Загрузитесь с параметром nousb для ядра:
AB> lilo: linux nousb

Не помогло.

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





  reply	other threads:[~2000-12-27 19:43 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             ` [mdk-re] Re[3]: " Lenya Khachaturov
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               ` Lenya Khachaturov [this message]
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=1309977737.20001227194408@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