Are there any tuning programs for suse linux??

A place to discuss software and code that isn't automotive related. Free and open source preferred but not compulsory.
davebmw
LQFP144 - On Top Of The Game
Posts: 331
Joined: Sun Jul 13, 2008 2:58 pm
Location: South Wales, UK

Are there any tuning programs for suse linux??

Post by davebmw »

I have installed Suse Linux 10.2 64Bit on my everyday laptop after getting pissed off with Windows XP bogging down with crap and generally being untidy and 10.1 on my new salvaged Toshiba PII 333Mhz laptop which i intend to use for MS and FreeEMS tuning as it runs off 12V is reasonably robust looking, has a dedicated serial port and Work were throwing it out, so I re-homed it.
I am suitably impressed with Suse Linux and while its is a world and a half apart from windows architecture which I am used to it all works perfectly and I haven't had to scrounge around for any drivers disks!
What I'm wondering is will megatunix work on Suse Linux 10.1 32 bit and 10.2 64 bit? It doesn't come as a yast RPM package so theres no chance it'll do the fiddly bit on its Todd.
will this be a case of compiling from the source code and producing the executable program that way? if so how/what do i use for this?

Cheers, a Linux convert & newbie
93'BMW 325is M50B25TU, Rebuilt 06/06, JE10.5:1, polish&port. Scorpion BB, K&N CAI, TEJ21 WBO2, '07 M3 Evo 18" 225F, 255R, EBC Kevlar, Bilstien Sprint, Polyflex. Head rebuild Oct'08, OEM+FSE FPR, MS2v3.0_DJB Custom, Extra 2.0.1
User avatar
jharvey
1N4001 - Signed up
Posts: 1607
Joined: Tue Jun 10, 2008 5:17 pm

Re: Are there any tuning programs for suse linux??

Post by jharvey »

Can't help with the tunning soft, I'm still banned from MS sites, but congrad's on the Linux conversion. You note, Linux newbie, I believe Ubuntu is the most user friendly / easy to use, also Fred is using it to compile with. If you have any questions, feel free to ask, I'll do my best to help. Linux is a different beast, but once you learn some of the key parts, it's so much better then MS crap. More features and more robustness.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Are there any tuning programs for suse linux??

Post by Fred »

dave, you can install and run megatune with wine. Once you have stuff setup, just copy your win install of it across and it should work.

you can just build mtx from source or take a binary version and install libraries to allow it to work and just use it. mtx is not ms2 ready yet though.

Why suse? (why not i guess)

I am typing from ubuntu, but, unless there are drastic changes in future i will NEVER use it again. It is very noob friendly, and you being a noob, it's a good move, but stick with suse for a while and see what you think. because its so noob friendly ubuntu is a bitch for me... you could say its a nightmare for a guru ;-) (not that i'm guru, but...)

noobs : ubuntu
non noobs : deb, gentoo, take your pick, do as you please

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
davebmw
LQFP144 - On Top Of The Game
Posts: 331
Joined: Sun Jul 13, 2008 2:58 pm
Location: South Wales, UK

Re: Are there any tuning programs for suse linux??

Post by davebmw »

OK I have installed Wine (ironically while drinking a glass of pino grigio) and i have tried to run megatune by copying the folder from the NTFS partition to a Linux partition.........it spewed this load of info at me, do you guys know what I've done wrong/not done?

