Aller au contenu

Bienvenue sur le forum de FrAndroid !

Nous sommes une communauté dédiée à Android et tout ce qui gravite autour. Si vous cherchez à tirer le meilleur parti de votre appareil, à le personnaliser, à ajouter des fonctions ou simplement à avoir des réponses à vos questions.

Rejoignez-nous. C'est gratuit!

Connexion Inscription

Photo

ttyUSB0 et stty commande pour configurer ?


  • Merci de vous connecter pour répondre
7 réponses à ce sujet

#1
bellad17

bellad17

    Membre avancé

  • Membre
  • 48 messages
  • Marque:zenithink
  • Modèle:c93
Bonjour,
j'essais de configurer mon port /dev/ttyUSB0 pour mon gps usb ,
voici je que je fait , mais rien y fait :

root@android:/storage/sdcard0 # dmesg | grep ttyUSB0
<6>[65204.337972@0] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
<6>[65257.480509@1] usb 1-1: cp210x converter now attached to ttyUSB0
<6>[65995.050669@0] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
<6>[66000.480800@0] usb 1-1: cp210x converter now attached to ttyUSB0
root@android:/storage/sdcard0 # stty -F /dev/ttyUSB0 ispeed 9600
root@android:/storage/sdcard0 # stty -F /dev/ttyUSB0 -a
speed 0 baud; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O;
min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke

avez vous une soluce ?
merci

Publicité

edelalife

#2
omarahum

omarahum

    Membre régulier

  • Membre
  • 147 messages
  • Modèle:Zenithink Tablets
Try this app to tell the tablet where to get the NMEA data from - http://forum.xda-dev...1&postcount=369
Image IPB
Zenithink ZT-180-101 Original 10" Epad (Ruby 1.2 / 576 - B0) (0603 Froyo) - {Bought from FlatComputing July 2010}
Zenithink ZT-180-701A 7" Upad (Cameo - E3) (0613/0618 Froyo) - {Sent by Zenithink April 2011}
Zenithink ZT-180-102 10" v2 Zepad (Jade 2.3-Blue - G0) (0613/0618 Froyo) - {Sent by Zenithink April 2011}
Zenithink ZT-280-C91 10" Zepad (H1_2n : 0217 GB @ 900MHz w/ 2GB Data Partition
) - {Sent by Zenithink Sept. 2011}
Zenithink ZT-280-C71 7" Upad (E7_1n : 0217 GB @ 900MHz w/ 1.5GB Data Partition) - {Sent by Zenithink Sept. 2011}
Zenithink ZT-283-C93 10" ZTPad (H6_1f :
0911 ICS w/ 2GB Data Partition
and working (pl2303) USB GPS) - {Sent by F&LSuperstore Oct. 2012}
Zenithink ZT-283-C97 9.7" ZTPad (I1_2a :
0910 ICS w/ 2GB Data Partition and working (pl2303) USB GPS) - {Sent by Zenithink Nov. 2012}

Zenithink Website \ Zenithink FTP \ ZT-28* Modified Kernels & RecoveriesM
If I've helped you or are using an overclocked kernel I've uploaded, and wish to help support my efforts, please consider leaving me a donation. Thank you!
Image IPB

#3
bellad17

bellad17

    Membre avancé

  • Membre
  • 48 messages
  • Marque:zenithink
  • Modèle:c93
yes i've try ,
much of a muchness

#4
bellad17

bellad17

    Membre avancé

  • Membre
  • 48 messages
  • Marque:zenithink
  • Modèle:c93
demande sur un autre post

Modifié par bellad17, 20 February 2013 - 17:29.


#5
omarahum

omarahum

    Membre régulier

  • Membre
  • 147 messages
  • Modèle:Zenithink Tablets
Sorry, i haven't been well for a few days, and I am still not feeling well, sorry i haven't been able to help you....

If I recall correctly, I needed the /system/lib/hw/gps.amlogic.so file (that I took from a ZT-282 ROM), had to edit the build.prop, and also had to edit the gps.conf and gps_hw.conf in the /system/etc folder, and before editting the kernel I had to use the app I mentioned earlier and also a serial port app https://play.google....port_api.sample and probably a few other things I am forgetting (since I am not well), on the stock Zenithink ROM to make USB GPS work.... I am not sure what files Christian Troy uses in his ROMs, and I believe most people who use GPS with his ROMs are using BlueTooth GPS, not a USB dongle....

Good luck in finding a solution!
Image IPB
Zenithink ZT-180-101 Original 10" Epad (Ruby 1.2 / 576 - B0) (0603 Froyo) - {Bought from FlatComputing July 2010}
Zenithink ZT-180-701A 7" Upad (Cameo - E3) (0613/0618 Froyo) - {Sent by Zenithink April 2011}
Zenithink ZT-180-102 10" v2 Zepad (Jade 2.3-Blue - G0) (0613/0618 Froyo) - {Sent by Zenithink April 2011}
Zenithink ZT-280-C91 10" Zepad (H1_2n : 0217 GB @ 900MHz w/ 2GB Data Partition
) - {Sent by Zenithink Sept. 2011}
Zenithink ZT-280-C71 7" Upad (E7_1n : 0217 GB @ 900MHz w/ 1.5GB Data Partition) - {Sent by Zenithink Sept. 2011}
Zenithink ZT-283-C93 10" ZTPad (H6_1f :
0911 ICS w/ 2GB Data Partition
and working (pl2303) USB GPS) - {Sent by F&LSuperstore Oct. 2012}
Zenithink ZT-283-C97 9.7" ZTPad (I1_2a :
0910 ICS w/ 2GB Data Partition and working (pl2303) USB GPS) - {Sent by Zenithink Nov. 2012}

Zenithink Website \ Zenithink FTP \ ZT-28* Modified Kernels & RecoveriesM
If I've helped you or are using an overclocked kernel I've uploaded, and wish to help support my efforts, please consider leaving me a donation. Thank you!
Image IPB

#6
bellad17

bellad17

    Membre avancé

  • Membre
  • 48 messages
  • Marque:zenithink
  • Modèle:c93
thank you homarahum for all information ,

I believe most people who use GPS with his ROMs are using BlueTooth GPS, not a USB dongle

it takes a dongle usb Bluetooth ?
the c93 have not bluetooth !!
I'll have your re-install rom
and do test more
other i buy dongle usb Bluetooth + gps Bluetooth receiver , but which

for info my user in SlateDroid is Bledad because i cannot put bellad17

Soigne toi bien

Modifié par bellad17, 21 February 2013 - 17:34.


#7
omarahum

omarahum

    Membre régulier

  • Membre
  • 147 messages
  • Modèle:Zenithink Tablets

thank you homarahum for all information ,

it takes a dongle usb Bluetooth ?
the c93 have not bluetooth !!
I'll have your re-install rom
and do test more
other i buy dongle usb Bluetooth + gps Bluetooth receiver , but which

for info my user in SlateDroid is Bledad because i cannot put bellad17

Soigne toi bien

Only Christian Troy's ROMs that are 4.1.x based have USB BlueTooth dongle support....

JB 4.2.x only supports internal BT, which as you know, the C93 doesn't have.... And my ICS ROM and all of Zenithink's stock ROMs do not support USB BT either.... :(

Sorry, I do not know which BT or GPS BT to buy, since I don't use BT, and was able to get my pl2303 USB GPS to work on my ICS ROM....

Modifié par omarahum, 21 February 2013 - 22:53.

Image IPB
Zenithink ZT-180-101 Original 10" Epad (Ruby 1.2 / 576 - B0) (0603 Froyo) - {Bought from FlatComputing July 2010}
Zenithink ZT-180-701A 7" Upad (Cameo - E3) (0613/0618 Froyo) - {Sent by Zenithink April 2011}
Zenithink ZT-180-102 10" v2 Zepad (Jade 2.3-Blue - G0) (0613/0618 Froyo) - {Sent by Zenithink April 2011}
Zenithink ZT-280-C91 10" Zepad (H1_2n : 0217 GB @ 900MHz w/ 2GB Data Partition
) - {Sent by Zenithink Sept. 2011}
Zenithink ZT-280-C71 7" Upad (E7_1n : 0217 GB @ 900MHz w/ 1.5GB Data Partition) - {Sent by Zenithink Sept. 2011}
Zenithink ZT-283-C93 10" ZTPad (H6_1f :
0911 ICS w/ 2GB Data Partition
and working (pl2303) USB GPS) - {Sent by F&LSuperstore Oct. 2012}
Zenithink ZT-283-C97 9.7" ZTPad (I1_2a :
0910 ICS w/ 2GB Data Partition and working (pl2303) USB GPS) - {Sent by Zenithink Nov. 2012}

Zenithink Website \ Zenithink FTP \ ZT-28* Modified Kernels & RecoveriesM
If I've helped you or are using an overclocked kernel I've uploaded, and wish to help support my efforts, please consider leaving me a donation. Thank you!
Image IPB

#8
bellad17

bellad17

    Membre avancé

  • Membre
  • 48 messages
  • Marque:zenithink
  • Modèle:c93
Je vais etre obliger de changer de gps , car , sur le mien , c'est un cp2104 , d'apres ce que j'ai cru comprendre

The cp2104 differs from earlier devices in that it cannot handle the baud div
commands (neither set or get). Instead, one sets the baud rate directly, and
these commands work on the older cp2102 as well. In fact, this is the way that
baud rates are set in Silabs own driver which is supposed to work for legacy cp2101 devices too.

il est tres difficile de mettre les Bauds . le driver a été modifié pour linux , mais je ne sais pas re-compiler pour android

que pensez vous de " ND-100S USB GPS Dongle"

Modifié par bellad17, 22 February 2013 - 17:53.





1 utilisateur(s) li(sen)t ce sujet

0 membre(s), 1 invité(s), 0 utilisateur(s) anonyme(s)