Ive asked on the Debian user mailing list but no one replied
Type: Posts; User: bluedalmatian; Keyword(s):
Ive asked on the Debian user mailing list but no one replied
I have a Lenovo ThinkPad Edge E535 with an AMD RadeonHD graphics chip:
lspci output:
00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Device 9992
The...
thank you
I want to share a single array between multiple objects (of different classes) in PHP.
Each class has a constructor function which takes a ref to the array as an argument and assigns it to a local...
Im trying to use PHPs PECL extension HttpRequest class to marshall a form submission using an HTTP post.
Our website has a mailing list hosted by FreeLists and the HTML for the signup form is as...
ah right. thanks for that tip.
what would I declare the array as then in order than I can copy a series of variable length strings from the vector into it.
Ive tried:
char** args;
args =...
C++ but I need to get the strings into a C array to use the exec functions.
Im wanting to use execvp to run a command. The problem is that it requires a const pointer to an array which in all the examples I can find is allocated on the stack like this:
char *const...
Im using JavaScript to change the CSS background-color property of a div tag with a unique ID which surrounds a question on an HTML form.
Each question is surrounded by a div with its own unique ID...
Im creating a .desktop file for a package Im making so that when the package is installed it adds an icon to the Gnome Applications menu.
Currently that bit works and the app shows up in the menu...
OK thanks Ill have a look.
Is there an API to play an Ogg sound in a C based Gnome app. I want to be able to play a short alert when an event occurs.
Ive done a Google search but cant find anything.
I was wondering what the best way to apply updates is to a machine which is at a remote location with no network connection. Its running 10.04.
Is it possible to somehow download all the latest...
When are the forums going to adopt the new Ubuntu logo?
OK, forget reading & writing, lets just concentrate on the read() function.
As I understand it, the user may request a read of say 32 bytes, but we may only transfer 16 before getting...
I know it is. What Im asking is, how do I use that information to ensure copy_to_user accesses the buffer in the driver at the correct offset?
A driver. The user process will call read() and write() on the /dev file and the driver will use copy_to_user and copy_from_user to transfer between the user process and the drivers internal buffer
Im a bit confused about how to implement a read & write system call in a Linux driver module using copy_to_user and copy_from_user.
The last argument to the read/write function is loff_t* giving...
I've got a strange problem that has just spontaneously appeared.
I'm running 10.04 and USB memory sticks suddenly stopped mounting on the desktop when plugged in. It used to work, but then...
1.4GB of swap. 512MB RAM. Youre probably going to say thats not enough, but its plenty when the system has only been running for a couple of days.
I always use free -m to check RAM which is...
Im experiencing a strange problem with 10.04. When it first boots up its reasonably quick (as snappy as Gnome ever has been) but after its been running for a day or two it gets ununsably slow and has...
I've been having exactly the same problems for months. I was advised it was because I was using WEP on an old basestation but Ive since got a new basestation and switched over to WPA and its no...
According to my book 'Linux Device Drivers' by O'Reilly (3rd Ed for the 2.6 kernel) a char driver has to write its own implementation of that function which is called when ever a process tries to...
its a linux char device driver
that helps thanks.
is copy_to_user supposed to be called in a loop, once for each byte?
im a bit confused what the loff_t* ppos argument to the read system call is for:
read(struct file*...