Tag Archives: usb

Vodafone K3565 Ubuntu error

I tried to get a Vodafone K3565, which is Huawei hardware. I got the
below errors while trying to make it work with Ubuntu 11.10:

Feb 13 20:16:20 HP-Laptop modem-manager[891]: <info> (Huawei): GSM modem /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1 claimed port ttyUSB2
Feb 13 20:16:28 HP-Laptop modem-manager[891]: <info> (ttyUSB1) closing serial port...
Feb 13 20:16:28 HP-Laptop modem-manager[891]: <info> (ttyUSB1) serial port closed
Feb 13 20:16:28 HP-Laptop modem-manager[891]: <info> (ttyUSB1) opening serial port...
Feb 13 20:16:31 HP-Laptop modem-manager[891]: <info> (ttyUSB1) closing serial port...
Feb 13 20:16:31 HP-Laptop modem-manager[891]: <info> (ttyUSB1) serial port closed
Feb 13 20:16:31 HP-Laptop modem-manager[891]: <info> (Huawei): GSM modem /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1 claimed port ttyUSB1
Feb 13 20:16:31 HP-Laptop NetworkManager[899]: <warn> (ttyUSB0): failed to look up interface index
Feb 13 20:16:31 HP-Laptop NetworkManager[899]: <info> WWAN now disabled by management service
Feb 13 20:16:31 HP-Laptop NetworkManager[899]: <info> (ttyUSB0): new GSM/UMTS device (driver: 'option1' ifindex: 0)
Feb 13 20:16:31 HP-Laptop NetworkManager[899]: <info> (ttyUSB0): exported as /org/freedesktop/NetworkManager/Devices/2
Feb 13 20:16:31 HP-Laptop NetworkManager[899]: <info> (ttyUSB0): now managed
Feb 13 20:16:31 HP-Laptop NetworkManager[899]: <info> (ttyUSB0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Feb 13 20:16:31 HP-Laptop NetworkManager[899]: <info> (ttyUSB0): deactivating device (reason 'managed') [2]
Feb 13 20:16:31 HP-Laptop NetworkManager[899]: nm_system_iface_flush_routes: assertion `ifindex > 0' failed
Feb 13 20:16:31 HP-Laptop NetworkManager[899]: nm_system_iface_flush_addresses: assertion `ifindex > 0' failed
Feb 13 20:16:31 HP-Laptop NetworkManager[899]: <info> (ttyUSB0): device state change: unavailable -> disconnected (reason 'none') [20 30 0]
Feb 13 20:16:37 HP-Laptop modem-manager[891]: <info> (ttyUSB0) opening serial port...
Feb 13 20:16:37 HP-Laptop modem-manager[891]: <info> Modem /org/freedesktop/ModemManager/Modems/0: state changed (disabled -> enabling)
Feb 13 20:16:37 HP-Laptop modem-manager[891]: <info> (ttyUSB2) opening serial port...
Feb 13 20:16:37 HP-Laptop modem-manager[891]: Invalid error code: 500
Feb 13 20:16:37 HP-Laptop modem-manager[891]: Invalid error code: 303
Feb 13 20:16:39 HP-Laptop modem-manager[891]: <info> Modem /org/freedesktop/ModemManager/Modems/0: state changed (enabling -> enabled)
Feb 13 20:16:39 HP-Laptop NetworkManager[899]: <info> WWAN now enabled by management service
Feb 13 20:16:39 HP-Laptop modem-manager[891]: <info> Modem /org/freedesktop/ModemManager/Modems/0: state changed (enabled -> searching)
Feb 13 20:16:41 HP-Laptop NetworkManager[899]: <info> Activation (ttyUSB0) starting connection 'Vodafone'
Feb 13 20:16:41 HP-Laptop NetworkManager[899]: <info> (ttyUSB0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Feb 13 20:16:41 HP-Laptop NetworkManager[899]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Feb 13 20:16:41 HP-Laptop NetworkManager[899]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Feb 13 20:16:41 HP-Laptop NetworkManager[899]: <info> (ttyUSB0): device state change: prepare -> need-auth (reason 'none') [40 60 0]
Feb 13 20:16:41 HP-Laptop NetworkManager[899]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
Feb 13 20:16:45 HP-Laptop NetworkManager[899]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Feb 13 20:16:45 HP-Laptop NetworkManager[899]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Feb 13 20:16:45 HP-Laptop NetworkManager[899]: <info> (ttyUSB0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Feb 13 20:16:45 HP-Laptop NetworkManager[899]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.

But
no matter how much I tried I could not get it running. After a while I
found out that this dongle is SIMlocked and I wanted to use it with a
non Vodafone SIM. To unlock it you need to install minicom (apt-get
install minicom) and configure it to use ttyUSB2 by running it “minicom
-s”. Then you can run minicom and type in AT^CARDLOCK? after which you
should get something like ^CARDLOCK: 2,10,0 now all you need to do is
type in the IMEI from your stick (printed on it) into this homepage
and save the code you get there. With this code you can then run
minicom again and do AT^CARDLOCK=”YOURCODEHERE” replacing the text with
your actual unlock code. You should get an OK from minicom. After that
the Vodafone dongle should work perfectly.