You are not logged in.

#1 2007-07-13 11:08:14

PsD
Member
Registered: 2005-11-07
Posts: 14

Help needed to get Merlin XU870 working. [solved]

Hi everyone,

I have a problem... Today I got "Merlin XU870" 3g modem (ExpressCard + PCMCIA adapter) and can't get it working.
Fastly enough I found this manual:
http://www.novatelwireless.com/support/ … linux.html
Ok, it says to do "tail -f /var/log/messages.log" and I do so. Then I insert the card and I see these lines:

Jul 13 13:58:54 psdBox pccard: CardBus card inserted into slot 0
Jul 13 13:58:54 psdBox PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
Jul 13 13:58:54 psdBox ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 17
Jul 13 13:58:54 psdBox ohci_hcd 0000:03:00.0: OHCI Host Controller
Jul 13 13:58:54 psdBox ohci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 6
Jul 13 13:58:54 psdBox ohci_hcd 0000:03:00.0: irq 17, io mem 0x54000000
Jul 13 13:58:54 psdBox usb usb6: configuration #1 chosen from 1 choice
Jul 13 13:58:54 psdBox hub 6-0:1.0: USB hub found
Jul 13 13:58:54 psdBox hub 6-0:1.0: 3 ports detected
Jul 13 13:58:54 psdBox PCI: Enabling device 0000:03:00.1 (0000 -> 0002)
Jul 13 13:58:54 psdBox ACPI: PCI Interrupt 0000:03:00.1[b] -> GSI 17 (level, low) -> IRQ 17
Jul 13 13:58:54 psdBox ohci_hcd 0000:03:00.1: OHCI Host Controller
Jul 13 13:58:54 psdBox ohci_hcd 0000:03:00.1: new USB bus registered, assigned bus number 7
Jul 13 13:58:54 psdBox ohci_hcd 0000:03:00.1: irq 17, io mem 0x54001000
Jul 13 13:58:54 psdBox usb usb7: configuration #1 chosen from 1 choice
Jul 13 13:58:54 psdBox hub 7-0:1.0: USB hub found
Jul 13 13:58:54 psdBox hub 7-0:1.0: 2 ports detected
Jul 13 13:58:58 psdBox usb 6-1: new full speed USB device using ohci_hcd and address 2
Jul 13 13:58:58 psdBox usb 6-1: configuration #1 chosen from 1 choice

First line says that CardBus card is inserted into slot 0. That's great, isn't it? And then a lot of lines about where my card gets connected. That would be fine, BUT. On the manual I see a little different messages (I understand, that output isn't supposed to be identical):

Aug 3 15:27:33 linux kernel: usb 5-1: configuration #1 chosen from 1 choice
Aug 3 15:27:33 linux kernel: airprime 5-1:1.0: airprime converter detected
Aug 3 15:27:33 linux kernel: usb 5-1: airprime converter now attached to ttyUSB0
Aug 3 15:27:33 linux kernel: airprime 5-1:1.1: airprime converter detected
Aug 3 15:27:33 linux kernel: usb 5-1: airprime converter now attached to ttyUSB1

And I notice two big differences:
1) Aug 3 15:27:33 linux kernel: airprime 5-1:1.0: airprime converter detected
I have loaded airprime driver, but "airprime converted" is not detected. Why?
2) Aug 3 15:27:33 linux kernel: usb 5-1: airprime converter now attached to ttyUSB1
My code is also missing similar line and I think this comes out of the first problem. Anyway, I just get these devices:

crw-rw---- 1 root camera  254,  13 2007-07-13 13:58 usbdev6.1_ep81
crw-rw---- 1 root camera  254,  16 2007-07-13 13:58 usbdev6.2_ep00
crw-rw---- 1 root camera  254,  19 2007-07-13 13:58 usbdev6.2_ep02
crw-rw---- 1 root camera  254,  21 2007-07-13 13:58 usbdev6.2_ep04
crw-rw---- 1 root camera  254,  17 2007-07-13 13:58 usbdev6.2_ep81
crw-rw---- 1 root camera  254,  18 2007-07-13 13:58 usbdev6.2_ep82
crw-rw---- 1 root camera  254,  20 2007-07-13 13:58 usbdev6.2_ep84
crw-rw---- 1 root camera  254,  14 2007-07-13 13:58 usbdev7.1_ep00
crw-rw---- 1 root camera  254,  15 2007-07-13 13:58 usbdev7.1_ep81

But not /dev/ttyUSB0 (nor /dev/tts/USB0 nor /dev/usb/tts/0)

Some output that might be helpfull:

# uname -a
Linux psdBox 2.6.21-ARCH #1 SMP PREEMPT Fri Jun 8 20:10:32 CEST 2007 i686 Intel(R) Pentium(R) M processor 1.73GHz GenuineIntel GNU/Linux
# lspcmcia 
Socket 0 Bridge:       [yenta_cardbus]     (bus ID: 0000:02:01.0)
  CardBus card -- see "lspci" for more information
# lshwd 
00:00.0 Host bridge: Intel Corp.|Mobile Memory Controller Hub (intel-agp)
00:01.0 PCI bridge: Intel Corp.|Mobile Memory Controller Hub PCI Express Port (unknown)
00:1b.0 Audio device: Intel Corp.|I/O Controller Hub Audio (snd-hda-intel)
00:1d.0 USB Controller: Intel Corp.|I/O Controller Hub USB (unknown)
00:1d.1 USB Controller: Intel Corp.|I/O Controller Hub USB (unknown)
00:1d.2 USB Controller: Intel Corp.|I/O Controller Hub USB (unknown)
00:1d.3 USB Controller: Intel Corp.|I/O Controller Hub USB (unknown)
00:1d.7 USB Controller: Intel Corp.|I/O Controller Hub USB2 (unknown)
00:1e.0 PCI bridge: Intel Corp.|82801 Hub Interface to PCI Bridge (hw_random)
00:1f.0 ISA bridge: Intel Corp.|I/O Controller Hub LPC (i810-tco)
00:1f.1 IDE interface: Intel Corp.|I/O Controller Hub PATA (piix)
01:00.0 VGA compatible controller: ATI Technologies Inc.|Radeon Mobility X700 (PCIE) (ati)
02:00.0 Ethernet controller: Realtek Semiconductor|TTP-Monitoring Card V2.0 (8139too)
02:01.0 CardBus bridge: Ricoh Co Ltd.|RL5c476 II (yenta_socket)
02:01.1 FireWire (IEEE 1394): Ricoh Co Ltd.|R5C552 IEEE 1394 Controller (ohci1394)
02:01.2 Generic system peripheral [0805]: Ricoh Co Ltd.|SD Card reader (unknown)
02:01.3 System peripheral: Ricoh Co Ltd.|R5C592 Memory Stick Bus Host Adapter (unknown)
02:03.0 Network controller: Intel Corp.|Intel(R) PRO/Wireless 2200BG (ipw2200)
03:00.0 USB Controller: NEC|USB (ohci_hcd)
03:00.1 USB Controller: NEC|USB (ohci_hcd)
007:001 USB Hub: Virtual|Hub (hub)
006:002 USB Vendor Specific Class: Novatel Wireless HSDPA Modem (unknown)
006:001 USB Hub: Virtual|Hub (hub)
005:001 USB Hub: Virtual|Hub (hub)
004:001 USB Hub: Virtual|Hub (hub)
003:001 USB Hub: Virtual|Hub (hub)
002:001 USB Hub: Virtual|Hub (hub)
001:004 USB Human Interface Devices: Darfon Electronics Corp.|Benq Mouse [/dev/input/mice] (usbhid)
001:001 USB Hub: Virtual|Hub (hub)
---:--- Mouse: PS/2 Mouse port [/dev/psaux] (msintellips/2)

Basicaly I'm worried about two things:
1) Why /dev/ttyUSB* is not created
and
2) Why airprime converted is not detected

Any ideas what's wrong?

Thanks

Last edited by PsD (2007-07-14 10:33:50)

Offline

#2 2007-07-13 13:30:26

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,964

Re: Help needed to get Merlin XU870 working. [solved]

I assume the airprime driver is a kernel module ?

How did you load it and where did you get it from ?

the output of lsmod would also be useful


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2007-07-13 13:43:31

PsD
Member
Registered: 2005-11-07
Posts: 14

Re: Help needed to get Merlin XU870 working. [solved]

Yes, "airprime" is the kernel module. And I had stock kernel 2.6.21.4 from Arch.
After spending few hours on google i finaly decided to recompile kernel (because of airprime module). Firstly I patched it, and then recompiled everything. Now i'm running custom kernel and modem seems to be working (at least now it's green led blinking instead of red smile).
But now I'm experiencing problems with connecting to the internet.
PPPD script:

