maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   n800 HW serial port (https://talk.maemo.org/showthread.php?t=23033)

Craig@dcs 2008-08-20 20:40

n800 HW serial port
 
Been working on trying to get basic serial port access via the pads on the back of the n800/n810. Enabled serial console via Rd flags and can get a terminal and log in with out any problems. However I dont want to log in, i simply want to be able to treat it like a com port. i have edited etc/inittab so that the

T0:12345:respawn /sbin/getty -L ttyS0

is deleted.

However, everytime i reboot the device the file reverts back to the original.

I could use it as is, but im worried about a limit on the amount of data i would be able to send and receive before the login program causes issues.

Any ideas?

Craig

fanoush 2008-08-21 07:18

Re: n800 HW serial port
 
this is done in /etc/init.d/ttyusb0, you can remove/disable link in /etc/rc2.d/

XTC 2008-08-21 07:46

Re: n800 HW serial port
 
RD flags - it's done by the flasher I suppose.
Is there any way to switch it on/off without flasher?
/in usb host manner for example/

qwerty12 2008-08-21 08:25

Re: n800 HW serial port
 
Quote:

Originally Posted by XTC (Post 216031)
RD flags - it's done by the flasher I suppose.
Is there any way to switch it on/off without flasher?
/in usb host manner for example/

If we can write to CAL, then we could :D

It has to be noted though, mostly it's just setting a flag which programs get cal-tool to look up. Editing gainroot, ttyusb0, linuxrc scripts properly can enable you to get mostly same effect by changing scripts not to check for RD mode flag and enabling anyway.

fanoush 2008-08-21 09:04

Re: n800 HW serial port
 
Quote:

Originally Posted by qwerty12 (Post 216039)
If we can write to CAL, then we could :D

If you have qemu N8x0 emulation then go for it, we need it to get rid of dsme :-) Also stracing cal-tool -R or osso-product-info can tell us how to force dsme to write something for us safely.

XTC 2008-09-15 12:50

Re: n800 HW serial port
 
Maybe silly question - but can I just set R&D flags without reflashing?

fanoush 2008-09-15 12:53

Re: n800 HW serial port
 
sure, you can

fma 2009-01-09 07:24

Re: n800 HW serial port
 
Quote:

Originally Posted by Craig@dcs (Post 215888)
Been working on trying to get basic serial port access via the pads on the back of the n800/n810.

Sorry to dig that old post, but I was wondering: did you find some connectors to plug in the N800/N810 serial port socket? Or did you wires and solder?

ioioio 2009-09-26 02:35

Re: n800 HW serial port
 
http://www.bu3sch.de/joomla/index.ph...serial-console

:cool::cool::cool:

Enabling the serial console in software

The serial console has to be enabled in software before it can be used. This can be done using the 0xFFFF utility. At least version 0.3.2 is needed. Read the documentation of that software before using it! After you read the documentation, you can enable the serial console by connecting the USB cable and entering this command:

sudo 0xFFFF -r 1 -f 0x10

After that switch the n810 device on. 0xFFFF will detect it and change the parameters. You can use

sudo 0xFFFF -R

to reboot the device afterwards.


All times are GMT. The time now is 12:16.

vBulletin® Version 3.8.8