int test_kit()
{
int numOutputs=3D0;
int err;
CPhidgetInterfaceKitHandle IFK =3D 0;
CPhidgetInterfaceKit_create(&IFK);
CPhidget_open((CPhidgetHandle)IFK, -1);
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
remy
dans la série je suis mal barré je viens de tomber sur un fichier rules que voila
# Very old Phidgets SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="0925", ATTRS{idProduct}=="8101", MODE="666" SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="0925", ATTRS{idProduct}=="8104", MODE="666" SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="0925", ATTRS{idProduct}=="8201", MODE="666"
# All current and future Phidgets - Vendor = 0x06c2, Product = 0x0030 - 0x00af SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="06c2", ATTRS{idProduct}=="00[3-a][0-f]", MODE="666"
que j'ai mis dans sudo cp 99-phidgets.rules /lib/udev/rules.d/
pour info dmesg
[31238.240021] usb 4-1: new low speed USB device using uhci_hcd and address 5 [31238.424764] usb 4-1: configuration #1 chosen from 1 choice
mais cela ne veux rien savoir
:~/....$ ./ifkit branche la carte du con :~/....$ sudo ./ifkit Outputs:4 Outputs 0: on Outputs 0: off Outputs 0: on Outputs 0: off :~/Bureau/Phidgetlinux/phidget21/examples$
remy
-- http://remyaumeunier.chez-alice.fr/
dans la série je suis mal barré
je viens de tomber sur un fichier rules que voila
# Very old Phidgets
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="0925",
ATTRS{idProduct}=="8101", MODE="666"
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="0925",
ATTRS{idProduct}=="8104", MODE="666"
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="0925",
ATTRS{idProduct}=="8201", MODE="666"
# All current and future Phidgets - Vendor = 0x06c2, Product = 0x0030 -
0x00af
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="06c2",
ATTRS{idProduct}=="00[3-a][0-f]", MODE="666"
que j'ai mis dans
sudo cp 99-phidgets.rules /lib/udev/rules.d/
pour info dmesg
[31238.240021] usb 4-1: new low speed USB device using uhci_hcd and
address 5
[31238.424764] usb 4-1: configuration #1 chosen from 1 choice
mais cela ne veux rien savoir
remy@remy:~/....$ ./ifkit
branche la carte du con
remy@remy:~/....$ sudo ./ifkit
Outputs:4
Outputs 0: on
Outputs 0: off
Outputs 0: on
Outputs 0: off
remy@remy:~/Bureau/Phidgetlinux/phidget21/examples$
dans la série je suis mal barré je viens de tomber sur un fichier rules que voila
# Very old Phidgets SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="0925", ATTRS{idProduct}=="8101", MODE="666" SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="0925", ATTRS{idProduct}=="8104", MODE="666" SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="0925", ATTRS{idProduct}=="8201", MODE="666"
# All current and future Phidgets - Vendor = 0x06c2, Product = 0x0030 - 0x00af SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="06c2", ATTRS{idProduct}=="00[3-a][0-f]", MODE="666"
que j'ai mis dans sudo cp 99-phidgets.rules /lib/udev/rules.d/
pour info dmesg
[31238.240021] usb 4-1: new low speed USB device using uhci_hcd and address 5 [31238.424764] usb 4-1: configuration #1 chosen from 1 choice
mais cela ne veux rien savoir
:~/....$ ./ifkit branche la carte du con :~/....$ sudo ./ifkit Outputs:4 Outputs 0: on Outputs 0: off Outputs 0: on Outputs 0: off :~/Bureau/Phidgetlinux/phidget21/examples$
remy
-- http://remyaumeunier.chez-alice.fr/
remy
remy a écrit :
ça roule merci à vous la réponse était juste au dessus nez dans le guidon tout ça
remy
-- http://remyaumeunier.chez-alice.fr/
remy a écrit :
ça roule merci à vous
la réponse était juste au dessus
nez dans le guidon tout ça