PcmHammer on Linux

softwarejanitor
Posts: 2
Joined: Thu Jun 04, 2026 11:49 pm
cars: C6 Corvette, Silverado 1500, Colorado, C4 Corvette, C3 Corvette

Re: PcmHammer on Linux

Post by softwarejanitor »

Where can I download the source code? I've been trying to run PcmHammer on Linux using Wine and it never recognizes the serial port even though I've tried everything to make sure Wine is pointing /dev/ttyACM0 to COM1. I'd much rather have a native Linux version anyway and I've got a lot of development experience so I might be able to contribute to the project.
User avatar
antus
Site Admin
Posts: 10111
Joined: Sat Feb 28, 2009 10:34 am
cars: TX Gemini 2L Twincam 8psi
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Subaru WRX 2007

Re: PcmHammer on Linux

Post by antus »

The project is here: https://github.com/PcmHammer/PcmHammer

There is a CLI version, and most of the heavy lifting is in PCM Library. Getting the CLI version working on Linux is probably the best place to start.

Note that there are UNO windows builds there. They are less tested and not ready for prime time as pcmlibrary and the winforms and cli have had more work lately but note that one of the targets is android which may help or may get in the way. You'd need to make the right decisions about serial layer abstraction to ensure all UI options keep working on all platforms without overly complicating the internal APIs.

It sounds good, I'd like to see Linux too. Good luck! Any questions ask here.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
AngelMarc
Posts: 613
Joined: Sat Apr 08, 2023 11:23 am
cars: A CB450 running to 8,000RPM with a P59.

Re: PcmHammer on Linux

Post by AngelMarc »

modzer321 wrote: Sun Mar 22, 2026 6:52 am Never heard of this before, but where have you seen it? I’m curious.
This is largely AI generated. Wasn't fast, but way faster than without. Did it in little chunks.
viewtopic.php?t=8910
Don't stress specific units.
softwarejanitor
Posts: 2
Joined: Thu Jun 04, 2026 11:49 pm
cars: C6 Corvette, Silverado 1500, Colorado, C4 Corvette, C3 Corvette

Re: PcmHammer on Linux

Post by softwarejanitor »

antus wrote: Mon Jun 29, 2026 10:11 pm The project is here: https://github.com/PcmHammer/PcmHammer

There is a CLI version, and most of the heavy lifting is in PCM Library. Getting the CLI version working on Linux is probably the best place to start.

Note that there are UNO windows builds there. They are less tested and not ready for prime time as pcmlibrary and the winforms and cli have had more work lately but note that one of the targets is android which may help or may get in the way. You'd need to make the right decisions about serial layer abstraction to ensure all UI options keep working on all platforms without overly complicating the internal APIs.

It sounds good, I'd like to see Linux too. Good luck! Any questions ask here.
I had already cloned that Git repository, but I was hoping to get the C++ code that was mentioned earlier in the thread so if I want to work on it I don't have to re-create the wheel any more than necessary when it comes to making it run on non-Windows platforms. I don't have Windows at all so if something won't run on Wine it is a pain to deal with.
Gene Thompson
Posts: 20
Joined: Mon Mar 14, 2022 10:06 pm
cars: 1965 Impala SS
1965 Chevelle SS
1970 Chevelle SS

Re: PcmHammer on Linux

Post by Gene Thompson »

Maybe I am too late and this is already sorted out and working. I did manage to get a read and write on both P01 and P59. Ran this on a VM running Pop!_OS.
You do not have the required permissions to view the files attached to this post.
Last edited by Gene Thompson on Mon Nov 09, 2026 2:40 am, edited 1 time in total.
User avatar
vlad01
Posts: 8600
Joined: Mon Oct 08, 2012 8:41 am
cars: VP I S
VP I executive
VP II executive
VP II executive #2
Location: Kyneton, Vic

Re: PcmHammer on Linux

Post by vlad01 »

softwarejanitor wrote: Mon Jun 29, 2026 7:47 pm Where can I download the source code? I've been trying to run PcmHammer on Linux using Wine and it never recognizes the serial port even though I've tried everything to make sure Wine is pointing /dev/ttyACM0 to COM1. I'd much rather have a native Linux version anyway and I've got a lot of development experience so I might be able to contribute to the project.
Did you try adding permissions for wine to dial out? It's like a group permission/policy thing. I'm a linux noob still so forgive my lack of correct terms.

I had to do that to get tunerpro working with ALDL serial adapter so that should also apply here, your step for the registry key is only one of the required ones to get wine to talk to the serial port.

Once that is sorted, it should work like a native install. TP works flawlessly on my Linux install and even runs the odd custom baud rate that ALDL is famous for. I don't have to do anything other than double clicking the program and using it. I anticipate that PCMHammer should do the same once the serial is sorted, though a native version is always nice.
Gene Thompson
Posts: 20
Joined: Mon Mar 14, 2022 10:06 pm
cars: 1965 Impala SS
1965 Chevelle SS
1970 Chevelle SS

Re: PcmHammer on Linux

Post by Gene Thompson »

Thanks for your hard work antus, Took 4 or 5 small tweaks but it is running.
UNO GUI on LInux. Have verified Read/Write working on P59. I am still testing
the remaining features.
You do not have the required permissions to view the files attached to this post.
Gene Thompson
Posts: 20
Joined: Mon Mar 14, 2022 10:06 pm
cars: 1965 Impala SS
1965 Chevelle SS
1970 Chevelle SS

Re: PcmHammer on Linux

Post by Gene Thompson »

logger screenshots
You do not have the required permissions to view the files attached to this post.
User avatar
antus
Site Admin
Posts: 10111
Joined: Sat Feb 28, 2009 10:34 am
cars: TX Gemini 2L Twincam 8psi
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Subaru WRX 2007

Re: PcmHammer on Linux

Post by antus »

oh wow, logger too. nice! there is also an Avalonia UI version that should be running on Linux, but the pull request has not landed yet. atshaw1994 is working on that, it might be worth a look.

https://github.com/atshaw1994/PcmHammer ... b0557a02e8

The next challenge I think is we now have a number of front ends, too many perhaps, and especially with AI it is possible to crank them out. But for users they will have too many options. So the next main thing is code maintainers who are going to hang around and be able to support this stuff for a more extended period. I think some experimental code up for testing is a good thing, but the challenge is going to be how to decide what goes mainstream.

Any experienced windows + linux developers have thoughts on uno versus wpf versus avalonia for a shared cross platform gui going forward?

Personally I am not a fan of uno due to its massive file sizes and long build times. It works, but it is bloaty.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
Gene Thompson
Posts: 20
Joined: Mon Mar 14, 2022 10:06 pm
cars: 1965 Impala SS
1965 Chevelle SS
1970 Chevelle SS

Re: PcmHammer on Linux

Post by Gene Thompson »

antus wrote: Tue Nov 10, 2026 9:50 pm The next challenge I think is we now have a number of front ends, too many perhaps, and especially with AI it is possible to crank them out. But for users they will have too many options. So the next main thing is code maintainers who are going to hang around and be able to support this stuff for a more extended period. I think some experimental code up for testing is a good thing, but the challenge is going to be how to decide what goes mainstream.
Agreed. I virtually have zero experience with UNO so I let cluade show me a thing or two, so I really can't offer any opinion. I have already come to the same conclusion though, bloaty and long build times. I tracked everything that has been done to get UNO to this point if this becomes the "standard". I thought that since this was in the repo this was the choice for cross platform so I wanted to try and familiarize myself.

SInce atshaw1994 is already working on Avalonia, sounds as if UNO may be reinventing the wheel?
Last edited by Gene Thompson on Wed Nov 11, 2026 2:03 am, edited 2 times in total.