ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Проблема с работой bluetooth на Raspberry Pi 3 в Simply
@ 2021-02-19 11:56 Дмитрий Терехин
  2021-02-19 13:46 ` Konstantin Lepikhov
  0 siblings, 1 reply; 2+ messages in thread
From: Дмитрий Терехин @ 2021-02-19 11:56 UTC (permalink / raw)
  To: devel

Здравствуйте!

Я занимаюсь решением проблем с работой встроенного 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

С уважением,
Дмитрий Терёхин



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [devel] Проблема с работой bluetooth на Raspberry Pi 3 в Simply
  2021-02-19 11:56 [devel] Проблема с работой bluetooth на Raspberry Pi 3 в Simply Дмитрий Терехин
@ 2021-02-19 13:46 ` Konstantin Lepikhov
  0 siblings, 0 replies; 2+ messages in thread
From: Konstantin Lepikhov @ 2021-02-19 13:46 UTC (permalink / raw)
  To: devel; +Cc: shrek, aris

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-19 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19 11:56 [devel] Проблема с работой bluetooth на Raspberry Pi 3 в Simply Дмитрий Терехин
2021-02-19 13:46 ` Konstantin Lepikhov

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