Author Topic: 3.5.4rc And Docomo Cf Modem  (Read 6331 times)

eijei

  • Newbie
  • *
  • Posts: 8
    • View Profile
3.5.4rc And Docomo Cf Modem
« on: November 22, 2005, 03:13:05 am »
Hi all,

Just to begin, I'm pretty useless at linux and I've clicked on message upon message in this message board trying to figure out how to get my ntt docomo phs wireless modem/wlan card to work with my sl-c3000 on openzaurus (3.5.4rc).  I'm using opie.

The card works on the standard sharp rom.  I can log onto the docomo network (I'm currently in Japan) and use the internet.  Using openzaurus, however, the system recognizes the card and even the name of the card shows up on the launcher, but I can't figure out how to get it to dial up.

I've gone through the network settings and added a new ppp device.  When I try to start the device however, it remains stuck with the messsage regarding trying to start the speaker.  (I don't remember so well since I reinstalled the original sharp rom at the moment.)

My card is an NTT DoCoMo P-in Free 2PWL compact flash card.  If i use the card with the sharp rom or on my mac (powerbook) I normally have to dialup to use it.  

I could just stick with the sharp rom, but oz runs so nice and smooth... =P    

Thanks for your time,

eijei

p.s. this is my first ever post to any discussion board so i hope i didn't type anything incorrectly or unclearly.  Thanks again.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
3.5.4rc And Docomo Cf Modem
« Reply #1 on: November 22, 2005, 07:26:26 am »
Probably a little late now, but what did 'lsmod' show had been loaded when you put the card in?

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

eijei

  • Newbie
  • *
  • Posts: 8
    • View Profile
3.5.4rc And Docomo Cf Modem
« Reply #2 on: November 22, 2005, 08:07:01 am »
Thanks for the reply,

I put oz back on my zaurus.

I don't know how to copy or paste from the console so I'll type what it said:

----------------------------

Module           Size Used by Not tainted
serial_cs 17416 1 - Live 0xbf09a000
8250 19800 1 serial_cs, Live 0xbf094000
rfcomm 37596 2 - Live 0xbf089000
pxaficp_ir 9696 0 - Live 0xbf085000
ircomm_tty 21800 0 - Live 0xbf07e000
ircomm 12132 1 ircomm_tty, Live 0xbf07a000
irda 119080 3 pxficp_ir,ircomm_tty,ircomm, Live 0xbf05b000
ipv6 264736 8 - Live 0xbf014000
hidp 13088 2 - Live 0xbf014000
l2cap 23556 10 rfcomm,hidp, Live 0xbf00d000
bluetooth 47488 5 rfcomm,hidp,l2cap, Live 0xbf000000

-----------------------------

I hope I didn't make any mistakes.  

eijei

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
3.5.4rc And Docomo Cf Modem
« Reply #3 on: November 22, 2005, 10:17:14 am »
Ok, I wonder if the '8250' module is the one which is supposed to run your card.

Could you paste the output of 'cardctl info' please so we can see what the card identifies itself as.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

eijei

  • Newbie
  • *
  • Posts: 8
    • View Profile
3.5.4rc And Docomo Cf Modem
« Reply #4 on: November 23, 2005, 01:57:58 am »
Ok, here I go.

---------------------
PRODID_1="HITACHI"
PRODID_2="microdrive"
PRODID_3=""
PRODID_4=""
MANFID=0319,0000
FUNCID=4
PRODID_1="NTT DoCoMo"
PRODID_2="P-in Free 2P"
PRODID_3=""
PRODID_4=""
MANFID=0032,050A
FUNCID=2
----------------------

i hope that's right.

eijei

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
3.5.4rc And Docomo Cf Modem
« Reply #5 on: November 23, 2005, 02:47:34 am »
looks like serial_cs card.
Code: [Select]
card "NTT DoCoMo"
  manfid 0x0032, 0x050A
  bind "serial_cs"
add it into /etc/pcmcia/config and restart cardmgr (/etc/init.d/pcmcia restart) - maybe then card will be working.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

eijei

  • Newbie
  • *
  • Posts: 8
    • View Profile
3.5.4rc And Docomo Cf Modem
« Reply #6 on: November 23, 2005, 03:58:43 am »
Here's where I am now,

I followed what Hrw recommended and now at the pcmcia launcer icon it now shows "NTT DoCoMo".  So that's cool.

Next, I went to Settings --> Network and clicked Add.  

I selected a new PPP device (only option) and made a new account in the Accounts tab.

I entered a connection name and the correct phone number.  I also went into the Authentication tab and typed in the Username and Password.  Authentication was left alone to PAP/CHAP.  (Although, I have no idea what pap/chap is or any of the other options.

I then went to the modem tab and entered a new modem.  I typed in NTT DoCoMo for modem name.

For Modem device, my options are "/dev/modem", "/dev/ircomm0", and "/dev/ttyS0".  I chose "/dev/modem".  

I also set connetion speed to 115200.  (The card goes up to 64k.)

I went back to the Network Settings window and selected the mopera (NTT DoCoMo) device and clicked Start/Stop.  In the next window I clicked Start.  At the little info window at the bottom, it'll say "Looking for Modem", then "Modem Ready", then "Initializing Modem", then "Setting speaker volume..." at which point it just stays there.

So there's where I'm at now.  I hope I'm not causing anyone too much trouble with my newbishness.  

Thanks for the help so far.  

eijei

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
3.5.4rc And Docomo Cf Modem
« Reply #7 on: November 23, 2005, 06:40:16 am »
The question I would ask is whether the /dev entry for the card is actually /dev/modem (or is symlinked to it).

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

eijei

  • Newbie
  • *
  • Posts: 8
    • View Profile
3.5.4rc And Docomo Cf Modem
« Reply #8 on: November 23, 2005, 07:14:46 am »
Is there anything I could do to check this?

eijei

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
3.5.4rc And Docomo Cf Modem
« Reply #9 on: November 23, 2005, 07:33:51 am »
You could take a look at the output of 'dmesg' and/or 'logread' after the card is plugged in and see if it mentions any /dev entries I suppose.

Anyone have any other ideas?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

eijei

  • Newbie
  • *
  • Posts: 8
    • View Profile
3.5.4rc And Docomo Cf Modem
« Reply #10 on: November 23, 2005, 08:16:52 am »
In terms of dmesg, after I plugged in my card, here's the line that I got that's different than dmesg without the card:

Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS3 at I/0 0xc48403f8 (irq = 137 ) is a TI16750

eijei

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
3.5.4rc And Docomo Cf Modem
« Reply #11 on: November 23, 2005, 08:59:41 am »
so use /dev/ttyS3 instead of /dev/modem
« Last Edit: November 23, 2005, 10:05:54 am by Hrw »
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

eijei

  • Newbie
  • *
  • Posts: 8
    • View Profile
3.5.4rc And Docomo Cf Modem
« Reply #12 on: November 24, 2005, 12:07:25 am »
No dice either using /dev/ttyS3.  I get stuck with "Setting Speaker Volume" just like I do setting modem device to /dev/modem.

Thanks for the help thus far.  

eijei

Thanks for putting up with my problems and sorry to bother you guys.  

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
3.5.4rc And Docomo Cf Modem
« Reply #13 on: November 24, 2005, 07:11:37 am »
You can make pppd more verbose with -V iirc, I'm not sure where the output will go though; I've not had to debug a modem connection for a long time, so I'm a bit rusty I'm afraid.

It might be worth running the whole lot from the command line if someone can provide the correct commands to do this.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva