Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #69232 > unrolled thread

Bug#980746: remove ath9k_htc, provided by libre package firmware-ath9k-htc

Started byJohn Scott <jscott@posteo.net>
First post2021-01-21 12:40 +0100
Last post2021-01-24 00:10 +0100
Articles 5 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#980746: remove ath9k_htc, provided by libre package firmware-ath9k-htc John Scott <jscott@posteo.net> - 2021-01-21 12:40 +0100
    Bug#980746: remove ath9k_htc, provided by libre package firmware-ath9k-htc Bastian Blank <waldi@debian.org> - 2021-01-21 13:50 +0100
      Bug#980746: remove ath9k_htc, provided by libre package firmware-ath9k-htc John Scott <jscott@posteo.net> - 2021-01-21 15:30 +0100
        Bug#980746: remove ath9k_htc, provided by libre package firmware-ath9k-htc John Scott <jscott@posteo.net> - 2021-01-24 00:10 +0100
    Processed: Re: Bug#980746: remove ath9k_htc, provided by libre  package firmware-ath9k-htc "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-01-24 00:10 +0100

#69232 — Bug#980746: remove ath9k_htc, provided by libre package firmware-ath9k-htc

FromJohn Scott <jscott@posteo.net>
Date2021-01-21 12:40 +0100
SubjectBug#980746: remove ath9k_htc, provided by libre package firmware-ath9k-htc
Message-ID<BzGtH-46S-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: firmware-nonfree
Version: 20160110-1
Severity: normal
Control: affects -1 src:open-ath9k-htc-firmware

As discussed on the mailing list(s), I'm looking into making a udeb for
firmware-ath9k-htc with kernel-wedge. Although I've not delved too much into
it yet, I anticipate that being able to install the firmware under its
canonical name will at least be helpful, and potentially necessary.

To avoid clashing with the ones provided in firmware-nonfree, I do a hack
where I ship it as e.g. /lib/firmware/ath9k_htc/htc_7010-1.dev.0.fw, and
then install a modprobe option to tell the kernel module to look for it
under that name. This is certainly confusing.

Fortunately because of this crutch, it doesn't need to be fixed atomically.
The firmware can be removed from firmware-nonfree first, then I can switch
the name over, adding Breaks as necessary, at some later time.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (2, 'unstable'), (1, 'testing-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-1-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_USER, TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

[toc] | [next] | [standalone]


#69233

FromBastian Blank <waldi@debian.org>
Date2021-01-21 13:50 +0100
Message-ID<BzHzs-4JC-5@gated-at.bofh.it>
In reply to#69232
On Thu, Jan 21, 2021 at 06:28:16AM -0500, John Scott wrote:
> As discussed on the mailing list(s), I'm looking into making a udeb for
> firmware-ath9k-htc with kernel-wedge.

You missunderstood something.  All the firmware stuff is _only_ shipped
as deb, not as udeb.

> To avoid clashing with the ones provided in firmware-nonfree, I do a hack
> where I ship it as e.g. /lib/firmware/ath9k_htc/htc_7010-1.dev.0.fw, and
> then install a modprobe option to tell the kernel module to look for it
> under that name. This is certainly confusing.

Please provide a proper patch for firmware-nonfree to replace the
currently included firmware with a dependency.

> Fortunately because of this crutch, it doesn't need to be fixed atomically.
> The firmware can be removed from firmware-nonfree first, then I can switch
> the name over, adding Breaks as necessary, at some later time.

You need to remove the problem first.  Then we can properly fix it.

Bastian

-- 
Landru! Guide us!
		-- A Beta 3-oid, "The Return of the Archons", stardate 3157.4

[toc] | [prev] | [next] | [standalone]


#69242

FromJohn Scott <jscott@posteo.net>
Date2021-01-21 15:30 +0100
Message-ID<BzJ8d-5Jo-1@gated-at.bofh.it>
In reply to#69233

[Multipart message — attachments visible in raw view] — view raw

On Thursday, January 21, 2021 7:31:57 AM EST Bastian Blank wrote:
>> As discussed on the mailing list(s), I'm looking into making a udeb for
>> firmware-ath9k-htc with kernel-wedge.
> You missunderstood something.  All the firmware stuff is _only_ shipped
> as deb, not as udeb.
This mail from Ben Hutchings says that I should be making a udeb since this 
firmware is free: https://lists.debian.org/msgid-search/
179d6d32466dd13962a3aab251c45242fbf2d8ae.camel@decadent.org.uk
Although I see what he meant was that kernel-wedge doesn't support this sort 
of thing well yet, and that changes to it will be needed to go that route.

> Please provide a proper patch for firmware-nonfree to replace the
> currently included firmware with a dependency.
If the purpose is to make a smooth transition for those who only have non-free 
firmware installed, but no free firmware installed, then I can do that. Since 
this firmware is free, firmware-linux-free should Recommend it (#900171), and 
I've provided a merge request for that which I'd appreciate review of.

[toc] | [prev] | [next] | [standalone]


#69310

FromJohn Scott <jscott@posteo.net>
Date2021-01-24 00:10 +0100
Message-ID<BAAcy-3x7-5@gated-at.bofh.it>
In reply to#69242

[Multipart message — attachments visible in raw view] — view raw

Control: tags -1 patch

> Please provide a proper patch for firmware-nonfree to replace the
> currently included firmware with a dependency.
I couldn't figure out how to add a Recommends or a dependency; that templates 
are used to generate the control file seems to limit this. In any case I've 
sent an MR for firmware-linux-free to get the Recommends and would appreciate 
review of that.

Here's a patch for the removal from non-free firmware-atheros.

[toc] | [prev] | [next] | [standalone]


#69309 — Processed: Re: Bug#980746: remove ath9k_htc, provided by libre package firmware-ath9k-htc

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2021-01-24 00:10 +0100
SubjectProcessed: Re: Bug#980746: remove ath9k_htc, provided by libre package firmware-ath9k-htc
Message-ID<BAAcx-3x7-3@gated-at.bofh.it>
In reply to#69232
Processing control commands:

> tags -1 patch
Bug #980746 [firmware-nonfree] remove ath9k_htc, provided by libre package firmware-ath9k-htc
Added tag(s) patch.

-- 
980746: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980746
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web