2011. 02. 25. 11:22 keltezéssel, Hegedüs Ervin írta:
> On Fri, Feb 25, 2011 at 11:02:56AM +0100, Gergely Tamás wrote:
>> Egy távoli gépbe be van dugva egy Huawei E153-as usb modem, ami sms
>> -eket küld.
>> A problémám, hogy néha- néha "lefagy" a modem, nem látja a gammu.
>> Ilyenkor segít egy reboot, de nem nagyon kellene a gépet újraindítgatni.
>> Le lehet választani és utána felmountolni a modemet újra?
>> Vagyis biztos hogy lehet, csak hogyan? És ez megoldja a problémámat,
>> vagyis hogy reseteli
>> a modemet?
> nekem a Gnokii csinált ilyet USB-s kábellel, ott általában egy
>
> rmmod amiket_hasznal_a_gnokii_ehhez
>
> majd modprobe ugyanezekre megoldotta a problémát.
>
>
> a.
>
> _________________________________________________
> linux lista      -      linux@mlf.linux.rulez.org
> http://mlf2.linux.rulez.org/mailman/listinfo/linux


A modemem használja a usbserial modult. ezzel próbáltam.
A sima rmmod nekem nem működött, azt mondja hogy használatban van.
Erre rmmod -f usbserial erre kiirta hogy használatban. Viszont az lsmod
mutatja, hogy be van töltve. Lehet hogy utána rögtön vissza is tölti?

dmesg:
  option1 ttyUSB0: GSM modem (1-port) converter now disconnected from 
ttyUSB0
[ 3055.468789] option 1-5:1.0: device disconnected
[ 3055.468926] option1 ttyUSB1: GSM modem (1-port) converter now 
disconnected from ttyUSB1
[ 3055.468945] option 1-5:1.1: device disconnected
[ 3055.469069] option1 ttyUSB2: GSM modem (1-port) converter now 
disconnected from ttyUSB2
[ 3055.469088] option 1-5:1.2: device disconnected
[ 3055.469208] option1 ttyUSB3: GSM modem (1-port) converter now 
disconnected from ttyUSB3
[ 3055.469226] option 1-5:1.3: device disconnected
[ 3059.752023] usb 1-5: new high speed USB device using ehci_hcd and 
address 3
[ 3059.895830] usb 1-5: configuration #1 chosen from 1 choice
[ 3059.902771] option 1-5:1.0: GSM modem (1-port) converter detected
[ 3059.902872] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
[ 3059.902954] option 1-5:1.1: GSM modem (1-port) converter detected
[ 3059.903022] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1
[ 3059.903102] option 1-5:1.2: GSM modem (1-port) converter detected
[ 3059.903152] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB2
[ 3059.903221] option 1-5:1.3: GSM modem (1-port) converter detected
[ 3059.903271] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB3
[ 3059.907971] scsi4 : SCSI emulation for USB Mass Storage devices


Ez olyan mintha rögtön vissza is csatolná.
A lényeg hogy nem jött be, ezek után se szólal meg a modem.

_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz