haier d1200p phone modem conection ?

Post Reply
Message
Author
User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

haier d1200p phone modem conection ?

#1 Post by pri »

haier d1200p

info with hardinfo :
Manufacturer=VIA Telecom
Product=CDS4
VendorID=15eb ProductID=0001 KERNEL-MODULE=usbserial_generic
then modprobe :
modprobe usbserial vendor=0x15eb product=0x0001
then got this state with dmesg :
usbserial_generic 1-2:1.0: generic converter detected
usb 1-2: generic converter now attached to ttyUSB0
usbserial_generic 1-2:1.1: generic converter detected
usb 1-2: generic converter now attached to ttyUSB1
#
but still cannot detect with pupdial.
Learning by Doing

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

Re: haier d1200p phone modem

#2 Post by rerwin »

pri,
Thank you for inquiring about the Haier phone modem. Although Puppy does not now support it, I have done some research and have created a dotpet containing rules for loading the driver. They reflect the advice of several web postings.

There may be three steps, only one of which you appear to have performed. Here is the content of the rules file, which mentions the steps:

Code: Select all

###################################################
# Haier D1200P USB Modem
# BSNL Clarity USB phone modem

#Requires addition of the following to /etc/wvdial.conf:
#  Init6 = AT+CRM=1;+CPS=33;+CMUX=1;+CTA=0

SUBSYSTEM=="usb",SYSFS{idproduct}=="0001",SYSFS{idVendor}=="15eb",RUN+="/sbin/modprobe usbserial vendor=0x15eb product=0x0001"

#The following may be needed, but try without it first, then remove the initial "#" to activate it if necessary.
#SUBSYSTEM=="usb",SYSFS{idproduct}=="0001",SYSFS{idVendor}=="15eb",RUN+="/sbin/modprobe ppp_generic"
Instead of creating your own file, please download the attachment and install it by single-clicking on its icon. Start PupDial and then exit it, to create a /etc/wvdial.conf file. Then append to that file:

Code: Select all

Init6 = AT+CRM=1;+CPS=33;+CMUX=1;+CTA=0
Re-boot Puppy, but it still will not show the modem as detected. Get into PupDial through the Connect icon "Internet by dialup..." option. In PupDial, click on the "probe" button, then on the "PROBE" button to find the modem.

Good luck.
Richard
Attachments
usbserial-modprobe-rules-1.pet
For Haier and BSNF phone modems, so far.
(633 Bytes) Downloaded 962 times

User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

#3 Post by pri »

tanks too for fast responding.

here how modem was detected :

modem was detected, but still cannot conect.
WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: atze0Q0v1
--> Sending: ATQ0
--> Re-Sending: atze0Q0v1
--> Modem not responding.
This is my wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 230400
Init1 =
Init2 = atze0Q0v1
Init3 = ate0q0v1
Carrier Check = yes
Dial Command = ATDT

[Dialer isp1]
Phone = #777
Username = smart
Password = smart
Auto Reconnect = yes

[Dialer isp1apn]
Init5 = AT+CGDCONT=1,"IP",""

[Dialer isp2]
Phone = #777
Username = smart
Password = smart
Auto Reconnect = yes

[Dialer isp2apn]
Init5 = AT+CGDCONT=1,"IP",""

[Dialer pin]
Init1 = AT+CPIN=

[Dialer wireless]
#To force only 2G or 3G, uncomment the Init4 line and append 0 (2G) or 2 (3G), and substitute your operator's name for MYOPS.
Init4 = at+crm=1;+cmux=1;+cps=33;+cta=0
#Init6-Init9 lines are available for user purposes; the commented examples can be used as described:
#To force the 3G quality of service level, uncomment the Init6/Init7 line pair and set value two places each, for 384k/144k/64k, omitting the "k" (e.g., =1,4,64,384,64,384).
#To list all the APNs stored in the modem, uncomment the Init8 line; check the Connection status log for lines beginning with +CGDCONT:.
#To list the operator identifier stored in the modem, uncomment the Init9 line; check the Connection status log for a line beginning with +COPS:.
Init6 = AT+CRM=1;+CPS=33;+CMUX=1;+CTA=0
Learning by Doing

User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

Testing with haier c700

#4 Post by pri »

testing on haier c700

probing ok..........

pup dial result :
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}"} }9}"}&} } } } }#}%B#}%}%}&} }=Gy}'}"}(}"q|~
--> PPP negotiation detected.
--> Starting pppd at Thu Feb 4 19:57:37 2010
--> pid of pppd: 26915
Learning by Doing

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#5 Post by rerwin »

pri,
Thanks for your information. It looks like success, to me. Did it work as you need it to?

I think the Init6 statement was not used by PupDial, and I know why. That part of the conf file is not used if the driver is only usbserial, as I designed the support for the more recent drivers that themselves invoke usbserial.

If you were not completely successful, you can work around the problem by moving the Init6 line from the end of the file to the end of the section [Dialer isp1], after the 'Auto Reconnect' line. And then dial with 'Account 1'.
Richard

User avatar
pri
Posts: 342
Joined: Fri 09 Oct 2009, 18:31
Location: Bandung Indonesia
Contact:

#6 Post by pri »

hei richard, on d1200p still not working, at least i know wich phone is working with puppy and no.

c700 is my customer phone, damage on software, i was flash it :) and i have time to tes it using puppy.

i think it will be hard, because when using windows d1200p is so long to conect. its about 10 to 15 second to conect.
Learning by Doing

Post Reply