ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Speccyfighter <zxwarior@yandex.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] p10, KDE5, подключение флешек, нет уведомления при подключении
Date: Sat, 28 Aug 2021 18:26:56 +0300
Message-ID: <15363371630164416@vla1-f9f1a056fcaa.qloud-c.yandex.net> (raw)
In-Reply-To: <CAFE-3XagGAqEEojwPkn9_2JcbRtCLfhD+UPugh+_knsgL5rkeA@mail.gmail.com>

> Hi!
> 
>>> Подтверждаю, но не на p10, а в сизифе.
>> Можно повесить на KDE. Посмотрим, что будет после обновления.
> 
> Обновил сегодня до 5.22.4, ситуация не изменилась.
> 
> --
> Всего доброго,
> 
> Денис.

Подтверждаю на чистом стартерките alt-p10-kde5-20210805-x86_64 в лайв режиме.
Программно-аппаратный метод обхода этого косяка уведомлений Диски и устройства
настолько любопытен, что не удержался ответить. Он вас точно улыбнёт :-)

Создайте "кривую" флешку:

- Через dd из /dev/zero забейте на флешке первые 10 мегабайт нулями.
- В gparted создайте на флешке файловую систему fat32 (таблицу разделов не создавать!).
  После операции, в MBR будет сигнатура 55 aa, но вся таблица будет в нуле.
  И будет отсутствовать тип таблицы.

Если первый раз подключить к порту какую-нибудь флешку, уведомление в трее её отобразит.
Если эту флешку извлечь из порта и подключить снова, уведомление её не отобразит.
Но если извлечь эту флешку и подключить "кривую" флешку, уведомление отобразит эту
"кривую" флешку. Причём повторное подключение "кривой" флешки, уведомление не отображает.
Но уведомление отобразит ту другую флешку, которая не хотела отображаться.
Кратко суть в том, чтобы между подключениями нужных флешек, в порт вставлять "кривую" флешку.

Честно говоря мне непонятна логика такой работы уведомлений о подключаемых устройствах.
Но такой эквилибристикой, можно заставить флешки отображаться в уведомлении в трее p10-kde5  :-)
Метод был обнаружен совершенно случайно, через анализ структуры флешки и MBR.


  parent reply	other threads:[~2021-08-28 15:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16 10:41 Denis G. Samsonenko
2021-08-16 10:56 ` Sergey V Turchin
2021-08-16 11:06   ` Denis G. Samsonenko
2021-08-16 11:01 ` Denis G. Samsonenko
2021-08-16 11:19   ` Sergey V Turchin
2021-08-17  3:30     ` Denis G. Samsonenko
2021-08-17  7:33       ` Sergey V Turchin
2021-08-17  9:09         ` Denis G. Samsonenko
2021-08-17  9:32           ` Sergey V Turchin
2021-08-17 10:44             ` Denis G. Samsonenko
2021-08-17 10:54               ` Peter Evdokimov
2021-08-17 11:07                 ` Sergey V Turchin
2021-08-17 14:10                   ` Denis G. Samsonenko
2021-08-18  3:06                   ` Denis G. Samsonenko
2021-08-25 15:25                     ` Anton Gorlov
2021-08-26  3:18                       ` Denis G. Samsonenko
2021-08-28 18:42                         ` Peter Evdokimov
2021-08-28 15:26                     ` Speccyfighter [this message]
2021-08-17  9:42 ` Sergey V Turchin

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=15363371630164416@vla1-f9f1a056fcaa.qloud-c.yandex.net \
    --to=zxwarior@yandex.ru \
    --cc=community@lists.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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git