irclog2html for #ol on 20070218

14:11.18*** join/#ol putumutukas (n=putukas@pc233.host2.trt.starman.ee)
14:11.38putumutukashello
14:12.26putumutukasany1 here ?
14:12.33Crofton|laptophi
14:13.00putumutukasgood evening Crofton ... you are just the guy i was looking for :P
14:13.19Crofton|laptophi
14:13.38Crofton|laptopmake it quick, I need to go out soon
14:13.40putumutukasi have a little problem with my omap5912 and a friend of mine- ilvez suggested that i may ask you for advice
14:13.52Crofton|laptopok
14:14.28putumutukasmy omap is working with the images and fs from the http://ossie.mprg.org/download/osk/
14:14.37Crofton|laptopyes
14:14.49putumutukasbut i can't receive data via ttyS0 on my omap
14:14.56putumutukasit sends out data fine
14:15.05Crofton|laptopyou are trying to use the serial port as something other than the console?
14:15.13putumutukasbut when i try to receive something i get only empty lines
14:15.18putumutukasyes
14:15.31Crofton|laptopyou have a program that tries to open the serial port?
14:15.46putumutukasi used python and pyserial
14:15.49Crofton|laptopok
14:15.58putumutukasbut it looks like this:
14:16.06putumutukas>>> ser.inWaiting()
14:16.06putumutukas1265L
14:16.06putumutukas>>> ser.read(10)
14:16.06putumutukas'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
14:16.06putumutukas>>> ser.inWaiting()
14:16.07putumutukas1255L
14:16.09putumutukas>>>
14:16.11Crofton|laptopI suspect you need to stop the login process running on the serial port
14:16.21putumutukasi already did that
14:16.41putumutukasgetty is no more listening ttyS0
14:16.43Crofton|laptophmm, that was the easy guess
14:17.22putumutukasit would be easyer when the ttyS0 wouldn't work at all
14:17.26Crofton|laptopcan yo log in via ssh?
14:17.30putumutukasyes
14:17.30Crofton|laptopyeah
14:17.43putumutukasi logged in via ssh
14:17.45Crofton|laptopand you have looked for dmesg
14:17.58Crofton|laptopeven more anoying you can write and not read
14:18.35Crofton|laptophang on
14:18.44putumutukasno i haven't looked for dmesg 8-)
14:19.43Crofton|laptopand you check return codes when you read and write?
14:20.09putumutukasno
14:20.25putumutukasfirst i tryed to send or receive some data at all
14:20.25Crofton|laptopworth a try :)
14:20.37Crofton|laptoplooks ike you are reading nulls?
14:20.42putumutukasyes
14:21.08putumutukasalthough from the other side i send chapters from my current thoughts :D
14:21.41Crofton|laptopand this works on a PC?
14:21.47putumutukasyes
14:22.06Crofton|laptoppy.serial was built bby me?
14:22.23putumutukasi think yes
14:22.26Crofton|laptopok
14:22.31Crofton|laptopit is already on the image
14:22.45putumutukasbut i also tryed to directly write to ttyS0
14:23.05putumutukasi had to install it
14:23.07Crofton|laptopany luck?
14:23.11putumutukasnope
14:23.14Crofton|laptopyou installed pyserial?
14:23.15putumutukassame thing
14:23.19putumutukasyes
14:23.29Crofton|laptopso something is still grabbing incoming chars
14:23.41putumutukaspython-pyserial_2.2-r1_armv5te.ipk
14:23.48putumutukasi think yes
14:24.04Crofton|laptopok
14:24.11Crofton|laptopI need to go for the day
14:24.26Crofton|laptopSee if there is something on the image that lets you look for open files
14:24.42Crofton|laptop/usr/sbin/lsof works on my desktop
14:25.00Crofton|laptopIt feels like someone is also reading chars from the serial port
14:25.05putumutukashm
14:25.15Crofton|laptopbut I am not a serial port guru
14:25.24putumutukasbut is it possible that the primary system is somehow reading the port ?
14:25.31Crofton|laptopmost of the time, I am logged in via the aerial port :(
14:25.43Crofton|laptopI suspect that, I'll try and look at mine tomorrow
14:25.44putumutukasthe one that comes before the filesystem
14:25.51putumutukas:D
14:26.00Crofton|laptopI'm just not sure atm
14:26.06Crofton|laptopand I need to run
14:26.08putumutukasok
14:26.10Crofton|laptopGood luck!
14:26.17putumutukasthnx :)
15:04.35Crofton|laptopHave you tried to flush the input?
15:04.55Crofton|laptopser.flushInput()
15:15.51putumutukashm
15:15.53putumutukasyes
15:16.11putumutukasand when i after that send something is it the same

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.