Programming :: RHEL5 - Project To Write Device Drivers

Dec 1, 2010

I am final year MCA student. I like to do my project in Linux. I know a little in C. I am pursuing RHCE certification. I am using rhel5. I am interested to write linux device drivers and willing to do my project in that.

View 9 Replies


ADVERTISEMENT

Programming :: Write A CMakeList.txt For A Project?

Apr 6, 2009

I am trying to write a CMakeList.txt for a project (A). The project needs to use the library of another project (B). For gcc, using -L <path> -ldl works. How can I convert that into cmake file? I tried include_directories, that doesn't seem to work

View 3 Replies View Related

Programming :: How To Write Small Project With C++

Dec 29, 2010

I am trying to write my first small project with C++ - implement stl list like collection class. This is what i have a the moment:

Code:

#ifndef GUARD_link_list_h
#define GUARD_link_list_h
template <class T>
struct Node {

[code]....

View 1 Replies View Related

Programming :: Write Project To Grab UI Into A Image Bitmap?

Mar 28, 2011

The Project is for writing a generic program which extracts list of applications that is running on Unix, and for each application, determine if it has a corresponding graphical UI interface, is so, the program should be able to grab the UI into a image bitmap. The program should be able to run in any Unix UI framework, such as CDE, KDE, X, Motif, et al.

View 2 Replies View Related

Programming :: How To Write Simple C Program In RHEL5

Sep 17, 2010

How can i write a simple c program in my RHEL5?I am more concerned about what are toosl i need to install to get a C platfrom running in my RHEL5?

View 14 Replies View Related

Programming :: Write USB Device Driver?

Oct 11, 2010

I know, I know..."How long is a piece of string"?

I have one of these devices:

[URL]

Of course, it's Windows only, and XP only at that. However, the data that needs transferred between the device and the computer should be fairly basic, unless it offloads a lot of processing to the computer. I'm not a programmer, nor do I play one on TV, but I have written some fairly complicated microcontroller programs and some basic Java GUIs. Besides writing the actual code, how hard is it to do whatever needs done to make a Linux device driver, apart from the code to make the device work?

View 2 Replies View Related

Programming :: Timer Of 10 Ms For Read / Write A USB Device?

Apr 13, 2011

I need programmer a timer of 10 ms for read/write a USB device

View 4 Replies View Related

Programming :: Block On Write Call To TtyACM Device

Nov 1, 2010

I have a write call to a ttyACM serial device that blocks after several hundreds bytes are written.I'm writing in ~25 byte chunks, so I have 5-8 successful writes, then the next write blocks forever.I can bypass the blocked call using select, but I can never call write again without closing and re-opening the port.

The serial port is opened correctly because I can read from it just fine. Write permissions are correct, and it's opened RW.The code is likely correct because I tested the same code using the same device on a pure RS-232 serial port, and it worked fine - no block. Is there anything to know about the linux ACM module?It's my understanding that write calls basically shouldn't block.They're supposed to return -1 if there's an error.

View 1 Replies View Related

Programming :: Fail To Write To USB Device Boot Sector / What To Do?

Jul 4, 2010

I'm writing a C program that reads the boot sector of a USB disk. (it is mounted as /dev/sda1). I'm able to read the sector, by the calls code...

The problem is when I wish to write. I use the call:
bytesWrite = write(fd, buf, 512)
The 'write' returns the value of 512, which looks as if the write was successful, yet
when I read again the /dev/sda1 device, I see that no writing was actually made.

Can anybody tell me what do I need to do in order to allow an actual write to the
device?

View 2 Replies View Related

Programming :: New Comer To Understanding PCI Device Drivers?

Nov 20, 2010

I have been reading some books about device driver development etc.I made a char driver of bond (dummy) device. My book says that PCI devices contain three addressable regions,configuration space,IO ports,and device memory,the book talks about a file include/linux/pci_ids.h and PCI addressing etc.I read about following functions

1) pci_read_config_
2) pci_write_config_ some thing known as offset is defined to be passed on as an argument to above functions

3) IRQ number assigned to a card function pci_read_config_byte_,configuration register offsets

4) pci_request_region I want to write a pci driver for my own understanding and I am reading some books about it.

[Code]...

View 2 Replies View Related

Programming :: About Writing Device Drivers - Interrupt Handlers ?

Apr 28, 2010

I have written interrupt handlers for a keyboard as well as the serial port RS232.

I have seen the book written by O'Reilly w.r.t the device drivers.

