slt tout le monde un peu moins débutant que l'autre fois je crois avoir
compris que les port USB sont soit uhci ou ohci ou ehci apparment chez moi
c'est UHCI.
Quand je connecte momodem speedtouch usb j'ai le msg suivant
Starting ADSL connection...
/usr/bin/speedtouch-start: line 89: lspci: command not found
/usr/bin/speedtouch-start: line 104: lspci: command not found
Les lignes 89 & 104 font un conrole surement inutile puis je enlever toutes
les lignes ohci et ehci sans risque ?
ps dans le module.conf j'ai également
probeall usb-interface usb-uhci peut être aussi enlever celle là ?
Merci
Alain
# check for UHCI
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q UHCI; then
if lspci -v | grep "USB Controller" | grep -q UHCI; then
echo -n "Loading UHCI support... "
modprobe $UHCI
if [ "${UHCI_BIS}" ]; then modprobe $UHCI_BIS; fi
sleep 1
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q UHCI; then
echo "KO";
else
echo "OK";
fi
fi
fi
# check for OHCI
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q OHCI; then
ici ligne 89 if lspci -v | grep "USB Controller" | grep -q OHCI; then
echo -n "Loading OHCI support... "
modprobe $OHCI
sleep 1
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q OHCI; then
echo "KO";
else
echo "OK";
fi
fi
fi
# check for EHCI
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q EHCI; then
ici ligne 104 if lspci -v | grep "USB Controller" | grep -q EHCI; then
modprobe $EHCI
sleep 1
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q EHCI; then
echo "KO";
else
echo "OK";
fi
fi
fi
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Fluber
Alain P wrote:
slt tout le monde un peu moins débutant que l'autre fois je crois avoir compris que les port USB sont soit uhci ou ohci ou ehci apparment chez moi c'est UHCI.
Quand je connecte momodem speedtouch usb j'ai le msg suivant Starting ADSL connection... /usr/bin/speedtouch-start: line 89: lspci: command not found /usr/bin/speedtouch-start: line 104: lspci: command not found
Les lignes 89 & 104 font un conrole surement inutile puis je enlever toutes les lignes ohci et ehci sans risque ?
ps dans le module.conf j'ai également probeall usb-interface usb-uhci peut être aussi enlever celle là ?
Merci Alain
# check for UHCI
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q UHCI; then if lspci -v | grep "USB Controller" | grep -q UHCI; then echo -n "Loading UHCI support... " modprobe $UHCI if [ "${UHCI_BIS}" ]; then modprobe $UHCI_BIS; fi sleep 1 if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q UHCI; then echo "KO"; else echo "OK"; fi fi fi
# check for OHCI
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q OHCI; then ici ligne 89 if lspci -v | grep "USB Controller" | grep -q OHCI; then echo -n "Loading OHCI support... " modprobe $OHCI sleep 1 if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q OHCI; then echo "KO"; else echo "OK"; fi fi fi
# check for EHCI
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q EHCI; then ici ligne 104 if lspci -v | grep "USB Controller" | grep -q EHCI; then modprobe $EHCI sleep 1 if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q EHCI; then echo "KO"; else echo "OK"; fi fi fi
essayes
urpmi lspci
-- Be free use Gnu/Linux
Alain P wrote:
slt tout le monde un peu moins débutant que l'autre fois je crois avoir
compris que les port USB sont soit uhci ou ohci ou ehci apparment chez moi
c'est UHCI.
Quand je connecte momodem speedtouch usb j'ai le msg suivant
Starting ADSL connection...
/usr/bin/speedtouch-start: line 89: lspci: command not found
/usr/bin/speedtouch-start: line 104: lspci: command not found
Les lignes 89 & 104 font un conrole surement inutile puis je enlever
toutes les lignes ohci et ehci sans risque ?
ps dans le module.conf j'ai également
probeall usb-interface usb-uhci peut être aussi enlever celle là ?
Merci
Alain
# check for UHCI
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q UHCI; then
if lspci -v | grep "USB Controller" | grep -q UHCI; then
echo -n "Loading UHCI support... "
modprobe $UHCI
if [ "${UHCI_BIS}" ]; then modprobe $UHCI_BIS; fi
sleep 1
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q UHCI;
then
echo "KO";
else
echo "OK";
fi
fi
fi
# check for OHCI
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q OHCI; then
ici ligne 89 if lspci -v | grep "USB Controller" | grep -q OHCI; then
echo -n "Loading OHCI support... "
modprobe $OHCI
sleep 1
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q OHCI;
then
echo "KO";
else
echo "OK";
fi
fi
fi
# check for EHCI
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q EHCI; then
ici ligne 104 if lspci -v | grep "USB Controller" | grep -q EHCI; then
modprobe $EHCI
sleep 1
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q EHCI;
then
echo "KO";
else
echo "OK";
fi
fi
fi
slt tout le monde un peu moins débutant que l'autre fois je crois avoir compris que les port USB sont soit uhci ou ohci ou ehci apparment chez moi c'est UHCI.
Quand je connecte momodem speedtouch usb j'ai le msg suivant Starting ADSL connection... /usr/bin/speedtouch-start: line 89: lspci: command not found /usr/bin/speedtouch-start: line 104: lspci: command not found
Les lignes 89 & 104 font un conrole surement inutile puis je enlever toutes les lignes ohci et ehci sans risque ?
ps dans le module.conf j'ai également probeall usb-interface usb-uhci peut être aussi enlever celle là ?
Merci Alain
# check for UHCI
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q UHCI; then if lspci -v | grep "USB Controller" | grep -q UHCI; then echo -n "Loading UHCI support... " modprobe $UHCI if [ "${UHCI_BIS}" ]; then modprobe $UHCI_BIS; fi sleep 1 if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q UHCI; then echo "KO"; else echo "OK"; fi fi fi
# check for OHCI
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q OHCI; then ici ligne 89 if lspci -v | grep "USB Controller" | grep -q OHCI; then echo -n "Loading OHCI support... " modprobe $OHCI sleep 1 if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q OHCI; then echo "KO"; else echo "OK"; fi fi fi
# check for EHCI
if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q EHCI; then ici ligne 104 if lspci -v | grep "USB Controller" | grep -q EHCI; then modprobe $EHCI sleep 1 if ! grep "^S: Product=" /proc/bus/usb/devices |grep -q EHCI; then echo "KO"; else echo "OK"; fi fi fi
essayes
urpmi lspci
-- Be free use Gnu/Linux
Hervé Riboulot
Fluber a écrit :
Alain P wrote:
slt tout le monde un peu moins débutant que l'autre fois je crois avoir compris que les port USB sont soit uhci ou ohci ou ehci apparment chez moi c'est UHCI.
[...]
essayes
urpmi lspci
Lspci, comme son nom l'indique, liste les ports PCI détectés. On peut par ailleurs visualiser le contenu de /proc/pci
... Il n'y a donc pas grand rapport avec les ports usb.
Pour visualiser les ports USB, le programme ad hoc est usbview "USBView is a GTK program that displays the topography of the devices that are plugged into the USB bus on a Linux machine. It also displays information on each of the devices. This can be useful to determine if a device is working properly or not".
Fluber a écrit :
Alain P wrote:
slt tout le monde un peu moins débutant que l'autre fois je crois avoir
compris que les port USB sont soit uhci ou ohci ou ehci apparment chez moi
c'est UHCI.
[...]
essayes
urpmi lspci
Lspci, comme son nom l'indique, liste les ports PCI détectés. On peut
par ailleurs visualiser le contenu de /proc/pci
... Il n'y a donc pas grand rapport avec les ports usb.
Pour visualiser les ports USB, le programme ad hoc est usbview "USBView
is a GTK program that displays the topography of the devices that are
plugged into the USB bus on a Linux machine. It also displays
information on each of the devices. This can be useful to determine if a
device is working properly or not".
slt tout le monde un peu moins débutant que l'autre fois je crois avoir compris que les port USB sont soit uhci ou ohci ou ehci apparment chez moi c'est UHCI.
[...]
essayes
urpmi lspci
Lspci, comme son nom l'indique, liste les ports PCI détectés. On peut par ailleurs visualiser le contenu de /proc/pci
... Il n'y a donc pas grand rapport avec les ports usb.
Pour visualiser les ports USB, le programme ad hoc est usbview "USBView is a GTK program that displays the topography of the devices that are plugged into the USB bus on a Linux machine. It also displays information on each of the devices. This can be useful to determine if a device is working properly or not".