Re: modprobe & blacklist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 15, 2008 at 5:44 AM, john f jarvis <johnfjarvis@xxxxxxxxxxx> wrote:
> On Mon, 2008-07-14 at 23:05 -0700, Tod Merley wrote:
>> On Mon, Jul 14, 2008 at 5:32 AM, john f jarvis <johnfjarvis@xxxxxxxxxxx> wrote:
>> > To use gpsbabel with my Garmin Venture Hc gps receiver I must
>> > first remove the FC9 builtin garmin_gps usb module.
>> > As su this works: /sbin/rmmod garmin_gps
>> >
>> > My question: How can I use the blacklist feature of modprobe
>> > to do this automatically? Adding the line: blacklist garmin_gps
>> > to /etc/modprobe.d/blacklist and/or modprobe.conf.dist
>> > doesn't work.
>> >        Thanks, John Jarvis
>> >
>> > --
>> > fedora-list mailing list
>> > fedora-list@xxxxxxxxxx
>> > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>> >
>>
>> Hi John Jarvis!
>>
>> I would look carefully at the output of lsmod before and after the use
>> of rmmod.  Likey there is another "companion" module you need to
>> blacklist to make this work.  To make one of my wireless modems work
>> for example I neede to blacklist oronco and oronco_cs to get the job
>> done.
>>
>> Good Hunting!
>>
>> Tod
>>
> Thank you Tod:
> lsmod does show two modules are loaded: garmin_gps, usbserial
> Adding both of them to /etc/modprobe.d/blacklist doesn't prevent
> loading them when the GPS receiver is connected. Where do hotplug
> scripts live?
>        John
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

Hi John!

I make a habit of sometimes booting with the wireless card in and
sometimes plugging it in at some time when I need the internet access.

It makes no differance, the blacklisting works.

So now I wonder why yours does  not.  That is why a premission and
ownership check I mentioned.

I am not that far along on hotplug, perhaps someone else can chime in.

When I want to look for "the involved files" in Linux I use:

The man pages (usually located near the bottom of the page - also the
other commands mentioned in the page).

The "locate" command after running a fresh "updatedb" as root.  Locate
works well with grep of course.

One day I do hope to conquer hotplug and all.

Have a great week!

Tod

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux