Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[coldplug]no such file: /proc/bus/usb/001/002 [RESOLU]
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
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Thu Nov 25, 2004 11:37 pm    Post subject: [coldplug]no such file: /proc/bus/usb/001/002 [RESOLU] Reply with quote

edit: sujet précédent, moins accrocheur "[coldplug]Midiman Midisport USB 4x4 (piste: cas similaire)"

Salut,

Apparemment, j'ai un changement d'identifiant USB étrange : coldplug croit voir un périphérique dans /proc/bus/usb/001/002, mais en fait l'identifiant du port est différent si je branche à chand : /proc/bus/usb/003/003

Je suis sous UDEV, si ça vous aide.


Quote:
Hello,

Je n'arrive pas à démarrer en "coldplug" le firmware de mon boîtier Midiman Midisport USB 4x4 (périphérique MIDI USB). Si je débranche/rebranche l'appareil, hotplug le détecte et le démarre.

J'ai une souris en USB qui elle, est bien gérée.

En "ColdPlug", j'ai le message suivant dans /var/log/messages
Quote:
/etc/hotplug/usb/midisport_fw: load /usr/share/usb/midisport/MidiSport4x4.ihx for 0763/1020/0001 to /proc/bus/usb/001/002

mais aussi une erreur "no such file: /proc/bus/usb/001/002"

En débranchant/rebranchant l'appareil au même port, j'ai ceci
Quote:
/etc/hotplug/usb/midisport_fw: load /usr/share/usb/midisport/MidiSport4x4.ihx for 763/1020/1 to /proc/bus/usb/003/003

et comme vous le voyez, le numéro du port change !

Zarbi... ceci expliquerait pourquoi coldplug n'arrive pas à démarrer le bidule.

Avez-vous quelques pistes ? (s'il le faut, je vous dumpe tout ce que vous voulez :lol:)


[EDIT]J'ai trouvé un patch de /etc/init.d/hotplug/rc.usb dans bugzilla qui arrange les choses :
- le bug: https://bugs.gentoo.org/show_bug.cgi?id=71180
- le patch: https://bugs.gentoo.org/attachment.cgi?id=45105&action=view
[/EDIT]
Bref, résolu tout seul... l'a fallu mettre des "echo" partout, mais j'ai finalement trouvé la cause et donc par après ai pu chercher le patch :D
_________________
Kind regards,
Xavier Miller


Last edited by xaviermiller on Wed Dec 15, 2004 8:27 pm; edited 4 times in total
Back to top
View user's profile Send private message
Osboots
n00b
n00b


Joined: 14 May 2004
Posts: 36
Location: /Europe/France/Orleans

PostPosted: Fri Nov 26, 2004 8:04 am    Post subject: Reply with quote

Salut,
J'ai constaté la même chose avec un clé usb.
Le port évolue de 0 à 4 et repasse à 0 à chaque fois que je branche et débranche ma clé.
Je ne sais pas si c'est un comportement normal mais ca marche quand même.
Le problème vient peut-être d'ailleur ...
A++
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Fri Nov 26, 2004 9:54 pm    Post subject: Reply with quote

Bon, et bien, on avance... :?

Merci déjà pour cette première piste ;)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Tue Nov 30, 2004 8:21 pm    Post subject: Reply with quote

Coucou,

Quelqu'un a-t-il une idée géniale, à part débrancher-rebrancher l'appareil ?

Construire un petit robot qui le ferait à ma place ? hmmm, oui... 8)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Tue Nov 30, 2004 8:40 pm    Post subject: Reply with quote

désolé, pas d'idée géniale, mais un truc : j'avais ce genre de problème avec un scanner usb, il n'était jamais sur le meme numéro dans /proc/bus/usb . Il a fallu que je bidouille le fichier usb.usermap dans /etc/hoplug pour qu'il soit reconnu par mon programme de scan.

hum. mais si je me souviens bien, il restait sur le meme port, c'est le numéro de périphérique qui changeait.

Bref, je ne peux pas t'en dire bcp plus (j'ai changé de machine et je n'ai plus de scanner), mais c'est peut être une piste ...

bonne chance
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Tue Nov 30, 2004 9:50 pm    Post subject: Reply with quote

Si je boote Windows d'abord, coldplug le trouve.
Mais c'est de la triche car là, le firmware est encore en mémoire quand le pc reboote :?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Wed Dec 15, 2004 8:20 pm    Post subject: Reply with quote

yup, j'ai trouvé, yip yip yip gaaaaaaaaaaaaaaa !!!! :lol:
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Wed Dec 15, 2004 8:29 pm    Post subject: Reply with quote

oui ?

une explication de cette joie subite ?

:)
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Wed Dec 15, 2004 8:40 pm    Post subject: Reply with quote

marvin rouge wrote:
oui ?

une explication de cette joie subite ?

:)


dans l'EDIT du 1er post non ?
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Wed Dec 15, 2004 8:43 pm    Post subject: Reply with quote

kernel_sensei wrote:
marvin rouge wrote:
oui ?

une explication de cette joie subite ?

:)


dans l'EDIT du 1er post non ?


doh !

stupid me.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Wed Dec 15, 2004 8:53 pm    Post subject: Reply with quote

oui, dans le 1er post, je pensais mettre la réponse là, est-ce bien judicieux, O Modérateurs et Vétérans ?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Wed Dec 15, 2004 8:58 pm    Post subject: Reply with quote

XavierMiller wrote:
oui, dans le 1er post, je pensais mettre la réponse là, est-ce bien judicieux, O Modérateurs et Vétérans ?


A la limite mets le aussi ici, comme ca tout est clair !
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Wed Dec 15, 2004 9:08 pm    Post subject: Re: [coldplug]no such file: /proc/bus/usb/001/002 [RESOLU] Reply with quote

voilà :lol:
XavierMiller wrote:

[EDIT]J'ai trouvé un patch de /etc/init.d/hotplug/rc.usb dans bugzilla qui arrange les choses :
- le bug: https://bugs.gentoo.org/show_bug.cgi?id=71180
- le patch: https://bugs.gentoo.org/attachment.cgi?id=45105&action=view
[/EDIT]
Bref, résolu tout seul... l'a fallu mettre des "echo" partout, mais j'ai finalement trouvé la cause et donc par après ai pu chercher le patch :D

_________________
Kind regards,
Xavier Miller
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