Re: Resetting a wedged modem

Lee Howard <[email protected]> Fri, 24 May 2019 13:44:35 -0700
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
On 05/24/2019 01:28 PM, Jason wrote:
> On Fri, May 24, 2019 at 12:52:58PM -0700, Lee Howard wrote:
>> On 05/24/2019 08:32 AM, Jason wrote:
>>> Is there any way to reset a 'wedged' or 'frozen' USB modem short of=20
>>> re-plugging it or restarting the system? I would like to hook somethi=
ng=20
>>> into the bin/wedged script to attempt to reset or wake up a stuck mod=
em.
>> If restarting the system (software reboot) solves the problem then may=
be
>> unloading and reloading the USB drivers/modules will work.
> I think usually a reboot works (shutdown -r now), I'm not sure if that'=
s=20
> what you mean by a software reboot or not. Sometimes the modems get=20
> stuck when receiving a long color fax and something goes wrong, and I'd=
=20
> like to prevent needing the user to manually intervene so that fax=20
> answering continues to work.
>
> To reload the modules would you use modprobe or something else? (OS is=20
> Debian)

Yes, 'shutdown -r' constitutes a soft reboot.=C2=A0 (As compared to a har=
d
reboot where you turn the power off.)

To reload the driver modules you'll need to figure it out.=C2=A0 I don't =
have
a ready-made answer for your exact environment and modem.=C2=A0 You'd usu=
ally
use rmmod to unload modules.

Thanks,

Lee.


____________________ HylaFAX(tm) Users Mailing List _____________________=
__
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.c=
gi
 On UNIX: mail -s unsubscribe [email protected] < /dev/nu=
ll
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*