Yup,
Je me rappel d'un post ou on avait déja posé la question mais je ne le trouve plus.
Donc on la repose :
Serait t'il possible d'avoir une version du soft pour le chargement des disquettes pour la version USB sous linux ?
Je viens d'essayer avec wine sous ubuntu, il ne detecte pas de driver pour le controluer ftdi, logique
On recupere le driver pour windows et on le copie dans l'arbo windows recreer par wine
On recupere au passage le driver pour linux et on l'install comme precisé dans la doc (avec une petite variante pour la ligne dans fstab)
sous linux, le controleur est bien reconnue (usbview et lsusb c'est nickel)
Par contre... avec wine, rien a faire.
Cela aurait trop beau, Zut
Version USB - Soft sur linux
Version USB - Soft sur linux
___________
_________/ Fondateur \___________
[AmigaMOD - Ordinosaure - CPC-Hardware]
[___http://sasfepu78.dyndns.org/_____]
_________/ Fondateur \___________
[AmigaMOD - Ordinosaure - CPC-Hardware]
[___http://sasfepu78.dyndns.org/_____]
Re: Version USB - Soft sur linux
L'application a déjà été porté pour linux, du moins en ligne de commande :Giants92 wrote:Yup,
Je me rappel d'un post ou on avait déja posé la question mais je ne le trouve plus.
Donc on la repose :
Serait t'il possible d'avoir une version du soft pour le chargement des disquettes pour la version USB sous linux ?
Je viens d'essayer avec wine sous ubuntu, il ne detecte pas de driver pour le controluer ftdi, logique
On recupere le driver pour windows et on le copie dans l'arbo windows recreer par wine
On recupere au passage le driver pour linux et on l'install comme precisé dans la doc (avec une petite variante pour la ligne dans fstab)
sous linux, le controleur est bien reconnue (usbview et lsusb c'est nickel)
Par contre... avec wine, rien a faire.
Cela aurait trop beau, Zut
download les sources : https://hxc2001.com/floppy_drive_emulat ... ft_src.zip
va dans linux, extrait/compiles et install libftdi.tar.gz puis compiles l'application et voila !
Yup
Pas de soucie particulier pour compiler libftdi
Par contre sur l'appli HxC, impossible d'avoir une sortie correct au niveau du make
...
.....
........
/usr/local/lib/libftdi.so.1: undefined reference to `usb_release_interface'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_strerror'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_find_busses'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_claim_interface'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_find_devices'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_set_configuration'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_get_busses'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_bulk_write'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_init'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_control_msg'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_get_string_simple'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_bulk_read'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_open'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_detach_kernel_driver_np'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_close'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [hxcfloppyemulator] Erreur 1
ls -l /usr/local/lib/libftdi.so.1
lrwxrwxrwx 1 root root 17 2009-01-04 11:09 /usr/local/lib/libftdi.so.1 -> libftdi.so.1.14.0
J'ai zapé un truc ?
Pas de soucie particulier pour compiler libftdi
Par contre sur l'appli HxC, impossible d'avoir une sortie correct au niveau du make
...
.....
........
/usr/local/lib/libftdi.so.1: undefined reference to `usb_release_interface'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_strerror'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_find_busses'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_claim_interface'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_find_devices'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_set_configuration'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_get_busses'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_bulk_write'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_init'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_control_msg'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_get_string_simple'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_bulk_read'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_open'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_detach_kernel_driver_np'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_close'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [hxcfloppyemulator] Erreur 1
ls -l /usr/local/lib/libftdi.so.1
lrwxrwxrwx 1 root root 17 2009-01-04 11:09 /usr/local/lib/libftdi.so.1 -> libftdi.so.1.14.0
J'ai zapé un truc ?
___________
_________/ Fondateur \___________
[AmigaMOD - Ordinosaure - CPC-Hardware]
[___http://sasfepu78.dyndns.org/_____]
_________/ Fondateur \___________
[AmigaMOD - Ordinosaure - CPC-Hardware]
[___http://sasfepu78.dyndns.org/_____]
Giants92 wrote:Yup
Pas de soucie particulier pour compiler libftdi
Par contre sur l'appli HxC, impossible d'avoir une sortie correct au niveau du make
...
.....
........
/usr/local/lib/libftdi.so.1: undefined reference to `usb_release_interface'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_strerror'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_find_busses'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_claim_interface'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_find_devices'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_set_configuration'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_get_busses'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_bulk_write'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_init'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_control_msg'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_get_string_simple'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_bulk_read'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_open'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_detach_kernel_driver_np'
/usr/local/lib/libftdi.so.1: undefined reference to `usb_close'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [hxcfloppyemulator] Erreur 1
ls -l /usr/local/lib/libftdi.so.1
lrwxrwxrwx 1 root root 17 2009-01-04 11:09 /usr/local/lib/libftdi.so.1 -> libftdi.so.1.14.0
J'ai zapé un truc ?
rajoutes -lusb a la ligne "LDFLAGS=-lc -lm -ldl -lpthread" dans le makefile pour voir.
c'est quoi comme distrib ? et version de noyau?
une ubuntu toute fraiche avec un noyau 2.6.27-9
/home/giants/Documents/HxC_Floppy_Emulator_soft_src/linux# grep LDFLAGS Makefile
LDFLAGS=-lc -lm -ldl -lpthread -lusb
$(CC) -o $@ $^ $(LDFLAGS)
/home/giants/Documents/HxC_Floppy_Emulator_soft_src/linux# make all
make: Rien à faire pour « all ».
/home/giants/Documents/HxC_Floppy_Emulator_soft_src/linux# ./hxcfloppyemulator
./hxcfloppyemulator: error while loading shared libraries: libcapsimage.so.2: cannot open shared object file: No such file or directory
cp libcapsimage.so.2.0 libcapsimage.so.2
ls -l libcapsimage.so.2
-rw-r--r-- 1 root root 53456 2009-01-04 18:04 libcapsimage.so.2
# ./hxcfloppyemulator
./hxcfloppyemulator: error while loading shared libraries: libcapsimage.so.2: cannot open shared object file: No such file or directory
/home/giants/Documents/HxC_Floppy_Emulator_soft_src/linux# grep LDFLAGS Makefile
LDFLAGS=-lc -lm -ldl -lpthread -lusb
$(CC) -o $@ $^ $(LDFLAGS)
/home/giants/Documents/HxC_Floppy_Emulator_soft_src/linux# make all
make: Rien à faire pour « all ».
/home/giants/Documents/HxC_Floppy_Emulator_soft_src/linux# ./hxcfloppyemulator
./hxcfloppyemulator: error while loading shared libraries: libcapsimage.so.2: cannot open shared object file: No such file or directory
cp libcapsimage.so.2.0 libcapsimage.so.2
ls -l libcapsimage.so.2
-rw-r--r-- 1 root root 53456 2009-01-04 18:04 libcapsimage.so.2
# ./hxcfloppyemulator
./hxcfloppyemulator: error while loading shared libraries: libcapsimage.so.2: cannot open shared object file: No such file or directory
___________
_________/ Fondateur \___________
[AmigaMOD - Ordinosaure - CPC-Hardware]
[___http://sasfepu78.dyndns.org/_____]
_________/ Fondateur \___________
[AmigaMOD - Ordinosaure - CPC-Hardware]
[___http://sasfepu78.dyndns.org/_____]
il faut placer cette lib (libcapsimage.so.2) dans /lib.Giants92 wrote:une ubuntu toute fraiche avec un noyau 2.6.27-9
/home/giants/Documents/HxC_Floppy_Emulator_soft_src/linux# grep LDFLAGS Makefile
LDFLAGS=-lc -lm -ldl -lpthread -lusb
$(CC) -o $@ $^ $(LDFLAGS)
/home/giants/Documents/HxC_Floppy_Emulator_soft_src/linux# make all
make: Rien à faire pour « all ».
/home/giants/Documents/HxC_Floppy_Emulator_soft_src/linux# ./hxcfloppyemulator
./hxcfloppyemulator: error while loading shared libraries: libcapsimage.so.2: cannot open shared object file: No such file or directory
cp libcapsimage.so.2.0 libcapsimage.so.2
ls -l libcapsimage.so.2
-rw-r--r-- 1 root root 53456 2009-01-04 18:04 libcapsimage.so.2
# ./hxcfloppyemulator
./hxcfloppyemulator: error while loading shared libraries: libcapsimage.so.2: cannot open shared object file: No such file or directory
et sous ubuntu executes l'application avec sudo sinon tu risques d'avoir un pb (problème d'autorisation d'accès a l'usb)
Yup,
J'ai pas mis le prompt mais je suis connecté en tant que root
Effectivement, en plaçant la librairie caps dans le fs /lib cha marche mieuu
HxC Floppy Emulator
Starting HxCFloppyEmulator...
Syntax: ./hxcfloppyemulator [image-file]
Je viens tous juste d'essayer, ca fonctionne NICKEL
Merci m'iseur !
J'ai pas mis le prompt mais je suis connecté en tant que root
Effectivement, en plaçant la librairie caps dans le fs /lib cha marche mieuu
HxC Floppy Emulator
Starting HxCFloppyEmulator...
Syntax: ./hxcfloppyemulator [image-file]
Je viens tous juste d'essayer, ca fonctionne NICKEL
Merci m'iseur !
___________
_________/ Fondateur \___________
[AmigaMOD - Ordinosaure - CPC-Hardware]
[___http://sasfepu78.dyndns.org/_____]
_________/ Fondateur \___________
[AmigaMOD - Ordinosaure - CPC-Hardware]
[___http://sasfepu78.dyndns.org/_____]