Aller au contenu

ttyUSB0 et stty commande pour configurer ?


bellad17

Recommended Posts

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

Lien vers le commentaire
Partager sur d’autres sites

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.com/store/apps/details?id=android_serialport_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!

Lien vers le commentaire
Partager sur d’autres sites

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
Lien vers le commentaire
Partager sur d’autres sites

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
Lien vers le commentaire
Partager sur d’autres sites

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
Lien vers le commentaire
Partager sur d’autres sites

Rejoignez la conversation

Vous pouvez poster maintenant et vous enregistrez plus tard. Si vous avez un compte, connectez-vous maintenant pour poster.

Invité
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

×
×
  • Créer...