[ya-knoppix-jp-devel 272] Re: usbcd ダメでした

Back to archive index

Masaharu Goto magot****@fubys*****
2003年 1月 29日 (水) 01:39:27 JST


Maxです


参考までに

2003 1月 29 水曜日 00:47、Daisuke Kameda さんは書きました:

> もしかして、"uhci.o"を含んでないからだったりしますかね。
> もしそうなら、linuxrcのUSB_MODULESにuhci.oを追加して、
> /modules/usb に置けば上手くいくかもしれませんが、
> insmodする順序とかは分からない・・・。

本家最新版knoppix-autoconfig(先日メール投げましたが)では、
下記のような処理をしています。主にマウスの検出のための部分ですが。

----------------------------------------------------------------
# USB enable
if checkbootparam "nousb"; then
echo " ${BLUE}Skipping USB detection as requested on boot 
commandline.${NORMAL}"
else
# USB/Mouse Check/Setup
# This needs to be done before other modules are being loaded by hwsetup
insmod usbcore  >/dev/null 2>&1
# We now try to load both USB modules, in case someone has 2 different
# controllers
FOUNDUSB=""
for u in usb-uhci usb-ohci; do insmod "$u" >/dev/null 2>&1 && FOUNDUSB="yes"; 
done
if [ -n "$FOUNDUSB" ]; then
HOTPLUG="yes"
echo " ${GREEN}USB found, managed by ${MAGENTA}hotplug${GREEN}.${NORMAL}"
mount -o devmode=0666 -t usbdevfs none /proc/bus/usb >/dev/null 2>&1
else
rmmod usbcore 2>/dev/null
fi
fi
----------------------------------------------------------------
これをみると、usb-uhci usb-ohci という順番ですね。

-- 
Masaharu "Max" Goto
GnuPG Key fingerprint = 4D69 6B1D 484D 999C EDA7  2853 32AF 0C86 9323 3DDB




Ya-knoppix-jp-devel メーリングリストの案内
Back to archive index