Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 08:11
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
WINE and Serial Ports
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
aliG


Joined: 15 Jul 2007
Posts: 76
Location: Glasgow, Scotland

PostPosted: Sat 02 Oct 2010, 03:09    Post subject:  WINE and Serial Ports
Subject description: How to toggle DTR/DTS?
 

----
System : Puppy 4.3.1 Embedded system on CF Card in IDE adaptor, WINE 1-3.0 (SFS), Motherboard has COM port (16550A UART)
----

Hi, I don't know if this is too "hardware" for here, but here goes...


I'm trying to connect my small embedded puppy server to a weather station using the serial port, the everything runs fine under windows but I can't get the serial port to work on WINE under puppy. After a lot of googling, step so far:

1 - create com port in ~/.wine/dosdevices "ln -s /dev/ttyS0 com1"

2 - set serial port with "stty 2400 cs8 –parenb –cstopb -clocal – F /dev/ttyS0"
(Baudrate 2400 Bits 8 Parity None Stopbits 1)

Speaking to the author of the software I think the issue is the weather station requires DTR -ve and RTS +ve. The software does this when it starts - on windows with a meter I can see the pins go high and low - but under WINE it does not.
see: http://sandaysoft.com/forum/viewtopic.php?f=13&t=2977 for more info if interested...

I've never done serial ports under Linux before so am a bit in the dark, Does anyone know how to force the pins states, e.g. write to the UART's registers, and if I do this will it lock the port so the windows software cant use it?

Thanks for reading this far!
Alison
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0385s ][ Queries: 11 (0.0052s) ][ GZIP on ]