Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/proc/bus/usb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
olivierweb
Tux's lil' helper
Tux's lil' helper


Joined: 09 Dec 2002
Posts: 113
Location: France

PostPosted: Wed May 04, 2016 8:49 pm    Post subject: /proc/bus/usb Reply with quote

Bonjour,

j'utilisais sur un vieux micro le logiciel s710 (sources ici) sans problème.

Seulement, je n'ai plus cette vieille installation et sur mon nouveau micro, je n'arrive pas à le faire tourner. Voici l'erreur :

Quote:
usb_set_debug(99)
usb_find_devices is done
The Polar USB interface was not found. Boo hoo.

If you turned your computer on with the USB device already
plugged in, try unplugging it and then plugging it back in.
If you're on a Linux system and you can't find anything in
/proc/bus/usb, then you need to mount usbdevfs (as root):

mount -t usbdevfs usbdevfs /proc/bus/usb

Unplug the device and plug it back in, and it should show
up under /proc/bus/usb somewhere. If you're on Mac OS X,
guess what? You're (almost) totally out of luck. You can't
use the USB attachment on Mac OS X because Polar's USB device
is broken in a way that Mac OS X won't forgive. You have to
use Polar's serial interface and connect it to a USB-Serial
adapter such as the Keyspan USA-19QW. See the following for
details:

doc/README.usb
doc/README.osx

unable to open port: Resource temporarily unavailable


Il semblerait que ce programme nécessite /proc/bus/usb, mais ce chemin n'existe pas sur mon gentoo utilisant un noyau 3.16.

Mon ancien système utilisait un noyau 2.6, je n'ai pas suivi les changements dans les noyaux, est-il possible d'avoir /proc/bus/usb ?

Merci de votre aide, remarque ou tout renseignement.

Note : je ne suis pas sûr que le programme interroge directement /proc/bus/usb, il est compilé avec libusb.
_________________
With Gentoo since 2002...
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1896
Location: 127.0.0.1

PostPosted: Thu May 05, 2016 7:29 am    Post subject: Reply with quote

Quote:

Mon ancien système utilisait un noyau 2.6, je n'ai pas suivi les changements dans les noyaux, est-il possible d'avoir /proc/bus/usb ?

Avec les mises à jour du noyau, /proc a été déprécié en faveur de /sys, si tu veux voir réapparaître /proc, vérifie que ton kernel est compilé avec CONFIG_PROC_FS.
Dans un premier temps, essaie tout de même de l'ajouter pour voir si çà règle le problème.
En lisant le code, on voit que juste avant cette erreur, une double boucle for imbriquée parcourt les bus USB à la recherche de S710_USB_PRODUCT_ID visiblement sans succès.

Edit: si tu as déjà /proc et qu'il te manque /proc/bus/usb, vu ta version du noyau, il semblerait en effet que CONFIG_USB_DEVICEFS ait bel et bien disparu des versions > 3.4 du kernel.
Back to top
View user's profile Send private message
olivierweb
Tux's lil' helper
Tux's lil' helper


Joined: 09 Dec 2002
Posts: 113
Location: France

PostPosted: Thu May 05, 2016 9:24 pm    Post subject: Reply with quote

Merci pour les infos.

Je vais voir si je peux installer un gentoo-sources-3.4.
_________________
With Gentoo since 2002...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum