LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 07-31-2020, 02:25 PM   #1
KeepingEvilMSAway
LQ Newbie
 
Registered: Jul 2020
Posts: 6

Rep: Reputation: 0
Problems with installing serial port USB adapter drivers


Hi there,

I have a very very old mouse that uses a USB adapter & I won't give up the mouse b/c it's saved my wrists, arms & hands from years of pain & allows me to work very fast.

I want to move over to Linux from MS & this is the one thing that would stop me so I'm hoping someone can help us.

We are still having problems doing this.

My geek friend has been helping me (he's a Win guy) using this site - https://www.usb-drivers.org/usb-seri...ntu-linux.html

It is the one that's a Tripplite example, but it may not be the exact model as the pic looks different than the one I have which I bought back in 2000 or so.

We are on the last step #18 trying to install the driver, but when we go to install it from the command, it doesn't work.

This is the error we get

sudo apt-get install tripplite
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package tripplite

Then we went to Tripplite, got the drivers from there & followed their instructions to install it, & got this other error..

mint@mint:~/Downloads/Linux/Redhat9$ make && sudo make install
gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -I/usr/src/linux-2.4/drivers/usb/serial -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -DMODULE -c pl2303.c
pl2303.c:33:10: fatal error: linux/config.h: No such file or directory
#include <linux/config.h>
^~~~~~~~~~~~~~~~
compilation terminated.
Makefile:45: recipe for target 'pl2303.o' failed
make: *** [pl2303.o] Error 1

Someone else asked us for the steps so we have all of those if you need them, but no one else has been able to help.

Please help so I can move to Mint.

Thanks a ton.
 
Old 07-31-2020, 03:45 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
You need to post the output of the lsusb command with the adapter connected as shown in that guide.

The driver you downloaded is for an extremely old kernel and will not work with the latest distributions. The pl2303 (which is what you are trying to compile) or ftdi chipsets are the most common types of of USB serial adapters and with most distributions the driver should already be included. If your device is recognized then the correct driver should be automatically loaded.

Getting the serial mouse recognized by the desktop is another matter.

Last edited by michaelk; 07-31-2020 at 03:58 PM.
 
Old 07-31-2020, 04:35 PM   #3
KeepingEvilMSAway
LQ Newbie
 
Registered: Jul 2020
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
You need to post the output of the lsusb command with the adapter connected as shown in that guide.

The driver you downloaded is for an extremely old kernel and will not work with the latest distributions. The pl2303 (which is what you are trying to compile) or ftdi chipsets are the most common types of of USB serial adapters and with most distributions the driver should already be included. If your device is recognized then the correct driver should be automatically loaded.

Getting the serial mouse recognized by the desktop is another matter.
Hi there,

So I've attached the step you wanted.

So how do we get the mouse to work thru the USB adapter if it is in fact there which we don't know if it is there 100%, right?

But I realize you are right, we just looked & under Control Panel Devices in Win it shows the name of the mouse, so I guess it does have some sort of driver in there.

Just to clarify, the error we got was for the USB driver, not the mouse.

Thanks a ton
Attached Files
File Type: txt Steps 7 and 9.txt (2.7 KB, 26 views)
 
Old 07-31-2020, 04:55 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
I have a similar device
Code:
Bus 006 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Look at the output of the following command to see if it is recognized correctly and should be something similar to mine below.
dmesg | grep USB0
Code:
[117332.581460] usb 6-2: pl2303 converter now attached to ttyUSB0
Try this to see if you can get your mouse to be recognized by the desktop.
https://wiki.archlinux.org/index.php...o_kernel_input
 
Old 07-31-2020, 05:23 PM   #5
KeepingEvilMSAway
LQ Newbie
 
Registered: Jul 2020
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
I have a similar device
Code:
Bus 006 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Look at the output of the following command to see if it is recognized correctly and should be something similar to mine below.
dmesg | grep USB0
Code:
[117332.581460] usb 6-2: pl2303 converter now attached to ttyUSB0
Try this to see if you can get your mouse to be recognized by the desktop.
https://wiki.archlinux.org/index.php...o_kernel_input
You do? Can I get a link to your mouse?

We have a step for that too LOL

Here it is.

Thanks
Attached Files
File Type: txt Step 12.txt (1.5 KB, 32 views)
 
Old 07-31-2020, 06:44 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
The usb serial port adapter not mouse.

The adapter is device ID is /dev/ttyUSB0.
 
Old 07-31-2020, 06:59 PM   #7
KeepingEvilMSAway
LQ Newbie
 
Registered: Jul 2020
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
The usb serial port adapter not mouse.

The adapter is device ID is /dev/ttyUSB0.
Ok, yes, that's what was in the command line. It's the part at the end of the text file. Did you read that part? Unfortunately some extra info got added in there that shouldn't have been in there, so it's just the last few lines of step 12.

So what do we do next?

Thanks
 
Old 07-31-2020, 07:00 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Check out the link in post #4
 
Old 08-03-2020, 05:30 PM   #9
KeepingEvilMSAway
LQ Newbie
 
Registered: Jul 2020
Posts: 6

Original Poster
Rep: Reputation: 0
Angry

Quote:
Originally Posted by michaelk View Post
Check out the link in post #4
Ok, we just ran the input attach command. The command never went back to a command prompt, but the 2nd time we tried, we finally got it working. The first time it stopped working when we shut down the Terminal window.

But I'm very upset now b/c the mouse was hurting my thumb as it felt like it was dragging & despite increasing the acceleration it still hurt me.

When I went back to Win it was fine.

Do you think it's b/c of the thumb drive or is this going to be a problem with Linux?

Thanks
 
Old 08-06-2020, 05:01 PM   #10
KeepingEvilMSAway
LQ Newbie
 
Registered: Jul 2020
Posts: 6

Original Poster
Rep: Reputation: 0
Bumping
 
  


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
Is a USBtty (USB serial port) treated the same as tty (normal serial port) in C? spudgunner Programming 1 11-12-2010 01:19 PM
rxtx serial port event problems with usb adapter siriyu Programming 2 07-03-2009 03:17 AM
rxtx serial port event problems with usb adapter siriyu Linux - Software 0 03-30-2009 06:48 AM
rxtx serial port event problems with usb adapter siriyu Linux - Software 1 03-28-2009 06:19 AM
zoom external serial with usb to serial adapter foustware Linux - Hardware 1 12-07-2003 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 07:05 AM.

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