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 Wed 01 Jul 2015, 23:56
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
BaCon Bits
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 12 of 12 Posts_count   Goto page: Previous 1, 2, 3, ..., 10, 11, 12
Author Message

Joined: 17 Jun 2007
Posts: 186

PostPosted: Sun 28 Apr 2013, 20:22    Post_subject:  

Disregard, got it sorted. What I ended up doing was installing bash4, compiling with that, and copying the resulting executable to /usr/bin.

seaside wrote:

Well, I'm not sure why that happened, but here's a copy of the 2.1.2-bacongui.


Thanks, I can use it, I'll work on it and see what's up with it. From Geany, it should be using the executable in /usr/bin, right?

Edit: Using the terminal in /usr/share/bacon, which has the executable you supplied, with the command line bacon bacongui.bac, it still gives the same message, that it choked on the extract command. Hmmm.

Edit 2: Well now I'm confused. With a terminal open in usr/share/bacon, invoking bacon -v returns version 1 build 29. The executable shows today's date and a file size of 401K. Man I hate being such a noob.
Back to top
View user's profile Send_private_message 

Joined: 28 Dec 2008
Posts: 455

PostPosted: Fri 13 Sep 2013, 04:33    Post_subject: PL2303
Sub_title: serial coms


2 years ago I used BaCon with a FTDI USB device, and got help making this work. Since the FTDI USB device was not part of the kernel, I need an extra library, but in the end, all seemed to work.

Now I am facing something more simple, but that made it even more confusing....

I want to do serial communication using a USB-RS232 converter with a PL2303 chip. On both Slacko 5.3.3 (BaCon 1.0) as well as Precise 5.7.1 (BaCon 2.x) this registers nicely, and I see kernel modules usbserial.ko and PL2303.ko loaded.

The device is connected at /dev/ttyUSB0. This is all perfect. Aint-it ?

But how do I access it from BaCon ??? What header file do I need to include ? On none at all ? Any suggestion is welcome.

I included both BaCon versions, since the new BaCon 2.x may have better (different) support for (usb) serial devices. In the documentation however I still could not find an "OPEN COMx" basic statement.

Since the serial port is far from dead in embedded systems (*), I can imagine support in BaCon is added.


(*)= Microsoft removed hyperterminal from W7 (COM=dead?), but that contradicts with languages like python that have support (very simple to use .. compliments).
Back to top
View user's profile Send_private_message 

Joined: 08 Jun 2005
Posts: 5047
Location: Arizona, U.S.A.

PostPosted: Fri 13 Sep 2013, 18:00    Post_subject:  

Hi Volhout; I`m almost certain I saw some code for serial ports at the BaCon forum.
The problem is finding it. Like some Puppy forum threads it`s impossible to find anything.
So unfortunately this valuable info. gets lost virtually for ever.
I`ve been commenting elsewhere about the loss of code and folks efforts...

I`ll keep an eye open and let you know if I find it.
Ask at the BaCon forum: http://basic-converter.proboards.com/
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 12 of 12 Posts_count   Goto page: Previous 1, 2, 3, ..., 10, 11, 12
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
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.0546s ][ Queries: 12 (0.0123s) ][ GZIP on ]