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 Thu 02 Jul 2015, 08:52
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 Posts_count_1  
Author Message

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

PostPosted: Sat 02 Oct 2010, 03:09    Post_subject:  WINE and Serial Ports
Sub_title: 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!
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
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 attach files in this forum
You can download files in this forum

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