[Q] how to find SERIAL INTERFACE - example, /dev/pttycmd1 - Ideos S7 General

Does anyone know the SERIAL INTERFACE for the MODEM for the HUAWEI S7-104 ?
example, /dev/pttycmd1
I saw this SERIAL INTERFACE listed on a youtube video. The person was sending AT COMMANDS(HAYES MODEM COMMANDS) to that SERIAL INTERFACE. It does not exists on my S7-104.

Related

Himalaya, familiar and the serial port...

Hi there,
I'm trying to get linux working with XDA2...
At the moment, I use HARET to boot the kernel, but I encounter some problems.
1. USB Serial Connection is breaking when booting the new kernel. I wouldn't have assumed anything different. But the Xda-Developers tutiorials shows how to connect via that virtual port.
2. I can use the real serial port to redirect Kernel Output until it says: "Login:"
I'm using minicom to get the output. But I can't enter the username. I'm sure that I use correct port settings, is there anything special with the connection to the XDA2? Should I use another Application to login? What's wrong with my serial input line?
Can somebody tell me how to use the Serial port via other Terminals? (Linux shell commands are highly appreciated.)
Thanks in advance for some hints!
Edit:
I also tried to compile custom kernel, but after haret switches to the dark screen (after showing the linux logo with splashed eyes ), it isn't redirecting any output to PC.
hi. you should first tell which software versions you are using.
Himalaya kernel is not maintained for a long time, but it's
not very difficult to update it.
Versions I use:
HaRET-0.3.6.exe (http://anymore.nl/ipaq/haret-0.3.6.exe)
zImage-2.6.12 (http://himalaya.lange.nom.fr/zImage-2.6.12)
initrd-2.6.12.gz (initrd-2.6.12.gz)
Hardware:
Processor: Intel PXA263
Model Nr. PH10A
Flash Chip type: 28F128k3

Serial output via USB

I'm interested in making my myTouch 1.2 into a robot using instructions from cellbots.com
Anyone know if the usb port on the phone can be used to send serial commands via usb? Is this something that is just inherent in the kernel or is it device limited?
you could use a real serial port in our device by a Serial Cable. or you could use a usb to RS converter. but if you use a converter, I think that you need a kernel driver loaded too.
I could be wrong, but hope that helps.
Mod. edit: not dev related, moved to general

I9000 MODEM AT command set

Hi,
FYI. A list of all the AT commands the I9000 can handle.
AT&H
#, &A, &B, &C, &D, &E, &F, &H, &I, &K, &M, &R, &S, &V,
&W, &Y, A, B, E, H, I, L, M, O, P, Q, S0, S10, S12,
S19, S2, S3, S4, S5, S6, S7, S8, T, V, X, Z, \Q,
+BINP, +BLDN, +BRSF, +BVRA, +CACM, +CAEMLPP, +CALA,
+CALD, +CALM, +CAMM, +CAOC, +CBC, +CBST, +CCFC, +CCHC,
+CCHO, +CCID, +CCLK, +CCUG, +CCWA, +CCWE, +CEER, +CFUN,
+CGACT, +CGANS, +CGATT, +CGAUTO, +CGCLASS, +CGCMOD,
+CGDATA, +CGDCONT, +CGDSCONT, +CGED, +CGEQMIN, +CGEQNEG,
+CGEQREQ, +CGEREP, +CGLA, +CGMI, +CGMM, +CGMR, +CGPADDR,
+CGQMIN, +CGQREQ, +CGREG, +CGSMS, +CGSN, +CGTFT, +CHLD,
+CHUP, +CIMI, +CIND, +CLAC, +CLAN, +CLCC, +CLCK, +CLIP,
+CLIR, +CLVL, +CMEC, +CMEE, +CMER, +CMGC, +CMGD, +CMGF,
+CMGL, +CMGR, +CMGS, +CMGW, +CMMS, +CMOD, +CMSS, +CMUT,
+CMUX, +CNAP, +CNMA, +CNMI, +COLP, +COLR, +COPN, +COPS,
+CPAS, +CPIN, +CPLS, +CPMS, +CPOL, +CPUC, +CPWD, +CPWROFF,
+CR, +CRC, +CREG, +CRES, +CRLA, +CRLP, +CRSL, +CRSM,
+CSAS, +CSCA, +CSCB, +CSCS, +CSDH, +CSGT, +CSIM, +CSMP,
+CSMS, +CSQ, +CSSN, +CSTA, +CTFR, +C
+CUSD, +CUUS1, +FCLASS, +FDR, +FDT, +FKS, +FMR, +GCAP,
+GMI, +GMM, +GMR, +GSN, +ICF, +IFC, +IPR, +NREC, +SATE,
+SATR, +STKENV, +STKLBR, +STKPRO, +STKPROF, +STKTR,
+TRACE, +VGM, +VGR, +VGS, +VGT, +VTD, +VTS, +WS46, +XACT,
+XADDTRACE, +XALS, +XALSBLOCK, +XAPOXI, +XAPP, +XAUTOPLMNSEL,
+XBANDSEL, +XBARRPW, +XCALLREFUSE, +XCALLSTAT, +XCAOC,
+XCBS, +XCCBS, +XCEER, +XCELLINFO, +XCFC, +XCGCLASS,
+XCGEDPAGE, +XCHNSIM, +XCIND, +XCIPH, +XCONFIG, +XCOPS,
+XCOREDUMP, +XCRSM, +XCSIM, +XCSP, +XCSPAGING, +XCSSMS,
+XCTMDR, +XCTMS, +XDATACHANNEL, +XDEV, +XDEVICE, +XDIAG,
+XDNS, +XDRXSET, +XDTMF, +XEMC, +XEONS, +XETFT, +XGAUTH,
+XGCNTRD, +XGCNTSET, +XGENDATA, +XGPRSERRMAP, +XHANDSFREE,
+XHOMEZR, +XHSDUPA, +XIMS, +XL1SET, +XLCAPS, +XLGASSIST,
+XLGCPL, +XLGINFO, +XLGLOGLEV, +XLGMODE, +XLGNAV, +XLGNMEA,
+XLGNVRAM, +XLGPOS, +XLGTEST, +XLGTIME, +XLIN, +XLOG,
+XLOOPBACK, +XLQOS, +XLRMT, +XLRSUPL, +XLRTA, +XLRV,
+XLSR, +XLSRSTOP, +XMAGETBLOCK, +XMAGETKEY, +XMER, +XMULT
+XMUX, +XNMI, +XPIN, +XPINCNT, +XPOW, +XPPP, +XPROGRESS,
+XPWROFFDELAY, +XQNEG, +XRAT, +XREDIAL, +XREG, +XREL,
+XREMFPLMN, +XRFS, +XRLCSET, +XRRSET, +XSCELLLOCK, +XSECSTATE,
+XSELFRXSTAT, +XSERVICE, +XSIMCHG, +XSIMLG, +XSIMLOOPBACK,
+XSIMSTATE, +XSIMVALID, +XSIO, +XSLN, +XSMS, +XSTK,
+XSYSERR, +XTDEV, +XTERM, +XTESM, +XTFILTER, +XTOS,
+XTRACECONFIG, +XTRACEIP, +XTRACESYSTIME, +XUICC, +XUSBFLASH,
+XVTS
OK
I9000 modem access
I'm trying to access /dev/ttygs0 and test an AT command
with all possible serial speeds directly from a root console , but
modem seems dead... i cannot find informations how to enable it
Hi guys,
I have following problem with I9000 - when new SMS arrives there is no notification to serial port.
With command AT+CNMI=2,3,0,1,0 there should be such notifications, but they don't arrive to the serial port.
Can you advice me someting?
For people who have asked me.
I accessed the AT commands by putting the I9000 phone PDA/MODEM setting on MODEM and then connect a USB cable. The phone causes new COM/tty ports to appear on the PC when running Linux.
sending AT commands to my Galaxy S
Hi there,
Im trying to access my My Galaxy S (Android 2.3.4 XXJVQ) as a GSM modem and send it AT commands.
Im using Windows 7, I cant seem to get this to work, whether through a cable or Bluetooth i can see in the phone in devices & printers dialog and it does list its modem as a feature and tells me on which port its connected, for USB its COM4 for BT its COM6.
However if i use Hyperterminal it wont let me type anything into the textbox, it just doesnt respond.
I also wrote a small C# app based on code samples i found online but it never seems to respond to the commands i send to it. If i use COM3 for my "Thinkpad Modem Adapter" and i type into my console app: "AT" or "AT+GMM" for example i get a response back. if i use the port for the phone (COM4) i get nothing back...
I tried the trick with setting the phone from PDA to Modem using *#7284# but then when i connect the phone to the PC it wont recognize it and in the device manager it shows me a device called 7CDCs which it cannot find a driver for.
Ive also tried PDANet, i got the computer and phone connected together but i still cant issue an AT command at the modem...
Not sure whats the problem here...
If anyone can help me with id really appreciate it.
thanks!
Yoav.
You need linux to make it work.
You might be able to find a windows driver for it, but i don't have windows so i can't help there.
Can't test this just now as I'm at work, I did get through to the modem on windows 7 via usb. I'm sure I had to issue a reset command before I could do anything else.... ATZ maybe? I'll check it out when I get home.
Yeah, with the phone in Kies mode for usb connection and using PuTTY instead of hyperterminal (no longer provided with Win7) I got through to the modem on COM3. Whether the phone responds to all commands as expected seems to be another matter.
Thanks fahzat,
Ill give it a try again with Putty but i did try Putty yesterday as well as Hyperterminal and got to the same situation where it seems to be connected to the phone over the port but then it wont allow me to type anything into the command prompt... You chose the "Serial" type connection in the Putty initial screen right?
Correct, serial connection on COM3 (obviously your port may differ) with speed at 921600 (9600 seemed to work too). In the "Terminal" section set "Local echo" to "Force on" or you won't see what you're typing, only the response.
fahzat said:
Correct, serial connection on COM3 (obviously your port may differ) with speed at 921600 (9600 seemed to work too). In the "Terminal" section set "Local echo" to "Force on" or you won't see what you're typing, only the response.
Click to expand...
Click to collapse
Or make the first command you type ATE1
Thanks guys, it works. now im able to send commands to my Galaxy S.
What i really wanted to do was to manage to send SMS messages and see incoming messages but following the commands shown on a few tutorials dont seem to work with my phone.
Wondering if anyone knows how to do that with the SGS (I9000)???
[EDIT]
All info moved to here: http://forum.xda-developers.com/showthread.php?t=1471241
Thanks.
Achieve AT Command from Android
Hi All
I read that is not possible use directly in Android AT Command to debug the modem, but I was thinking to write an APP that using the USB Serial Virtual port in Android could send the AT Command directly to the modem. I read about external API to use serial communication.
Do you think this is possible??
alextreme said:
I read that is not possible use directly in Android AT Command to debug the modem,
Click to expand...
Click to collapse
ATdebug.apk is the answer : http://forum.xda-developers.com/showpost.php?p=19485757&postcount=1
mai77 said:
ATdebug.apk is the answer : http://forum.xda-developers.com/showpost.php?p=19485757&postcount=1
Click to expand...
Click to collapse
I know this...but it s not working with Samsung phones. Should I change the ROM with a Cyanogenmod version??
All you need to know here:
How to talk to the Modem with AT commands:
http://forum.xda-developers.com/showthread.php?t=1471241
how can we put the phone in modem mode?
thanks in advance
midas5 said:
For people who have asked me.
I accessed the AT commands by putting the I9000 phone PDA/MODEM setting on MODEM and then connect a USB cable. The phone causes new COM/tty ports to appear on the PC when running Linux.
Click to expand...
Click to collapse
Hi Midas5,
Could you be more specific?
a) So you set it to use: UART as MODEM and USB as MODEM??
(Those PhoneUtils settings are confusing!)
b) Which exact devices/ports appeared on your local machine?
c) Which exact devices/ports appeared on your phone?
d) Can you say anything about the device driver that you're using?
Thanks.
---------- Post added at 07:20 PM ---------- Previous post was at 07:14 PM ----------
yoavniran said:
If i use COM3 for my "Thinkpad Modem Adapter" and i type into my console app: "AT" or "AT+GMM" for example i get a response back. if i use the port for the phone (COM4) i get nothing back...
Click to expand...
Click to collapse
This is probably the wrong modem. It's most likely your laptop's built-in FAX/modem!
I tried the trick with setting the phone from PDA to Modem using *#7284# but then when i connect the phone to the PC it wont recognize it and in the device manager it shows me a device called 7CDCs which it cannot find a driver for.
Click to expand...
Click to collapse
This is THE problem!!
a) What (PC/linux) drivers to use when using your phone in "modem mode"?
b) How to send AT command from your phone terminal/shell? (I.e. what device is the right one(s)?

[Q] SSH over serial?

I have successfully installed the PL2303 module as outlined in this thread:
http://forum.xda-developers.com/showthread.php?t=1058713
But am now at a loss...what now? On my laptop, PuTTY / TeraTerm / SecureCRT all have an option for serial connections but so far, I haven not found one for Android. I have tried PocketCloud and Connectbot so far, but neither give an option for serial / com port / whatever (on my tablet, my Tripp-Lite U209-000-R USB to DB9 serial adapter appears to be ttyUSB0).
My question is how to I use the USB to serial adapter? Is there an app that will permit me to select this device? For instance, Connectbot allows a choice of SSH, Telnet, or local (this being a local terminal connection) but requires that I supply [email protected] but not [email protected] (or something). Ideas?
Thanks

Coolech 1FA-09D based board problem

Hi.
I have Coolech 1FA-09D based board with Hisilicon Hi3716C chip on it. It's android based media player. Full system flash was performed on the device, but firmware flashed was wrong, so device is now useless.
It stops at boot screen (not android, but bootloader). On device I have 2 available usb ports, but I asume those are host ports, not to be connected to PC. On PCB I have 4 pin connector, but don't know what kind of connector that is. At the moment I have no documentation for the box.
Company that I got box from will provide me original firmware, but how I'm going to flash it? Any ideas? Fastboot as far as I know works only with usb connected devices. ADB can't connect to device trough lan cause no adb server is running on the other side (box get's its own IP address and does some other initialisation which includes usb ports and then freezes).
The 4 pin connector is a serial console, but be carefull, its 3,3V logic and not RS232! So you need a level converter or usb ttl converter cable like for a old cellphone or something. Then within uboot you could load the firmware from tftp or upload it with xmodem.
Could you please send me the firmware? I would be very interested in it . (Or just upload it somewhere like filesonic)
Thanks.
Megabug said:
The 4 pin connector is a serial console, but be carefull, its 3,3V logic and not RS232! So you need a level converter or usb ttl converter cable like for a old cellphone or something. Then within uboot you could load the firmware from tftp or upload it with xmodem.
Could you please send me the firmware? I would be very interested in it . (Or just upload it somewhere like filesonic)
Thanks.
Click to expand...
Click to collapse
Thanx for your answer.
About the firmware, sorry, I can not send it to you and there are two reasons for that:
I don't have the firmware yet. When I get it, I'm not allowed to distribute it. You can find kernel source code of similar device (A.C.Ryan android based box) on their web page. Their device is also based on Hi3716c.
Hi,
Yes, I am using a acryan box clone and wanted to check out the features of the Coolech firmware on my box. That was the reason I asked about it. But okay, if you can't share it, its fine.

Categories

Resources