LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-30-2014, 03:49 PM   #1
timinator
Member
 
Registered: Sep 2006
Posts: 39

Rep: Reputation: 15
Modem wedged - hylafax


Does anyone know how to un-wedge an external modem. It is a MultiTech connected by USB.

Below is some lines from the messages log.
Any help would be appreciated.



May 30 16:44:26 netmax FaxGetty[8401]: Unable to setup modem on /dev/ttyUSB1; giving up after 2 attempts
May 30 16:44:26 netmax FaxGetty[8401]: CLOSE /dev/ttyUSB1
May 30 16:44:26 netmax FaxQueuer[4901]: MODEM /dev/ttyUSB1 appears to be wedged
May 30 16:44:26 netmax FaxQueuer[4901]: MODEM WEDGED: bin/wedged "ttyUSB1" "/dev/ttyUSB1"
 
Old 06-02-2014, 10:08 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
You'd have to know why it's being wedged in the first place to unwedge it.
First I'd reset the modem.

From what I've read about this it's either that another process is connected/connecting/failed to connect but still claiming the resource... so maybe an
#lsof | grep -i ttyusb1
would give you the process attaching it if there is one
If that doesn't work, you could minicom into it (it's a tty, after all) and run it's internal diagnostics.
 
Old 06-03-2014, 07:14 AM   #3
timinator
Member
 
Registered: Sep 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks for the reply. The #lsof | grep -i ttyusb1 command did not reveal anything. I'm not familiar with minicom. For now I created another tty and moved the modem to it.
 
Old 06-03-2014, 08:45 AM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Smart move. Did it unwedge?
 
Old 06-03-2014, 08:55 AM   #5
timinator
Member
 
Registered: Sep 2006
Posts: 39

Original Poster
Rep: Reputation: 15
No, it's just sitting there - wedged. See ttyUSB1 in attached screen shot
Attached Thumbnails
Click image for larger version

Name:	wedged.jpg
Views:	117
Size:	35.2 KB
ID:	15661  
 
Old 06-03-2014, 09:17 AM   #6
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
So we've reset the modem and created a new tty in case the original kludged and we're still getting a wedge?
You're going to have to minicom into it.
Quote:
MINICOM(1) Version 2.6.1 MINICOM(1)

NAME
minicom - friendly serial communication program

SYNOPSIS
minicom [-somMlwz8] [-c on|off] [-S script] [-d entry]
[-a on|off] [-t term] [-p pty] [-C capturefile] [configuration]

DESCRIPTION
minicom is a communication program which somewhat resembles the shareware program TELIX but is free with source code and runs under most Unices. Features include dialing directory with auto-redial, support for UUCP-style lock files on serial devices, a separate script language inter-preter, capture to file, multiple users with individual configurations, and more.
Run a "man minicom", I haven't used it in a while because I don't deal with tty devices much anymore, at least not ones that wedge, but as I remember it wasn't that hard to set up and use.

Last edited by dijetlo; 06-03-2014 at 09:19 AM.
 
  


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
Hylafax: faxstat no modem grattonizer Linux - Software 0 06-27-2011 04:45 AM
Execbuf while wedged Adriann SUSE / openSUSE 2 11-07-2010 10:50 AM
Hylafax with multiple lines and only one modem red5lion Linux - Server 0 01-01-2010 12:25 PM
Hylafax Modem issue nztech Linux - Server 2 10-07-2009 02:42 AM
Configure an Internal Modem for Hylafax shawnbishop Linux - Hardware 0 02-24-2008 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:41 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