Entra

View Full Version : Mi date una mano con xubuntu e wine


salvino76
21-09-2015, 19:51
Un saluto a tutto il forum, ho un quesito da porre, espongo la mia domanda, dovrei installare forscan sul mio portatile, il problema è che il software in questione non supporta il sistema operativo linux , per essere esatto xubuntu , vorrei capire come fare diventare fattibile la cosa, in rete su un forum dove parla di auto in particolare ford ,ho trovato questa guida, faccio un copia incolla vediamo se ci capite un po anche voi...ho visto che per fare girare dei programmi nati per windows occorre installare wine , e lo scaricato infatti se clicco sull' icona di forscan si apre , pero' non mi trova nessuna elm327, come detto ho reperito questa guida sul forum ford...


As a Linux Kubuntu user I had some troubles to get it working under WINE1.6 but found the solution. In the HOWTO you just mention its enough to edit the ~/.wine/system.reg but could not activate the COM - USB port within FORscan.

I got it running after changing/configuring some settings within Kubuntu 13.10, 14.04

a. after plugging in verification with LSMOD showed the adapter visible as lp2303 and usbserial (easy so far)
b. with ls -la /dev/tty* the adapter will be visible as /dev/ttyUSB0 and can be simply tested with a console program like screen /dev/ttyUSB0 (interrupt screen with unplugging the adapter)
c. I made my username member of the dialgroup. First check with id-Gn. With sudo adduser dicks dialout I became member of the dialgroup. Checked it with id-Gn
d. for WINE you have to create a symbolic link for the com1 device with ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1

Without this symbolic link no com device will be seen in wine/dosdevices

To get it working for Bluetooth ELM is very simular like the way it has to be done with a USB ELM. So user/group policy is the same.

a. With LSMOD the modules rfcomm and bluetooth must be visible
b. If blue-man is installed, start blueman, start search device, add the OBDII adapter by means of the "green plus", click on the PIN-key and type in 1234, trust the device with the yellow star, click on configure and select for Serial Port. Wait for message that device is available via the rfcomm0 port
c. Check with ls -l /dev/rfcomm0 is available
d. Change for WINE by editing the file ~/.wine/system.reg the entry for Bluetooth the Serialcomm setting to COM5:

WINE REGISTRY Version 2
;; All keys relative to \\Machine

#arch=win32

[Hardware\\Devicemap\\Serialcomm] 1015709345
"Serial0"="COM5"

e. Create a symbolic link for the com5 device with ln -s /dev/rfcomm1 ~/.wine/dosdevices/com5

FORScan runs fine under WINE but after disconnecting the Bluetooth adapter it does not reconnect automaticly as it does under XP. The only possibility to reconnect as I found out till now is to delete the Bluetooth device and to configure it again.

salvino76
Prode Principiante

Messaggi: 37
Iscrizione: maggio 2015
Sesso: Maschile
Desktop: 15.04

pigi2pigi
23-09-2015, 21:03
Prima bisogna vedere cosa c'è scritto nell'HOWTO per la modifica ai registri e poi sono due soluzioni una per la porta seriale e una per bluetooth, quale ti interessa ?