From: Konstantin Lepikhov <lakostis@altlinux.org>
To: devel@lists.altlinux.org
Cc: shrek@altlinux.org, aris@altlinux.org
Subject: Re: [devel] Проблема с работой bluetooth на Raspberry Pi 3 в Simply
Date: Fri, 19 Feb 2021 14:46:40 +0100
Message-ID: <20210219134640.GA2117305@lks.home> (raw)
In-Reply-To: <173131613735549@mail.yandex.ru>
Hi Дмитрий!
On 02/19/2021, at 02:56:11 PM you wrote:
> Здравствуйте!
>
> Я занимаюсь решением проблем с работой встроенного bluetooth на Raspberry Pi 3 в Simply
> https://lists.altlinux.org/pipermail/devel-sbc/2021-January/000262.html
>
> Причина проблемы в том, что пакет brcm-patchram-plus, сделанный под RPi4, на RPi3 не работает.
> Для решения собираю пакет pi-bluetooth:
> https://github.com/RPi-Distro/pi-bluetooth
> и планирую собрать пакеты с firmware:
> https://github.com/RPi-Distro/bluez-firmware
> https://github.com/RPi-Distro/firmware-nonfree
>
> В пакете pi-bluetooth для настройки bluetooth используется программа hciattach из пакета bluez
> В ней прописан путь для поиска firmware: "/etc/firmware" [1]
> Однако, и в Альт и в RaspiOS, откуда я заимствую пакеты, firmware храниться в /lib/firmware.
> hciattach не находит firmware по этому пути.
>
> Для решения этой проблемы в RaspiOS hciattach пропатчен - /etc/firmware заменён на /lib/firmware.
>
> Возможно ли аналогично пропатчить hciattach и в Альт?
>
> To lakostis@: Константин, могу ли я это сделать сам?
>
> [1] http://git.altlinux.org/gears/b/bluez.git?p=bluez.git;a=blob;f=tools/hciattach_bcm43xx.c;h=be82cd0112d3b68d506674e349a3cf8c46c874fc;hb=9db22fec2f06ca881346143c669c90a1eb1d5345#l47
>
> С уважением,
> Дмитрий Терёхин
Если вышеупомятые firmware не пересекаются с существующими файлами из
linux-firmware (скорее всего нет) и в коде hciattach больше ничего не
меняется, то почему бы и нет. В добавок, мне кажется, что путь в
hciattach_bcm43xx.c вообще задан с ошибкой, т.к. другие компоненты
(intel/ti) используют /lib/firmware
PS Я не leader пакета если что ;)
--
WBR et al.
prev parent reply other threads:[~2021-02-19 13:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-19 11:56 Дмитрий Терехин
2021-02-19 13:46 ` Konstantin Lepikhov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210219134640.GA2117305@lks.home \
--to=lakostis@altlinux.org \
--cc=aris@altlinux.org \
--cc=devel@lists.altlinux.org \
--cc=shrek@altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git