LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-27-2023, 06:29 AM   #1
farthing
LQ Newbie
 
Registered: Jul 2023
Posts: 4

Rep: Reputation: 0
Can I delete COM ports in Wine?


I have installed Wine v6.03 under Mint v21.2 and it has created 33 COM ports in dosdevices.

When I open my Windows application I have to select a COM port from a huge list.

I will never need more than four ports and would like to know how to remove the rest.

I tried defining the ones I want in regedit but it doesn't suppress the ones I don't want.

Is there a fix for this please?

Mike
 
Old 07-27-2023, 10:52 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,153

Rep: Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315
I have 4 COM ports listed, which are links to /dev/tty entries. I've just deleted one of them, using the file manager, and Wine still seems to run happily. Try moving the excess ones to the waste-basket and see what happens.
 
Old 07-27-2023, 01:48 PM   #3
farthing
LQ Newbie
 
Registered: Jul 2023
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by DavidMcCann View Post
I have 4 COM ports listed, which are links to /dev/tty entries. I've just deleted one of them, using the file manager, and Wine still seems to run happily. Try moving the excess ones to the waste-basket and see what happens.
Hello David

With no devices connected to the PC Wine creates COM1 to COM32 which are linked to /dev/ttyS0 to /dev/ttyS31. If I delete them from dosdevices wine recreates them. If I set each one to a null value in regedit then Wine creates new ones starting at COM33.

Why do I have so many if you only have four?

Mike
 
Old 07-28-2023, 11:32 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,153

Rep: Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315Reputation: 2315
Yes, the one I deleted has come back. If you run the registry editor and go to local machine - hardware - device maps, you can find them listed under serialcomm. You could try deleting there and see if that works.
 
Old 07-31-2023, 11:00 AM   #5
farthing
LQ Newbie
 
Registered: Jul 2023
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by DavidMcCann View Post
Yes, the one I deleted has come back. If you run the registry editor and go to local machine - hardware - device maps, you can find them listed under serialcomm. You could try deleting there and see if that works.
Nice idea but still no luck. I deleted the unwanted listings in serialcomm and also dosdevices but they all reappeared moments later.

Mike
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Kubuntu 21.10: All TCP ports return ICMP admin-prohibited, can't access open ports. fmillion Linux - Networking 5 05-27-2024 01:46 AM
Can I delete files in /mnt/tmp? and Files in the trash can will not delete? M$ISBS Slackware 15 10-02-2009 11:56 PM
ports, ports, ports cjae Linux - Networking 1 04-09-2006 09:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration