Zobrazit příspěvky

Tato sekce Vám umožňuje zobrazit všechny příspěvky tohoto uživatele. Prosím uvědomte si, že můžete vidět příspěvky pouze z oblastí Vám přístupných.


Příspěvky - Jigdo

Stran: 1 ... 17 18 [19] 20 21 ... 26
271
Distribuce / Re:Podpora tiskárny Epson: chybí LSB v Debianu 11
« kdy: 23. 12. 2021, 12:17:30 »
Po pripojeni USB kabelem se tiskarna v dmesg ukaze takto:

Kód: [Vybrat]
[86997.655520] usb 2-1: new high-speed USB device number 4 using xhci_hcd
[86997.815678] usb 2-1: New USB device found, idVendor=04b8, idProduct=114e, bcdDevice= 1.00
[86997.815682] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[86997.815684] usb 2-1: Product: XP-2100 Series
[86997.815686] usb 2-1: Manufacturer: EPSON
[86997.815687] usb 2-1: SerialNumber: 543210123456789012
[86997.844603] usblp 2-1:1.1: usblp2: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x04B8 pid 0x114E
[86997.844642] usbcore: registered new interface driver usblp
[87002.945151] process 'lib/cups/backend/z600' started with executable stack
[87002.968086] usblp2: removed
[87002.982760] usblp 2-1:1.1: usblp2: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x04B8 pid 0x114E
[87080.327513] usblp2: removed
[87096.926419] usblp 2-1:1.1: usblp2: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x04B8 pid 0x114E
[87311.550878] usb 2-1: USB disconnect, device number 4
[87311.552714] usblp2: removed
[87311.871230] usb 2-1: new full-speed USB device number 5 using xhci_hcd
[87311.999188] usb 2-1: device descriptor read/64, error -71
[87312.243238] usb 2-1: device descriptor read/64, error -71
[87312.479268] usb 2-1: new full-speed USB device number 6 using xhci_hcd
[87312.607243] usb 2-1: device descriptor read/64, error -71
[87313.148540] usb 2-1: not running at top speed; connect to a high speed hub
[87313.156604] usb 2-1: New USB device found, idVendor=04b8, idProduct=114e, bcdDevice= 1.00
[87313.156612] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[87313.156615] usb 2-1: Product: XP-2100 Series
[87313.156618] usb 2-1: Manufacturer: EPSON
[87313.156621] usb 2-1: SerialNumber: 543210123456789012
[87313.158740] usb 2-1: can't set config #1, error -71
[88541.952103] usblp 2-1:1.1: usblp2: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04B8 pid 0x114E
[88541.953714] usblp2: removed

Automaticky se nainstaluje ovladac ;) a tisk funguje, ale "scanner" ne :(



sudo sane-find-scanner

Kód: [Vybrat]
  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x04b8, product=0x114e) at libusb:002:006
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.



scanimage -L
Kód: [Vybrat]
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).


Wi-Fi tisk nekdo?


272
Distribuce / Podpora tiskárny Epson: chybí LSB v Debianu 11
« kdy: 23. 12. 2021, 10:54:45 »
Snazim se na Debain 11 64bit rozchodit tiskarnu EPSON XP-2100 serie (kterou uz byvaly majitel nepotrebuje),
ze stranek vyrobce jsem stahnul:
- epson-inkjet-printer-escpr_1.7.17-1lsb3.2_amd64.deb
- epson-printer-utility_1.1.1-1lsb3.2_amd64.deb
- epsonscan2-bundle-6.6.40.0.x86_64.deb.tar.gz

ale zadrhel je v tom ze to chce LSB ktere debian uz nesparvuje podle
https://wiki.debian.org/DebianLsb
a "lsb-release lsb-base" uz mam v systemu nainstalovane a "lsb-compat" je uz jen v Debian 10/Stretch

Zkousel jsem lsb z Centos/RedHat

wget http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/redhat-lsb-4.1-47.el8.x86_64.rpm
sudo alien --to-deb -c redhat-lsb-4.1-47.el8.x86_64.rpm
sudo apt install ./redhat-lsb_4.1-48_amd64.deb

Ale po instalaci stale LSB chybi :(

273
Sítě / SSH tunnel / WireGuard WARP
« kdy: 17. 12. 2021, 12:25:44 »
Na svem PC pouzivam Debian 11 a pres CloudFlare (CF) WARP sluzbu se pripojuji k jejich VPN.

Jakmile se pripojim k VPN prestanou mi fungovat pripojeni k ssh uctum/SSH Tunnel ktere jsou omezeny jen na
moji WAN adresu IPv4/6 a z bezpecnostnich duvodu tam nechi pridavat od CF cely jejich adresni pridel pro IPv4/6.

K tem SSH tunelum pouzivam GNOME SSH Tunnel Manager, ale nepodarilo se mi zjistit
jak udelat to aby GNOME SSH TM obesel ten CF WARP VPN tunnel a namisto toho pouzil moji WAN IP addresu.

Z prikazove radky se pres pres SSH +(GNOME SSH TM) pripojim pres jine zarizeni v lokalni siti kde VPN nebezi na vzdaleny SSH server takto:
Kód: [Vybrat]
ssh -o ProxyCommand="nc --proxy localhost:1080 --proxy-type socks5 %h %p" user@server.name

Ale u GNOME SSH Tunnel Managera se mi to nic nepodarilo .... a pripojeni vzdycky selze pokud mam zapnutou CF WARP VPN.

Napada nekoho nejake reseni?

274
Software / Re:iPrima download
« kdy: 14. 12. 2021, 11:40:07 »
Původní youtoube-dl od čevna nemá žádné updaty a se současnou verzí iprima.cz si neporadí. Aktuální verze yt-dlp stahování z iPrima umí bez problémů, jen pokud byste měl zaplacené předplatné ("iPrima bez reklam"), potřeboval byste navíc změny z téhle větve: https://github.com/stanoarn/yt-dlp/commits/iprima-cookie

Jen jsem se chtel zeptat, postup od @Standa2017 funguje a video je bez reklamy.
Jak se tedy lisi Vam doporucena vetev?

275
Software / [SOLVED] Re:iPrima download
« kdy: 14. 12. 2021, 11:35:35 »
Přihlášení potřebuješ jen v prohlížeči pro nabrání .mpd, které zjistíš přes vývojářské nástroje", u dílu Svatba např.
https://prima-vod-prep-sec.ssl.cdn.cra.cz/oUMaioX7KFxaM5MehbazoA==,1639518297/vod_Prima/_definst_/0137/5679/cze-sd1-sd2-sd3-sd4-hd1-soXPWRzR.smil/manifest.mpd
Použij fork youtube-dl a to yt-dlp https://github.com/yt-dlp/yt-dlp a potom tuhle syntaxi
./yt-dlp -f bestvideo --allow-unplayable-formats *.mpd
+
./yt-dlp -f bestaudio --allow-unplayable-formats *.mpd
a nakonec to muxni např. pomocí ffmpeg.

Uvedeny postup funguje dekuji.

276
Software / iPrima download
« kdy: 13. 12. 2021, 22:34:02 »
Zkousel jsem ted z ceske IP adresy od O2 stahnout jeden dil nejakeho serialu

youtube-dl -F https://prima.iprima.cz/hvezdy-nad-hlavou/svatba-0 --username uzivatel@jeho.email --password jehoheslo --verbose
Kód: [Vybrat]
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-f', u'best', u'https://prima.iprima.cz/hvezdy-nad-hlavou/svatba-0', u'--username', u'PRIVATE', u'--password', u'PRIVATE', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 2.7.16 (CPython) - Linux-5.10.63-v7+-armv7l-with-debian-10.11
[debug] exe versions: ffmpeg 4.1.8, ffprobe 4.1.8
[debug] Proxy map: {}
[IPrima] svatba-0: Downloading webpage
ERROR: Unable to extract real id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/iprima.py", line 91, in _real_extract
    webpage, 'real id')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract real id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

V dokumentaci je iPrima oznacena jako podporovana
https://github.com/ytdl-org/youtube-dl/blob/master/docs/supportedsites.md

Manifest vypada takhle:
Kód: [Vybrat]
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns="urn:mpeg:dash:schema:mpd:2011"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
     profiles="urn:mpeg:dash:profile:isoff-live:2011"
     type="static"
     publishTime="2021-12-13T20:01:07Z"
     mediaPresentationDuration="PT1H6M16.863S"
     minBufferTime="PT1.5S">
<ProgramInformation>
    <Title>0137/5679/cze-sd1-sd2-sd3-sd4-hd1-soXPWRzR.smil</Title>
</ProgramInformation>
<Period id="0" start="PT0.0S">
    <AdaptationSet id="0" group="1" mimeType="video/mp4" maxWidth="1280" maxHeight="720" par="16:9" frameRate="25" segmentAlignment="true" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
        <SegmentTemplate presentationTimeOffset="0" timescale="90000" media="chunk_ctvideo_rid$RepresentationID$_cs$Time$_mpd.m4s" initialization="chunk_ctvideo_rid$RepresentationID$_cinit_mpd.m4s">
            <SegmentTimeline>
                <S t="0" d="720000"/>
                <S d="720000" r="495"/>
                <S d="77670"/>
            </SegmentTimeline>
        </SegmentTemplate>
        <Representation id="p0va0br978266" codecs="avc1.42c01e" width="768" height="432" sar="1:1" bandwidth="978266" />
        <Representation id="p0va0br394370" codecs="avc1.42c015" width="512" height="288" sar="1:1" bandwidth="394370" />
        <Representation id="p0va0br787264" codecs="avc1.42c01e" width="640" height="360" sar="1:1" bandwidth="787264" />
        <Representation id="p0va0br1503948" codecs="avc1.4d401f" width="1024" height="576" sar="1:1" bandwidth="1503948" />
        <Representation id="p0va0br2004716" codecs="avc1.4d401f" width="1280" height="720" sar="1:1" bandwidth="2004716" />
    </AdaptationSet>
    <AdaptationSet id="1" group="2" mimeType="audio/mp4" lang="cze" segmentAlignment="true" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
        <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
        <SegmentTemplate presentationTimeOffset="0" timescale="44100" media="chunk_ctaudio_rid$RepresentationID$_cs$Time$_mpd.m4s" initialization="chunk_ctaudio_rid$RepresentationID$_cinit_mpd.m4s">
            <SegmentTimeline>
                <S t="0" d="352800"/>
                <S d="352800" r="495"/>
                <S d="38058"/>
            </SegmentTimeline>
        </SegmentTemplate>
        <Representation id="p0aa0br128544" codecs="mp4a.40.2" audioSamplingRate="44100" bandwidth="128544">
        </Representation>
        <Representation id="p0aa0br253406" codecs="mp4a.40.2" audioSamplingRate="44100" bandwidth="253406">
        </Representation>
    </AdaptationSet>
</Period>
</MPD>

Jde to nejak stahnout?

277
Hardware / Zprovoznění Dell Photo AIO 922 413c:5109
« kdy: 13. 12. 2021, 16:08:26 »
Snazim se rozchodit scanner u teto tiskarny, ale XSane hlasi: "No devices available", L-I-O-S to same ... :(

Muj system je Debian 11 64bit


Podle toho co pisou na tady
https://www.linuxquestions.org/questions/linux-newbie-8/looking-for-driver-for-dell-aio-922-printer-854344/
Se ma jednat o re-badged Lexmark Z600

Takze hledam ovladace k teto tiskarne a tady
https://askubuntu.com/questions/50144/how-to-install-a-lexmark-z600-series-printer
pisou ze je treba doinstalovat zavislosti:
Kód: [Vybrat]
sudo apt install libstdc++5
a nainstalovat "lexmark.z600-0.4.deb"
https://help.ubuntu.com/community/HardwareSupportComponentsPrinters/LexmarkPrinters?action=AttachFile&do=get&target=lexmark.z600-0.4.deb
Nainstaloval, ale "scanner stale pise ""No devices available""


sudo dmesg
Kód: [Vybrat]
[ 1354.594717] usb 2-2: new full-speed USB device number 5 using xhci_hcd
[ 1354.760486] usb 2-2: New USB device found, idVendor=413c, idProduct=5109, bcdDevice= 0.01
[ 1354.760497] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1354.760502] usb 2-2: Product: Dell Photo AIO 922
[ 1354.760507] usb 2-2: Manufacturer: Dell
[ 1354.760510] usb 2-2: SerialNumber: 4ABCD32
[ 1354.771580] usblp 2-2:1.1: usblp0: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x413C pid 0x5109
[ 1354.780287] hid-generic 0003:413C:5109.0009: hiddev3,hidraw0: USB HID v1.00 Device [Dell Dell Photo AIO 922] on usb-0000:00:14.0-2/input2
[ 1359.923698] usblp0: removed
[ 1359.936560] usblp 2-2:1.1: usblp0: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x413C pid 0x5109


Ale jak jsem pred par dny resil instalaci ovladace pro Canon i-SENSYS MF4370dn,
scanner fungoval i bez radne instalovaneho ovladace, takze jsem predpokladal ze AIO 922 by mohla taky ......

sudo sane-find-scanner
Kód: [Vybrat]
  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x413c [Dell], product=0x5109 [Dell Photo AIO 922]) at libusb:002:005
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel



scanimage -L
scanimage --list-devices
Kód: [Vybrat]
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).



O Dell and Lexmark ani tuk (https://wiki.debian.org/Scanner)


Poradi nekod jakr zprovoznit scanner?




278
Hardware / Re:RPi + TV HAT + Anténa+ [UHF 46 (674 MHz)]
« kdy: 09. 12. 2021, 14:25:07 »
Takze ted jsem koukal do toho TS streamu co jsem zkousel nahrat pred par dny
a je to CAS - Viaccess EMM (kopie vypisu  tady:)
https://paste.debian.net/hidden/cddc07ae/

Takze ted hledam specialni verzi oscam / viaaccess pro pri raspbery pi 3+?

279
Hardware / Re:RPi + TV HAT + Anténa+ [UHF 46 (674 MHz)]
« kdy: 09. 12. 2021, 13:59:38 »
Sorry,

momentalne bezi RaspberryPi 3B+ s Raspberry Pi TV HAT (kde je pripojena antena)
a na maline je nainstalovany Unstable/TVHeadEnd 4.3~1975.g23754f9a6-dmo~bpo10+1

Ano vsechny multiplexy funguji, na Regionalnim 4 (Praha) funguje nekodovane jen Praha TV ...
a jde mi o dekodovani Regionalniho multiplex 4 (Praha).

Ani Antena + modul ani ctecku jeste nemam koupenou (neni to pro mne, jen s tim nekomu pomaham na dalku, a oni sleduji TV jen na PC/Tabletu protoze zadnou nevlastni), jen jsem chtel vedet jestli to nekomu uz jede at do toho zbytecne necpu/me penize.

Ten multiplex ma CAS - Viaccess podle
https://www.parabola.cz/vysilace/cz/regionalni-sit-4/
ale jeste jsem se v tom nevrtal, nemam s dekodovanim na linuxu zadne zkusenosti ....


Co jsem se dival tak i na Slovensku mate dokonce 3 multiplex kodovany v Irdeto podle
https://www.parabola.cz/vysilace/sk/multiplex-4/
od plustelka. Jen pro zajimavost to  Irdeto u Vas je jaka verze, fungovalo by to pro dekodovani na linuxu?


280
Hardware / [SOLVED] Re:Tisk | Canon i-SENSYS MF4370dn - USB/Sit
« kdy: 09. 12. 2021, 13:40:26 »
Takze po preinstalovani (Debian 11) PC, tiskarna/scanner funguje jam ma .....

281
Hardware / Re:Tisk | Canon i-SENSYS MF4370dn - USB/Sit
« kdy: 08. 12. 2021, 10:03:46 »
Vypada to ze problem bude nekde v nastavenin na PC, jelikoz jsem zkousel
instalaci toho sameho ovladace na starem 32bit PC, s ciste nainstalovanym Debian 11
a tisk/scanner funguje v poradku.

282
Hardware / Re:Tisk | Canon i-SENSYS MF4370dn - USB/Sit
« kdy: 03. 12. 2021, 16:15:30 »
Podle Debuggin Problems u Tisku prikladam potrebne informace
https://wiki.ubuntu.com/DebuggingPrintingProblems

sudo cupsctl LogDebugHistory=999999

# sudo dmesg -Tw - Po zapojeni tiskarny a pouzivani scaneru xsane a z prikazeove radky
Kód: [Vybrat]
[Fri Dec  3 14:40:19 2021] usb 2-4: new high-speed USB device number 6 using xhci_hcd
[Fri Dec  3 14:40:19 2021] usb 2-4: New USB device found, idVendor=04a9, idProduct=26ec, bcdDevice= 1.00
[Fri Dec  3 14:40:19 2021] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Fri Dec  3 14:40:19 2021] usb 2-4: Product: MF4360-4390
[Fri Dec  3 14:40:19 2021] usb 2-4: Manufacturer: Canon Inc.
[Fri Dec  3 14:40:19 2021] usb 2-4: SerialNumber: SJFxxxxxxxxxD
[Fri Dec  3 14:40:19 2021] usblp 2-4:1.1: usblp2: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Fri Dec  3 14:40:19 2021] usblp 2-4:1.2: usblp3: USB Bidirectional printer dev 6 if 2 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Fri Dec  3 14:40:24 2021] usblp3: nonzero read bulk status received: -71
[Fri Dec  3 14:40:24 2021] usblp2: removed
[Fri Dec  3 14:40:24 2021] usblp 2-4:1.1: usblp2: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Fri Dec  3 14:40:24 2021] usblp3: removed
[Fri Dec  3 14:40:24 2021] usblp 2-4:1.2: usblp3: USB Bidirectional printer dev 6 if 2 alt 0 proto 2 vid 0x04A9 pid 0x26EC

sudo dmesg -Tw -  Pokus o tisk
Kód: [Vybrat]
[Fri Dec  3 14:49:50 2021] usblp2: removed
[Fri Dec  3 14:49:58 2021] usblp 2-4:1.1: usblp2: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Fri Dec  3 14:49:58 2021] usblp2: removed
[Fri Dec  3 14:49:58 2021] usblp3: removed
[Fri Dec  3 14:49:58 2021] usb 2-4: reset high-speed USB device number 6 using xhci_hcd
[Fri Dec  3 14:49:59 2021] usblp 2-4:1.1: usblp2: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Fri Dec  3 14:49:59 2021] usblp 2-4:1.2: usblp3: USB Bidirectional printer dev 6 if 2 alt 0 proto 2 vid 0x04A9 pid 0x26EC

sudo tail -f /var/log/syslog
Kód: [Vybrat]
Dec  3 15:56:20 LatitudeE7250 kernel: [ 8168.974581] usblp2: removed
Dec  3 15:56:28 LatitudeE7250 kernel: [ 8177.027847] usblp 2-4:1.1: usblp2: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
Dec  3 15:56:28 LatitudeE7250 kernel: [ 8177.027929] usblp2: removed
Dec  3 15:56:28 LatitudeE7250 kernel: [ 8177.027974] usblp3: removed
Dec  3 15:56:28 LatitudeE7250 kernel: [ 8177.158826] usb 2-4: reset high-speed USB device number 6 using xhci_hcd
Dec  3 15:56:28 LatitudeE7250 kernel: [ 8177.341900] usblp 2-4:1.1: usblp2: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
Dec  3 15:56:28 LatitudeE7250 kernel: [ 8177.347838] usblp 2-4:1.2: usblp3: USB Bidirectional printer dev 6 if 2 alt 0 proto 2 vid 0x04A9 pid 0x26EC
Dec  3 15:56:46 LatitudeE7250 dbus-daemon[586]: [system] Activating service name='org.opensuse.CupsPkHelper.Mechanism' requested by ':1.86' (uid=1000 pid=1479 comm="/usr/bin/python3 /usr/share/system-config-printer/") (using servicehelper)
Dec  3 15:56:46 LatitudeE7250 dbus-daemon[586]: [system] Successfully activated service 'org.opensuse.CupsPkHelper.Mechanism'

~$ dpkg -l | grep cnrdrvcups
Kód: [Vybrat]
ii  cnrdrvcups-ufr2-uk                            5.40-1                          amd64        Canon UFR2 Printer Driver for Linux

~$ dpkg -l | grep cnrcups | grep zk
Kód: [Vybrat]
ii  cnrcupsir1643i2zk                             5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsiradv6860zk                            5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsiradvc3822zk                           5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsiradvc3826zk                           5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsiradvc3830zk                           5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsiradvc3835zk                           5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsiradvc568zk                            5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsiradvc5840zk                           5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsiradvc5860zk                           5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsirc1533izk                             5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsirc1538izk                             5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsirc3222lzk                             5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsirc3222zk                              5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsirc3226zk                              5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupslbp12382zk                             5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupslbp1533czk                             5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupslbp1538czk                             5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupslbp233zk                               5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupslbp236zk                               5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupslbp237zk                               5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupslbp720czk                              5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupslbp722czk                              5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsmf12382zk                              5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsmf1538czk                              5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsmf1643izk                              5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsmf450zk                                5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsmf550zk                                5.40-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsmf830czk                               5.30-1                          all          Canon Printer Driver PPD File for Linux.
ii  cnrcupsmf832czk                               5.30-1                          all          Canon Printer Driver PPD File for Linux.


