From: AB <sass@uustoll.ee> To: mandrake-russian@linuxteam.iplabs.ru Subject: Re: [mdk-re] Re[3]: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] USB ÎÅ ÒÁÂÏÔÁÅÔ Date: Wed Dec 27 23:12:01 2000 Message-ID: <200012272010.WAA01330@sass.home> (raw) In-Reply-To: <378978450.20001227192728@mail.ru> On Wed, 27 Dec 2000 19:27:28 +0300 Lenya Khachaturov <lenyak@mail.ru> wrote: LK> Hello Lenya, LK> LK> Wednesday, December 27, 2000, 7:15:55 PM, you wrote: LK> LK> LK> Hello Sergei, LK> LK> LK> Wednesday, December 27, 2000, 12:03:32 AM, you wrote: LK> LK> LK> SE>> -----Original Message----- LK> SE>> From: Lenya Khachaturov <lenyak@mail.ru> LK> SE>> To: Viacheslav Kaloshin <mandrake-russian@linuxteam.iplabs.ru> LK> SE>> Date: Tue, 26 Dec 2000 18:20:45 +0300 LK> SE>> Subject: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] USB не работает LK> LK> SE>> у меня сейчас Red Hat 7.0 Вот что у нее: LK> SE>> /etc/modules.conf: LK> SE>> ... LK> SE>> alias usb-controller usb-uhci LK> SE>> ... LK> LK> LK> SE>> /etc/rc.d/init.d/rc.sysinit LK> SE>> ... LK> SE>> usb=0 LK> SE>> if ! grep -iq "nousb" /proc/cmdline 2>/dev/null && ! grep -q "usb" /proc/devices 2>/dev/null ; then LK> SE>> alias=`egrep -s "^alias[[:space:]]+usb-controller[[:space:]]+" /etc/modules.conf | awk '{ print $3 }'` LK> SE>> if [ -n "$alias" -a "$alias" != "off" ] ; then LK> SE>> action "Initialize USB controller ($alias): " modprobe $alias LK> SE>> [ $? -eq 0 ] && usb=1 LK> SE>> fi LK> SE>> fi LK> LK> SE>> if [ $usb = "1" ]; then LK> SE>> sleep 5 LK> SE>> action "Mounting USB filesystem: " mount -t usbdev usbdevfs /proc/bus/usb LK> SE>> mouseoutput=`cat /proc/bus/usb/devices|grep -E "^I.*Cls=03.*Prot=02"` LK> SE>> kbdoutput=`cat /proc/bus/usb/devices|grep -E "^I.*Cls=03.*Prot=01"` LK> SE>> if [ -n "$kbdoutput" ] || [ -n "$mouseoutput" ]; then LK> SE>> action "Init USB HID interfaces: " modprobe hid 2> /dev/null LK> SE>> fi LK> SE>> if [ -n "$kbdoutput" ]; then LK> SE>> action "Init USB keyb: " modprobe keybdev LK> SE>> fi LK> SE>> if [ -n "$mouseoutput" ]; then LK> SE>> action "Init USB keyb: " modprobe mousedev LK> SE>> fi LK> SE>> fi LK> SE>> ... LK> LK> SE>> У меня это аботает нормально при обычных ядрах Ip Labs и RedHat 7.0, а также при сборке USB в качестве модулей. LK> SE>> Сергей. LK> LK> LK> М-да.... Вставил этот кусок в свой rc.sysinit, вроде не абы куда, и все - linux больше не LK> LK> грузится. Можно как нибудь его оживить? LK> LK> Вдогонку: linux single грузится, но - дискету смонтировать нельзя, LK> чтобы нормальный rc.sysinit восстановить. Остается только одно - vi. LK> А как им пользоваться? Нужно выделить кусок, стереть его и выйти. Все. LK> LK> LK> -- LK> Best regards, LK> Lenya mailto:lenyak@mail.ru LK> Входишь в vi, нажимаешь "i", вырезаешь лишний кусок, жми "esc", затем ":", затем набираешь в появившейся строке "wq!", ENTER. -- Best regards AB -- ... In nomine Atli, et Ctrli, et Spititus Deli, Reset!
next prev parent reply other threads:[~2000-12-27 23:12 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2000-12-25 18:39 [mdk-re] USB не работает 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 ` AB [this message] 2000-12-28 12:15 ` [mdk-re] Re[2]: " 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=200012272010.WAA01330@sass.home \ --to=sass@uustoll.ee \ --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