Results 1 to 3 of 3

Thread: 3g usb modem manually remove fails.

  1. #1
    Join Date
    Nov 2005
    Location
    Kerala,India
    Beans
    534
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Post 3g usb modem manually remove fails.

    I got a Huawei K4505 3G Modem and it works fine in Linux. but, after disconnecting from network manager, I cannot "safely remove" modem.
    if I run "sync && eject /dev/sdb" or "umount/pumount /dev/sdb" it also fails.

    I need some info how to manually "safely" remove this device, since, ubuntu does not be able to safely remove neither My Kindle e-reader or this modem.

    regards,
    dc
    Attached Images Attached Images

  2. #2
    Join Date
    Nov 2005
    Location
    Kerala,India
    Beans
    534
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: 3g usb modem manually remove fails.

    I tried this and it unmounted:
    http://forums.debian.net/viewtopic.p...=52627#p311645

    and it removes the drive. I hope, ubuntu will fix this bug with usb devices which are not usb flash memory, but devices like 3g modem etc.

  3. #3
    Join Date
    Nov 2005
    Location
    Kerala,India
    Beans
    534
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: 3g usb modem manually remove fails.

    I am fed up with this issue. Is there any fix for this. I am confused about the process to unbind usb modem. can anyone help?

    when I put this K4505 Huawei modem on Windows 7, it is detected as a usb modem as well as a data storage device and mounted as a partition(it has mobile manager software pops up).

    Is there something I miss? I fear this modem will get damaged if I force remove the device every time(although I make sure usb modem icon disappear in "computer:" in nautilus file manager).

    I did type these commands after finding usb port used is "2-1":
    as root(sudo su) :

    Code:
    sync&&sync&&sync
    Code:
    echo "auto" > "/sys/bus/usb/devices/usb2/2-1/power/level"
    Code:
    echo "2-1:1.1" > "/sys/bus/usb/devices/2-1\:1.0/driver/unbind"
    ^^ I hope these 2 steps are enough? but, I try to remove the device attributes also before pulling usb modem out of the port.

    Code:
    echo "1" > "/sys/bus/usb/devices/usb2/2-1/remove"
    Can someone guide Me whether I am doing is the correct way?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •