On Mar 28, 12:30 pm, The Natural Philosopher <t...@invalid.invalid>
wrote:
> On 28/03/13 16:34, Bob wrote:
> > About 8 yrs. ago I tried to install modem drivers, and completely
> > failed for both full modem and Winmodem cards, although when I shipped
> > them to an expert, she was able to get both running in her Linux box.
> > Now I'm trying to install a USB wireless adapter (which came with a CD
> > with compressed Linux driver files), and I think I'd have a better
> > shot at this if I knew some general concepts.
>
> > What if I naively parked the unpacked driver files in /dev and then
> > tried to mount a made-up file name to a point thusly defined?
>
> why would you do that?
Because I'm an optimist, and think, hey, maybe it's transparent as to
what's on either end. Maybe Linux doesn't need to know whether the
data coming in & going out are delivered in ways specific to the
machine. Like, between the driver and the OS, they have ways to
recognize without being told by me how to send & receive the data.
> Thats why you have drivers. To map whatever the device is supposed to DO
> into the appropriate part of the operating system where the right set of
> tools will recognise what it is.
>
> All USB is, is a way to talk to it. It says nothing about what sort of
> converssation you may then have.
>
> you wont have much luck telling wifi adapter to 'read track three,
> sector 9' will you?
That's true if the adapters are told such things. I didn't know what
they were being told. For all I knew until you told me otherwise,
Linux could've been saying, "You there, at that desk, I don't care
what your job is, get me Bob", and then if the guy at that desk is a
drive controller it says, "This thing here is a disc, and I've been
keeping track of where named things are on it, so I'll turn it until I
find Bob," and if the guy at that desk is a wifi driver, it says,
"This thing is a radio, so I'll let it answer me when I radio for Bob,
and label whatever comes back as Bob."
> put the CD in your drive and simply point your file browser at it.
>
> You will see what is 'inside'.
>
> If you want, copy the stuff to a directory.
Alas, I'd already done so, and while I see some neat icons, I've no
idea what they mean. I don't know which are executable, although I
gather that the .inf files just hold data.
I gather, however, that I can at least plug in the USB device without
a driver and have listed exactly which model it is, so I can choose
between the closely-related ones supplied from the CD. I gather
there's a "lsusb" command to do so, analogous to the "ls" for a file
directory.
> In general you will need to install the driver using IIRC (years since
> Ive done it by hand) insmod.
Should I try "man insmod" for info?
> that's about ALL you should have to do. Then if its what it should be,
> the device driver will make the hardware appear as ' just another'
> networkable device. Probably /dev/wlan0 or something.
>
> But with luck there will be a script or a file on the disk that says
> 'run me and I will install all you need'
That's what a friend advising me was hoping for too. From KDE, I
would just double click on icon after icon until one "caught" like
that, and then it would proceed like the install.exe in Windows.
Robert