LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

memcpy to access pci memory/ io space

Posted 12-29-2008 at 01:37 AM by vimalkumar.s

Hi everyone,

I am writing linux driver for custom pci module. In various linux device driver books i studied it is mentioned that readb/readw/readl and writeb/writew/writel functions should be used to access pci memory space and inb/outb functions should be used to access pci io space.

I want to do bulk data transfer and also it is time critical. In this case I through instead of using writeb/outb and readb/inb in a for loop it is better to use memcpy() which will avoid...
LQ Newbie
Posted in Uncategorized
Views 1733 Comments 0 vimalkumar.s is offline
Old

What a tangled web we weave...

Posted 12-26-2008 at 10:42 PM by ctroyer

OK, I feel compelled to outline the steps I had to take to figure out which adapter to purchase. I started this whole effort to try to learn something, hopefully become a better sysadmin for my own machine, and last but not least, get the wireless functionality working so I could ditch the cord.
I started off knowing that I would probably need to use ndiswrapper, since I purchased my existing card back when I was only running Windows.
When I went to sourceforge.net to download...
LQ Newbie
Views 996 Comments 1 ctroyer is offline
Old

First blog entry

Posted 12-26-2008 at 09:37 PM by richardhufford

This is my first entry on my first blog, so it's more of a test than an actual entry. In the next few weeks, I plan to introduce myself and describe the program I'm writing using Mono. Mono is an implementation of .NET. Mono programs can be run on both Windows and Linux. So far, I have created and compiled a program on my Linux machine. The program is a WINFORMS program written in C#, and does a little bit more than create a window and allow you to close it. I have copied the program to my...
LQ Newbie
Posted in Uncategorized
Views 504 Comments 0 richardhufford is offline
Old

Can't go over it; can't go under it; I'll just go around it...

Posted 12-26-2008 at 09:11 PM by ctroyer

Since I can purchase a twenty dollar wireless adapter that has open source drivers and support, I'll just go that route. When I get it up and running, I'll report on the process.
LQ Newbie
Views 991 Comments 0 ctroyer is offline
Old

Nose to nose with the wall.

Posted 12-26-2008 at 07:13 PM by ctroyer

So I'm back to where I was long ago, just about ready to give up on the whole mess. Why doesn't ndiswrapper recognize the presence of the card? dmesg indicates that the system is recognizing the insertion of the card, but the OS doesn't know what to do about it. The Slackware 12.0 HAL isn't doing anything with the card, probably because there is nothing set up in the rc.whatever files. But I've no idea which file to edit or how to change it. Grr. None of this should be so difficult or obscure. I...
LQ Newbie
Views 554 Comments 0 ctroyer is offline

  



All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration