How does one locate the linux driver .c source file for a network adapter?
location: ubuntuforums.com - date: December 7, 2011
How can I locate the correct linux .c driver file for my network adaptor (Marvell Yukon Gigabit Ethernet Driver)? I have all the kernel files but there doesnt seem to be a referenced way of locating per device?
Is there some orderly way of searching for my adaptor and being told which .c file the driver is?
(Knowing generally where I can find driver Y for adaptor X would be useful in case I change adaptors in the future)
EDIT: Just been on the marvell website and downloaded the driver, it appears to be skge.c, sky2.c, skdim.c and skproc.c ?
How does one export a symbol from a module built outside the kernel source tree?
location: linuxquestions.com - date: February 23, 2009
I am writing this code outside the kernel source tree. In fact up to now I have not needed the kernel source tree on my machine. I'd like to find a way to do this without movign my source tree under the kernel tree.
My driver (loadable module) receives a data stream via a USB endpoint. This module includes a facility for 3rd parties to extend the data processing by writing their own modules which they can register via a registration framework I have implemented in my module.
For example, my customer might write a module that has the following line in their init() method:
My understanding is that I need to export the symbol my_framework_register via the EXPORT_SYMBOL() macro. When I do this, and make my module, I get a file named Module.symvers in the folder where the module .ko file is. When I load the module, I see the exported symbols in /proc/kallsyms tagged with 'T'. So far so good.
I then reference the exported routines via an include file c
O Mandriva One 2009 how does one set up a HP DeskJet 6940 Network printer?
location: linuxquestions.com - date: December 27, 2008
Just installed a Mandriva One 2009. What package do I install and run to configurre a connection to a HP DeskJet printer on a network (LAN)?
hp-setup does not find the printer, even though I can ping to it.
How does one cancel all pending print jobs automatically when loging out of a sessiou
location: ubuntuforums.com - date: December 14, 2010
Sometimes I want to keep something in PDF files, so I print to the PDF "printer". However, if I inadvertetnly forget to check the PDF creation and rather take the real printer (which is usually only powered up, when I really want to print something), printing goes to the real printers queue and nothing happens ... until, possibly some sessions later, I want to print something (on paper rather than PDF) and power up the printer.
Then all inadvertent garbage comes first and chances are big, that the printer gets junk during power up or reconnecting the cable to the computer and then the whole thing is wasting even more paper, since escape-sequences sent to the printer get chopped and misunderstood by the printer.
In order to stop this alltogether, I am looking for a mehtod, to automatically flush the whole printing queue every time when I log out of my ubuntu session.
I know, there is a command lpq to tell which print jobs are pending, I also know the command cancel -U
How does one do this format in Ubuntu?
location: ubuntuforums.com - date: July 13, 2010
I have a need for a particular kind of formatting for USB devices.
I have a plan that works, but I have to boot NimbleX up on a CD and then go through the commands to do it.
I'd like to be able to to it in ubuntu. Does anyone know how to make this (from NimbleX) happen in ubuntu? Steps follow:
Plug in the USB device, a window should open choose the do nothing option and close the window.
To format the drive.
IMPORTANT – FIND OUT WHAT YOUR EXTERNAL DRIVE IS BEFORE DOING THIS.
DO NOT JUST BLINDLY PUT IN THE sda1 or sda commands below. Identify your stick or drive before hand and then use that nomenclature.
Click on the TV screen type icon to open a command shell (Konsole)
Carefully type and enter the following
Next step is optional it let's you give the drive a name - the example calls it FoxsatBU
e2lable /dev/sda1 FoxsatBU
Now to set the partition type
type t and enter
then enter 83 at the prompt
type wq and enter
close the Kons
How does one enable Sun JRE by default?
location: linuxquestions.com - date: December 21, 2012
I noticed that my installed Debian OS 6.0.6 (64 bit) already contains openjdk or openjre.
However I downloaded and installed Sun JRE via Synaptic Package Manager.
I would like my OS to make use of Sun JRE instead of openjre.
How do I do that? According to some Google searches, I have to edit the sources.list? Is that right?
(new install)) How does one install Synaptic package manager... Aptitude cannot find
location: linuxquestions.com - date: March 31, 2010
Doesn't seem to find it.... these are my sources (sources.list)
How does one convert terminal commands to desktop shortcut
location: linuxquestions.com - date: December 14, 2009
I am attempting to recreate terminal commands with a Fedora desktop launcher shortcut to start x360mediaserve. The commands in the terminal work as below:
How does one convert a Fedora Core 4 box into CentOs 5 box in a live environment?
location: linuxquestions.com - date: January 17, 2011
After reading the responses to my first thread I posted on a different subject I decided I'd like to convert my Fedora Core 4 box into a CentOs 5 box.
The trick is... how can this be accomplished when the box in question is in a live production environment?
My box is colocated...
Is there a way to install CentOs via sshd and also without a boot disc?
My main concern is preserve all data in the /home/* directories and so forth...
-Thanks in advance!
Greetings from New Zealand.....Mepis....How does one install Firefox......
location: linuxquestions.com - date: January 11, 2006
Hi there form sunny Golden Bay, New Zealand.....I have Mepis running on 4 computers at home and provide an email cafe' type situation for holiday makers.....Mepis is great but unlike Xandros which has a way of seeing what software is available for it and installs , Mepis doesn't seem to have this.....So my guestion is ....How do you install the likes of Firefox onto a Mepis distro???? I am assuming it uses .dep files rather than .rpm or archived files.....Thank you if someone can point me to the right place that would be awesome......Mike
Page: 1 2 3 4 5 6 7 8 9 10