-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I'm trying to write a Linux device driver. I've got it to work really well, until I tried to use "memcpy". I don't even get a compiler error, when I "make" it just warns me:
WARNING: "memcpy" [/root/homedir/sv/main.ko] undefined!
OK and when I try to load via insmod, I get on the console:
insmod:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
My device /dev/my_inc is meant to take a positive integer N represented as an ascii string, and store it. Any read from /dev/my_inc will produce the ascii string representation of N + 1.
The problem is that when I cat /dev/my_inc, I only get the first byte of myinc_value output to my shell, even…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
OK. So, this is exactly the opposite of what everyone asks about in network programming. Usually, people ask how to make a broken socket work. I, on the other hand am looking for the opposite.
I currently have sockets working fine, and want them to break to re-create this problem we are seeing…
>>> More
-
as seen on Super User
- Search for 'Super User'
Hi,
I am trying to get OSS4 to work on a Debian Squeeze 64 bit machine with an usb sound adapter.
There is no sound from this adapter at the present, although it worked just before on the previous installation.
You can see the output of some commands here:
$ sudo /etc/init.d/oss4-base restart
Stopping…
>>> More
-
as seen on Super User
- Search for 'Super User'
I have installed openSUSE 11.4 to my new workstation. It says that there is Attansic ETHERNET controller on board. But no devices seen. I typed: lspci and it returned: atheros communications device 1083. I have downloaded drivers. I'm trying to compile the driver.
But I get the error:
**Makefile:94:…
>>> More