LINUX.ORG.RU

Сообщения ZSkunk

 

Как раскирпичить Lenovo TAB 2 a7-10f?

Всем привет. Пытался я тут прошить рекавери на сабж с использованием format all + download, что привело к окирпичиванию. Причём не просто окирпичиванию, а полному. Планшет не реагирует ни на что, пк определяет как MediaTek Inc. MT6227 phone, а при прошивке такая ошибка:

Total wait time = -1717164462.000000
USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0)
USB port detected: /dev/ttyACM0
Connect BROM failed: S_COM_PORT_OPEN_FAIL
Disconnect!
BROM Exception! ( ERROR : S_COM_PORT_OPEN_FAIL (1013)

[COM] Failed to open COM port.
[HINT]:
)((ConnectBROM,../../../flashtool/Conn/Connection.cpp,85))

Пробовал отсоединять аккум, зажимать кнопки громкости и шить, но ничего не помогло.

 , , ,

ZSkunk
()

Обязательно ли перепаковывать boot.img для прошивок с одинаковыми ядрами и версией android?

Здравствуйте. Я пытаюсь портировать прошивку на lenovo a3000. Порт при запуске показывает splash, после чего процесс загрузки начинается заново. Может ли быть такое из-за непропатченного boot.img?

 , ,

ZSkunk
()

Linux не видит старый android-планшет.

Здравствуйте. Недавно на руках появился Lenovo IdeaTab A3000-H. Я захотел его перепрошить, однако, мой ПК не видит устройство. При подключении кабеля ничего, кроме зарядки нет. dmesg:

[  437.133196] usb usb1-port3: attempt power cycle
[  437.575271] usb 1-3: new low-speed USB device number 14 using xhci_hcd
[  437.603140] usb 1-3: Device not responding to setup address.
[  437.839169] usb 1-3: Device not responding to setup address.
[  438.043269] usb 1-3: device not accepting address 14, error -71
[  438.221269] usb 1-3: new low-speed USB device number 15 using xhci_hcd
[  438.249219] usb 1-3: Device not responding to setup address.
[  438.487248] usb 1-3: Device not responding to setup address.
[  438.691270] usb 1-3: device not accepting address 15, error -71
[  438.693159] usb usb1-port3: unable to enumerate USB device

Я пробовал два кабеля и везде одна ошибка. Другое устройство (Redmi Note 11) ПК спокойно определяет. Может быть, дело в драйверах? Т.к вантуз тоже не видит устройство (сам вантуз не ставил, а только загрузочный образ). Использую дистрибутив Slackware.

 , ,

ZSkunk
()

Добавьте новый эмоджи.

Сабж. Как по мне, на ЛОРе не хватает эмоджи ракеты (🚀).

 ,

ZSkunk
()

Gentoo + nvidia blob - не работает OpenGL

Собственно, сабж.

glxinfo:

name of display: :0
Error: couldn't find RGB GLX visual or fbconfig

nvidia-xconfig --query-gpu-info:

Number of GPUs: 1

GPU #0:
  Name      : NVIDIA GeForce GT 1030
  UUID      : GPU-1630772a-ca6d-c0d2-7952-a93e0bc3c085
  PCI BusID : PCI:1:0:0

  Number of Display Devices: 1

  Display Device 0 (TV-1):
      No EDID information available.

equery u xorg-server:

 * Found these USE flags for x11-base/xorg-server-21.1.10-r1:
 U I
 - - debug      : Enable extra debug codepaths, like asserts and extra output.
                  If you want to get meaningful backtraces see https://wiki.gen
                  too.org/wiki/Project:Quality_Assurance/Backtraces
 + + minimal    : Install a very minimal build (disables, for example, plugins,
                  fonts, most drivers, non-critical features)
 - - suid       : Enable setuid root program(s)
 + + systemd    : Enable use of systemd-specific libraries and features like
                  socket activation or session tracking
 - - test       : Enable dependencies and/or preparations necessary to run
                  tests (usually controlled by FEATURES=test but can be toggled
                  independently)
 + + udev       : Enable virtual/udev integration (device discovery, power and
                  storage device support, etc)
 - - unwind     : Enable libunwind usage for backtraces
 - - xcsecurity : Build Security extension
 - - xephyr     : Build the Xephyr server
 - - xnest      : Build the Xnest server
 + + xorg       : Build the Xorg X server (HIGHLY RECOMMENDED)
 + + xvfb       : Build the Xvfb server

equery u nvidia-drivers:

 * Found these USE flags for x11-drivers/nvidia-drivers-535.146.02:
 U I
 + + X            : Add support for X11
 - + abi_x86_32   : 32-bit (x86) libraries
 + + dist-kernel  : Enable subslot rebuilds on Distribution Kernel upgrades
 - - kernel-open  : Use the open source variant of drivers (Turing/Ampere+ GPUs
                    only, aka GTX 1650+, experimental)
 + + modules      : Build the kernel modules
 - - modules-sign : Cryptographically sign installed kernel modules (requires
                    CONFIG_MODULE_SIG=y in the kernel)
 - + persistenced : Install the persistence daemon for keeping devices state
                    when unused (e.g. for headless)
 + + static-libs  : Install the XNVCtrl static library for accessing sensors
                    and other features
 + + strip        : Allow symbol stripping to be performed by the ebuild for
                    special files
 + + tools        : Install additional tools such as nvidia-settings
 - - wayland      : Enable dev-libs/wayland backend

 , ,

ZSkunk
()

Просьба скрыть аккаунт, топики и комментарии @hamsterxp ото всех.

Сабж. Вот решил я значит почитать свои старые топики и у меня чуть не случился приступ кринжа. Это один большой позор. @maxcom вы можете исполнить мою просьбу?

 

ZSkunk
()

Сделал Read-Only прокси в ЛОР через Yggdrasil

Собсна, сабж. На следующих URI 404:

  • /login.jsp;
  • /register.jsp;
  • /add.jsp.

Что ещё заблокировать и как к этому относится администрация? При необходимости могу перестать проксировать ЛОР в Ygg. Адрес и домен прокси: http://[300:eaff:7fab:181b::e621]:1643, http://lor.skunk.conf

Конфиги:

nginx.conf:

        server {
                listen [300:eaff:7fab:181b::e621]:1643;
                listen [300:eaff:7fab:181b::e621];
                        
                server_name lor.skunk.conf;
                        
                location / {
                        proxy_http_version 1.1;
                        proxy_pass https://www.linux.org.ru/;
                        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                        proxy_set_header X-Real-IP $remote_addr;
                        include nginx_lor.conf;
                }
        }

nginx_lor.conf:

proxy_set_header Accept-Encoding "";
sub_filter_once off;
sub_filter 'https://www.linux.org.ru/' 'http://$server_addr/';
sub_filter_types *;
sub_filter '<script' '<!-- <script';
sub_filter '</script>' '</script> -->';
sub_filter '<img src="/adv/qrator-box.png" width="250" style="max-width: 100%; height: auto" alt="Protected by Qrator">' '';
sub_filter '<a href="https://www.linux.org.ru/register.jsp">Регистрация</a>' '';
sub_filter '<a id="loginbutton" href="https://www.linux.org.ru/login.jsp">Вход</a>' '';
if ($uri ~ "login") {
        return 404;
}
if ($uri ~ "register") {
        return 404;
}
if ($uri ~ "add") {
        return 404;
}

Галерею потом починю, сейчас мне лень этим заниматься.

 , , ,

ZSkunk
()

Стоит ли переходить на БЗДу?

Хочу перейти на FreeBSD или MidnightBSD (ещё, возможно, на OpenBSD). Какая из этих систем лучше всего покажет себя на 5-ой кукурузе с проприетарными дровами от ненавидия? Также к ним есть следущие требования:

  • умение запустить на себе некоторые игры из-под Wine (GMOD, Among Us);
  • умение без дополнительных заморочек использовать Pulseaudio или голый OSS/ALSA, важное требование к которым поболтать по голосовой связи (то есть, одновременно работающий микрофон и колонки);
  • работающий fastboot и adb.

Сможет ли бзда их все выполнить? Сейчас я использую Artix/OpenRC, и хотелось бы использовать этот инит в бзде, дабы не переписывать все сервисы. Стоит ли переходить?

 , , , ,

ZSkunk
()

Сегодня Valve бесплатно раздаёт Half-Life

Акция будет длиться до 20 ноября 2023 года. https://store.steampowered.com/app/70/HalfLife/

 , , ,

ZSkunk
()

Pipewire не видит микрофон

Здравствуйте. Начну с того что я - @hamsterxp, так что баньте старый акк. Ну а теперь к проблеме. PW не видит микрофон. Недавно перешёл с рача на alpine. В отличии от alpine, у него есть пакет pipewire-media-session, который и решал проблему со звуком (с wireplumber всё точно также было на раче). В общем, как решить проблему? Установка pulseaudio её не решает, а только хуже делает (с пульсой вообще звук не работает). Из логов могу предоставить только wireplumber, поскольку я не знаю чем их брать, а PW не стартует как сервис openrc, и не имеет опции -t, как у nginx.

M 20:04:53.499509             mod.rt ../src/modules/module-rt.c:270:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 20:04:53.499534             mod.rt ../src/modules/module-rt.c:637:set_nice: could not set nice-level to -11: No such file or directory
M 20:04:53.500995             mod.rt ../src/modules/module-rt.c:270:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 20:04:53.501005             mod.rt ../src/modules/module-rt.c:874:impl_acquire_rt: could not make thread 5998 realtime using RTKit: No such file or directory
M 20:04:53.505129    m-lua-scripting ../modules/module-lua-scripting/api/config.c:80:load_components: Failed to open module /usr/lib/wireplumber-0.4/libwireplumber-module-logind: Error loading shared library /usr/lib/wireplumber-0.4/libwireplumber-module-logind.so: No such file or directory
M 20:04:53.521606          wp-device ../lib/wp/device.c:619:wp_spa_device_new_from_spa_factory: SPA handle 'api.bluez5.enum.dbus' could not be loaded; is it installed?
M 20:04:53.521627       script/bluez bluez.lua:277:createMonitor: PipeWire's BlueZ SPA missing or broken. Bluetooth not supported.
[1:08:17.491928364] [5997]  INFO Camera camera_manager.cpp:298 libcamera v0.0.5
W 20:04:54.080071 m-portal-permissio ../modules/module-portal-permissionstore.c:63:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x7fde2eea85f0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
M 20:04:54.087035    m-lua-scripting ../modules/module-lua-scripting/api/api.c:376:object_activate_done: <WpSiAudioAdapter:0x7fde2decfbf0> Object activation aborted: proxy destroyed
M 20:04:54.087053 script/create-item create-item.lua:80:chunk: <WpSiAudioAdapter:0x7fde2decfbf0> failed to activate item: Object activation aborted: proxy destroyed

wpctl status:

PipeWire 'pipewire-0' [0.3.70, skunk@ls.i2p, cookie:3867407055]
 └─ Clients:
        31. pipewire                            [0.3.70, skunk@ls.i2p, pid:3793]
        33. WirePlumber                         [0.3.70, skunk@ls.i2p, pid:3792]
        34. WirePlumber [export]                [0.3.70, skunk@ls.i2p, pid:3792]
        37. xdg-desktop-portal                  [0.3.70, skunk@ls.i2p, pid:3615]
        50. Plasma PA                           [0.3.70, skunk@ls.i2p, pid:3711]
        51. wpctl                               [0.3.70, skunk@ls.i2p, pid:5908]
        52. kwin_wayland                        [0.3.70, skunk@ls.i2p, pid:3605]
        59. plasmashell                         [0.3.70, skunk@ls.i2p, pid:3711]

Audio
 ├─ Devices:
 │      38. HDA NVidia                          [alsa]
 │      39. HD-Audio Generic                    [alsa]
 │      40. HD-Audio Generic                    [alsa]
 │  
 ├─ Sinks:
 │  *   32. HD-Audio Generic Analog Stereo      [vol: 0.16]
 │      45. HDA NVidia Digital Stereo (HDMI)    [vol: 0.40 MUTED]
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Video
 ├─ Devices:
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:
        60. kwin_wayland                                                
             58. output_1        > plasmashell:input_1  [init]
        64. plasmashell                                                 
             57. input_1         < kwin_wayland:output_1        [init]

Settings
 └─ Default Configured Node Names:

head -n 5 /proc/asound/card*/codec#*:

==> /proc/asound/card0/codec#0 <==
Codec: Nvidia GPU 81 HDMI/DP
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de0081
Subsystem Id: 0x104385f5

==> /proc/asound/card1/codec#0 <==
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100

==> /proc/asound/card2/codec#0 <==
Codec: Realtek ALC897
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0897
Subsystem Id: 0x104387fb

 , ,

ZSkunk
()

RSS подписка на новые темы