configuring macrowindow for x86 platform and creating a display window????

2008-01-09 Thread Misbah khan
Hi all ... i need to know how to configure the microwindow for X86 on linux and create a window ? please revert back if any of you have an experience on this I need to know how to start with ... Misbah <> < -- View this message in context: http://www.nabble.com/configuring-macrowi

Re: How to write a device driver in such a fashion .????

2008-01-07 Thread Misbah khan
using mmap() in application to access the h/w is only possible if the device memory is mapped in the kernel virtual memory how come we directly map to the physical memory to virtual from user space ??? Misbah Misbah khan wrote: > > Hi all > > I need your suggessio

How to write a device driver in such a fashion .????

2008-01-06 Thread Misbah khan
Hi all I need your suggession to write a driver with such requirements :- On Initiation by the application of which key is pressed driver should perform the task accordingly. There are 7 keys so seven different task the driver will perform. 1 . I do not want to use any entry point such as

Re: How to creat a .config file for a driver and How to use it in adevice driver?????

2008-01-02 Thread Misbah khan
config change ---Misbah <>< Sean MacLennan-2 wrote: > > Misbah khan wrote: >> Hi all ... >> >> i am writing a device driver in which the default configuration for LCD >> display i need to keep it in a .config file so that as the system boots >> it

How to creat a .config file for a driver and How to use it in a device driver?????

2008-01-02 Thread Misbah khan
Hi all ... i am writing a device driver in which the default configuration for LCD display i need to keep it in a .config file so that as the system boots it take the value from this file and does the initial configuration in the init of the driver. If user changes the .config file content in the

Re: include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory

2007-10-09 Thread Misbah khan
Please Let me know the Status Misbah Misbah khan wrote: > > > > > Timur Tabi-3 wrote: >> >> Kumar, this is what I get when I compile your 2.6.24 branch for the 8610: >> >>CC arch/powerpc/sysdev/fsl_soc.o >> In file included from arc

Re: Where are inb/outb macros?

2007-10-08 Thread Misbah khan
inb/outb could be used from the usr space on x86 class PC-computer to access to io ports this is what i assume that you are trying You need to compile the program with -O option (expantion of Inline function ) To perform io operation on ports ioprem/iopl system call must be used (To get permiss

Re: include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory

2007-10-08 Thread Misbah khan
Timur Tabi-3 wrote: > > Kumar, this is what I get when I compile your 2.6.24 branch for the 8610: > >CC arch/powerpc/sysdev/fsl_soc.o > In file included from arch/powerpc/sysdev/fsl_soc.c:40: > include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory > make[1]: *** [arch