FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 10-09-2008, 02:00 PM
Bonnel Christophe
 
Default eject modem

Hi all,

I have a sagem fast 800 (ueagle-atm) module on my gateway. I have
difficulties to synchronize because i'm far (very far) from the dslam.
So, when it loses synchronisation, the modem can take hours before
re-sync. Sometimes, it can't sync and I get error messages like these ones :


Oct 6 11:49:20 localhost kernel: ATM dev 0: usbatm_complete: urb
0xcb2f2cc0 failed (-71)!
Oct 6 11:49:20 localhost kernel: usb 1-1: [UEAGLE-ATM] uea_intr()
failed with -84
Oct 6 11:49:20 localhost kernel: ATM dev 0: usbatm_complete: urb
0xcb2f2ac0 failed (-71)!
Oct 6 11:49:20 localhost kernel: usb 1-1: [UEAGLE-ATM] sending DSP
block 0 failed
Oct 6 11:49:20 localhost kernel: ATM dev 0: usbatm_complete: urb
0xc5a03a60 failed (-71)!
Oct 6 11:49:20 localhost kernel: ATM dev 0: usbatm_complete: urb
0xcc8fd740 failed (-71)!

Oct 6 11:49:20 localhost kernel: usb 1-1: USB disconnect, address 96
Oct 6 11:49:20 localhost kernel: ATM dev 0: usbatm_submit_urb: urb
0xcb199e80 submission failed (-19)!
Oct 6 11:49:20 localhost kernel: ATM dev 0: usbatm_submit_urb: urb
0xcb199e80 submission failed (-19)!
Oct 6 11:49:24 localhost kernel: usb 1-1: [UEAGLE-ATM] usb_control_msg
error -19

Oct 6 11:49:24 localhost kernel: usb 1-1: [ueagle-atm] ADSL device removed

At this moment, I must unplug the modem, wait 5 to 10 seconds and
re-plug it.




I would like to be able to eject with a script the modem. So, i will
scan every minute my syslog and when it found an error, the script will
be launch.


I have tried a script months ago that unload the module (and the usb
module) but it doesn't work, it seems it doesn't find a new hardware (no
new usb event on syslog).


Is there a way to eject the hardware (via udev or anything else) ?

Thanks in advance,
Christophe


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 03:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org