dave@linux-c2uz:~/windoze/MegaSquirt/MegaTune2.25> wine megatune.exe
wine: creating configuration directory '/home/dave/.wine'...
Failed to open the service control manager.
wine: '/home/dave/.wine' created successfully.
wine: Unhandled page fault on read access to 0x00000034 at address 0x7bc28ad7 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000034 in 32-bit code (0x7bc28ad7).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
EIP:7bc28ad7 ESP:0034d698 EBP:0034d6b0 EFLAGS:00210202( - 00 - -RI1)
EAX:00000020 EBX:7bc77ff4 ECX:0049a118 EDX:006e7434
ESI:00000020 EDI:ffffffff
Stack dump:
0x0034d698: 006e7430 00000001 0045edb4 00000000
0x0034d6a8: 00000000 ffffffff 00000001 0045ed6e
0x0034d6b8: 00000020 00456fd1 00000000 ffffffff
0x0034d6c8: 006e7470 00000000 00426d48 00000000
0x0034d6d8: 0049551c 00495540 00492b1c 00426da1
0x0034d6e8: ffffffff 006e7470 00000001 00000000
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0000119
Backtrace:
=>1 0x7bc28ad7 RtlEnterCriticalSection+0x17 in ntdll (0x0034d6b0)
2 0x0045ed6e in megatune (+0x5ed6e) (0x00000001)
3 0x00000000 (0x00000000)
0x7bc28ad7 RtlEnterCriticalSection+0x17 in ntdll: movl 0x14(%esi),%edi
Modules:
Module Address Debug info Name (76 modules)
PE 400000-4c0000 Export megatune
ELF 7b800000-7b91a000 Deferred kernel32<elf>
\-PE 7b820000-7b91a000 \ kernel32
ELF 7bc00000-7bc83000 Export ntdll<elf>
\-PE 7bc10000-7bc83000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
ELF 7e07a000-7e084000 Deferred libnss_nis.so.2
ELF 7e084000-7e09a000 Deferred libnsl.so.1
ELF 7e09a000-7e0a2000 Deferred libnss_compat.so.2
ELF 7e0a2000-7e0ac000 Deferred libnss_files.so.2
ELF 7e0ac000-7e0df000 Deferred libcrypt.so.1
ELF 7e0df000-7e212000 Deferred libcrypto.so.0.9.8
ELF 7e212000-7e24f000 Deferred libssl.so.0.9.8
ELF 7e24f000-7e27f000 Deferred libcups.so.2
ELF 7e2e4000-7e317000 Deferred uxtheme<elf>
\-PE 7e2f0000-7e317000 \ uxtheme
ELF 7e317000-7e32d000 Deferred midimap<elf>
\-PE 7e320000-7e32d000 \ midimap
ELF 7e353000-7e36c000 Deferred msacm32<elf>
\-PE 7e360000-7e36c000 \ msacm32
ELF 7e36c000-7e3a8000 Deferred wineoss<elf>
\-PE 7e370000-7e3a8000 \ wineoss
ELF 7e3a8000-7e3ad000 Deferred libxrandr.so.2
ELF 7e3ad000-7e3b6000 Deferred libxrender.so.1
ELF 7e3b6000-7e3be000 Deferred libdrm.so.2
ELF 7e3be000-7e419000 Deferred libgl.so.1
ELF 7e419000-7e536000 Deferred libx11.so.6
ELF 7e536000-7e545000 Deferred libxext.so.6
ELF 7e545000-7e55e000 Deferred libice.so.6
ELF 7e564000-7e56a000 Deferred libxfixes.so.3
ELF 7e56a000-7e574000 Deferred libxcursor.so.1
ELF 7e574000-7e591000 Deferred imm32<elf>
\-PE 7e580000-7e591000 \ imm32
ELF 7e591000-7e61f000 Deferred winex11<elf>
\-PE 7e5a0000-7e61f000 \ winex11
ELF 7e6d3000-7e6f4000 Deferred libexpat.so.1
ELF 7e6f4000-7e71f000 Deferred libfontconfig.so.1
ELF 7e71f000-7e732000 Deferred libz.so.1
ELF 7e732000-7e7a1000 Deferred libfreetype.so.6
ELF 7e7a2000-7e7a6000 Deferred libxinerama.so.1
ELF 7e7a6000-7e7ac000 Deferred libxdmcp.so.6
ELF 7e7ac000-7e7b2000 Deferred libxxf86vm.so.1
ELF 7e7b2000-7e7bc000 Deferred libsm.so.6
ELF 7e7d4000-7e805000 Deferred winspool<elf>
\-PE 7e7e0000-7e805000 \ winspool
ELF 7e805000-7e8c6000 Deferred comctl32<elf>
\-PE 7e810000-7e8c6000 \ comctl32
ELF 7e8c6000-7e918000 Deferred rpcrt4<elf>
\-PE 7e8d0000-7e918000 \ rpcrt4
ELF 7e918000-7e9ad000 Deferred ole32<elf>
\-PE 7e930000-7e9ad000 \ ole32
ELF 7e9ad000-7ea06000 Deferred shlwapi<elf>
\-PE 7e9c0000-7ea06000 \ shlwapi
ELF 7ea06000-7eaf0000 Deferred shell32<elf>
\-PE 7ea20000-7eaf0000 \ shell32
ELF 7eaf0000-7eb8d000 Deferred comdlg32<elf>
\-PE 7eb00000-7eb8d000 \ comdlg32
ELF 7eb8d000-7ebd4000 Deferred advapi32<elf>
\-PE 7eba0000-7ebd4000 \ advapi32
ELF 7ecb8000-7ed6f000 Deferred gdi32<elf>
\-PE 7ecd0000-7ed6f000 \ gdi32
ELF 7ed6f000-7eea6000 Deferred user32<elf>
\-PE 7ed90000-7eea6000 \ user32
ELF 7eea6000-7ef30000 Deferred winmm<elf>
\-PE 7eeb0000-7ef30000 \ winmm
ELF 7efa7000-7efcd000 Deferred libm.so.6
ELF 7efce000-7efe1000 Deferred libresolv.so.2
ELF 7efe1000-7f000000 Deferred iphlpapi<elf>
\-PE 7eff0000-7f000000 \ iphlpapi
ELF f7d41000-f7d45000 Deferred libxau.so.6
ELF f7d47000-f7d4b000 Deferred libdl.so.2
ELF f7d4b000-f7e79000 Deferred libc.so.6
ELF f7e79000-f7e91000 Deferred libpthread.so.0
ELF f7e94000-f7ea0000 Deferred libgcc_s.so.1
ELF f7ec4000-f7fd6000 Deferred libwine.so.1
ELF f7fd7000-f7ff4000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
0000000a
0000000c 0
0000000b 0
00000008 (D) Y:\windoze\MegaSquirt\MegaTune2.25\megatune.exe
00000009 0 <==
dave@linux-c2uz:~/windoze/MegaSquirt/MegaTune2.25>
93'BMW 325is M50B25TU, Rebuilt 06/06, JE10.5:1, polish&port. Scorpion BB, K&N CAI, TEJ21 WBO2, '07 M3 Evo 18" 225F, 255R, EBC Kevlar, Bilstien Sprint, Polyflex. Head rebuild Oct'08, OEM+FSE FPR, MS2v3.0_DJB Custom, Extra 2.0.1
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Are there any tuning programs for suse linux??

Post by Fred »

Did you try installing Megatune under wine first? (before copying across)

Maybe you don't have some DLLs

what is a service manager thingy? and can you get it/do you need it?

I've only seen that when a win program takes a dive but I can't remember why, certainly not from megatune.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
davebmw
LQFP144 - On Top Of The Game
Posts: 331
Joined: Sun Jul 13, 2008 2:58 pm
Location: South Wales, UK

Re: Are there any tuning programs for suse linux??

Post by davebmw »

Hmm OK i think i have it i have installed the megatune program from running the diyautotune.exe under wine and it installs, but I can't find it after!
Weird eh?

Service thingy? pass on that one.

Are you saying that i have to install then copy across the win megatune folder or just the EXE?
93'BMW 325is M50B25TU, Rebuilt 06/06, JE10.5:1, polish&port. Scorpion BB, K&N CAI, TEJ21 WBO2, '07 M3 Evo 18" 225F, 255R, EBC Kevlar, Bilstien Sprint, Polyflex. Head rebuild Oct'08, OEM+FSE FPR, MS2v3.0_DJB Custom, Extra 2.0.1
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Are there any tuning programs for suse linux??

Post by Fred »

look in .wine

. files are invisible

ls -al to see them in detail

in .wine is a windows structure

you can copy stuff around however you please, just treat it like it's windows.

probably all you need is the car1 dir? not sure, been a while since i used it at all.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
davebmw
LQFP144 - On Top Of The Game
Posts: 331
Joined: Sun Jul 13, 2008 2:58 pm
Location: South Wales, UK

Re: Are there any tuning programs for suse linux??

Post by davebmw »

OK I have managed to get MT running from the root shell. how do I now create a shortcut/link or script as a desktop shortcut. i have tried making a link to script on the desktop but it has user permissions not root so it get s the firmware choice dialog box up but doesn't get into the main program.
any ideas??

in the root i type:
/home/dave/windoze/MegaSquirt/MegaTune2.25 # wine megatune.exe

and it runs fine but only as root, how do i sort this??

Plus if I want to install megalogviewer i need jave RTE how do i install a bin file as I'm only used to RPM packages??
93'BMW 325is M50B25TU, Rebuilt 06/06, JE10.5:1, polish&port. Scorpion BB, K&N CAI, TEJ21 WBO2, '07 M3 Evo 18" 225F, 255R, EBC Kevlar, Bilstien Sprint, Polyflex. Head rebuild Oct'08, OEM+FSE FPR, MS2v3.0_DJB Custom, Extra 2.0.1
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Are there any tuning programs for suse linux??

Post by Fred »

You don't have various permissions.

The correct way to add them is to add your username to the correct groups.

You can list which groups there are by catting the following file

/etc/passwd

bash% cat /etc/passwd

I forget how to add users to groups though, google is your friend.

You need the group permissions to access the serial device, and maybe even to run wine, all that sort of thing is distro dependent really. Certainly serial devices are usually locked down a little.

PLEASE don't run MT as root....

Hope that helps :-)

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Are there any tuning programs for suse linux??

Post by Fred »

Java you should just be able to install as an rpm these days. It's no longer closed source...
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Post Reply