I wanted to know *exactly* what parts of Linux kernel should i understand well for having a crystal clear view of writing any kind of device driver ?

View 1 Replies View Related

General :: Distro To Use For Learning Server Device Drivers Programming?

Jan 9, 2011

I have started reading book Linux Device Drivers 3rd edition. So I want to know which is the best light weight distribution to use so that learning can be more generic and also does not involve distro specific nitty-gritty details. I have already tried building kernel for Ubuntu 10.04 but it involved different commands from what is mentioned in the book. So I am not sure whether I would be able to make further in the book. Has anybody tried?

View 5 Replies View Related

Software :: Write A Cron Jobs In System To Monitor Project Diskspace Usage?

Jul 28, 2011

How to write a cron jobs in linux to monitor my project diskspace usage?
check diskspce= du -h .

any clue for me as a beginner?

View 7 Replies View Related

General :: Ethernet NIC Drivers For RHEL5?

Apr 5, 2011

I installed redhat enterprise Linux 5 on an acer laptop to dual boot with windows vista the nic works perfectly with windows but does not work with the RHEL5.

View 4 Replies View Related

Programming :: Programming Languages For Project Euler / Additional Ideas?

Jun 28, 2009

I've been working in the real world for a year making some money to go back and finish my masters, and now I'm coming to the end of my contract and am realising how little i remember and how small my scope has become; i basically do shell scripts and perl these days, and its making me uneasy. So instead of bitching about it , I'm going to endevor to complete Project Euler Using randomly generated programming languages for each problem, selected from

And post the fruits of my attempts at my blog (shameless plug) aswell as opening up my svn repository when I'm done. (altho i need to ask in another thread about svn permissions....)To my shame i havent ever touched C#, JavaScript, Ruby or Python, so all in all its going to be very interesting how much i screw up.Anyone have any additional ideas, or languages I'm missing or such? I was considering TCL or Haskell or Erlang at a strech, but i dont know how useful these three would be.

View 14 Replies View Related

General :: Setup DM In RHEL5 And Mapping A Device To It?

Apr 5, 2010

How to setup Dynamic Multipathing in RHEL5 and mapping a device to it? I have a RHEL5 server which is connected with a HP BLADE Server. I have installed DM software. Now I want to map BLADE Server's LUN space with a directory of my RHEL5 Server.

View 1 Replies View Related

General :: Installing VPN Connection And WiFi Drivers On RHEL5?

Feb 27, 2010

How to establish a VPN connection,The details I get to connect the VPN are ipaddreess ,username/password How to install WiFi drivers on RHEL5

View 1 Replies View Related

Server :: RHEL5 ISCSI Not Creating New Block Device In /dev

Jul 9, 2010

I am running RHEL5.5 its a fresh install and we are testing Xen Virtualization. We are wanting to use our iSCSI SAN for the VMs. I have created the initiator iqn, and discovered the target address. We are connected to the target, but there is no new block device in /dev.

[root@xxxxxxxx etc]# netstat -a | grep iscsi
tcp 0 0 *:iscsi-target *:* LISTEN
tcp 0 0 xxxxx-netapp.okc-:44840 xxxxxx-iscs:iscsi-target ESTABLISHED
tcp 0 0 *:iscsi-target *:* LISTEN

[Code].....

View 2 Replies View Related

General :: Installing Sound Drivers For Rhel5 - Not Getting Any Voice In My Headphones

Feb 6, 2011

I have installed vlc player on my system using wine. In the task bar, the volume control is working fine and songs also get played in the vlc player.But i am not getting any voice in my headphones.

Following i am giving the results of few commands, which can help you people in giving me the best decision

lspci

OUTPUT

lsmod | grep snd

output

View 1 Replies View Related

Ubuntu Installation :: Disk Space - Failes On A "E: Write Error - Write (28 No Space Left On Device)"

Jan 4, 2011

df -h [URL] I did the following command to find everything is in /usr or /var, then tracked it down to /usr/lib and /usr/share as the main offenders, but out of all the directories none are more than 1mb or so.

