View previous topic :: View next topic |
Author |
Message |
pikapika n00b

Joined: 26 Apr 2003 Posts: 71
|
Posted: Mon May 19, 2003 12:01 am Post subject: archos et clié |
|
|
alors le truc bete c que j'arrive pas a trouver comment faire monter mon archos !
dans le /var/log/messages j'ai ca :
May 19 02:00:56 www kernel: hub.c: new USB device 00:07.3-2, assigned address 3
May 19 02:00:56 www kernel: usb.c: USB device 3 (vend/prod 0x5ab/0x31) is not claimed by any active driver.
alors que g le mass storage support dans le kernel (en dur)
et pour le clié, je n'ai ni dev/pilot, ni de dev/ttyusb0 ou 1 !
alors si vous avez des idées
merci |
|
Back to top |
|
 |
deurk Apprentice


Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Mon May 19, 2003 8:08 am Post subject: |
|
|
pour le clié il faut que tu compiles ton noyau avec usb serial adaptater, visor machin, que tu aies l'usb d'activé en kernel et que tu aies également tout ce qui touche au plug'n'play...
Pour tes tests, mets toi en root, les users ont pas forcemment les bon droits...
et pour tes périph, regarde plutot dans /proc/bus/usb/... c'est là qu'ils apparaissent...
Bon courage  |
|
Back to top |
|
 |
pikapika n00b

Joined: 26 Apr 2003 Posts: 71
|
Posted: Mon May 19, 2003 9:51 am Post subject: |
|
|
hello ! merci pour la réponse !
côté visor, et usb activé, c bon ! dans les messages il apprait bien et est affecté à /dev/ttyusb0, mais qui n'existe pas ! |
|
Back to top |
|
 |
deurk Apprentice


Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Mon May 19, 2003 10:10 am Post subject: |
|
|
Hmmm...
Voici le détail de ma config de kernel concernant l'USB (tout le reste est désactivé):
Code: |
# USB support
CONFIG_USB=m
CONFIG_USB_DEBUG=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_STORAGE=m
CONFIG_USB_SERIAL=m
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_VISOR=m
|
Avec ca tu devrais avoir un /proc/bus/usb...
Sinon tu as aussi la commande usbview qui te permet de voir quand tu plugges tes trucs si le kernel les voit...
Et puis pour info, voici un extrait de lsmod chez moi:
Code: |
Module Size Used by Tainted: P
usbserial 18108 0 (unused)
uhci 27344 0 (unused)
usbcore 70208 1 [usbserial uhci]
|
 |
|
Back to top |
|
 |
pikapika n00b

Joined: 26 Apr 2003 Posts: 71
|
Posted: Mon May 19, 2003 3:30 pm Post subject: |
|
|
usbview les voit bien, mais je ne sais vraiment pas comment les faire monter ! |
|
Back to top |
|
 |
Koon Retired Dev


Joined: 10 Dec 2002 Posts: 518
|
Posted: Mon May 19, 2003 3:57 pm Post subject: |
|
|
Pour l'Archos (en tout cas le JukeBox Multimedia que j'ai) :
J'ai compilé mon kernel avec :
Code: | CONFIG_USB=m
CONFIG_USB_DEVICEFS=y
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
CONFIG_USB_STORAGE=m
CONFIG_USB_STORAGE_ISD200=y |
C'est le ISD200 qu'il ne faut pas oublier...
Ensuite tu branches l'archos, et puis tu fais :
Code: | mount -t vfat /dev/sda1 /mnt/archos |
Et hop
-K |
|
Back to top |
|
 |
pikapika n00b

Joined: 26 Apr 2003 Posts: 71
|
Posted: Mon May 19, 2003 4:07 pm Post subject: |
|
|
je sais pas si g l'isd200 !
je regarderais ca se soir !
merci à vous |
|
Back to top |
|
 |
pikapika n00b

Joined: 26 Apr 2003 Posts: 71
|
Posted: Mon May 19, 2003 7:10 pm Post subject: |
|
|
g recompilé le noyau avec l'isd200, et l'archos monte bien en sdd1 !
merci à vous
me reste plus que le clié  |
|
Back to top |
|
 |
deurk Apprentice


Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Mon May 19, 2003 7:15 pm Post subject: |
|
|
comment le testes-tu?? |
|
Back to top |
|
 |
pikapika n00b

Joined: 26 Apr 2003 Posts: 71
|
Posted: Tue May 20, 2003 6:21 pm Post subject: |
|
|
pour le clie, j'utilise jpilot, et je teste toutes les configs possibles : /dev/ttyUSB0 et 1 et /dev/tts/0 et 1 mais à chauq efois j'obtiens ça :
pi_bind illegal seek
check your serial port and settings
exiting with status -10
(ps merci beaucoup pour ton aide )
edit : en plus je viens de voir que ca me mets pi-bind :permission denied dans le terminal, je v ptet tenter en root ! |
|
Back to top |
|
 |
deurk Apprentice


Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Tue May 20, 2003 7:37 pm Post subject: |
|
|
deurk wrote: | Pour tes tests, mets toi en root, les users ont pas forcemment les bon droits... |
Je l'avais précisé dès le départ...
(Je sais que c'est une cause fréquente d'erreur si tu ne testes pas avec le user... Tu te dis ca marche pas alors que ce n'est qu'un problème de droits!) |
|
Back to top |
|
 |
pikapika n00b

Joined: 26 Apr 2003 Posts: 71
|
Posted: Tue May 20, 2003 8:56 pm Post subject: |
|
|
effectivement
ca m'apprendra à ne pas tout lire en détails !
donc ca marche en root avec /dev/usb/tts/0, mais j'aurais aimé le faire marcher en user moi ! |
|
Back to top |
|
 |
deurk Apprentice


Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Tue May 20, 2003 9:26 pm Post subject: |
|
|
pikapika wrote: | ca marche en root avec /dev/usb/tts/0, mais j'aurais aimé le faire marcher en user moi ! |
Il te suffit de changer les droits lorsque tu appuies sur ton bouton hotsync (tu as quelques secondes pendant que les liens sont là...) |
|
Back to top |
|
 |
pikapika n00b

Joined: 26 Apr 2003 Posts: 71
|
Posted: Tue May 20, 2003 10:35 pm Post subject: |
|
|
effectivement !
g fait ca au galop et ca marche !
merci encore ! |
|
Back to top |
|
 |
deurk Apprentice


Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Wed May 21, 2003 5:22 am Post subject: |
|
|
Je t'en prie!
Entre n00bs  |
|
Back to top |
|
 |
crevette Guru


Joined: 21 May 2002 Posts: 543 Location: Chrooted in Nice, France
|
Posted: Wed May 21, 2003 7:49 am Post subject: |
|
|
je n'uy connais rien en Hotsync et tout ca maisj epense que les droit de ce periph peuvent etre gerer par devfs.
Il suffit de creer un group hotsync ou autre lui donner les droits sur les node dans /dev et ajouter ton user au groupe hotsync. _________________ http://www.mille-mathias.info |
|
Back to top |
|
 |
deurk Apprentice


Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Wed May 21, 2003 7:52 am Post subject: |
|
|
Certes... Mais ce sont des liens dans /proc/bus/usb qui se créent que quand le périph est up... (ce que ne dure que quelques secondes, pendant le processus de Hotsync - update entre PC et Palm)
Y'a t'il moyen de setter les droits dans le fichier de conf de devs? |
|
Back to top |
|
 |
arlequin l33t


Joined: 16 Nov 2002 Posts: 707 Location: grep $USER /etc/passwd | cut -d':' -f6
|
Posted: Wed May 21, 2003 9:01 am Post subject: |
|
|
Ben vi... y a un fichier devfs.conf.
Tu y trouveras des lignes du genre:
Code: | REGISTER machin/.* PERMISSIONS root.un_groupe 660
REGISTER truc/.* PERMISSIONS root.un_groupe660
|
Il te suffit de changer soir le groupe (ici, un_groupe), soit la permission (ici, 660).
Voilà  _________________ J'vous dis ciao !
Au fait, ciao ça veut dire bye en anglais. |
|
Back to top |
|
 |
deurk Apprentice


Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Wed May 21, 2003 11:56 am Post subject: |
|
|
J'vais fouiller ca alors
Sinon a chaque reboot les droits partent (forcemment!) |
|
Back to top |
|
 |
arlequin l33t


Joined: 16 Nov 2002 Posts: 707 Location: grep $USER /etc/passwd | cut -d':' -f6
|
Posted: Wed May 21, 2003 12:17 pm Post subject: |
|
|
Vu que les 'block device' sont recréés à chaque reboot...
Tiens, y a peut-être déjà un groupe de prévu pour les machins usb (j'ai pas ma gentoo sous la mains). Dans ca cas, et pour tout faire proprement, il te suffirait d'ajouter ton user au bon groupe  _________________ J'vous dis ciao !
Au fait, ciao ça veut dire bye en anglais. |
|
Back to top |
|
 |
deurk Apprentice


Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Wed May 21, 2003 12:51 pm Post subject: |
|
|
Y'a un groupe usb mais /proc/bus/usb ne sont pas affectés au groupe... |
|
Back to top |
|
 |
arlequin l33t


Joined: 16 Nov 2002 Posts: 707 Location: grep $USER /etc/passwd | cut -d':' -f6
|
Posted: Wed May 21, 2003 1:49 pm Post subject: |
|
|
Heu ??
Sont affectés à quel groupe ? _________________ J'vous dis ciao !
Au fait, ciao ça veut dire bye en anglais. |
|
Back to top |
|
 |
|