ABORT "BUSY"
ABORT "NO CARRIER"
"" "at"
OK "AT+CPIN?"
OK "AT+CGDCONT=8,\042IP\042,\042banga\042"
OK "atd *99#"
CONNECT "\d\c"

Output from messages.log:

Jul 13 16:37:28 psdBox pppd[8736]: pppd 2.4.4 started by root, uid 0
Jul 13 16:37:28 psdBox pppd[8736]: Removed stale lock on ttyUSB0 (pid 8640)
Jul 13 16:37:29 psdBox chat[8738]: abort on (BUSY)
Jul 13 16:37:29 psdBox chat[8738]: abort on (NO CARRIER)
Jul 13 16:37:29 psdBox chat[8738]: send (at^M)
Jul 13 16:37:29 psdBox chat[8738]: expect (OK)
Jul 13 16:37:29 psdBox chat[8738]: at^M^M
Jul 13 16:37:29 psdBox chat[8738]: OK
Jul 13 16:37:29 psdBox chat[8738]:  -- got it
Jul 13 16:37:29 psdBox chat[8738]: send (AT+CPIN?^M)
Jul 13 16:37:29 psdBox chat[8738]: expect (OK)
Jul 13 16:37:29 psdBox chat[8738]: ^M
Jul 13 16:37:29 psdBox chat[8738]: AT+CPIN?^M^M
Jul 13 16:37:29 psdBox chat[8738]: +CPIN: READY^M
Jul 13 16:37:29 psdBox chat[8738]: ^M
Jul 13 16:37:29 psdBox chat[8738]: OK
Jul 13 16:37:29 psdBox chat[8738]:  -- got it
Jul 13 16:37:29 psdBox chat[8738]: send (AT+CGDCONT=8,"IP","banga"^M)
Jul 13 16:37:29 psdBox chat[8738]: expect (OK)
Jul 13 16:37:29 psdBox chat[8738]: ^M
Jul 13 16:37:29 psdBox chat[8738]: AT+CGDCONT=8,"IP","banga"^M^M
Jul 13 16:37:29 psdBox chat[8738]: OK
Jul 13 16:37:29 psdBox chat[8738]:  -- got it
Jul 13 16:37:29 psdBox chat[8738]: send (atd *99#^M)
Jul 13 16:37:29 psdBox chat[8738]: expect (CONNECT)
Jul 13 16:37:29 psdBox chat[8738]: ^M
Jul 13 16:37:29 psdBox chat[8738]: atd *99#^M^M
Jul 13 16:37:29 psdBox chat[8738]: CONNECT
Jul 13 16:37:29 psdBox chat[8738]:  -- got it
Jul 13 16:37:29 psdBox chat[8738]: send (\d)
Jul 13 16:37:30 psdBox pppd[8736]: Serial connection established.
Jul 13 16:37:30 psdBox pppd[8736]: Using interface ppp0
Jul 13 16:37:30 psdBox pppd[8736]: Connect: ppp0 <--> /dev/ttyUSB0
Jul 13 16:37:31 psdBox pppd[8736]: kernel does not support PPP filtering
Jul 13 16:38:01 psdBox pppd[8736]: IPCP: timeout sending Config-Requests
Jul 13 16:38:07 psdBox pppd[8736]: Connection terminated.
Jul 13 16:38:08 psdBox pppd[8736]: Modem hangup
Jul 13 16:38:08 psdBox pppd[8736]: Exit.

What's happening?

Offline

#4 2007-07-13 20:34:07

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,964

Re: Help needed to get Merlin XU870 working. [solved]

Iirc you need to login with user vodafone and password vodafone
Also you need to set noauth  (can only be done by root).

* yes, i know it's weird to use login/pw with noauth , but it's the way vodafone wants it.

Last edited by Lone_Wolf (2007-07-13 20:34:22)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2007-07-14 10:32:25

PsD
Member
Registered: 2005-11-07
Posts: 14

Re: Help needed to get Merlin XU870 working. [solved]

Lone_Wolf wrote:

Iirc you need to login with user vodafone and password vodafone
Also you need to set noauth  (can only be done by root).

* yes, i know it's weird to use login/pw with noauth , but it's the way vodafone wants it.

That was it! username/password "vodafone/vodafone" did the thing! Thank you man! big_smile

Offline

Board footer

Powered by FluxBB