Notices
2017 - 2022 Super Duty The 2017-2022 Ford F250, F350, F450, F550 & F600 Super Duty Pickup and Chassis Cab
Sponsored by:
Sponsored by: CARiD

Forscan and Linux

Thread Tools
 
Search this Thread
 
Old Dec 22, 2023 | 11:00 PM
  #1  
Peej11's Avatar
Peej11
Thread Starter
|
Tuned
Joined: Jun 2023
Posts: 348
Likes: 146
From: Houston
Forscan and Linux

Not sure if this belongs here or some other general tuning forum but...
What's needed to get Wine to recognize the OBD2 adapter? I created a symlink between /dev/ttyUSB0 and a com port in ~/.wine/dosdevices/. Forscan doesn't see it. I have a Windows laptop that works but it's not mine. Would like to have this laptop work if possible.
 
Reply
Old Dec 23, 2023 | 06:41 AM
  #2  
Tsax6010's Avatar
Tsax6010
Laughing Gas
Photoriffic
Liked
Loved
Community Favorite
Joined: Sep 2023
Posts: 800
Likes: 540
From: NE Ohio
Check out these older threads on the Forscan user forum

https://forscan.org/forum/viewtopic.php?p=7878
https://forscan.org/forum/viewtopic.php?f=5&t=853#p2727

The OS X thread is worth reading through too given it is just BSD.
 
Reply
Old Dec 24, 2023 | 12:20 PM
  #3  
Peej11's Avatar
Peej11
Thread Starter
|
Tuned
Joined: Jun 2023
Posts: 348
Likes: 146
From: Houston
First attempt didn’t work but this has me pointed in the right direction. Probably just need some more eggnog to make it work right. Thanks for the links!
 
Reply
Old Dec 24, 2023 | 04:00 PM
  #4  
lkbrow1's Avatar
lkbrow1
Mountain Pass
Joined: Apr 2011
Posts: 167
Likes: 8
I'm a avid Linux person, I use Virtual Box on my linux laptop with windows running as a virtual machine for Forscan
 
Reply
Old Dec 28, 2023 | 09:10 PM
  #5  
Peej11's Avatar
Peej11
Thread Starter
|
Tuned
Joined: Jun 2023
Posts: 348
Likes: 146
From: Houston
Got it working. Access to the /dev/ttyUSB0 port was limited to the root user. I added read/write to everyone and that resolved it. I may experiment to figure out what wine user needs to be added to the correct group so I don't need to open up the device to everyone or create a custom device with its own permissions but it works for now and I'm satisfied for the time being.

Created a custom device like so that modifies permissions just for this adapter. Create the file below if it doesn't exist. Get the IDs for your adapter with dmesg. This udev step was in one of the shared posts above but the MODE parameter was the magic sauce that adjusts permissions for the /dev/ttyUSB device just for this adapter.
$ cat /etc/udev/rules.d/10-local.rules
SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", SYMLINK+="elm327", MODE="0666"

Run 'wine regedit' and link a COM port to your /dev/elm327 (or whatever name you choose) device. These steps were also shared above. Manual symlinks would get overwritten by defaults when the wine service would restart until the registry values were updated.
 

Last edited by Peej11; Dec 28, 2023 at 09:51 PM. Reason: Add some instructions
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
VegasDieselHead
2017 - 2022 Super Duty
3
Jun 16, 2021 06:34 PM
rboeding
Tennessee Chapter
7
Sep 16, 2006 10:41 AM
fordborn
1980 - 1986 Bullnose F100, F150 & Larger F-Series Trucks
6
Sep 10, 2006 03:34 PM
MustangGT221
1987 - 1996 F150 & Larger F-Series Trucks
2
Jun 8, 2006 04:08 PM




All times are GMT -5. The time now is 08:32 AM.

story-0
Top 10 Most Expensive Ford Trucks Ever Sold on Bring a Trailer

Slideshow: 10 most expensive Ford trucks ever sold on Bring a Trailer.

By Joe Kucinski | 2026-05-27 16:24:34


VIEW MORE
story-1
2027 Ford Super Duty Buyer's Guide (Every Model, Engine, & Package)

Here's everything that has changed for the latest model year.

By Brett Foote | 2026-05-27 16:17:28


VIEW MORE
story-2
Top 10 Ford Truck Tragedies

Slideshow: Top 10 Ford truck tragedies.

By Joe Kucinski | 2026-05-18 19:34:33


VIEW MORE
story-3
AEV FXL Super Duty - the Super Duty Raptor Ford Doesn't Make

And it might be even better than that.

By Brett Foote | 2026-05-18 19:26:42


VIEW MORE
story-4
Lobo Vs Lobo: Proof the F-150 Lobo Should Be Even Lower!

Slideshow: Does lowering an F-150 Lobo RUIN the ride quality?

By Michael S. Palmer | 2026-05-18 19:20:37


VIEW MORE
story-5
Ford's 2001 Explorer Sportsman Concept Looks For a New Home

Slideshow: Ford's bizarre fishing-themed Explorer concept has resurfaced after spending decades largely forgotten.

By Verdad Gallardo | 2026-05-12 18:07:46


VIEW MORE
story-6
10 Best Ford Truck Engines We Miss the Most!

Slideshow: The 10 best Ford truck engines we miss the most.

By Joe Kucinski | 2026-05-12 13:09:47


VIEW MORE
story-7
2026 Shelby F-150 Off-Road: Better Than a Raptor R?

Slideshow: first look at the 810 hp 2026 Shelby F-150 Off-Road!

By Brett Foote | 2026-05-12 12:50:07


VIEW MORE
story-8
2027 Super Duty Carhartt Package First Look: 12 Things You NEED to Know!

Slideshow: Everything You Need to Know about the 2027 Super Duty Carhartt Package!

By Michael S. Palmer | 2026-05-07 17:51:06


VIEW MORE
story-9
10 Most Surprising 2026 Ford Truck Features!

Slideshow: 10 most surprising Ford truck options/features in 2026.

By Joe Kucinski | 2026-05-05 11:17:22


VIEW MORE