Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.40 KB | None | 0 0
  1. [ 0.000812] console [tty1] enabled
  2. [ 0.000849] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
  3. [ 0.000889] pid_max: default: 32768 minimum: 301
  4. [ 0.001225] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
  5. [ 0.001259] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
  6. [ 0.002216] Disabling memory control group subsystem
  7. [ 0.002310] CPU: Testing write buffer coherency: ok
  8. [ 0.002742] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
  9. [ 0.003162] Setting up static identity map for 0x100000 - 0x10003c
  10. [ 0.003302] Hierarchical SRCU implementation.
  11. [ 0.003996] smp: Bringing up secondary CPUs ...
  12. [ 0.004798] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
  13. [ 0.005643] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
  14. [ 0.006466] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
  15. [ 0.006571] smp: Brought up 1 node, 4 CPUs
  16. [ 0.006645] SMP: Total of 4 processors activated (153.60 BogoMIPS).
  17. [ 0.006666] CPU: All CPU(s) started in HYP mode.
  18. [ 0.006684] CPU: Virtualization extensions available.
  19. [ 0.007620] devtmpfs: initialized
  20. [ 0.017942] random: get_random_u32 called from bucket_table_alloc+0xfc/0x24c with crng_init=0
  21. [ 0.018544] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
  22. [ 0.018790] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  23. [ 0.018834] futex hash table entries: 1024 (order: 4, 65536 bytes)
  24. [ 0.019408] pinctrl core: initialized pinctrl subsystem
  25. [ 0.020225] NET: Registered protocol family 16
  26. [ 0.022764] DMA: preallocated 1024 KiB pool for atomic coherent allocations
  27. [ 0.027599] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
  28. [ 0.027632] hw-breakpoint: maximum watchpoint size is 8 bytes.
  29. [ 0.027872] Serial: AMBA PL011 UART driver
  30. [ 0.029551] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
  31. [ 0.030069] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
  32. [ 0.061680] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb813000, dmachans=0x1
  33. [ 0.063167] SCSI subsystem initialized
  34. [ 0.063412] usbcore: registered new interface driver usbfs
  35. [ 0.063482] usbcore: registered new interface driver hub
  36. [ 0.063583] usbcore: registered new device driver usb
  37. [ 0.070074] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-03-27 15:45
  38. [ 0.071344] clocksource: Switched to clocksource arch_sys_counter
  39. [ 0.148149] VFS: Disk quotas dquot_6.6.0
  40. [ 0.148264] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  41. [ 0.148467] FS-Cache: Loaded
  42. [ 0.148680] CacheFiles: Loaded
  43. [ 0.157686] NET: Registered protocol family 2
  44. [ 0.158420] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
  45. [ 0.158550] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
  46. [ 0.158753] TCP: Hash tables configured (established 8192 bind 8192)
  47. [ 0.158899] UDP hash table entries: 512 (order: 2, 16384 bytes)
  48. [ 0.158960] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
  49. [ 0.159204] NET: Registered protocol family 1
  50. [ 0.159679] RPC: Registered named UNIX socket transport module.
  51. [ 0.159703] RPC: Registered udp transport module.
  52. [ 0.159722] RPC: Registered tcp transport module.
  53. [ 0.159741] RPC: Registered tcp NFSv4.1 backchannel transport module.
  54. [ 0.161159] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
  55. [ 0.163958] workingset: timestamp_bits=14 max_order=18 bucket_order=4
  56. [ 0.172179] FS-Cache: Netfs 'nfs' registered for caching
  57. [ 0.172805] NFS: Registering the id_resolver key type
  58. [ 0.172851] Key type id_resolver registered
  59. [ 0.172870] Key type id_legacy registered
  60. [ 0.172900] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
  61. [ 0.174858] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
  62. [ 0.175013] io scheduler noop registered
  63. [ 0.175035] io scheduler deadline registered (default)
  64. [ 0.175224] io scheduler cfq registered
  65. [ 0.175245] io scheduler mq-deadline registered
  66. [ 0.175266] io scheduler kyber registered
  67. [ 0.177594] BCM2708FB: allocated DMA memory fad00000
  68. [ 0.177639] BCM2708FB: allocated DMA channel 0 @ bb813000
  69. [ 0.198713] Console: switching to colour frame buffer device 148x39
  70. [ 0.212039] bcm2835-rng 3f104000.rng: hwrng registered
  71. [ 0.212313] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
  72. [ 0.212991] vc-sm: Videocore shared memory driver
  73. [ 0.213399] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
  74. [ 0.227163] brd: module loaded
  75. [ 0.240071] loop: module loaded
  76. [ 0.244104] Loading iSCSI transport class v2.0-870.
  77. [ 0.248731] libphy: Fixed MDIO Bus: probed
  78. [ 0.252783] usbcore: registered new interface driver lan78xx
  79. [ 0.256788] usbcore: registered new interface driver smsc95xx
  80. [ 0.260633] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
  81. [ 0.292397] dwc_otg 3f980000.usb: base=0xf0980000
  82. [ 0.496412] Core Release: 2.80a
  83. [ 0.500223] Setting default values for core params
  84. [ 0.504193] Finished setting default values for core params
  85. [ 0.708396] Using Buffer DMA mode
  86. [ 0.712265] Periodic Transfer Interrupt Enhancement - disabled
  87. [ 0.716148] Multiprocessor Interrupt Enhancement - disabled
  88. [ 0.719992] OTG VER PARAM: 0, OTG VER FLAG: 0
  89. [ 0.723803] Dedicated Tx FIFOs mode
  90. [ 0.727944] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xbad14000 dma = 0xfad14000 len=9024
  91. [ 0.732014] FIQ FSM acceleration enabled for :
  92. Non-periodic Split Transactions
  93. Periodic Split Transactions
  94. High-Speed Isochronous Endpoints
  95. Interrupt/Control Split Transaction hack enabled
  96. [ 0.751541] dwc_otg: Microframe scheduler enabled
  97. [ 0.751591] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x805ed94c
  98. [ 0.755523] WARN::hcd_init_fiq:460: FIQ ASM at 0x805edcb4 length 36
  99. [ 0.759446] WARN::hcd_init_fiq:486: MPHI regs_base at 0xf0006000
  100. [ 0.763451] dwc_otg 3f980000.usb: DWC OTG Controller
  101. [ 0.767472] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
  102. [ 0.771575] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
  103. [ 0.775669] Init: Port Power? op_state=1
  104. [ 0.779661] Init: Power Port (0)
  105. [ 0.783786] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
  106. [ 0.787762] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  107. [ 0.791692] usb usb1: Product: DWC OTG Controller
  108. [ 0.795502] usb usb1: Manufacturer: Linux 4.14.98-v7+ dwc_otg_hcd
  109. [ 0.799303] usb usb1: SerialNumber: 3f980000.usb
  110. [ 0.803714] hub 1-0:1.0: USB hub found
  111. [ 0.807533] hub 1-0:1.0: 1 port detected
  112. [ 0.811783] dwc_otg: FIQ enabled
  113. [ 0.811788] dwc_otg: NAK holdoff enabled
  114. [ 0.811793] dwc_otg: FIQ split-transaction FSM enabled
  115. [ 0.811803] Module dwc_common_port init
  116. [ 0.812035] usbcore: registered new interface driver usb-storage
  117. [ 0.816003] mousedev: PS/2 mouse device common for all mice
  118. [ 0.819947] IR NEC protocol handler initialized
  119. [ 0.823823] IR RC5(x/sz) protocol handler initialized
  120. [ 0.827654] IR RC6 protocol handler initialized
  121. [ 0.831498] IR JVC protocol handler initialized
  122. [ 0.835260] IR Sony protocol handler initialized
  123. [ 0.838992] IR SANYO protocol handler initialized
  124. [ 0.842703] IR Sharp protocol handler initialized
  125. [ 0.846311] IR MCE Keyboard/mouse protocol handler initialized
  126. [ 0.849950] IR XMP protocol handler initialized
  127. [ 0.854245] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
  128. [ 0.858222] bcm2835-cpufreq: min=600000 max=1400000
  129. [ 0.862182] sdhci: Secure Digital Host Controller Interface driver
  130. [ 0.865730] sdhci: Copyright(c) Pierre Ossman
  131. [ 0.869615] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
  132. [ 0.873624] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
  133. [ 0.877434] sdhci-pltfm: SDHCI platform and OF driver helper
  134. [ 0.882610] ledtrig-cpu: registered to indicate activity on CPUs
  135. [ 0.886513] hidraw: raw HID events driver (C) Jiri Kosina
  136. [ 0.890470] usbcore: registered new interface driver usbhid
  137. [ 0.894294] usbhid: USB HID core driver
  138. [ 0.898644] vchiq: vchiq_init_state: slot_zero = bad80000, is_master = 0
  139. [ 0.904009] [vc_sm_connected_init]: start
  140. [ 0.913040] [vc_sm_connected_init]: end - returning 0
  141. [ 0.917440] Initializing XFRM netlink socket
  142. [ 0.921270] NET: Registered protocol family 17
  143. [ 0.925248] Key type dns_resolver registered
  144. [ 0.929306] Registering SWP/SWPB emulation handler
  145. [ 0.933601] registered taskstats version 1
  146. [ 0.943113] uart-pl011 3f201000.serial: cts_event_workaround enabled
  147. [ 0.946977] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
  148. [ 0.952682] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
  149. [ 0.956677] mmc-bcm2835 3f300000.mmc: DMA channel allocated
  150. [ 1.012004] sdhost: log_buf @ bad13000 (fad13000)
  151. [ 1.040503] Indeed it is in host mode hprt0 = 00021501
  152. [ 1.114126] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
  153. [ 1.119667] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  154. [ 1.125124] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  155. [ 1.126707] random: fast init done
  156. [ 1.131368] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
  157. [ 1.137773] of_cfs_init
  158. [ 1.141822] of_cfs_init: OK
  159. [ 1.146188] Waiting for root device /dev/mmcblk0p2...
  160. [ 1.159167] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
  161. [ 1.208375] mmc0: host does not support reading read-only switch, assuming write-enable
  162. [ 1.215287] mmc0: new high speed SDHC card at address 0007
  163. [ 1.219826] mmcblk0: mmc0:0007 SD16G 14.4 GiB
  164. [ 1.225661] mmcblk0: p1 p2
  165. [ 1.242184] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
  166. [ 1.245866] mmc1: new high speed SDIO card at address 0001
  167. [ 1.246206] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
  168. [ 1.261379] usb 1-1: new high-speed USB device number 2 using dwc_otg
  169. [ 1.261978] devtmpfs: mounted
  170. [ 1.265543] Indeed it is in host mode hprt0 = 00001101
  171. [ 1.335079] Freeing unused kernel memory: 1024K
  172. [ 1.511673] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
  173. [ 1.515777] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
  174. [ 1.520515] hub 1-1:1.0: USB hub found
  175. [ 1.524723] hub 1-1:1.0: 4 ports detected
  176. [ 1.752517] systemd[1]: System time before build time, advancing clock.
  177. [ 1.841388] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
  178. [ 1.876293] NET: Registered protocol family 10
  179. [ 1.881527] Segment Routing with IPv6
  180. [ 1.894750] ip_tables: (C) 2000-2006 Netfilter Core Team
  181. [ 1.914977] random: systemd: uninitialized urandom read (16 bytes read)
  182. [ 1.924519] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
  183. [ 1.934022] systemd[1]: Detected architecture arm.
  184. [ 1.968120] systemd[1]: Set hostname to <raspberrypi>.
  185. [ 1.981717] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514
  186. [ 1.986450] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
  187. [ 1.991826] hub 1-1.1:1.0: USB hub found
  188. [ 1.996649] hub 1-1.1:1.0: 3 ports detected
  189. [ 2.011412] random: systemd: uninitialized urandom read (16 bytes read)
  190. [ 2.040591] random: systemd-cryptse: uninitialized urandom read (16 bytes read)
  191. [ 2.101397] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
  192. [ 2.254748] usb 1-1.3: New USB device found, idVendor=04f9, idProduct=2042
  193. [ 2.259516] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  194. [ 2.264279] usb 1-1.3: Product: QL-700
  195. [ 2.268900] usb 1-1.3: Manufacturer: Brother
  196. [ 2.273442] usb 1-1.3: SerialNumber: 000L8Z593643
  197. [ 2.351414] usb 1-1.1.2: new full-speed USB device number 5 using dwc_otg
  198. [ 2.436500] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
  199. [ 2.446785] systemd[1]: Listening on Journal Socket.
  200. [ 2.456545] systemd[1]: Listening on Syslog Socket.
  201. [ 2.466402] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
  202. [ 2.476557] systemd[1]: Listening on udev Control Socket.
  203. [ 2.486679] systemd[1]: Listening on Journal Socket (/dev/log).
  204. [ 2.487865] usb 1-1.1.2: New USB device found, idVendor=046d, idProduct=c52b
  205. [ 2.496221] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
  206. [ 2.496229] usb 1-1.1.2: Product: USB Receiver
  207. [ 2.496238] usb 1-1.1.2: Manufacturer: Logitech
  208. [ 2.514888] systemd[1]: Listening on fsck to fsckd communication Socket.
  209. [ 2.621442] usb 1-1.1.3: new full-speed USB device number 6 using dwc_otg
  210. [ 2.719441] i2c /dev entries driver
  211. [ 2.776661] usb 1-1.1.3: New USB device found, idVendor=046d, idProduct=c534
  212. [ 2.781428] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
  213. [ 2.781440] usb 1-1.1.3: Product: USB Receiver
  214. [ 2.781448] usb 1-1.1.3: Manufacturer: Logitech
  215. [ 2.822669] input: Logitech USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.0/0003:046D:C534.0004/input/input0
  216. [ 2.903364] hid-generic 0003:046D:C534.0004: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-3f980000.usb-1.1.3/input0
  217. [ 2.910998] input: Logitech USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.1/0003:046D:C534.0005/input/input1
  218. [ 2.972256] hid-generic 0003:046D:C534.0005: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-3f980000.usb-1.1.3/input1
  219. [ 3.071590] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
  220. [ 3.149195] systemd-journald[90]: Received request to flush runtime journal from PID 1
  221. [ 3.271454] usb 1-1.1.1: new high-speed USB device number 7 using dwc_otg
  222. [ 3.402055] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800
  223. [ 3.402077] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
  224. [ 3.667443] libphy: lan78xx-mdiobus: probed
  225. [ 3.685768] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): int urb period 64
  226. [ 4.107668] usblp 1-1.3:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x2042
  227. [ 4.107864] usbcore: registered new interface driver usblp
  228. [ 4.189488] brcmfmac: F1 signature read @0x18000000=0x15264345
  229. [ 4.196252] logitech-djreceiver 0003:046D:C52B.0003: hiddev97,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-3f980000.usb-1.1.2/input2
  230. [ 4.199583] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
  231. [ 4.200187] usbcore: registered new interface driver brcmfmac
  232. [ 4.370723] input: Logitech M720 Triathlon as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.2/0003:046D:C52B.0003/0003:046D:405E.0006/input/input2
  233. [ 4.372741] logitech-hidpp-device 0003:046D:405E.0006: input,hidraw3: USB HID v1.11 Keyboard [Logitech M720 Triathlon] on usb-3f980000.usb-1.1.2:1
  234. [ 4.383989] input: Logitech K850 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.2/0003:046D:C52B.0003/0003:046D:4062.0007/input/input3
  235. [ 4.385353] logitech-hidpp-device 0003:046D:4062.0007: input,hidraw4: USB HID v1.11 Keyboard [Logitech K850] on usb-3f980000.usb-1.1.2:2
  236. [ 4.491835] random: crng init done
  237. [ 4.491842] random: 7 urandom warning(s) missed due to ratelimiting
  238. [ 4.564696] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
  239. [ 4.565305] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
  240. [ 5.772827] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  241. [ 5.772848] brcmfmac: power management disabled
  242. [ 5.853579] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
  243. [ 6.177826] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  244. [ 9.115973] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  245. [ 10.722490] fuse init (API version 7.26)
  246. [ 15.117771] logitech-hidpp-device 0003:046D:405E.0006: HID++ 4.5 device connected.
  247. [ 18.401847] logitech-hidpp-device 0003:046D:4062.0007: HID++ 4.5 device connected.
  248. [ 3602.126922] usb 1-1.3: USB disconnect, device number 4
  249. [ 3602.127448] usblp0: removed
  250. [ 3603.705298] usb 1-1.3: new full-speed USB device number 8 using dwc_otg
  251. [ 3603.838628] usb 1-1.3: New USB device found, idVendor=04f9, idProduct=2042
  252. [ 3603.838644] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  253. [ 3603.838653] usb 1-1.3: Product: QL-700
  254. [ 3603.838661] usb 1-1.3: Manufacturer: Brother
  255. [ 3603.838670] usb 1-1.3: SerialNumber: 000L8Z593643
  256. [ 3603.840561] usblp 1-1.3:1.0: usblp0: USB Bidirectional printer dev 8 if 0 alt 0 proto 2 vid 0x04F9 pid 0x2042
  257. [ 4595.232122] uart-pl011 3f201000.serial: no DMA platform data
  258. dmesg: read kernel buffer failed: Operation not permitted
  259. pi@raspberrypi:~/Downloads $ dmesg -c
  260. [ 0.000000] Booting Linux on physical CPU 0x0
  261. [ 0.000000] Linux version 4.14.98-v7+ (dom@dom-XPS-13-9370) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1200 SMP Tue Feb 12 20:27:48 GMT 2019
  262. [ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
  263. [ 0.000000] CPU: div instructions available: patching division code
  264. [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  265. [ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
  266. [ 0.000000] Memory policy: Data cache writealloc
  267. [ 0.000000] cma: Reserved 8 MiB at 0x3ac00000
  268. [ 0.000000] On node 0 totalpages: 242688
  269. [ 0.000000] free_area_init_node: node 0, pgdat 80c85780, node_mem_map ba39f000
  270. [ 0.000000] Normal zone: 2133 pages used for memmap
  271. [ 0.000000] Normal zone: 0 pages reserved
  272. [ 0.000000] Normal zone: 242688 pages, LIFO batch:31
  273. [ 0.000000] percpu: Embedded 17 pages/cpu @ba348000 s38720 r8192 d22720 u69632
  274. [ 0.000000] pcpu-alloc: s38720 r8192 d22720 u69632 alloc=17*4096
  275. [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
  276. [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 240555
  277. [ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1184 bcm2708_fb.fbheight=624 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
  278. [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
  279. [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
  280. [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
  281. [ 0.000000] Memory: 940232K/970752K available (7168K kernel code, 577K rwdata, 2080K rodata, 1024K init, 698K bss, 22328K reserved, 8192K cma-reserved)
  282. [ 0.000000] Virtual kernel memory layout:
  283. vector : 0xffff0000 - 0xffff1000 ( 4 kB)
  284. fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
  285. vmalloc : 0xbb800000 - 0xff800000 (1088 MB)
  286. lowmem : 0x80000000 - 0xbb400000 ( 948 MB)
  287. modules : 0x7f000000 - 0x80000000 ( 16 MB)
  288. .text : 0x80008000 - 0x80800000 (8160 kB)
  289. .init : 0x80b00000 - 0x80c00000 (1024 kB)
  290. .data : 0x80c00000 - 0x80c906d4 ( 578 kB)
  291. .bss : 0x80c97ef8 - 0x80d468f0 ( 699 kB)
  292. [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  293. [ 0.000000] ftrace: allocating 25298 entries in 75 pages
  294. [ 0.000000] Hierarchical RCU implementation.
  295. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
  296. [ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
  297. [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
  298. [ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
  299. [ 0.000022] Switching to timer-based delay loop, resolution 52ns
  300. [ 0.000274] Console: colour dummy device 80x30
  301. [ 0.000812] console [tty1] enabled
  302. [ 0.000849] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
  303. [ 0.000889] pid_max: default: 32768 minimum: 301
  304. [ 0.001225] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
  305. [ 0.001259] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
  306. [ 0.002216] Disabling memory control group subsystem
  307. [ 0.002310] CPU: Testing write buffer coherency: ok
  308. [ 0.002742] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
  309. [ 0.003162] Setting up static identity map for 0x100000 - 0x10003c
  310. [ 0.003302] Hierarchical SRCU implementation.
  311. [ 0.003996] smp: Bringing up secondary CPUs ...
  312. [ 0.004798] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
  313. [ 0.005643] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
  314. [ 0.006466] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
  315. [ 0.006571] smp: Brought up 1 node, 4 CPUs
  316. [ 0.006645] SMP: Total of 4 processors activated (153.60 BogoMIPS).
  317. [ 0.006666] CPU: All CPU(s) started in HYP mode.
  318. [ 0.006684] CPU: Virtualization extensions available.
  319. [ 0.007620] devtmpfs: initialized
  320. [ 0.017942] random: get_random_u32 called from bucket_table_alloc+0xfc/0x24c with crng_init=0
  321. [ 0.018544] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
  322. [ 0.018790] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  323. [ 0.018834] futex hash table entries: 1024 (order: 4, 65536 bytes)
  324. [ 0.019408] pinctrl core: initialized pinctrl subsystem
  325. [ 0.020225] NET: Registered protocol family 16
  326. [ 0.022764] DMA: preallocated 1024 KiB pool for atomic coherent allocations
  327. [ 0.027599] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
  328. [ 0.027632] hw-breakpoint: maximum watchpoint size is 8 bytes.
  329. [ 0.027872] Serial: AMBA PL011 UART driver
  330. [ 0.029551] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
  331. [ 0.030069] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
  332. [ 0.061680] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb813000, dmachans=0x1
  333. [ 0.063167] SCSI subsystem initialized
  334. [ 0.063412] usbcore: registered new interface driver usbfs
  335. [ 0.063482] usbcore: registered new interface driver hub
  336. [ 0.063583] usbcore: registered new device driver usb
  337. [ 0.070074] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-03-27 15:45
  338. [ 0.071344] clocksource: Switched to clocksource arch_sys_counter
  339. [ 0.148149] VFS: Disk quotas dquot_6.6.0
  340. [ 0.148264] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  341. [ 0.148467] FS-Cache: Loaded
  342. [ 0.148680] CacheFiles: Loaded
  343. [ 0.157686] NET: Registered protocol family 2
  344. [ 0.158420] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
  345. [ 0.158550] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
  346. [ 0.158753] TCP: Hash tables configured (established 8192 bind 8192)
  347. [ 0.158899] UDP hash table entries: 512 (order: 2, 16384 bytes)
  348. [ 0.158960] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
  349. [ 0.159204] NET: Registered protocol family 1
  350. [ 0.159679] RPC: Registered named UNIX socket transport module.
  351. [ 0.159703] RPC: Registered udp transport module.
  352. [ 0.159722] RPC: Registered tcp transport module.
  353. [ 0.159741] RPC: Registered tcp NFSv4.1 backchannel transport module.
  354. [ 0.161159] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
  355. [ 0.163958] workingset: timestamp_bits=14 max_order=18 bucket_order=4
  356. [ 0.172179] FS-Cache: Netfs 'nfs' registered for caching
  357. [ 0.172805] NFS: Registering the id_resolver key type
  358. [ 0.172851] Key type id_resolver registered
  359. [ 0.172870] Key type id_legacy registered
  360. [ 0.172900] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
  361. [ 0.174858] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
  362. [ 0.175013] io scheduler noop registered
  363. [ 0.175035] io scheduler deadline registered (default)
  364. [ 0.175224] io scheduler cfq registered
  365. [ 0.175245] io scheduler mq-deadline registered
  366. [ 0.175266] io scheduler kyber registered
  367. [ 0.177594] BCM2708FB: allocated DMA memory fad00000
  368. [ 0.177639] BCM2708FB: allocated DMA channel 0 @ bb813000
  369. [ 0.198713] Console: switching to colour frame buffer device 148x39
  370. [ 0.212039] bcm2835-rng 3f104000.rng: hwrng registered
  371. [ 0.212313] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
  372. [ 0.212991] vc-sm: Videocore shared memory driver
  373. [ 0.213399] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
  374. [ 0.227163] brd: module loaded
  375. [ 0.240071] loop: module loaded
  376. [ 0.244104] Loading iSCSI transport class v2.0-870.
  377. [ 0.248731] libphy: Fixed MDIO Bus: probed
  378. [ 0.252783] usbcore: registered new interface driver lan78xx
  379. [ 0.256788] usbcore: registered new interface driver smsc95xx
  380. [ 0.260633] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
  381. [ 0.292397] dwc_otg 3f980000.usb: base=0xf0980000
  382. [ 0.496412] Core Release: 2.80a
  383. [ 0.500223] Setting default values for core params
  384. [ 0.504193] Finished setting default values for core params
  385. [ 0.708396] Using Buffer DMA mode
  386. [ 0.712265] Periodic Transfer Interrupt Enhancement - disabled
  387. [ 0.716148] Multiprocessor Interrupt Enhancement - disabled
  388. [ 0.719992] OTG VER PARAM: 0, OTG VER FLAG: 0
  389. [ 0.723803] Dedicated Tx FIFOs mode
  390. [ 0.727944] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xbad14000 dma = 0xfad14000 len=9024
  391. [ 0.732014] FIQ FSM acceleration enabled for :
  392. Non-periodic Split Transactions
  393. Periodic Split Transactions
  394. High-Speed Isochronous Endpoints
  395. Interrupt/Control Split Transaction hack enabled
  396. [ 0.751541] dwc_otg: Microframe scheduler enabled
  397. [ 0.751591] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x805ed94c
  398. [ 0.755523] WARN::hcd_init_fiq:460: FIQ ASM at 0x805edcb4 length 36
  399. [ 0.759446] WARN::hcd_init_fiq:486: MPHI regs_base at 0xf0006000
  400. [ 0.763451] dwc_otg 3f980000.usb: DWC OTG Controller
  401. [ 0.767472] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
  402. [ 0.771575] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
  403. [ 0.775669] Init: Port Power? op_state=1
  404. [ 0.779661] Init: Power Port (0)
  405. [ 0.783786] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
  406. [ 0.787762] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  407. [ 0.791692] usb usb1: Product: DWC OTG Controller
  408. [ 0.795502] usb usb1: Manufacturer: Linux 4.14.98-v7+ dwc_otg_hcd
  409. [ 0.799303] usb usb1: SerialNumber: 3f980000.usb
  410. [ 0.803714] hub 1-0:1.0: USB hub found
  411. [ 0.807533] hub 1-0:1.0: 1 port detected
  412. [ 0.811783] dwc_otg: FIQ enabled
  413. [ 0.811788] dwc_otg: NAK holdoff enabled
  414. [ 0.811793] dwc_otg: FIQ split-transaction FSM enabled
  415. [ 0.811803] Module dwc_common_port init
  416. [ 0.812035] usbcore: registered new interface driver usb-storage
  417. [ 0.816003] mousedev: PS/2 mouse device common for all mice
  418. [ 0.819947] IR NEC protocol handler initialized
  419. [ 0.823823] IR RC5(x/sz) protocol handler initialized
  420. [ 0.827654] IR RC6 protocol handler initialized
  421. [ 0.831498] IR JVC protocol handler initialized
  422. [ 0.835260] IR Sony protocol handler initialized
  423. [ 0.838992] IR SANYO protocol handler initialized
  424. [ 0.842703] IR Sharp protocol handler initialized
  425. [ 0.846311] IR MCE Keyboard/mouse protocol handler initialized
  426. [ 0.849950] IR XMP protocol handler initialized
  427. [ 0.854245] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
  428. [ 0.858222] bcm2835-cpufreq: min=600000 max=1400000
  429. [ 0.862182] sdhci: Secure Digital Host Controller Interface driver
  430. [ 0.865730] sdhci: Copyright(c) Pierre Ossman
  431. [ 0.869615] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
  432. [ 0.873624] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
  433. [ 0.877434] sdhci-pltfm: SDHCI platform and OF driver helper
  434. [ 0.882610] ledtrig-cpu: registered to indicate activity on CPUs
  435. [ 0.886513] hidraw: raw HID events driver (C) Jiri Kosina
  436. [ 0.890470] usbcore: registered new interface driver usbhid
  437. [ 0.894294] usbhid: USB HID core driver
  438. [ 0.898644] vchiq: vchiq_init_state: slot_zero = bad80000, is_master = 0
  439. [ 0.904009] [vc_sm_connected_init]: start
  440. [ 0.913040] [vc_sm_connected_init]: end - returning 0
  441. [ 0.917440] Initializing XFRM netlink socket
  442. [ 0.921270] NET: Registered protocol family 17
  443. [ 0.925248] Key type dns_resolver registered
  444. [ 0.929306] Registering SWP/SWPB emulation handler
  445. [ 0.933601] registered taskstats version 1
  446. [ 0.943113] uart-pl011 3f201000.serial: cts_event_workaround enabled
  447. [ 0.946977] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
  448. [ 0.952682] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
  449. [ 0.956677] mmc-bcm2835 3f300000.mmc: DMA channel allocated
  450. [ 1.012004] sdhost: log_buf @ bad13000 (fad13000)
  451. [ 1.040503] Indeed it is in host mode hprt0 = 00021501
  452. [ 1.114126] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
  453. [ 1.119667] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  454. [ 1.125124] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  455. [ 1.126707] random: fast init done
  456. [ 1.131368] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
  457. [ 1.137773] of_cfs_init
  458. [ 1.141822] of_cfs_init: OK
  459. [ 1.146188] Waiting for root device /dev/mmcblk0p2...
  460. [ 1.159167] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
  461. [ 1.208375] mmc0: host does not support reading read-only switch, assuming write-enable
  462. [ 1.215287] mmc0: new high speed SDHC card at address 0007
  463. [ 1.219826] mmcblk0: mmc0:0007 SD16G 14.4 GiB
  464. [ 1.225661] mmcblk0: p1 p2
  465. [ 1.242184] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
  466. [ 1.245866] mmc1: new high speed SDIO card at address 0001
  467. [ 1.246206] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
  468. [ 1.261379] usb 1-1: new high-speed USB device number 2 using dwc_otg
  469. [ 1.261978] devtmpfs: mounted
  470. [ 1.265543] Indeed it is in host mode hprt0 = 00001101
  471. [ 1.335079] Freeing unused kernel memory: 1024K
  472. [ 1.511673] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
  473. [ 1.515777] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
  474. [ 1.520515] hub 1-1:1.0: USB hub found
  475. [ 1.524723] hub 1-1:1.0: 4 ports detected
  476. [ 1.752517] systemd[1]: System time before build time, advancing clock.
  477. [ 1.841388] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
  478. [ 1.876293] NET: Registered protocol family 10
  479. [ 1.881527] Segment Routing with IPv6
  480. [ 1.894750] ip_tables: (C) 2000-2006 Netfilter Core Team
  481. [ 1.914977] random: systemd: uninitialized urandom read (16 bytes read)
  482. [ 1.924519] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
  483. [ 1.934022] systemd[1]: Detected architecture arm.
  484. [ 1.968120] systemd[1]: Set hostname to <raspberrypi>.
  485. [ 1.981717] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514
  486. [ 1.986450] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
  487. [ 1.991826] hub 1-1.1:1.0: USB hub found
  488. [ 1.996649] hub 1-1.1:1.0: 3 ports detected
  489. [ 2.011412] random: systemd: uninitialized urandom read (16 bytes read)
  490. [ 2.040591] random: systemd-cryptse: uninitialized urandom read (16 bytes read)
  491. [ 2.101397] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
  492. [ 2.254748] usb 1-1.3: New USB device found, idVendor=04f9, idProduct=2042
  493. [ 2.259516] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  494. [ 2.264279] usb 1-1.3: Product: QL-700
  495. [ 2.268900] usb 1-1.3: Manufacturer: Brother
  496. [ 2.273442] usb 1-1.3: SerialNumber: 000L8Z593643
  497. [ 2.351414] usb 1-1.1.2: new full-speed USB device number 5 using dwc_otg
  498. [ 2.436500] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
  499. [ 2.446785] systemd[1]: Listening on Journal Socket.
  500. [ 2.456545] systemd[1]: Listening on Syslog Socket.
  501. [ 2.466402] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
  502. [ 2.476557] systemd[1]: Listening on udev Control Socket.
  503. [ 2.486679] systemd[1]: Listening on Journal Socket (/dev/log).
  504. [ 2.487865] usb 1-1.1.2: New USB device found, idVendor=046d, idProduct=c52b
  505. [ 2.496221] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
  506. [ 2.496229] usb 1-1.1.2: Product: USB Receiver
  507. [ 2.496238] usb 1-1.1.2: Manufacturer: Logitech
  508. [ 2.514888] systemd[1]: Listening on fsck to fsckd communication Socket.
  509. [ 2.621442] usb 1-1.1.3: new full-speed USB device number 6 using dwc_otg
  510. [ 2.719441] i2c /dev entries driver
  511. [ 2.776661] usb 1-1.1.3: New USB device found, idVendor=046d, idProduct=c534
  512. [ 2.781428] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
  513. [ 2.781440] usb 1-1.1.3: Product: USB Receiver
  514. [ 2.781448] usb 1-1.1.3: Manufacturer: Logitech
  515. [ 2.822669] input: Logitech USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.0/0003:046D:C534.0004/input/input0
  516. [ 2.903364] hid-generic 0003:046D:C534.0004: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-3f980000.usb-1.1.3/input0
  517. [ 2.910998] input: Logitech USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.1/0003:046D:C534.0005/input/input1
  518. [ 2.972256] hid-generic 0003:046D:C534.0005: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-3f980000.usb-1.1.3/input1
  519. [ 3.071590] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
  520. [ 3.149195] systemd-journald[90]: Received request to flush runtime journal from PID 1
  521. [ 3.271454] usb 1-1.1.1: new high-speed USB device number 7 using dwc_otg
  522. [ 3.402055] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800
  523. [ 3.402077] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
  524. [ 3.667443] libphy: lan78xx-mdiobus: probed
  525. [ 3.685768] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): int urb period 64
  526. [ 4.107668] usblp 1-1.3:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x2042
  527. [ 4.107864] usbcore: registered new interface driver usblp
  528. [ 4.189488] brcmfmac: F1 signature read @0x18000000=0x15264345
  529. [ 4.196252] logitech-djreceiver 0003:046D:C52B.0003: hiddev97,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-3f980000.usb-1.1.2/input2
  530. [ 4.199583] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
  531. [ 4.200187] usbcore: registered new interface driver brcmfmac
  532. [ 4.370723] input: Logitech M720 Triathlon as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.2/0003:046D:C52B.0003/0003:046D:405E.0006/input/input2
  533. [ 4.372741] logitech-hidpp-device 0003:046D:405E.0006: input,hidraw3: USB HID v1.11 Keyboard [Logitech M720 Triathlon] on usb-3f980000.usb-1.1.2:1
  534. [ 4.383989] input: Logitech K850 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.2/0003:046D:C52B.0003/0003:046D:4062.0007/input/input3
  535. [ 4.385353] logitech-hidpp-device 0003:046D:4062.0007: input,hidraw4: USB HID v1.11 Keyboard [Logitech K850] on usb-3f980000.usb-1.1.2:2
  536. [ 4.491835] random: crng init done
  537. [ 4.491842] random: 7 urandom warning(s) missed due to ratelimiting
  538. [ 4.564696] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
  539. [ 4.565305] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
  540. [ 5.772827] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  541. [ 5.772848] brcmfmac: power management disabled
  542. [ 5.853579] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
  543. [ 6.177826] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  544. [ 9.115973] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  545. [ 10.722490] fuse init (API version 7.26)
  546. [ 15.117771] logitech-hidpp-device 0003:046D:405E.0006: HID++ 4.5 device connected.
  547. [ 18.401847] logitech-hidpp-device 0003:046D:4062.0007: HID++ 4.5 device connected.
  548. [ 3602.126922] usb 1-1.3: USB disconnect, device number 4
  549. [ 3602.127448] usblp0: removed
  550. [ 3603.705298] usb 1-1.3: new full-speed USB device number 8 using dwc_otg
  551. [ 3603.838628] usb 1-1.3: New USB device found, idVendor=04f9, idProduct=2042
  552. [ 3603.838644] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  553. [ 3603.838653] usb 1-1.3: Product: QL-700
  554. [ 3603.838661] usb 1-1.3: Manufacturer: Brother
  555. [ 3603.838670] usb 1-1.3: SerialNumber: 000L8Z593643
  556. [ 3603.840561] usblp 1-1.3:1.0: usblp0: USB Bidirectional printer dev 8 if 0 alt 0 proto 2 vid 0x04F9 pid 0x2042
  557. [ 4595.232122] uart-pl011 3f201000.serial: no DMA platform data
  558. [ 5144.270944] usb 1-1.3: USB disconnect, device number 8
  559. [ 5144.271500] usblp0: removed
  560. [ 5147.123731] usb 1-1.3: new full-speed USB device number 9 using dwc_otg
  561. [ 5147.257138] usb 1-1.3: New USB device found, idVendor=04f9, idProduct=2042
  562. [ 5147.257155] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  563. [ 5147.257165] usb 1-1.3: Product: QL-700
  564. [ 5147.257173] usb 1-1.3: Manufacturer: Brother
  565. [ 5147.257181] usb 1-1.3: SerialNumber: 000L8Z593643
  566. [ 5147.259176] usblp 1-1.3:1.0: usblp0: USB Bidirectional printer dev 9 if 0 alt 0 proto 2 vid 0x04F9 pid 0x2042
  567. dmesg: read kernel buffer failed: Operation not permitted
  568. pi@raspberrypi:~/Downloads $ ls /dev/ttyUSB*
  569. ls: cannot access '/dev/ttyUSB*': No such file or directory
  570. pi@raspberrypi:~/Downloads $ ls /dev/
  571. autofs fuse log mmcblk0 ram10 ram9 tty10 tty22 tty34 tty46 tty58 uinput vcs7 zero
  572. block gpiochip0 loop0 mmcblk0p1 ram11 random tty11 tty23 tty35 tty47 tty59 urandom vcsa
  573. btrfs-control gpiochip1 loop1 mmcblk0p2 ram12 raw tty12 tty24 tty36 tty48 tty6 usb vcsa1
  574. bus gpiomem loop2 mqueue ram13 rfkill tty13 tty25 tty37 tty49 tty60 vchiq vcsa2
  575. cachefiles hidraw0 loop3 net ram14 serial1 tty14 tty26 tty38 tty5 tty61 vcio vcsa3
  576. char hidraw1 loop4 network_latency ram15 shm tty15 tty27 tty39 tty50 tty62 vc-mem vcsa4
  577. console hidraw2 loop5 network_throughput ram2 snd tty16 tty28 tty4 tty51 tty63 vcs vcsa5
  578. cpu_dma_latency hidraw3 loop6 null ram3 stderr tty17 tty29 tty40 tty52 tty7 vcs1 vcsa6
  579. cuse hidraw4 loop7 ppp ram4 stdin tty18 tty3 tty41 tty53 tty8 vcs2 vcsa7
  580. disk hwrng loop-control ptmx ram5 stdout tty19 tty30 tty42 tty54 tty9 vcs3 vcsm
  581. fb0 initctl mapper pts ram6 tty tty2 tty31 tty43 tty55 ttyAMA0 vcs4 vhci
  582. fd input mem ram0 ram7 tty0 tty20 tty32 tty44 tty56 ttyprintk vcs5 watchdog
  583. full kmsg memory_bandwidth ram1 ram8 tty1 tty21 tty33 tty45 tty57 uhid vcs6 watchdog0
  584. pi@raspberrypi:~/Downloads $ ls /dev/usb
  585. hiddev0 hiddev1 lp0
  586. pi@raspberrypi:~/Downloads $ brother_ql
  587. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  588. Usage: brother_ql [OPTIONS] COMMAND [ARGS]...
  589.  
  590. Command line interface for the brother_ql Python package.
  591.  
  592. Options:
  593. -b, --backend [pyusb|network|linux_kernel]
  594. -m, --model [QL-500|QL-550|QL-560|QL-570|QL-580N|QL-650TD|QL-700|QL-710W|QL-720NW|QL-800|QL-810W|QL-820NWB|QL-1050|QL-1060N]
  595. -p, --printer PRINTER_IDENTIFIER
  596. The identifier for the printer. This could
  597. be a string like tcp://192.168.1.21:9100 for
  598. a networked printer or
  599. usb://0x04f9:0x2015/000M6Z401370 for a
  600. printer connected via USB.
  601. --debug
  602. --version Show the version and exit.
  603. --help Show this message and exit.
  604.  
  605. Commands:
  606. analyze interpret a binary file containing raster instructions for the...
  607. discover find connected label printers
  608. info list available labels, models etc.
  609. print Print a label
  610. send send an instruction file to the printer
  611. pi@raspberrypi:~/Downloads $ brother_ql print
  612. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  613. Traceback (most recent call last):
  614. File "/home/pi/.local/bin/brother_ql", line 11, in <module>
  615. sys.exit(cli())
  616. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 764, in __call__
  617. return self.main(*args, **kwargs)
  618. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 717, in main
  619. rv = self.invoke(ctx)
  620. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 1137, in invoke
  621. return _process_result(sub_ctx.command.invoke(sub_ctx))
  622. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 956, in invoke
  623. return ctx.invoke(self.callback, **ctx.params)
  624. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 555, in invoke
  625. return callback(*args, **kwargs)
  626. File "/home/pi/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
  627. return f(get_current_context(), *args, **kwargs)
  628. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/cli.py", line 146, in print_cmd
  629. instructions = convert(qlr=qlr, **kwargs)
  630. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/conversion.py", line 46, in convert
  631. label_specs = label_type_specs[label]
  632. KeyError: None
  633. pi@raspberrypi:~/Downloads $ brother_ql
  634. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  635. Usage: brother_ql [OPTIONS] COMMAND [ARGS]...
  636.  
  637. Command line interface for the brother_ql Python package.
  638.  
  639. Options:
  640. -b, --backend [pyusb|network|linux_kernel]
  641. -m, --model [QL-500|QL-550|QL-560|QL-570|QL-580N|QL-650TD|QL-700|QL-710W|QL-720NW|QL-800|QL-810W|QL-820NWB|QL-1050|QL-1060N]
  642. -p, --printer PRINTER_IDENTIFIER
  643. The identifier for the printer. This could
  644. be a string like tcp://192.168.1.21:9100 for
  645. a networked printer or
  646. usb://0x04f9:0x2015/000M6Z401370 for a
  647. printer connected via USB.
  648. --debug
  649. --version Show the version and exit.
  650. --help Show this message and exit.
  651.  
  652. Commands:
  653. analyze interpret a binary file containing raster instructions for the...
  654. discover find connected label printers
  655. info list available labels, models etc.
  656. print Print a label
  657. send send an instruction file to the printer
  658. pi@raspberrypi:~/Downloads $ brother_ql discover
  659. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  660. Traceback (most recent call last):
  661. File "/home/pi/.local/bin/brother_ql", line 11, in <module>
  662. sys.exit(cli())
  663. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 764, in __call__
  664. return self.main(*args, **kwargs)
  665. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 717, in main
  666. rv = self.invoke(ctx)
  667. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 1137, in invoke
  668. return _process_result(sub_ctx.command.invoke(sub_ctx))
  669. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 956, in invoke
  670. return ctx.invoke(self.callback, **ctx.params)
  671. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 555, in invoke
  672. return callback(*args, **kwargs)
  673. File "/home/pi/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
  674. return f(get_current_context(), *args, **kwargs)
  675. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/cli.py", line 47, in discover
  676. discover_and_list_available_devices(backend)
  677. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/cli.py", line 51, in discover_and_list_available_devices
  678. available_devices = discover(backend_identifier=backend)
  679. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/backends/helpers.py", line 19, in discover
  680. be = backend_factory(backend_identifier)
  681. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/backends/__init__.py", line 38, in backend_factory
  682. raise NotImplementedError('Backend %s not implemented.' % backend_name)
  683. NotImplementedError: Backend None not implemented.
  684. pi@raspberrypi:~/Downloads $ set | gerd PATH
  685. bash: gerd: command not found
  686. pi@raspberrypi:~/Downloads $ set | gerp PATH
  687. bash: gerp: command not found
  688. pi@raspberrypi:~/Downloads $ set | grep PATH
  689. PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:~/.local/bin'
  690. XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
  691. XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
  692. local cmd PATH=$PATH:/sbin;
  693. if [[ -z "${CDPATH:-}" || "$cur" == ?(.)?(.)/* ]]; then
  694. for i in ${CDPATH//:/'
  695. PATH=$PATH:/usr/sbin:/sbin:/usr/local/sbin type $1 &> /dev/null
  696. COMPREPLY=($( compgen -W "$( PATH="$PATH:/sbin" lsmod | awk '{if (NR != 1) print $1}' )" -- "$1" ))
  697. local PATH=$PATH:/sbin;
  698. local PATH="$PATH:/sbin:/usr/sbin";
  699. COMPREPLY+=($( compgen -W "$( PATH="$PATH:/sbin" lspci -n | awk '{print $3}')" -- "$cur" ))
  700. local PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin;
  701. COMPREPLY+=($( compgen -W "$( PATH="$PATH:/sbin" lsusb | awk '{print $6}' )" -- "$cur" ))
  702. pi@raspberrypi:~/Downloads $ brother-ql --backend usb discover
  703. bash: brother-ql: command not found
  704. pi@raspberrypi:~/Downloads $ brother_ql --backend usb discover
  705. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  706. Usage: brother_ql [OPTIONS] COMMAND [ARGS]...
  707. Try "brother_ql --help" for help.
  708.  
  709. Error: Invalid value for "-b" / "--backend": invalid choice: usb. (choose from pyusb, network, linux_kernel)
  710. pi@raspberrypi:~/Downloads $ brother_ql --backend pyusb discover
  711. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  712. INFO:brother_ql.output_helpers: Found a label printer: usb://0x04f9:0x2042 (model: unknown)
  713. usb://0x04f9:0x2042
  714. pi@raspberrypi:~/Downloads $ brother_ql --backend pyusb print
  715. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  716. Traceback (most recent call last):
  717. File "/home/pi/.local/bin/brother_ql", line 11, in <module>
  718. sys.exit(cli())
  719. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 764, in __call__
  720. return self.main(*args, **kwargs)
  721. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 717, in main
  722. rv = self.invoke(ctx)
  723. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 1137, in invoke
  724. return _process_result(sub_ctx.command.invoke(sub_ctx))
  725. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 956, in invoke
  726. return ctx.invoke(self.callback, **ctx.params)
  727. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 555, in invoke
  728. return callback(*args, **kwargs)
  729. File "/home/pi/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
  730. return f(get_current_context(), *args, **kwargs)
  731. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/cli.py", line 146, in print_cmd
  732. instructions = convert(qlr=qlr, **kwargs)
  733. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/conversion.py", line 46, in convert
  734. label_specs = label_type_specs[label]
  735. KeyError: None
  736. pi@raspberrypi:~/Downloads $ brother_ql --backend pyusb discover
  737. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  738. INFO:brother_ql.output_helpers: Found a label printer: usb://0x04f9:0x2042 (model: unknown)
  739. usb://0x04f9:0x2042
  740. pi@raspberrypi:~/Downloads $ python3 menu.py
  741. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  742.  
  743. Welcome, Choose an Option
  744. (1) Print a label
  745. (2) Print a label with weight
  746. (3) Read a weight
  747. Enter a Number:1
  748.  
  749. Printed Label Process
  750. What is on Line1: 1
  751. What is on Line2: 2
  752. What is on Line3: 3
  753. sh: 1: brother_ql: not found
  754.  
  755. Welcome, Choose an Option
  756. (1) Print a label
  757. (2) Print a label with weight
  758. (3) Read a weight
  759. Enter a Number:^Z
  760. [5]+ Stopped python3 menu.py
  761. pi@raspberrypi:~/Downloads $ export BROTHER_QL_PRINTER=USB://0x04f9:0x2042
  762. pi@raspberrypi:~/Downloads $ export BROTHER_QL_MODEL=QL-700
  763. pi@raspberrypi:~/Downloads $ botther_ql print -1 label.png
  764. bash: botther_ql: command not found
  765. pi@raspberrypi:~/Downloads $ brother_ql print -1 label.png
  766. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  767. Usage: brother_ql print [OPTIONS] IMAGE [IMAGE] ...
  768. Try "brother_ql print --help" for help.
  769.  
  770. Error: no such option: -1
  771. pi@raspberrypi:~/Downloads $ brother_ql print -1 62 label.png
  772. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  773. Usage: brother_ql print [OPTIONS] IMAGE [IMAGE] ...
  774. Try "brother_ql print --help" for help.
  775.  
  776. Error: no such option: -1
  777. pi@raspberrypi:~/Downloads $ brother_ql print -l 62 label.png
  778. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  779. INFO:brother_ql.backends.helpers:No backend stated. Selecting the default linux_kernel backend.
  780. Traceback (most recent call last):
  781. File "/home/pi/.local/bin/brother_ql", line 11, in <module>
  782. sys.exit(cli())
  783. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 764, in __call__
  784. return self.main(*args, **kwargs)
  785. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 717, in main
  786. rv = self.invoke(ctx)
  787. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 1137, in invoke
  788. return _process_result(sub_ctx.command.invoke(sub_ctx))
  789. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 956, in invoke
  790. return ctx.invoke(self.callback, **ctx.params)
  791. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 555, in invoke
  792. return callback(*args, **kwargs)
  793. File "/home/pi/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
  794. return f(get_current_context(), *args, **kwargs)
  795. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/cli.py", line 147, in print_cmd
  796. send(instructions=instructions, printer_identifier=printer, backend_identifier=backend, blocking=True)
  797. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/backends/helpers.py", line 57, in send
  798. printer = BrotherQLBackend(printer_identifier)
  799. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/backends/linux_kernel.py", line 45, in __init__
  800. self.dev = os.open(device_specifier, os.O_RDWR)
  801. FileNotFoundError: [Errno 2] No such file or directory: 'USB://0x04f9:0x2042'
  802. pi@raspberrypi:~/Downloads $ export BROTHER_QL_PRINTER=usb://0x04f9:0x2042
  803. pi@raspberrypi:~/Downloads $ brother_ql print -l 62 label.png
  804. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  805. Traceback (most recent call last):
  806. File "/home/pi/.local/bin/brother_ql", line 11, in <module>
  807. sys.exit(cli())
  808. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 764, in __call__
  809. return self.main(*args, **kwargs)
  810. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 717, in main
  811. rv = self.invoke(ctx)
  812. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 1137, in invoke
  813. return _process_result(sub_ctx.command.invoke(sub_ctx))
  814. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 956, in invoke
  815. return ctx.invoke(self.callback, **ctx.params)
  816. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 555, in invoke
  817. return callback(*args, **kwargs)
  818. File "/home/pi/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
  819. return f(get_current_context(), *args, **kwargs)
  820. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/cli.py", line 147, in print_cmd
  821. send(instructions=instructions, printer_identifier=printer, backend_identifier=backend, blocking=True)
  822. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/backends/helpers.py", line 57, in send
  823. printer = BrotherQLBackend(printer_identifier)
  824. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/backends/pyusb.py", line 85, in __init__
  825. raise ValueError('Device not found')
  826. ValueError: Device not found
  827. pi@raspberrypi:~/Downloads $ export BROTHER_QL_PRINTER=usb://0x04f9:0x2042
  828. pi@raspberrypi:~/Downloads $ export BROTHER_QL_MODEL=QL-700
  829. pi@raspberrypi:~/Downloads $ brother_ql print -l 62 label.png
  830. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  831. Traceback (most recent call last):
  832. File "/home/pi/.local/bin/brother_ql", line 11, in <module>
  833. sys.exit(cli())
  834. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 764, in __call__
  835. return self.main(*args, **kwargs)
  836. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 717, in main
  837. rv = self.invoke(ctx)
  838. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 1137, in invoke
  839. return _process_result(sub_ctx.command.invoke(sub_ctx))
  840. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 956, in invoke
  841. return ctx.invoke(self.callback, **ctx.params)
  842. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 555, in invoke
  843. return callback(*args, **kwargs)
  844. File "/home/pi/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
  845. return f(get_current_context(), *args, **kwargs)
  846. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/cli.py", line 147, in print_cmd
  847. send(instructions=instructions, printer_identifier=printer, backend_identifier=backend, blocking=True)
  848. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/backends/helpers.py", line 57, in send
  849. printer = BrotherQLBackend(printer_identifier)
  850. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/backends/pyusb.py", line 85, in __init__
  851. raise ValueError('Device not found')
  852. ValueError: Device not found
  853. pi@raspberrypi:~/Downloads $ brother_ql print -l 62 label.png
  854. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  855. Traceback (most recent call last):
  856. File "/home/pi/.local/bin/brother_ql", line 11, in <module>
  857. sys.exit(cli())
  858. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 764, in __call__
  859. return self.main(*args, **kwargs)
  860. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 717, in main
  861. rv = self.invoke(ctx)
  862. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 1137, in invoke
  863. return _process_result(sub_ctx.command.invoke(sub_ctx))
  864. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 956, in invoke
  865. return ctx.invoke(self.callback, **ctx.params)
  866. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 555, in invoke
  867. return callback(*args, **kwargs)
  868. File "/home/pi/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
  869. return f(get_current_context(), *args, **kwargs)
  870. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/cli.py", line 147, in print_cmd
  871. send(instructions=instructions, printer_identifier=printer, backend_identifier=backend, blocking=True)
  872. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/backends/helpers.py", line 57, in send
  873. printer = BrotherQLBackend(printer_identifier)
  874. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/backends/pyusb.py", line 94, in __init__
  875. assert self.dev.is_kernel_driver_active(0)
  876. File "/home/pi/.local/lib/python3.5/site-packages/usb/core.py", line 1061, in is_kernel_driver_active
  877. self._ctx.managed_open()
  878. File "/home/pi/.local/lib/python3.5/site-packages/usb/core.py", line 102, in wrapper
  879. return f(self, *args, **kwargs)
  880. File "/home/pi/.local/lib/python3.5/site-packages/usb/core.py", line 120, in managed_open
  881. self.handle = self.backend.open_device(self.dev)
  882. File "/home/pi/.local/lib/python3.5/site-packages/usb/backend/libusb1.py", line 786, in open_device
  883. return _DeviceHandle(dev)
  884. File "/home/pi/.local/lib/python3.5/site-packages/usb/backend/libusb1.py", line 643, in __init__
  885. _check(_lib.libusb_open(self.devid, byref(self.handle)))
  886. File "/home/pi/.local/lib/python3.5/site-packages/usb/backend/libusb1.py", line 595, in _check
  887. raise USBError(_strerror(ret), ret, _libusb_errno[ret])
  888. usb.core.USBError: [Errno 13] Access denied (insufficient permissions)
  889. pi@raspberrypi:~/Downloads $ chmod 777 /dev/usb/lp0
  890. chmod: changing permissions of '/dev/usb/lp0': Operation not permitted
  891. pi@raspberrypi:~/Downloads $ sudo chmod 777 /dev/usb/lp0
  892. pi@raspberrypi:~/Downloads $ brother_ql print -l 62 label.png
  893. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  894. Traceback (most recent call last):
  895. File "/home/pi/.local/bin/brother_ql", line 11, in <module>
  896. sys.exit(cli())
  897. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 764, in __call__
  898. return self.main(*args, **kwargs)
  899. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 717, in main
  900. rv = self.invoke(ctx)
  901. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 1137, in invoke
  902. return _process_result(sub_ctx.command.invoke(sub_ctx))
  903. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 956, in invoke
  904. return ctx.invoke(self.callback, **ctx.params)
  905. File "/home/pi/.local/lib/python3.5/site-packages/click/core.py", line 555, in invoke
  906. return callback(*args, **kwargs)
  907. File "/home/pi/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func
  908. return f(get_current_context(), *args, **kwargs)
  909. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/cli.py", line 147, in print_cmd
  910. send(instructions=instructions, printer_identifier=printer, backend_identifier=backend, blocking=True)
  911. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/backends/helpers.py", line 57, in send
  912. printer = BrotherQLBackend(printer_identifier)
  913. File "/home/pi/.local/lib/python3.5/site-packages/brother_ql/backends/pyusb.py", line 94, in __init__
  914. assert self.dev.is_kernel_driver_active(0)
  915. File "/home/pi/.local/lib/python3.5/site-packages/usb/core.py", line 1061, in is_kernel_driver_active
  916. self._ctx.managed_open()
  917. File "/home/pi/.local/lib/python3.5/site-packages/usb/core.py", line 102, in wrapper
  918. return f(self, *args, **kwargs)
  919. File "/home/pi/.local/lib/python3.5/site-packages/usb/core.py", line 120, in managed_open
  920. self.handle = self.backend.open_device(self.dev)
  921. File "/home/pi/.local/lib/python3.5/site-packages/usb/backend/libusb1.py", line 786, in open_device
  922. return _DeviceHandle(dev)
  923. File "/home/pi/.local/lib/python3.5/site-packages/usb/backend/libusb1.py", line 643, in __init__
  924. _check(_lib.libusb_open(self.devid, byref(self.handle)))
  925. File "/home/pi/.local/lib/python3.5/site-packages/usb/backend/libusb1.py", line 595, in _check
  926. raise USBError(_strerror(ret), ret, _libusb_errno[ret])
  927. usb.core.USBError: [Errno 13] Access denied (insufficient permissions)
  928. pi@raspberrypi:~/Downloads $ python3 menu.py
  929. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  930.  
  931. Welcome, Choose an Option
  932. (1) Print a label
  933. (2) Print a label with weight
  934. (3) Read a weight
  935. Enter a Number:1
  936.  
  937. Printed Label Process
  938. What is on Line1: 1
  939. What is on Line2: 2
  940. What is on Line3: 3
  941. sh: 1: brother_ql: not found
  942.  
  943. Welcome, Choose an Option
  944. (1) Print a label
  945. (2) Print a label with weight
  946. (3) Read a weight
  947. Enter a Number:^[[A^Z
  948. [6]+ Stopped python3 menu.py
  949. pi@raspberrypi:~/Downloads $ export BROTHER_QL_PRINTER=file:///dev/usb/lp0
  950. pi@raspberrypi:~/Downloads $ brother_ql print -l 62 label.png
  951. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  952. INFO:brother_ql.backends.helpers:Sending instructions to the printer. Total: 103373 bytes.
  953. INFO:brother_ql.backends.helpers:Printing was successful. Waiting for the next job.
  954. pi@raspberrypi:~/Downloads $ python3 menu.py
  955. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  956.  
  957. Welcome, Choose an Option
  958. (1) Print a label
  959. (2) Print a label with weight
  960. (3) Read a weight
  961. Enter a Number:1
  962.  
  963. Printed Label Process
  964. What is on Line1: Hello
  965. What is on Line2: World
  966. What is on Line3: Lawl
  967. sh: 1: brother_ql: not found
  968.  
  969. Welcome, Choose an Option
  970. (1) Print a label
  971. (2) Print a label with weight
  972. (3) Read a weight
  973. Enter a Number:^Z
  974. [7]+ Stopped python3 menu.py
  975. pi@raspberrypi:~/Downloads $ brother_ql print -l 62 label.png
  976. deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
  977. INFO:brother_ql.backends.helpers:Sending instructions to the printer. Total: 103373 bytes.
  978. INFO:brother_ql.backends.helpers:Printing was successful. Waiting for the next job.
  979. pi@raspberrypi:~/Downloads $ export BROTHER_QL_PRINTER=file:///dev/usb/lp0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement