[Xastir] comport under andlinux

Bob Nielsen n7xy at clearwire.net
Sun Jun 22 15:23:10 EDT 2008


There was no mention of any serial ports there.  I thought that might  
be the case, but it was probably worth checking.

Since andlinux is running under Windows, there may be some  
configuration required to map the ports so that Linux can see them.   
The andlinux forum is probably the best place to ask.  I have never  
tried Linux emulation under Windows, only the reverse (using Win4Lin  
or VMWare several years ago), but it sounds interesting.

Bob, N7XY

On Jun 22, 2008, at 10:18 AM, Wes Johnston, AI4PX wrote:

> I'm not familiar with the normal output of this command, so forgive  
> for me
> not trimming it down....  FWIW, this machine is dual boot and I can  
> talk to
> the TNC from mepis as ttyS0.  My registration for andlinux forums  
> was just
> approved, I'm off to ask over there.
>
> Wes
>
> Linux version 2.6.22.18-co-0.7.3 (hn at hn-lt) (gcc version 4.1.2) #1  
> PREEMPT
> Wed Apr 16 18:50:10 UTC 2008
> 512MB LOWMEM available.
> initrd enabled: start: 0xdff9a000  size: 0x00065881
> Entering add_active_range(0, 0, 131072) 0 entries of 256 used
> Zone PFN ranges:
>   DMA             0 ->        0
>   Normal          0 ->   131072
> early_node_map[1] active PFN ranges
>     0:        0 ->   131072
> On node 0 totalpages: 131072
>   DMA zone: 0 pages used for memmap
>   Normal zone: 1024 pages used for memmap
>   Normal zone: 130048 pages, LIFO batch:31
> Built 1 zonelists.  Total pages: 130048
> Kernel command line: root=/dev/cobd0
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Initializing CPU#0
> Setting proxy interrupt vectors
> PID hash table entries: 2048 (order: 11, 8192 bytes)
> Console: colour CoCON 80x25
> Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
> Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
> Memory: 515456k/524288k available (1705k kernel code, 0k reserved,  
> 470k
> data, 128k init, 0k highmem)
> virtual kernel memory layout:
>     fixmap  : 0xffffc000 - 0xfffff000   (  12 kB)
>     vmalloc : 0xe0800000 - 0xffffa000   ( 503 MB)
>     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
>       .init : 0xc0322000 - 0xc0342000   ( 128 kB)
>       .data : 0xc02aa658 - 0xc031ffe4   ( 470 kB)
>       .text : 0xc0100000 - 0xc02aa658   (1705 kB)
> Calibrating delay loop... 418.61 BogoMIPS (lpj=2093056)
> Mount-cache hash table entries: 512
> CPU: After generic identify, caps: bfebfbff 20000000 00000000 00000000
> 0000641d 00000000 00000001
> monitor/mwait feature present.
> using mwait in idle threads.
> CPU: Trace cache: 12K uops, L1 D cache: 16K
> CPU: L2 cache: 1024K
> CPU: After all inits, caps: bfebf3ff 20000000 00000000 0000b180  
> 0000641d
> 00000000 00000001
> Compat vDSO mapped to ffffe000.
> CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
> Checking 'hlt' instruction... OK.
> NET: Registered protocol family 16
> NET: Registered protocol family 2
> IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
> TCP established hash table entries: 65536 (order: 7, 524288 bytes)
> TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
> TCP: Hash tables configured (established 65536 bind 65536)
> TCP reno registered
> checking if image is initramfs...it isn't (no cpio magic); looks  
> like an
> initrd
> Freeing initrd memory: 406k freed
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> cofuse init 0.1 (API version 2.2)
> io scheduler noop registered
> io scheduler anticipatory registered (default)
> io scheduler deadline registered
> io scheduler cfq registered
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> cobd: loaded (max 32 devices)
> loop: module loaded
> conet: loaded (max 16 devices)
> conet0: initialized
> conet1: initialized
> serio: cokbd at irq 1
> mice: PS/2 mouse device common for all mice
> input: AT Translated Set 2 keyboard as /class/input/input0
> TCP cubic registered
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> Using IPI Shortcut mode
> RAMDISK: Compressed image found at block 0
> VFS: Mounted root (ext2 filesystem).
> ReiserFS: cobd0: warning: sh-2021: reiserfs_fill_super: can not find
> reiserfs on cobd0
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS on cobd0, internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem).
> Trying to move old root to /initrd ... okay
> Freeing unused kernel memory: 128k freed
> Adding 262120k swap on /dev/cobd1.  Priority:-1 extents:1 across: 
> 262120k
> EXT3 FS on cobd0, internal journal
> NET: Registered protocol family 10
> lo: Disabled Privacy Extensions
> eth0: no IPv6 routers present
> eth1: no IPv6 routers present
>
>
>
>
>
>
> On Sun, Jun 22, 2008 at 1:11 PM, Bob Nielsen <n7xy at clearwire.net>  
> wrote:
>
>> What does 'dmesg /dev/ttyS*' report?
>>
>>
>> On Jun 22, 2008, at 8:31 AM, Wes Johnston, AI4PX wrote:
>>
>> My serial port is indeed a "real" serial port.  However, on the  
>> odd chance
>>> that my it might be "faked" on my motherboard like some laptops  
>>> do, I
>>> tried
>>> ttyUSB0, no luck.... that locked up andLinux which finally shut  
>>> itself
>>> down
>>> after 5 minutes.
>>>
>>> I installed minicom and set it up for correct baud rate and  
>>> port.  Tried
>>> with ttyS0, acts the same as xastir. Seems to open the port but  
>>> nothing
>>> sent
>>> received.
>>>
>>> I think I'm going to carry this over to the andlinux forum b/c this
>>> doesn't
>>> seem xastir related.
>>>
>>> Wes
>>>
>>> On Sun, Jun 22, 2008 at 10:19 AM, Richard Polivka, N6NKO <
>>> r.polivka at sbcglobal.net> wrote:
>>>
>>> Ok, that's not it.
>>>>
>>>> Is your serial port hardware or a USB dongle? If a dongle, look at
>>>> /dev/ttyUSB0.
>>>>
>>>> If you have minicom, jump pins 2 and 3 on the port and see if  
>>>> you get
>>>> data
>>>> back on your port.  At least this would see if linux is seeing  
>>>> the port
>>>> and
>>>> able to use it.
>>>>
>>>>
>>>> 73 from 807,
>>>>
>>>> Richard, N6NKO
>>>>
>>>>
>>>> Wes Johnston, AI4PX wrote:
>>>>
>>>> THanks for the suggestion.... ls /dev/ttys0 -la shows crw-rw-rw-  
>>>> for
>>>>> permissions.  So I guess this isn't it.
>>>>>
>>>>> Wes
>>>>>
>>>>> On Sun, Jun 22, 2008 at 10:01 AM, Richard Polivka, N6NKO <
>>>>> r.polivka at sbcglobal.net> wrote:
>>>>>
>>>>>
>>>>>
>>>>> Check permissions. I would set it to 666 / rw-rw-rw- and see. I  
>>>>> have had
>>>>>> issues where that is a fix.
>>>>>>
>>>>>> It is a "dangerous" fix because of the permission issues, but  
>>>>>> it is
>>>>>> worth
>>>>>> the experiment.
>>>>>>
>>>>>> 73 from 807,
>>>>>>
>>>>>> Richard, N6NKO
>>>>>>
>>>>>>
>>>>>>
>>>>>> Wes Johnston, AI4PX wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> Guys, I tried to get xastir to talk to my TNC via ttyS0, and  
>>>>>> it appears
>>>>>>> to
>>>>>>> open the port, but I never see any traffic coming in.  So I  
>>>>>>> opened the
>>>>>>> com1
>>>>>>> with a windows app and sure enough there's lots of data  
>>>>>>> streaming in.
>>>>>>>  While
>>>>>>> the windows app was open (tieing up the comport), I tried  
>>>>>>> once again
>>>>>>> to
>>>>>>> have
>>>>>>> xastir open the port and did seems to have opened it even  
>>>>>>> though it
>>>>>>> should
>>>>>>> not have.
>>>>>>>
>>>>>>> Is there another name for /dev/ttyS0 under andlinux?  What am I
>>>>>>> missing?
>>>>>>>  I
>>>>>>> see ttys0 in the /dev directory.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>> Xastir mailing list
>>>>>> Xastir at xastir.org
>>>>>> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>> Xastir mailing list
>>>> Xastir at xastir.org
>>>> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
>>>>
>>>>
>>>
>>>
>>> --
>>> Wes
>>> ---
>>> Where there's silence, there is no Hope.
>>> _______________________________________________
>>> Xastir mailing list
>>> Xastir at xastir.org
>>> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
>>>
>>>
>> Bob Nielsen
>> n7xy at clearwire.net
>>
>>
>>
>>
>> _______________________________________________
>> Xastir mailing list
>> Xastir at xastir.org
>> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
>>
>
>
>
> -- 
> Wes
> ---
> Where there's silence, there is no Hope.
> _______________________________________________
> Xastir mailing list
> Xastir at xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
>

Bob Nielsen
n7xy at clearwire.net






More information about the Xastir mailing list