Jump to content
IGNORED

AspeQT with Ubuntu Error


Tempest

Recommended Posts

I've recently reinstalled Ubuntu on my computer and I'm having trouble getting AspeQT working again. Whenever I start it up and switch it to ttyS4 (my serial port) it gives me a "Cannot set serial port speed to 19200: Input/output error" message. Any idea what could cause this? It's not a permissions error or anything like that as far as I can tell. It worked before (last week as a matter of fact) so it's not the hardware.

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...

Sounds like contact problems? What's your interface?

It's a SIO2PC style interface (can't remember who made it for me). But it works with windows so it can't be anything physical.

 

 

I never knew we had one. I'll move this thread there.

  • Like 1
Link to comment
Share on other sites

Sounds like you dont have permissions set correctly. Check to see if your user is added to the 'dialout' or 'modem' group... This would certainly cause this type of issue, alternatively check the permissions on the /dev/ttyS4 device.

 

sloopy.

Link to comment
Share on other sites

I thought I had set those, but I can check again. Do you happen to have the commands handy? If not I can look it up later.

start by doing 'ls -l' on /dev. it'll likely reveal that /dev/ttyS4 is set to root and dialout group access only. You can change the permissions, but they'll only last until a reboot, so the real fix is to add your user to the dialout group. the command is 'usermod -a -G dialout username_here'

 

I think you'll have to log out, then back in for the group change to take effect.

Edited by Joey Z
Link to comment
Share on other sites

Thats tty4, you were looking for ttyS4.

 

Yeah I realized that after I posted. As I stated above, it seems to be working with my other serial port so I'll just use that. I still don't know what the issue is though since if it was a bad port it wouldn't work with software in Windows. There's just something about that port that Ubuntu doesn't like. Thankfully I have two.

Link to comment
Share on other sites

As I stated above, it seems to be working with my other serial port so I'll just use that. I still don't know what the issue is though since if it was a bad port it wouldn't work with software in Windows. There's just something about that port that Ubuntu doesn't like. Thankfully I have two.

It could be that some other (background-)process is accessing /dev/ttyS4 and thus disabling access for aspeqt/respeqt.

 

You can check for that with one of the following 2 commands (run as user root or use sudo before the commands):

lsof /dev/ttyS4
or

fuser -v /dev/ttyS4

I've had a lot of "fun" with the modemmanager daemon which is installed by default on most desktop linux distributions. Sometimes it would hook a serial port forever (maybe got stuck during modem detection or something like that). I'm sure there's some way to configure the ports modemmanager should use but since I have no use for modemmanager I usually just do an "apt-get --purge remove modemmanager" and everything's fine :)

 

so long,

 

Hias

Link to comment
Share on other sites

The first command produced this output:

lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
The second command did nothing

 

OK, that indicates noone else is using the port. Hmmm...

 

Just to be sure: did you run these commands when AspeQT reported errors with /dev/ttyS4? If yes then the issues are caused by something else (no idea what, though).

 

Your descriptions read like the AspeQT issues are somewhat intermittent, so it's important to know you didn't test in one of the "working fine" moments.

 

so long,

 

Hias

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...