~$ lsmod | grep usb
Kód: [Vybrat]
btusb                  65536  0
btrtl                  24576  1 btusb
btbcm                  20480  1 btusb
btintel                32768  1 btusb
bluetooth             737280  43 btrtl,btintel,btbcm,bnep,btusb,rfcomm
usb_wwan               24576  1 qcserial
usbnet                 53248  3 cdc_mbim,cdc_ncm,cdc_ether
usbserial              61440  2 qcserial,usb_wwan
mii                    16384  1 usbnet
usblp                  28672  0
usbhid                 65536  0
hid                   147456  3 usbhid,hid_multitouch,hid_generic
usbcore               323584  17 usbserial,xhci_hcd,ehci_pci,usbnet,usbhid,qcserial,usblp,cdc_mbim,cdc_ncm,cdc_wdm,usb_wwan,uvcvideo,ehci_hcd,btusb,xhci_pci,cdc_ether
usb_common             16384  4 xhci_hcd,usbcore,uvcvideo,ehci_hcd


$ sudo lsusb
Kód: [Vybrat]
Bus 001 Device 005: ID 0a5c:5804 Broadcom Corp. BCM5880 Secure Applications Processor with fingerprint swipe sensor
Bus 001 Device 004: ID 1bcf:2b8c Sunplus Innovation Technology Inc. Integrated_Webcam_HD
Bus 001 Device 003: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 001 Device 002: ID 8087:8001 Intel Corp. Integrated Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 413c:81b1 Dell Computer Corp. Dell Wireless 5809e Gobi™ 4G LTE Mobile Broadband Card
Bus 002 Device 003: ID 03eb:8453 Atmel Corp. Atmel maXTouch Digitizer
Bus 002 Device 006: ID 04a9:26ec Canon, Inc. MF4360-4390
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


$ sudo lpinfo -v
Kód: [Vybrat]
file cups-pdf:/
network ipps
network https
network beh
file cups-brf:/
network ipp
direct cnusbufr2:/dev/usb/lp2
direct cnusbufr2:/dev/usb/lp3
network http
network lpd
network socket
direct usb://Canon/MF4360-4390%20(UFRII%20LT)?serial=SJFxxxxxxxxxD&interface=1
direct usb://Canon/MF4360-4390%20(FAX)?serial=SJFxxxxxxxxxD&interface=2
network bjnp
network dnssd://Canon%20MF4360-4390(08%3AF4%3AAF)._pdl-datastream._tcp.local/
network dnssd://Canon%20MF4360-4390(08%3AF4%3AAF)._printer._tcp.local/
network socket://192.168.1.107


sudo apt install -y printer-driver-foo2zjs
Kód: [Vybrat]
$ sudo usb_printerid /dev/usb/lp2
GET_DEVICE_ID string:
MFG:Canon;MDL:MF4360-4390 (UFRII LT);CMD:LIPSLX,CPCA;CLS:PRINTER;DES:Canon MF4360-4390 (UFRII LT);

$ sudo usb_printerid /dev/usb/lp3
GET_DEVICE_ID string:
MFG:Canon;MDL:MF4360-4390 (FAX);CMD:FAX,CPCA;CLS:PRINTER;DES:Canon MF4360-4390 (FAX);


$ sudo ls -l /dev/usb/lp* /dev/bus/usb/*/*
Kód: [Vybrat]
crw-rw-rw-  1 root root    189,   0 Dec  3 13:40 /dev/bus/usb/001/001
crw-rw-rw-  1 root root    189,   1 Dec  3 13:40 /dev/bus/usb/001/002
crw-rw-rw-  1 root root    189,   2 Dec  3 13:40 /dev/bus/usb/001/003
crw-rw-rw-  1 root root    189,   3 Dec  3 13:40 /dev/bus/usb/001/004
crw-rw-rw-+ 1 root root    189,   4 Dec  3 13:40 /dev/bus/usb/001/005
crw-rw-rw-  1 root root    189, 128 Dec  3 13:40 /dev/bus/usb/002/001
crw-rw-rw-  1 root root    189, 130 Dec  3 13:40 /dev/bus/usb/002/003
crw-rw-rw-+ 1 root plugdev 189, 131 Dec  3 13:40 /dev/bus/usb/002/004
crw-rw-rw-+ 1 root lp      189, 133 Dec  3 15:28 /dev/bus/usb/002/006
crw-rw-rw-  1 root root    189, 256 Dec  3 13:40 /dev/bus/usb/003/001
crw-rw----  1 root lp      180,   2 Dec  3 15:28 /dev/usb/lp2
crw-rw----  1 root lp      180,   3 Dec  3 15:28 /dev/usb/lp3

Tady jsem si vsiml ze "/dev/usb/lp2" a "/dev/usb/lp3" maji pouze crw-rw---- prava, ale na
DebuggingPrintingProblems pisou:
Check whether the device files for the printer get created and the ownerships ("root lp") and permissions (non-HP: "crw-rw-r--", HP: "crw-rw-r--+") correctly set.

Nemuze to byt kamen urazu? Nemnelo by to byt "crw-rw-r--"?






283
Hardware / Re:Tisk | Canon i-SENSYS MF4370dn - USB/Sit
« kdy: 03. 12. 2021, 14:13:22 »
Daemon for IPP USB printer support

ippusbxd is a userland driver for USB devices supporting the IPP USB specification. It enables these USB printers to be seen as regular network IPP printers.

https://packages.debian.org/buster/ippusbxd

Je v posledni verzi pro Buster, takze predpokladam ze se neco zmenilo a ippusbxd uz neni treba?

284
Hardware / Re:Tisk | Canon i-SENSYS MF4370dn - USB/Sit
« kdy: 03. 12. 2021, 14:09:26 »
Na ceskych strankach canon.cz maji pro i-SENSYS MF4370dn ovladac linux-UFRII-drv-v540-uken-08.tar.gz
Verze souboru: V5.40
Datum vydání: 13 srpna 2021
https://gdlp01.c-wss.com/gds/8/0100007658/25/linux-UFRII-drv-v540-uken-08.tar.gz


Na strankach asia.canon maji novejsi verzi ovladace linux-UFRII-drv-v540-uken-19
File version : V5.40
Last Updated : 25-Oct-2021
https://gdlp01.c-wss.com/gds/0/0100009240/21/linux-UFRII-drv-v540-uken-19.tar.gz


V dokumentaci k ovladaci linux-UFRII-drv-v540-uken-ug.pdf z asia.canon
https://gdlp01.c-wss.com/gds/4/0300029834/09/linux-UFRII-drv-v540-uken-ug.pdf
(p.16) pisou ze:

Evaluated OS
The driver has been confirmed to operate in the following operating systems.
Debian 10.9 (Intel/AMD 32-bit/64-bit, ARM 64-bit)
........



cnsetuputil2 utilitu jsem nezminoval, protoze se ta tiskarna sama v teto utilite
zaregistrovala/ukazala po instalaci ovladace, na konci scriptu byla tato moznost:
http://paste.debian.net/hidden/2c1ce8f4/

Zkousel jsem tiskarnu odebrat a znovu pridat, ale to taky nepomohlo ....


Cups se mi podarilo rozjet, z nejakeho duvodu tam bylo configu:
Kód: [Vybrat]
Listen /run/cups/cups.sock 
Listen /run/cups/cups.sock

misto
Kód: [Vybrat]
# Only listen for connections from the local machine.
Listen localhost:631
Listen /run/cups/cups.sock

Takze CUPS web rozhrani ted funguje, ale to tiskarna stale netiskne :(

Tady je aktualni nastaveni CUPS:
http://paste.debian.net/hidden/4c2348a7/

285
Hardware / Tisk | Canon i-SENSYS MF4370dn - USB/Sit
« kdy: 02. 12. 2021, 15:00:36 »
Snazim se zprovoznit tiskarnu Canon i-SENSYS MF4370dn pod Debian 11
ale nefunguje tisk pres USB/sit. Skaner funguje pres USB v poradku,
pres sit jsem nezkousel. Fax neni pripojeny k tel. lince.

Bohuzel nemam s tiskem pod Linuxem zadne zkusenosti :(


Ovladace "UFR II/UFRII LT Printer Driver for Linux V5.40" jsem nainstalavol odsud
https://asia.canon/en/support/0100924010

Kód: [Vybrat]
curl --doh-url https://doh.mullvad.net/dns-query -kLO https://gdlp01.c-wss.com/gds/0/0100009240/21/linux-UFRII-drv-v540-uken-19.tar.gz
tar -xvzf linux-UFRII-drv-v540-uken-19.tar.gz
cd linux-UFRII-drv-v540-uken
sudo ./install.sh

Vse probehlo v poradku, system vidi tiskarnu, ale pri pokusu o vytisteni "Testovaci stranky" se to v myjobs zastavi :(

Tiskarna je v systemu pod Device URI:
usb://Canon/MF4360-4390%20(UFRII%20LT)?serial=SJFXXXXXXXXXD&interface=1
pro sit:
socket://192.168.1.107:9100

V dmesg logu to hlasilo tohle:
Kód: [Vybrat]
[Thu Dec  2 12:08:48 2021] audit: type=1400 audit(1638443328.253:28): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=4180 comm="cupsd" capability=12  capname="net_admin"
[Thu Dec  2 12:08:48 2021] audit: type=1400 audit(1638443328.265:29): apparmor="DENIED" operation="open" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=4186 comm="cups-browsed" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[Thu Dec  2 12:08:48 2021] audit: type=1400 audit(1638443328.481:30): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=4188 comm="cupsd" capability=12  capname="net_admin"
[Thu Dec  2 12:08:48 2021] audit: type=1400 audit(1638443328.493:31): apparmor="DENIED" operation="open" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=4193 comm="cups-browsed" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[Thu Dec  2 12:08:48 2021] audit: type=1400 audit(1638443328.545:32): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=4193 comm="cups-browsed" capability=23  capname="sys_nice"
[Thu Dec  2 12:13:54 2021] audit: type=1400 audit(1638443635.011:33): apparmor="DENIED" operation="open" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=4252 comm="cups-browsed" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[Thu Dec  2 12:13:54 2021] audit: type=1400 audit(1638443635.067:34): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=4252 comm="cups-browsed" capability=23  capname="sys_nice"


Takze jsem nainstaloval:
Kód: [Vybrat]
sudo apt install apparmor-utils -y
sudo aa-complain cupsd
sudo aa-complain cups-browsed

ted je v logu tohle:
Kód: [Vybrat]
[Thu Dec  2 14:07:39 2021] audit: type=1400 audit(1638450459.643:25): apparmor="ALLOWED" operation="capable" profile="/usr/sbin/cupsd" pid=653 comm="cupsd" capability=12  capname="net_admin"
[Thu Dec  2 14:07:39 2021] audit: type=1400 audit(1638450459.651:26): apparmor="ALLOWED" operation="open" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=706 comm="cups-browsed" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[Thu Dec  2 14:07:39 2021] audit: type=1400 audit(1638450459.651:27): apparmor="ALLOWED" operation="file_mmap" profile="/usr/sbin/cups-browsed" name="/usr/local/lib/AppProtection/libAppProtection.so.21.11.0.3" pid=706 comm="cups-browsed" requested_mask="rm" denied_mask="rm" fsuid=0 ouid=0

Ale vysledek je ten samy, tisk nefunguje :(

Nefunguje ani pristup na http://localhost:631/
Takze jsem zkousel tohle:

Kód: [Vybrat]
sudo cupsctl WebInterface=yes
sudo cupsctl --debug-logging
sudo service cups restart
sudo service cups status[/code
Ale ani tohle nepomohlo :(


Tady je vypis:
[code]$ sudo cupsctl
[sudo] password for xxxxx:
_debug_logging=1
_remote_admin=0
_remote_any=0
_share_printers=0
_user_cancel_any=0
BrowseLocalProtocols=dnssd
DefaultAuthType=Basic
ErrorPolicy=retry-job
JobPrivateAccess=default
JobPrivateValues=default
MaxLogSize=0
PageLogFormat=
SubscriptionPrivateAccess=default
SubscriptionPrivateValues=default
WebInterface=yes




V dmesg ale pise tohle, pri pokusu o tisk:

Kód: [Vybrat]
[Thu Dec  2 14:18:30 2021] usblp3: nonzero read bulk status received: -71
[Thu Dec  2 14:18:30 2021] usblp2: removed
[Thu Dec  2 14:18:31 2021] usblp 1-2:1.1: usblp2: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Thu Dec  2 14:18:31 2021] usblp3: removed
[Thu Dec  2 14:18:31 2021] usblp 1-2:1.2: usblp3: USB Bidirectional printer dev 2 if 2 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Thu Dec  2 14:25:40 2021] usblp2: removed
[Thu Dec  2 14:25:48 2021] usblp 1-2:1.1: usblp2: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Thu Dec  2 14:25:48 2021] usblp2: removed
[Thu Dec  2 14:25:48 2021] usblp3: removed
[Thu Dec  2 14:25:48 2021] usb 1-2: reset high-speed USB device number 2 using xhci_hcd
[Thu Dec  2 14:25:48 2021] usblp 1-2:1.1: usblp2: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26EC
[Thu Dec  2 14:25:48 2021] usblp 1-2:1.2: usblp3: USB Bidirectional printer dev 2 if 2 alt 0 proto 2 vid 0x04A9 pid 0x26EC

 

Diagnosticky log je zde:
http://paste.debian.net/hidden/2b8a2da0/

Stran: 1 ... 17 18 [19] 20 21 ... 26