Re: [gentoo-user] deactivate (bluetooth) hardware based on irq/mac address

2021-07-05 Thread J. Roeleveld
On Saturday, July 3, 2021 1:59:24 PM CEST Tamer Higazi wrote:
> Hi
> 
> The problem is that the bluetooth circuit seems to be damaged, as I have
> recently the same result on Windows (not only on linux.
> 
> At Windows, I can deactivate the hardware at the "device manager", I
> want this the same to be done on Linux.
> 
> Not the driver, just to ignore the hardware.
> Why do I ask this ?
> 
> I ordered now a new bluetooth 5 stick, what if it uses the same driver ?
> So loading the driver should not be suppressed more the hardware should
> be ignored

Can't you disable the onboard bluetooth in the BIOS?

I managed to do that on my system and it's not detected during boot/use of 
either OS.

--
Joost





Re: [gentoo-user] deactivate (bluetooth) hardware based on irq/mac address

2021-07-03 Thread tastytea
On 2021-07-03 13:59+0200 Tamer Higazi  wrote:

> Hi
> 
> The problem is that the bluetooth circuit seems to be damaged, as I
> have recently the same result on Windows (not only on linux.
> 
> At Windows, I can deactivate the hardware at the "device manager", I 
> want this the same to be done on Linux.
> 
> Not the driver, just to ignore the hardware.
> Why do I ask this ?
> 
> I ordered now a new bluetooth 5 stick, what if it uses the same
> driver ? So loading the driver should not be suppressed more the
> hardware should be ignored

If the broken bluetooth device is attached via USB (turns up in
`lsusb`), you can disable it via udev:
.

Kind regards, tastytea

-- 
Get my PGP key with `gpg --locate-keys tasty...@tastytea.de` or at
.


pgpJmGObHRcCV.pgp
Description: Digitale Signatur von OpenPGP


Re: [gentoo-user] deactivate (bluetooth) hardware based on irq/mac address

2021-07-03 Thread Michael
On Saturday, 3 July 2021 12:59:24 BST Tamer Higazi wrote:
> Hi
> 
> The problem is that the bluetooth circuit seems to be damaged, as I have
> recently the same result on Windows (not only on linux.
> 
> At Windows, I can deactivate the hardware at the "device manager", I
> want this the same to be done on Linux.
> 
> Not the driver, just to ignore the hardware.
> Why do I ask this ?
> 
> I ordered now a new bluetooth 5 stick, what if it uses the same driver ?
> So loading the driver should not be suppressed more the hardware should
> be ignored

rfkill list
rfkill block bluetooth (or bluetooth device ID)

should block individual device(s).


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] deactivate (bluetooth) hardware based on irq/mac address

2021-07-03 Thread Tamer Higazi

Hi

The problem is that the bluetooth circuit seems to be damaged, as I have 
recently the same result on Windows (not only on linux.


At Windows, I can deactivate the hardware at the "device manager", I 
want this the same to be done on Linux.


Not the driver, just to ignore the hardware.
Why do I ask this ?

I ordered now a new bluetooth 5 stick, what if it uses the same driver ?
So loading the driver should not be suppressed more the hardware should 
be ignored



best, Tamer

Am 3 Jul 2021 um 13:26 schrieb Michael:

Not sure of a 'proper' way.  I know of a physical way - in hardware where the
bluetooth has a button you can press to switch it off - typically available in
laptops.  I also know of the rfkill command which comes with sys-apps/util-
linux.




Re: [gentoo-user] deactivate (bluetooth) hardware based on irq/mac address

2021-07-03 Thread Michael
On Saturday, 3 July 2021 12:17:42 BST Tamer Higazi wrote:
> Hi people,
> 
> I want to deactivate my bluetooth device on my mainboard when gentoo is
> loaded.
> I don't want to "blacklist" the driver, more I want to tell the kernel
> to ignore this hardware.
> 
> Is there a way to tell "gentoo" to disable, or not load the driver for
> this particular hardware based on the irq or mac address ?
> 
> What is the propper way to do this ?
> 
> 
> best, Tamer

Not sure of a 'proper' way.  I know of a physical way - in hardware where the 
bluetooth has a button you can press to switch it off - typically available in 
laptops.  I also know of the rfkill command which comes with sys-apps/util-
linux.

signature.asc
Description: This is a digitally signed message part.