General :: Access Serialport (RS232) Data Using OpenGL?

Apr 27, 2010

how to access serialport(RS232) data using OpenGL.Heard about SDL(Simple DirectMedia Layer),but didn't get how to use SDL and OpenGL to access RS232 data.

View 8 Replies


ADVERTISEMENT

OpenSUSE :: Cannot Access OpenGL For Compiz

Feb 26, 2011

Code:
Failed to activate desktop effects using the given options. Settings will be reverted to their previous values.

Check your X configuaration.

You may also consider changing advanced options, especially changing the composting type. I cannot use OpenGL, hence my Compiz is useless.. I have ATI 5850s

View 3 Replies View Related

General :: Use A Rs232 Device That Uses The Usb Port?

May 18, 2010

been trying to use a rs232 device that uses the usb port. it calls for a virtual com port to be created. i am running on ubuntu 10 and get hella confused with the search results i have come across.some call for the usbdevfs which apparently doesn't exist under lucid. another had me do use some "magic" in getting it to work.they provided a script mountusbfs.sh

Code:

#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs

[code]....

of course when i tried it the domount command doesn't exist so i modified the above script replacing the domount with mount and it seemed to do something things. usbview is specified as the determining factor whether or not you have the usbfs mounted properly. it wants to use proc bus and ubuntu doesn't use that anymore apparenlty. i have read that i need to enable a usbmon (flag?option?) in the kernel to be set. which it isn't when i followed the steps to check.

View 3 Replies View Related

Fedora :: Wine/opengl/32 To 64 Bit - Cannot Load OpenGL When Try To Start WoW

Oct 19, 2009

I just upgraded from FC8 (32-bit) to FC11 (64-bit). In doing so, I backed up my entire World of Warcraft folder so I could try to avoid having to download and install it all over again. However, I've now reinstalled wine (64-bit now), and the nvidia drivers from the rpmfusion repos (also 64-bit), and when I try to start WoW, it says it cannot load OpenGL. I'm wondering if anyone knows what's up, and if there's a solution that doesn't involve reinstalling WoW.

View 7 Replies View Related

General :: HDD Recovery - Cannot Access Any Data

Apr 24, 2010

My laptop died. I was running FC11. I have taken my harddrive out and connected it to an usb-adaptor and mounted it on my FC11 desktop. However, when I open it all I see is grub. Palimpsest sees both the 250MB of grub and efi etc., and it also sees 120GB of LVM2. I cannot however access any of my data.

View 2 Replies View Related

Ubuntu Servers :: Access The Data In .fbd Data File

Feb 19, 2011

We purchased a new database system at work last October, ditching the old system because of a lack of support from the vendor. This is a retail Point of Sale and Backoffice database system. I am not sure what system the new one runs on, but the system we replaced was a Firebird data base. The reason I am posting is because we are now in need of the information contained in the old database which was not completely imported into the new system.

Basically the problem is this: The database in on a Windows XP system and I found a copy of SQL Manager Lite 2008 on the system, which after quite a bit of studying, I figured out how to extract the database into a removable file. I have this file (178MB) on a USB stick in a file called Backoffice.fbd.

My studying suggests to me that I can get into this database with MySQL. I have never used this and have no clue how to do this. All I want to be able to do get into the database and create tab deliminated spreadsheet files for each of the database sections (Customers, Repairs, Sales History, stock files, etc.) Is it possible to do this with Ubuntu and MySQL and if so, can expert suggest one or two things to get me started. While a guided tutorial would be nice because I am not an expert, I am willing to learn on my own if someone could point me in the right direction.

View 3 Replies View Related

General :: How To Access Data From Previous Kernel

Jan 18, 2011

I have a data in existing kernel & I need to update a new kernel version so afer the upgration , how can I access the data from the previous kernel.

View 12 Replies View Related

General :: Application Is Unable To Access Data From Snmp Port

Jul 2, 2010

Iam using snmp to access the remote system data.But according to the requirement iam encoding the snmp request data to OAMPDU packet format and sending to remote system.the remote system receives the OAMPDU packet,decodes it and is sending the snmp packet to snmp agent through UDP socket which is bind to port 161.but iam unable to receive the response from snmp agent.i have created a udp socket which is bind to 161 port to receive the response.

if i use any other free port number other than 161 for receiving snmp agent is not sending the response to that port.can any one please suggest me how to overcome this problem.Can we configure the different ports for tx,rx ?How do we know on which port does snmp sends the response ???

View 1 Replies View Related

Ubuntu :: How To Interface With RS232 Port

May 13, 2010

I am trying to interface a machine (lock in amplifier) with Ubuntu using a RS 232(25pin) to USB cable. I wrote a program in c to interact with the machine. I think the machine is detected (after connecting the machine a file is created in folder /dev with name ttyusb1. I heard that ubuntu has all the header files required to interface with the port. with the help of a person i wrote this program (please see the attachment below.) but i don't know whether the commands are right or wrong. the program is compiled. but when i run the program it is getting stuck. i have to stop the program using Ctrl+z. if anyone knows these commands (how to write to or read from the port) please help me with this program.

View 6 Replies View Related

Programming :: Communicate To RS232 Using Fstream?

Apr 1, 2009

I'm trying to attach an fstream to serial port for reading and writing with the following code:

Code:

#include <iostream>
#include <fstream>
#include <string>

[code]....

The code compiles without errors, but doesn't catch any input text from the device attached to RS232. I have tried it with Rx and Tx connected, but didn't receive my text back. It works OK if I substitute /dev/ttyS0 with an ordinary file, but any attempt to use /dev/ttyS0 seems to lead to an empty answer string. I tried this on a PC under Ubuntu Linux 7.10.

View 3 Replies View Related

Programming :: Transferring A Program Across Rs232?

Dec 16, 2009

I've started development on a ARM board. The ARM board displays it's command prompt through it's rs232 output. So I open putty/minicom (rs232 display) and can see and interact with the ARM linux system through my PC. The ARM root fs is on a USB pen, So I cross compile on my PC, then plug the pen into my PC copy the exe into the home/usr etc folder. Then unplug. plug it into the ARM boot the ARM and from my PC rs232 window can run the code. However plugging/unplugging is taking an age, I'm sure there must be a way to transfer the exe across the rs232. I've tried to use putty minicom to do so throught various methods xmodem etc but don't seem to be able to. I think I must have to do something on the ARM end but am unsure what?

View 7 Replies View Related

General :: Installation Of Ubuntu Alongwith Windows Xp And Unable To Access Data From Windows

Mar 1, 2011

Last week I installed Ubuntu 10.10 on my system in dual booting. I had installed succesfully both but unable to see data files from windows OS. Though I have excercised the options in various resources available on internet/blogs. System takes about 03 hrs during installation process. I am also unable to configure Thunderbird.

System hardware info is as -
System ManufacturerVIA Technologies, Inc.
System ModelKM266APro-835
System TypeX86-based PC

[code]....

View 8 Replies View Related

General :: OpenGL Benchmark (nothing Seemed To Run At All)?

Jun 1, 2011

I'm looking for an OpenGL benchmark tool for Linux. Something sort of similar to 3DMark on Windows. Is there anything at all? I tried Phoronix, was not impressed (nothing seemed to run at all).

View 1 Replies View Related

OpenSUSE :: Rs232 (usb To Serial) Cable Not Detected

Feb 9, 2011

a few day ago i have checked my application and make rs232 cable converter to communicated it. And not detected, why? FYI, this is my lsusb command, but in my dmesg, was not found. check this out, (usualy there is another rows, just like ".....converted to ttyUSB0....")

View 1 Replies View Related

Hardware :: Reset RS232 Buffer On Device?

Aug 6, 2010

I was able to write a script on Linux Shell for send and read data to a serial port. But I�m facing a problem now. If by any mean I send to de device anything else than the predefined strings, stated by the manufacturer, the device ceases to respond. The only way I found its to turn off and then turn on the thing again. Which its very impractical. Its there any way to "reset de UART chip on the device" or send some string based on the RS232 standard that clean the device buffer?

View 2 Replies View Related

Programming :: RS232 Configuration Is Not Doing Do Wanted Operation

Nov 29, 2010

I am writing a program to send data over serial port but the sending and reading operation is not occurring as desired to be... Below you can see the read and write parts. Could you please help me to find where I am doing wrong...

Reading Part:

Code:

#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <termios.h>

[code]....

When I compile and run the above programs Reading part does not read the 13 bytes once it first reads 8 byte then 8 again then 2 and so on. It always divides the sent data...

View 8 Replies View Related

General :: RS232c And OpenGL In Same Program

Feb 10, 2010

I am trying to write a program that accepts user input from the keyboard and a joystick and then sends out the data using the rs232 port of my system to other hardware. I need to send out about 10 bytes every 20 milliseconds. The thing is I need to also keep on reading data from the same port and display it on an opengl screen. This visualizes the hardware data coming in.

So the way I did it was by spinning everything around opengl..I setup GLUT - as follows :
/* register call back functions */
glutDisplayFunc(redraw);
glutReshapeFunc(resize);
glutIdleFunc(visualize);
glutKeyboardFunc(getkey);
glutSpecialFunc(getspecialkey);

And in the idle function visualize(). I currently do the joystick reading and rs232 packet sending and recv stuff. I also call redraw after I am done so if I have received new data above, then it gets drawn on the screen. Everything works fine except that calling redraw() from visualize() is logical in a PC simulation where the simulation state needs to be rendered on screen after a simulation step. But in my case it takes up too much time, much greater than 20 ms. So I can no longer guarantee I can send out packets through the rs232 port every 20 ms. What are my options here if I want to send out packets and visualize data at a reasonable frame rate - packets within 20 ms is more imp of course.

View 10 Replies View Related

General :: OpenGL Program Not Work With X Forwarding?

Oct 7, 2010

I have an OpenGL program in a Linux server. I want to run the program remotely with X forwarding, but it fails, whereas programs such as xclock and xeyes work fine. (I confirmed that the program works in the local desktop environment.) Below is additional information.

Test Code:
#include <GL/glut.h>
#define WIDTH 300
#define HEIGHT 300
void display()

[Code]...

View 1 Replies View Related

Programming :: Streamout Command To RS232 - Send Something Through Serial Port?

Aug 5, 2010

I want to send something through the serial port, for example

[code]...

the point here is send some numbers to a couple of 7 seg displays, so I will wire a RS232 chip on a protoboard, the logic after the RS232 is not an issue, but how can I assure the data is being sent right from my linux box to the RS232 chip, the one on the protoboard? Do I have to write a C program to read the strings and then send them to the serial port?For example if I wanted to send this to the displays:

[code]...

So I guess the simplest way is (Supposing I can deal with the stream so it is filtered and only display the number array) $ ifstat > /dev/ttyS0 But, how do I know if the RS232 will take them as the right characters?

View 3 Replies View Related

CentOS 5 :: Configure NTP Server To Transmit Time With COM (RS232) Port?

Jun 24, 2011

is possible to configure NTP server to transmit time with COM (RS232) port ????

View 1 Replies View Related

General :: NVIDIA Vs ATI Vs Intel Video Card Drivers - OpenGL?

Nov 6, 2010

How is OpenGL support (specifically OpenGL 3.x) in the different video card drivers available for Linux?Assuming that the hardware supported it well, would the drivers be an issue?

View 1 Replies View Related

Programming :: Create A RS232 C Program That Executes A Series Of Commands Down The Line To A Robot?

Jan 5, 2011

I am trying to create a RS232 C program that executes a series of commands down the line to a robot. Everything seems to work fine, except any sequential write to the serial port. At first I thought it was the UART's buffer being filled too fast, but even with a 50 uS delay it still throws the error.

Here is my code:

Code:
#include <termios.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/signal.h>
#include <sys/types.h>

[Code]...

View 1 Replies View Related

Ubuntu :: Can't Access HFS+ Data

Aug 25, 2010

On my Mac, OS X Snow Leopard 10.6, I copied my itunes music files onto my external hard drive, which is HFS+ formatted (as FAT32 just wouldn't cut it for the other files that are on this drive, mainly 1080p video spanning several gigs on a single file)..

Here's the problem, Linux doesn't have ANY permissions it seems to access it.. I did nothing special on the Mac side, just drag and dropped all the files over.

As a normal user I can't open the folder. As root, I can go into the folder, but still can't access the files themselves!

I can't write to it either to change permissions because HFS+ is read only.

I need these files IMMEDIATELY, and I need to know how to do this now.

Normal user: [URL]

As root: [URL]

View 1 Replies View Related

Software :: How To Access The Data From Win 7

Jul 20, 2010

I want to access the data from win 7. I want that to mount in linux .

View 5 Replies View Related

Hardware :: Access Data From Old LVM Drive

Jun 12, 2009

I have a server which had one drive in it that was using LVM. I removed it and moved it to the secondary bay in the same server, then installed a fresh new blank drive in the primary bay on this server.

I then installed CentOS 5.2 on the new drive. During the partition phase of the install, I partitioned my new drive and MAY or MAY not have removed the LVM from the second drive and left the partition there, not sure exactly what I did.

After install I wanted to try to mount the old drive so I could access the files on the old drive. The /boot partition shows up when I do a df -h but not the / partition where everything I need is stored.

When I look at the drives in Webmin, the second drive is there and shows up as LVM but has not LVM name.

Basically what I need is on /dev/sdb2.

How I might be able to mount this partition which seems to still exist when looking at webmin.

View 3 Replies View Related

Networking :: Access Data On WD Sharespace?

Feb 1, 2011

I have been tasked with accessing data stored on a WD Sharespace drive. I have a machine running Fedora 13 at my disposal to do this. So far I am running into dead ends. The drive is connected via Ethernet, but I have never accessed a network drive in Linux before.

View 1 Replies View Related

Programming :: Access CD Audio Data?

May 13, 2011

I'm looking for a way to access the raw data on a CD.I have a small program that I'm using to play raw PCM data pushed into stdin.I'd assumed that I could just use:play-pcm < /dev/cdromBut this isn't producing any data.Will I need to do this programatically or is there a simple way for me to grab raw data from an audio cd in the same way I might do so for a data cd?

View 2 Replies View Related

Ubuntu :: Access The Data That In Usr Account?

Apr 20, 2010

its sara I have a series problem and I need help soon my problem is in logging in my account users in ubuntu and that happen after I delete the file .ICEauthority from home and then I reboot and I want to access the data that in my usr account, when I reboot the log in screen changed and I can not log in at any usr any more.

View 3 Replies View Related

General :: Mount: /dev/mapper/gegevens-Data Already Mounted Or /data Busy

Jul 14, 2010

A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7ca36fee

[code]....

Now I have the following problem the LVM file system don't mount properly.If I open the mount point I see only a few files of the LVM disk. If I want to unmount the disk I get the following error:

umount /data/
umount: /data/: not mounted

If I want to mount the volume I get the following error:

mount -a
mount: /dev/mapper/gegevens-Data already mounted or /data busy

View 3 Replies View Related

Fedora Networking :: Access Data Through SSH - Ethernet?

Jan 23, 2010

A while back I've been playing with the idea of setting up one of my machines as some sort of data server and would like to access it through SSH. I've already conducted some tests through the wireless router and apparently on the software side there are no issues with the SSH thing. I also noticed that since the same adapter was in use (wireless) SSH 'fought' with the Internet for the bandwidth

In order to avoid the aforementioned problem and also in the spirit of enhancing security I am thinking of setting up the following network scheme with two laptops and two routers (a wired and a wireless one):Both laptops would receive the Internet service through the wireless router. Both laptops would be connected through their Ethernet ports to the other router. The wired router wouldn't be connected to the Internet. Would this set up allow me to use SSH only through Ethernet thus eliminating possible bottlenecks in the wireless network? I am operating in the assumption each machine would have two different IPs (one per router), is this correct?

For some weird reason (default network device?) when I connect the Ethernet cable to the laptop, although NetworkManager claims to be still connected to the wireless network, I can not connect to Internet (the wired router has no Internet BTW). But if I unplug the Ethernet cable the Internet continues through the wireless network.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved