14:11.18 | *** join/#ol putumutukas (n=putukas@pc233.host2.trt.starman.ee) |
14:11.38 | putumutukas | hello |
14:12.26 | putumutukas | any1 here ? |
14:12.33 | Crofton|laptop | hi |
14:13.00 | putumutukas | good evening Crofton ... you are just the guy i was looking for :P |
14:13.19 | Crofton|laptop | hi |
14:13.38 | Crofton|laptop | make it quick, I need to go out soon |
14:13.40 | putumutukas | i have a little problem with my omap5912 and a friend of mine- ilvez suggested that i may ask you for advice |
14:13.52 | Crofton|laptop | ok |
14:14.28 | putumutukas | my omap is working with the images and fs from the http://ossie.mprg.org/download/osk/ |
14:14.37 | Crofton|laptop | yes |
14:14.49 | putumutukas | but i can't receive data via ttyS0 on my omap |
14:14.56 | putumutukas | it sends out data fine |
14:15.05 | Crofton|laptop | you are trying to use the serial port as something other than the console? |
14:15.13 | putumutukas | but when i try to receive something i get only empty lines |
14:15.18 | putumutukas | yes |
14:15.31 | Crofton|laptop | you have a program that tries to open the serial port? |
14:15.46 | putumutukas | i used python and pyserial |
14:15.49 | Crofton|laptop | ok |
14:15.58 | putumutukas | but it looks like this: |
14:16.06 | putumutukas | >>> ser.inWaiting() |
14:16.06 | putumutukas | 1265L |
14:16.06 | putumutukas | >>> ser.read(10) |
14:16.06 | putumutukas | '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' |
14:16.06 | putumutukas | >>> ser.inWaiting() |
14:16.07 | putumutukas | 1255L |
14:16.09 | putumutukas | >>> |
14:16.11 | Crofton|laptop | I suspect you need to stop the login process running on the serial port |
14:16.21 | putumutukas | i already did that |
14:16.41 | putumutukas | getty is no more listening ttyS0 |
14:16.43 | Crofton|laptop | hmm, that was the easy guess |
14:17.22 | putumutukas | it would be easyer when the ttyS0 wouldn't work at all |
14:17.26 | Crofton|laptop | can yo log in via ssh? |
14:17.30 | putumutukas | yes |
14:17.30 | Crofton|laptop | yeah |
14:17.43 | putumutukas | i logged in via ssh |
14:17.45 | Crofton|laptop | and you have looked for dmesg |
14:17.58 | Crofton|laptop | even more anoying you can write and not read |
14:18.35 | Crofton|laptop | hang on |
14:18.44 | putumutukas | no i haven't looked for dmesg 8-) |
14:19.43 | Crofton|laptop | and you check return codes when you read and write? |
14:20.09 | putumutukas | no |
14:20.25 | putumutukas | first i tryed to send or receive some data at all |
14:20.25 | Crofton|laptop | worth a try :) |
14:20.37 | Crofton|laptop | looks ike you are reading nulls? |
14:20.42 | putumutukas | yes |
14:21.08 | putumutukas | although from the other side i send chapters from my current thoughts :D |
14:21.41 | Crofton|laptop | and this works on a PC? |
14:21.47 | putumutukas | yes |
14:22.06 | Crofton|laptop | py.serial was built bby me? |
14:22.23 | putumutukas | i think yes |
14:22.26 | Crofton|laptop | ok |
14:22.31 | Crofton|laptop | it is already on the image |
14:22.45 | putumutukas | but i also tryed to directly write to ttyS0 |
14:23.05 | putumutukas | i had to install it |
14:23.07 | Crofton|laptop | any luck? |
14:23.11 | putumutukas | nope |
14:23.14 | Crofton|laptop | you installed pyserial? |
14:23.15 | putumutukas | same thing |
14:23.19 | putumutukas | yes |
14:23.29 | Crofton|laptop | so something is still grabbing incoming chars |
14:23.41 | putumutukas | python-pyserial_2.2-r1_armv5te.ipk |
14:23.48 | putumutukas | i think yes |
14:24.04 | Crofton|laptop | ok |
14:24.11 | Crofton|laptop | I need to go for the day |
14:24.26 | Crofton|laptop | See if there is something on the image that lets you look for open files |
14:24.42 | Crofton|laptop | /usr/sbin/lsof works on my desktop |
14:25.00 | Crofton|laptop | It feels like someone is also reading chars from the serial port |
14:25.05 | putumutukas | hm |
14:25.15 | Crofton|laptop | but I am not a serial port guru |
14:25.24 | putumutukas | but is it possible that the primary system is somehow reading the port ? |
14:25.31 | Crofton|laptop | most of the time, I am logged in via the aerial port :( |
14:25.43 | Crofton|laptop | I suspect that, I'll try and look at mine tomorrow |
14:25.44 | putumutukas | the one that comes before the filesystem |
14:25.51 | putumutukas | :D |
14:26.00 | Crofton|laptop | I'm just not sure atm |
14:26.06 | Crofton|laptop | and I need to run |
14:26.08 | putumutukas | ok |
14:26.10 | Crofton|laptop | Good luck! |
14:26.17 | putumutukas | thnx :) |
15:04.35 | Crofton|laptop | Have you tried to flush the input? |
15:04.55 | Crofton|laptop | ser.flushInput() |
15:15.51 | putumutukas | hm |
15:15.53 | putumutukas | yes |
15:16.11 | putumutukas | and when i after that send something is it the same |