Re: howto unplug a device?



On Sat, 23 Apr 2011 13:01:47 -0400, shawn wilson wrote:

On Sat, Apr 23, 2011 at 12:41 PM, Camaleón wrote:
On Sat, 23 Apr 2011 18:15:53 +0200, Hans-J. Ullrich wrote:

is there a way, to unplug a device by software or a command? I wanna
unplug and plugin a device (it is a built in modem), if it crashes. At
the moment, i have to reboot, each time it hangs.

I dunno if an internal/embedded modem can be unpluggled without power
cycling the machine but if the modem gets "stuck" you can try to
"initilize" the device by using minicom settings or just sending the
"ATZ" string to the modem ("echo ATZ > /dev/modem" or "echo ATZ > /dev/
ttyxx").


i remember some instances where the modem would freeze so that an atz
wouldn't work on it. this is why i used to always buy external modems.

Sure, and even external modems get so badly frozen that you also have to
restart the machine in order to return it to life ;-)

(...)

my suggestion, buy an external modem. i have no idea how much they cost,
but i couldn't immagine them costing more than $15. also, external
modems are smarter because if there is a surge, your computer is less
likely to fry.

RS-232 based modems work very well under linux (no driver required and
minimal hangs) but they are expensive and the old serial port is starting
to disappear from motherboards (forget about it on notebooks unless you
use a converter). USB based ones can be an option but USB port is more
prone to problems and locks. There also PCI/ISA based ones and lastly,
those embedded (the worst). But sometimes the user has to stick with the
worst of the options and work with that ;-(

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/pan.2011.04.23.17.21.57@xxxxxxxxx



Relevant Pages

  • Re: wvdial support
    ... Cricket wireless network using a Cal-Comp A600 GSM wireless modem. ... The dialer is being called from a startup script, ... terminate, so it must be spawned as a detached process. ... that the ISP hangs up after 12 hours, ...
    (alt.linux)
  • Hard hang with u3g and -current
    ... I have a Huawei E169 3G modem which I'm using with the u3g driver on ... When the system hangs, the 3G modem hangs up (though this may be the ... Alt-Fn from VTY; ...
    (freebsd-current)
  • Re: fax modem sbs
    ... >i checked on the brooktrout the price hangs me up ... >> Best practice is an external modem, because that way, if it hangs, you ... >> reboot the modem. ... >>> right now i have a pci modem but it is a old one, ...
    (microsoft.public.backoffice.smallbiz)
  • Re: Fax device,fax service,needs to be more reliable and controlable
    ... Any internal modem on a server class machine is a bad idea ... If you are looking for a single modem to hook externally the best option ... >> reconfiguring hangs the console. ...
    (microsoft.public.windows.server.sbs)
  • IE 6 Hangs
    ... IE hangs for about 15-20 after opening web ... accesses the cable modem and runs without any delays. ... I've shut down Norton Internet Security and Norton Anti- ...
    (microsoft.public.windows.inetexplorer.ie6.browser)