du -sh /* | sort -gr | head -n 5

I tried to uninstall firefox, which is what got me in this mess in the first place, the log claims it will remove ~240 mb but failes on a "E: Write error - write (28 No space left on device)" [URL] If I could juggle something onto an external hard drive so I can uninstall firefox I would be out of the wood. Failing that I believe a new install is in order.

View 1 Replies View Related

Programming :: Kdeveloper Cant See New Project?

Aug 20, 2010

also some options in menues are disable..when i go to the terminal it shows this msge:<unknown program name>(5763)/ KDevelop::allocateRepository: picked duchain directory "/home/forensic/.kdevduchain/{61e2fad9-a888-45c7-91e7-c7098bc67b94}/0"maybe i made mistake in one step of compiling it..

View 11 Replies View Related

Programming :: Way To Continue With C++ Project

Apr 26, 2010

I would like to ask your opinion for a new C++ project.I just finished writing a chess engine in a software engineering lecture.I don't see any way to continue with that project and I would like some new ideas.I would prefer to start something on my one but suggestions about small open source projects that are already out there are welcome.

View 3 Replies View Related

Programming :: Using GPL Artwork In My Project

Nov 5, 2010

I have project released under GPL. I have found an icon (.png) I want to use in it that also has a GPL license. What do I have to do, if anything, to use it legally? It's "just an icon", and while it represents a significant amount of work on someone's part, it doesn't come with any source code or embedded licenses that I can just copy and include with my project files. I'm sure I can use it because it's GPL and my project is GPL.

That's what GPL was designed for, but I don't want anyone to think I'm claiming I designed it or that I took it without giving proper credit. I just reread the GPL, and it looks like I can do anything I want with it as long as I don't restrict anyone else from doing the same and if I were to modify it, I'd have to put a notice "somewhere" (but where would that be for an icon?) acknowledging that modification. I don't see anything that would make me actually mention it at all in my documentation, etc. as long as I pass it along unmodified.

View 1 Replies View Related

Programming :: Fixing A Bug In Opensource Project?

May 12, 2010

I have the joyous task of having to find and fix a bug in a large opensource project for an assignment. Fixing the bug should only take about 4 hours according to the lecturer. I would prefer the source language of the project to be Java, since my C++ is quite rusty.

So, does anyone have some experience in this type of thing, and can you give me advice about which projects would not be nasty to an ignorant student? Also, which tools did you use to make it easier for you? I want to learn how to do this,but I'm just a bit clueless at present.

View 5 Replies View Related

Programming :: How To Debug Large Project Using 'GDB'

Jun 21, 2010

I'm using ubuntu 9.04;I want to debug my project that comprises mutiple files.When I cd to the project folder and run the command "gdb rawusb_test",Once I tried the flag -g and changed the line "$(CC) -o $(PROG) $(OBJS) $(LIBS)" to "$(CC) -g -o $(PROG) $(OBJS) $(LIBS)", it didn't work!I want to trace the program "rawusb_test" line by line and see the parameters' values!Could you help me how I should debug this project or how the Makefile should be changed?

View 8 Replies View Related

Programming :: Debug Big C Language Project With GDB?

Nov 11, 2009

Now I have a project which include three directories /bin, /inc and /src. All of header files (*.h) are included in /inc and all of source(*.c) files are stored in /src, i.e. a.c, b.c, c.c..., the final generated executable file will locate in /bin. after compling with makefile, all of obj files will be generated in /src/obj like a.o, b.o, c.o, d....! Moreover an final.exe executable file will be generated in the /bin directory. Now if I want to debug it with GDB, how can I do it?

View 1 Replies View Related

General :: Developing A Project In C Kernel Programming?

Mar 11, 2010

I am a Master's student.I am a newbie to Linux. I am interested in doing a term project in C kernel programming. I need help in developing a project in which I can use C kernel programming .

View 2 Replies View Related

Programming :: Debugging QT Project Through GDB In Command Line?

Jan 31, 2011

First step will obviously be to compile the QT project with -g option, but how to do that through command line?

View 6 Replies View Related

Programming :: Compile A Big Project In Command Line?

Jun 10, 2010

I've got the "OpenCryptoKi" project source from "sourceforge.net" at here:But I don't know how should I compile and build it by "GCC" or "Make"?!I have ubuntu 9.04 and I've set the linux runlevel at 3, but I'm not so familiar with compiling such project at commandline environment of linux

View 6 Replies View Related

Programming :: Include Boost In Eclipse Project?

Dec 14, 2010

I'm using Eclipse to build a small c++ program using boost.

Code:

#include<iostream>
#include<string>
#include <boost/regex.hpp>

[code]....

I can right click on boost::regex and it takes me to the header file regex_fwd.hpp, but when I go to build it, it gives me the error:

Code:

DescriptionResourcePathLocationType
/usr/include/boost/regex/v4/basic_regex.hpp undefined reference to `boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> >

[code]...

View 6 Replies View Related







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