[WORK IN PROGRESS] HELP NEEDED ! - heavy domoticz config, some hardware trouble

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

[WORK IN PROGRESS] HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by multinet »

Hello

I'm using domoticz v3.4834 (stable) on rpi2 with :
- a rfxcom 433e (and up to 20 device in rfxcomm)
- a zwave+ dongle sigma (and up to 10 device in zwave)
- a teleinfo stick (for powerconsumption) : this one http://www.suiviconso.fr/
- a powered usb hub with
- an usb key
- a tnt dongle (not for domoticz, used for flightradar24.com)

I have created a udev rules to have the same symlink on each boot

Code: Select all

pi@domoticz:/etc/udev/rules.d$ cat 99-usb-rules.rules 
SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="RFXCOM", ENV{ID_MODEL}=="RFXtrx433", SYMLINK+="ttyUSB-RFXCOM"
SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="SUIVICONSO.FR", ENV{ID_MODEL}=="TeleinfoStick_V3", SYMLINK+="ttyUSB-EDF"
SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="0658", ENV{ID_MODEL}=="0200", SYMLINK+="ttyUSB-ZWAVE"

Code: Select all

pi@domoticz:/etc/udev/rules.d$ ls -al /dev/tty
tty            tty12          tty17          tty21          tty26          tty30          tty35          tty4           tty44          tty49          tty53          tty58          tty62          ttyACM0        ttyUSB-RFXCOM  
tty0           tty13          tty18          tty22          tty27          tty31          tty36          tty40          tty45          tty5           tty54          tty59          tty63          ttyAMA0        
tty1           tty14          tty19          tty23          tty28          tty32          tty37          tty41          tty46          tty50          tty55          tty6           tty7           ttyprintk      
tty10          tty15          tty2           tty24          tty29          tty33          tty38          tty42          tty47          tty51          tty56          tty60          tty8           ttyUSB0        
tty11          tty16          tty20          tty25          tty3           tty34          tty39          tty43          tty48          tty52          tty57          tty61          tty9           ttyUSB-EDF     

My trouble is that sometimes I don't have the zwave dongle on boot, sometimes, it is the teleinfo stick
I don't understand why.


In the dmesg i found this : device descriptor read/64, error -32
But i don't know what is it

Thanks for your help
Multinet

here you have the result of dmesg :
pi@domoticz:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.19-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #858 SMP Tue Mar 15 15:56:00 GMT 2016
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi 2 Model B Rev 1.1
[ 0.000000] cma: Reserved 8 MiB at 0x3a400000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 241664
[ 0.000000] free_area_init_node: node 0, pgdat 80880fc0, node_mem_map b9bb4000
[ 0.000000] Normal zone: 2124 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 241664 pages, LIFO batch:31
[ 0.000000] [bcm2709_smp_init_cpus] enter (9420->f3003010)
[ 0.000000] [bcm2709_smp_init_cpus] ncores=4
[ 0.000000] PERCPU: Embedded 12 pages/cpu @bafb0000 s20416 r8192 d20544 u49152
[ 0.000000] pcpu-alloc: s20416 r8192 d20544 u49152 alloc=12*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 239540
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa01041 bcm2709.serial=0x975b3215 smsc95xx.macaddr=B8:27:EB:5B:32:15 bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 939376K/966656K available (6064K kernel code, 534K rwdata, 1664K rodata, 444K init, 757K bss, 19088K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xbb800000 - 0xff000000 (1080 MB)
lowmem : 0x80000000 - 0xbb000000 ( 944 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x807945f0 (7730 kB)
.init : 0x80795000 - 0x80804000 ( 444 kB)
.data : 0x80804000 - 0x80889b10 ( 535 kB)
.bss : 0x8088c000 - 0x809497dc ( 758 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] NR_IRQS:608
[ 0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000012] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000034] Switching to timer-based delay loop, resolution 52ns
[ 0.000318] Console: colour dummy device 80x30
[ 0.001468] console [tty1] enabled
[ 0.001524] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.001600] pid_max: default: 32768 minimum: 301
[ 0.001987] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002038] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.003311] Initializing cgroup subsys blkio
[ 0.003383] Initializing cgroup subsys memory
[ 0.003439] Initializing cgroup subsys devices
[ 0.003491] Initializing cgroup subsys freezer
[ 0.003555] Initializing cgroup subsys net_cls
[ 0.003655] CPU: Testing write buffer coherency: ok
[ 0.003766] ftrace: allocating 20313 entries in 60 pages
[ 0.052868] CPU0: update cpu_capacity 1024
[ 0.052945] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.052985] [bcm2709_smp_prepare_cpus] enter
[ 0.053143] Setting up static identity map for 0x8240 - 0x8274
[ 0.055679] [bcm2709_boot_secondary] cpu:1 started (0) 17
[ 0.056121] [bcm2709_secondary_init] enter cpu:1
[ 0.056181] CPU1: update cpu_capacity 1024
[ 0.056190] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 0.056772] [bcm2709_boot_secondary] cpu:2 started (0) 18
[ 0.057129] [bcm2709_secondary_init] enter cpu:2
[ 0.057160] CPU2: update cpu_capacity 1024
[ 0.057168] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 0.057711] [bcm2709_boot_secondary] cpu:3 started (0) 17
[ 0.057968] [bcm2709_secondary_init] enter cpu:3
[ 0.057998] CPU3: update cpu_capacity 1024
[ 0.058006] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[ 0.058098] Brought up 4 CPUs
[ 0.058209] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.058242] CPU: All CPU(s) started in HYP mode.
[ 0.058272] CPU: Virtualization extensions available.
[ 0.059297] devtmpfs: initialized
[ 0.083080] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.083444] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.084622] pinctrl core: initialized pinctrl subsystem
[ 0.085444] NET: Registered protocol family 16
[ 0.091125] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.092368] bcm2709.uart_clock = 3000000
[ 0.097343] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.097405] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.097627] Serial: AMBA PL011 UART driver
[ 0.097833] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev2
[ 0.098449] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.174156] bcm2708-dmaengine 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0xf35
[ 0.174248] bcm2708-dmaengine 3f007000.dma: Initialized 7 DMA channels (+ 1 legacy)
[ 0.175011] bcm2708-dmaengine 3f007000.dma: Load BCM2835 DMA engine driver
[ 0.175057] bcm2708-dmaengine 3f007000.dma: dma_debug:0
[ 0.175814] SCSI subsystem initialized
[ 0.176079] usbcore: registered new interface driver usbfs
[ 0.176213] usbcore: registered new interface driver hub
[ 0.176393] usbcore: registered new device driver usb
[ 0.177150] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-03-15 14:47
[ 0.204469] Switched to clocksource arch_sys_counter
[ 0.253312] FS-Cache: Loaded
[ 0.253747] CacheFiles: Loaded
[ 0.266881] NET: Registered protocol family 2
[ 0.268279] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.268453] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.268670] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.268816] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.268907] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.269401] NET: Registered protocol family 1
[ 0.269881] RPC: Registered named UNIX socket transport module.
[ 0.269923] RPC: Registered udp transport module.
[ 0.269955] RPC: Registered tcp transport module.
[ 0.269986] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.271097] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.272495] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.288842] VFS: Disk quotas dquot_6.6.0
[ 0.289265] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.291779] FS-Cache: Netfs 'nfs' registered for caching
[ 0.292987] NFS: Registering the id_resolver key type
[ 0.293086] Key type id_resolver registered
[ 0.293121] Key type id_legacy registered
[ 0.296093] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.296331] io scheduler noop registered
[ 0.296380] io scheduler deadline registered (default)
[ 0.296738] io scheduler cfq registered
[ 0.299345] BCM2708FB: allocated DMA memory fa800000
[ 0.299433] BCM2708FB: allocated DMA channel 0 @ f3007000
[ 0.305122] Console: switching to colour frame buffer device 82x26
[ 0.310303] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled
[ 0.313191] vc-cma: Videocore CMA driver
[ 0.314911] vc-cma: vc_cma_base = 0x00000000
[ 0.316576] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 0.318178] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 0.319975] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[ 0.338964] brd: module loaded
[ 0.349490] loop: module loaded
[ 0.351946] vchiq: vchiq_init_state: slot_zero = 0xba880000, is_master = 0
[ 0.355213] Loading iSCSI transport class v2.0-870.
[ 0.357661] usbcore: registered new interface driver smsc95xx
[ 0.359282] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.561183] Core Release: 2.80a
[ 0.562643] Setting default values for core params
[ 0.564141] Finished setting default values for core params
[ 0.766128] Using Buffer DMA mode
[ 0.767633] Periodic Transfer Interrupt Enhancement - disabled
[ 0.769179] Multiprocessor Interrupt Enhancement - disabled
[ 0.770760] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.772315] Dedicated Tx FIFOs mode
[ 0.774221] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xba814000 dma = 0xfa814000 len=9024
[ 0.777431] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
[ 0.783859] dwc_otg: Microframe scheduler enabled
[ 0.783929] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x80417288
[ 0.785554] WARN::hcd_init_fiq:413: FIQ ASM at 0x804175f8 length 36
[ 0.787193] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbb89a000
[ 0.788846] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.790449] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.792082] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000
[ 0.793692] Init: Port Power? op_state=1
[ 0.795252] Init: Power Port (0)
[ 0.797020] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.798605] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.800174] usb usb1: Product: DWC OTG Controller
[ 0.801712] usb usb1: Manufacturer: Linux 4.1.19-v7+ dwc_otg_hcd
[ 0.803261] usb usb1: SerialNumber: 3f980000.usb
[ 0.805673] hub 1-0:1.0: USB hub found
[ 0.807243] hub 1-0:1.0: 1 port detected
[ 0.809168] dwc_otg: FIQ enabled
[ 0.809182] dwc_otg: NAK holdoff enabled
[ 0.809191] dwc_otg: FIQ split-transaction FSM enabled
[ 0.809232] Module dwc_common_port init
[ 0.809638] usbcore: registered new interface driver usb-storage
[ 0.811356] mousedev: PS/2 mouse device common for all mice
[ 0.813621] bcm2835-cpufreq: min=600000 max=900000
[ 0.815454] sdhci: Secure Digital Host Controller Interface driver
[ 0.816971] sdhci: Copyright(c) Pierre Ossman
[ 0.818803] sdhost: log_buf @ ba813000 (fa813000)
[ 0.894554] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 0.916653] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.918826] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.920621] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.922518] usbcore: registered new interface driver usbhid
[ 0.924078] usbhid: USB HID core driver
[ 0.926144] Initializing XFRM netlink socket
[ 0.927737] NET: Registered protocol family 17
[ 0.929431] Key type dns_resolver registered
[ 0.931341] Registering SWP/SWPB emulation handler
[ 0.933744] registered taskstats version 1
[ 0.935573] vc-sm: Videocore shared memory driver
[ 0.937057] [vc_sm_connected_init]: start
[ 0.939221] [vc_sm_connected_init]: end - returning 0
[ 0.942298] Waiting for root device /dev/mmcblk0p2...
[ 0.951530] mmc0: host does not support reading read-only switch, assuming write-enable
[ 0.956376] mmc0: new high speed SDHC card at address 0001
[ 0.958538] mmcblk0: mmc0:0001 00000 14.6 GiB
[ 0.961337] mmcblk0: p1 p2
[ 1.024620] Indeed it is in host mode hprt0 = 00021501
[ 1.049227] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 1.050836] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 1.204524] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.206347] Indeed it is in host mode hprt0 = 00001101
[ 1.404861] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.406559] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.409252] hub 1-1:1.0: USB hub found
[ 1.411045] hub 1-1:1.0: 5 ports detected
[ 1.412619] EXT4-fs (mmcblk0p2): recovery complete
[ 1.440362] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.443753] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.455154] devtmpfs: mounted
[ 1.457728] Freeing unused kernel memory: 444K (80795000 - 80804000)
[ 1.694540] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.748086] random: systemd urandom read with 63 bits of entropy available
[ 1.754589] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[ 1.758797] systemd[1]: Detected architecture 'arm'.
[ 1.794951] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 1.796887] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.801701] smsc95xx v1.0.4
[ 1.869028] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:5b:32:15
[ 1.882388] NET: Registered protocol family 10
[ 1.886449] systemd[1]: Inserted module 'ipv6'
[ 1.891711] systemd[1]: Set hostname to <domoticz>.
[ 1.964616] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 2.065142] usb 1-1.3: New USB device found, idVendor=1a40, idProduct=0101
[ 2.067115] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.068981] usb 1-1.3: Product: USB 2.0 Hub
[ 2.071776] hub 1-1.3:1.0: USB hub found
[ 2.073709] hub 1-1.3:1.0: 4 ports detected
[ 2.099731] systemd-sysv-generator[69]: Ignoring creation of an alias homebridge.service for itself
[ 2.154544] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
[ 2.254952] usb 1-1.4: New USB device found, idVendor=0409, idProduct=005a
[ 2.256784] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.259448] hub 1-1.4:1.0: USB hub found
[ 2.261332] hub 1-1.4:1.0: 4 ports detected
[ 2.354586] usb 1-1.5: new full-speed USB device number 6 using dwc_otg
[ 2.386128] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 2.395880] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 2.399943] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.403795] systemd[1]: Starting Remote File Systems (Pre).
[ 2.408426] systemd[1]: Reached target Remote File Systems (Pre).
[ 2.410542] systemd[1]: Starting Encrypted Volumes.
[ 2.415015] systemd[1]: Reached target Encrypted Volumes.
[ 2.417200] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 2.424181] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 2.428458] systemd[1]: Starting Swap.
[ 2.433005] systemd[1]: Reached target Swap.
[ 2.435263] systemd[1]: Expecting device dev-mmcblk0p1.device...
[ 2.439631] systemd[1]: Expecting device dev-sda1.device...
[ 2.443815] systemd[1]: Starting Root Slice.
[ 2.447994] systemd[1]: Created slice Root Slice.
[ 2.449868] systemd[1]: Starting User and Session Slice.
[ 2.454026] systemd[1]: Created slice User and Session Slice.
[ 2.456143] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 2.460937] usb 1-1.5: New USB device found, idVendor=03eb, idProduct=2404
[ 2.460954] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.460963] usb 1-1.5: Product: TeleinfoStick V3
[ 2.460972] usb 1-1.5: Manufacturer: SUIVICONSO.FR
[ 2.460980] usb 1-1.5: SerialNumber: TIS_V3
[ 2.469725] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 2.471491] systemd[1]: Starting Delayed Shutdown Socket.
[ 2.475575] systemd[1]: Listening on Delayed Shutdown Socket.
[ 2.477376] systemd[1]: Starting Journal Socket (/dev/log).
[ 2.481352] systemd[1]: Listening on Journal Socket (/dev/log).
[ 2.483172] systemd[1]: Starting udev Control Socket.
[ 2.487132] systemd[1]: Listening on udev Control Socket.
[ 2.488946] systemd[1]: Starting udev Kernel Socket.
[ 2.492807] systemd[1]: Listening on udev Kernel Socket.
[ 2.494837] systemd[1]: Starting Journal Socket.
[ 2.498754] systemd[1]: Listening on Journal Socket.
[ 2.500545] systemd[1]: Starting System Slice.
[ 2.504393] systemd[1]: Created slice System Slice.
[ 2.506235] systemd[1]: Starting File System Check on Root Device...
[ 2.513257] systemd[1]: Starting system-systemd\x2dfsck.slice.
[ 2.518382] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 2.520351] systemd[1]: Starting system-getty.slice.
[ 2.524618] systemd[1]: Created slice system-getty.slice.
[ 2.526901] systemd[1]: Starting Increase datagram queue length...
[ 2.534646] systemd[1]: Starting Restore / save the current clock...
[ 2.550130] systemd[1]: Starting udev Coldplug all Devices...
[ 2.554610] usb 1-1.3.4: new full-speed USB device number 7 using dwc_otg
[ 2.573421] systemd[1]: Started Set Up Additional Binary Formats.
[ 2.614379] systemd[1]: Starting Load Kernel Modules...
[ 2.623497] systemd[1]: Mounting POSIX Message Queue File System...
[ 2.633112] systemd[1]: Mounting Debug File System...
[ 2.641097] systemd[1]: Mounted Huge Pages File System.
[ 2.644394] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 2.657832] systemd[1]: Starting Slices.
[ 2.663277] systemd[1]: Reached target Slices.
[ 2.677085] systemd[1]: Mounted Debug File System.
[ 2.681861] systemd[1]: Mounted POSIX Message Queue File System.
[ 2.688636] systemd[1]: Started Increase datagram queue length.
[ 2.707710] usb 1-1.3.4: New USB device found, idVendor=0403, idProduct=6001
[ 2.707746] bcm2708 watchdog, heartbeat=10 sec (nowayout=0)
[ 2.712345] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.716337] usb 1-1.3.4: Product: RFXtrx433
[ 2.718301] usb 1-1.3.4: Manufacturer: RFXCOM
[ 2.720201] usb 1-1.3.4: SerialNumber: A1Z9592I
[ 2.724841] systemd[1]: Started Restore / save the current clock.
[ 2.728855] Driver for 1-wire Dallas network protocol.
[ 2.737929] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 2.759903] systemd[1]: Time has been changed
[ 2.774580] usb 1-1.4.2: new high-speed USB device number 8 using dwc_otg
[ 2.789993] i2c /dev entries driver
[ 2.806148] systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
[ 2.818119] systemd[1]: Failed to start Load Kernel Modules.
[ 2.820333] systemd[1]: Unit systemd-modules-load.service entered failed state.
[ 2.826851] systemd[1]: Started udev Coldplug all Devices.
[ 2.906596] usb 1-1.4.2: New USB device found, idVendor=0ccd, idProduct=00d3
[ 2.908622] usb 1-1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.912508] usb 1-1.4.2: Product: RTL2838UHIDIR
[ 2.914563] usb 1-1.4.2: Manufacturer: Realtek
[ 2.916534] usb 1-1.4.2: SerialNumber: 00000001
[ 2.961976] systemd[1]: Mounting Configuration File System...
[ 2.970051] systemd[1]: Starting Apply Kernel Variables...
[ 2.978574] systemd[1]: Mounted FUSE Control File System.
[ 2.981490] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 2.990648] systemd[1]: Starting Syslog Socket.
[ 2.995214] systemd[1]: Listening on Syslog Socket.
[ 2.997269] systemd[1]: Starting Journal Service...
[ 3.004622] usb 1-1.4.3: new high-speed USB device number 9 using dwc_otg
[ 3.009372] systemd[1]: Started Journal Service.
[ 3.116171] usb 1-1.4.3: New USB device found, idVendor=13fe, idProduct=5500
[ 3.116206] usb 1-1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.116223] usb 1-1.4.3: Product: USB DISK 3.0
[ 3.116238] usb 1-1.4.3: Manufacturer:
[ 3.116253] usb 1-1.4.3: SerialNumber: 070D5B6981479233
[ 3.117388] usb-storage 1-1.4.3:1.0: USB Mass Storage device detected
[ 3.118304] scsi host0: usb-storage 1-1.4.3:1.0
[ 3.154097] systemd-udevd[110]: starting version 215
[ 3.214641] usb 1-1.4.4: new full-speed USB device number 10 using dwc_otg
[ 3.294732] usb 1-1.4.4: device descriptor read/64, error -32
[ 3.484688] usb 1-1.4.4: device descriptor read/64, error -32
[ 3.487356] w1-gpio onewire@0: gpio pin 4, external pullup pin -1, parasitic power 0
[ 3.487420] w1_add_master_device: set_pullup requires write_byte or touch_bit, disabling
[ 3.586634] usbcore: registered new interface driver usbserial
[ 3.586813] usbcore: registered new interface driver usbserial_generic
[ 3.586936] usbserial: USB Serial support registered for generic
[ 3.606256] usbcore: registered new interface driver ftdi_sio
[ 3.606433] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 3.607041] ftdi_sio 1-1.3.4:1.0: FTDI USB Serial Device converter detected
[ 3.607255] usb 1-1.3.4: Detected FT232RL
[ 3.609901] usb 1-1.3.4: FTDI USB Serial Device converter now attached to ttyUSB0
[ 3.674638] usb 1-1.4.4: new full-speed USB device number 11 using dwc_otg
[ 3.754616] usb 1-1.4.4: device descriptor read/64, error -32
[ 3.944596] usb 1-1.4.4: device descriptor read/64, error -32
[ 3.970693] cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device
[ 3.972264] usbcore: registered new interface driver cdc_acm
[ 3.972290] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 4.116251] scsi 0:0:0:0: Direct-Access USB DISK 3.0 PMAP PQ: 0 ANSI: 6
[ 4.118673] sd 0:0:0:0: [sda] 30302208 512-byte logical blocks: (15.5 GB/14.4 GiB)
[ 4.119134] sd 0:0:0:0: [sda] Write Protect is off
[ 4.119166] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 00
[ 4.119657] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 4.134667] usb 1-1.4.4: new full-speed USB device number 12 using dwc_otg
[ 4.284932] sda: sda1
[ 4.288640] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 4.557236] usb 1-1.4.4: device not accepting address 12, error -32
[ 4.634581] usb 1-1.4.4: new full-speed USB device number 13 using dwc_otg
[ 4.692517] bcm2835-rng 3f104000.rng: hwrng registered
[ 4.693997] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 5.054574] usb 1-1.4.4: device not accepting address 13, error -32
[ 5.054810] usb 1-1.4-port4: unable to enumerate USB device
[ 5.088695] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 9.130863] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 9.179263] random: nonblocking pool is initialized
[ 9.187043] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 9.698313] systemd-journald[104]: Received request to flush runtime journal from PID 1
[ 9.987281] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 9.987792] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 11.518167] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 11.519332] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 12.985124] cfg80211: Calling CRDA to update world regulatory domain
[ 13.124283] Adding 102396k swap on /var/swap. Priority:-1 extents:8 across:320576k SSFS
[ 13.147799] cfg80211: World regulatory domain updated:
[ 13.147828] cfg80211: DFS Master region: unset
[ 13.147836] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 13.147850] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.147860] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.147871] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.147883] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 13.147896] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 13.147906] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 13.147918] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.147929] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 32.079129] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 40.088594] dwc_otg: DEVICE:007 : update_urb_state_xfer_intr:1435:trimming xfer length
[ 40.090187] dwc_otg: DEVICE:007 : update_urb_state_xfer_comp:742:trimming xfer length
[ 63.189031] gpiomem-bcm2835 3f200000.gpiomem: gpiomem device opened.
[ 86.829581] gpiomem-bcm2835 3f200000.gpiomem: gpiomem device opened.
[ 147.093536] gpiomem-bcm2835 3f200000.gpiomem: gpiomem device opened.
and only with usb messages :
pi@domoticz:/etc/udev/rules.d$ dmesg | grep usb
[ 0.176079] usbcore: registered new interface driver usbfs
[ 0.176213] usbcore: registered new interface driver hub
[ 0.176393] usbcore: registered new device driver usb
[ 0.357661] usbcore: registered new interface driver smsc95xx
[ 0.788846] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.790449] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.792082] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000
[ 0.797020] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.798605] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.800174] usb usb1: Product: DWC OTG Controller
[ 0.801712] usb usb1: Manufacturer: Linux 4.1.19-v7+ dwc_otg_hcd
[ 0.803261] usb usb1: SerialNumber: 3f980000.usb
[ 0.809638] usbcore: registered new interface driver usb-storage
[ 0.922518] usbcore: registered new interface driver usbhid
[ 0.924078] usbhid: USB HID core driver
[ 1.204524] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.404861] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.406559] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.694540] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.794951] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 1.796887] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.869028] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:5b:32:15
[ 1.964616] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 2.065142] usb 1-1.3: New USB device found, idVendor=1a40, idProduct=0101
[ 2.067115] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.068981] usb 1-1.3: Product: USB 2.0 Hub
[ 2.154544] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
[ 2.254952] usb 1-1.4: New USB device found, idVendor=0409, idProduct=005a
[ 2.256784] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.354586] usb 1-1.5: new full-speed USB device number 6 using dwc_otg
[ 2.460937] usb 1-1.5: New USB device found, idVendor=03eb, idProduct=2404
[ 2.460954] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.460963] usb 1-1.5: Product: TeleinfoStick V3
[ 2.460972] usb 1-1.5: Manufacturer: SUIVICONSO.FR
[ 2.460980] usb 1-1.5: SerialNumber: TIS_V3
[ 2.554610] usb 1-1.3.4: new full-speed USB device number 7 using dwc_otg
[ 2.707710] usb 1-1.3.4: New USB device found, idVendor=0403, idProduct=6001
[ 2.712345] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.716337] usb 1-1.3.4: Product: RFXtrx433
[ 2.718301] usb 1-1.3.4: Manufacturer: RFXCOM
[ 2.720201] usb 1-1.3.4: SerialNumber: A1Z9592I
[ 2.774580] usb 1-1.4.2: new high-speed USB device number 8 using dwc_otg
[ 2.906596] usb 1-1.4.2: New USB device found, idVendor=0ccd, idProduct=00d3
[ 2.908622] usb 1-1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.912508] usb 1-1.4.2: Product: RTL2838UHIDIR
[ 2.914563] usb 1-1.4.2: Manufacturer: Realtek
[ 2.916534] usb 1-1.4.2: SerialNumber: 00000001
[ 3.004622] usb 1-1.4.3: new high-speed USB device number 9 using dwc_otg
[ 3.116171] usb 1-1.4.3: New USB device found, idVendor=13fe, idProduct=5500
[ 3.116206] usb 1-1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.116223] usb 1-1.4.3: Product: USB DISK 3.0
[ 3.116238] usb 1-1.4.3: Manufacturer:
[ 3.116253] usb 1-1.4.3: SerialNumber: 070D5B6981479233
[ 3.117388] usb-storage 1-1.4.3:1.0: USB Mass Storage device detected
[ 3.118304] scsi host0: usb-storage 1-1.4.3:1.0
[ 3.214641] usb 1-1.4.4: new full-speed USB device number 10 using dwc_otg
[ 3.294732] usb 1-1.4.4: device descriptor read/64, error -32
[ 3.484688] usb 1-1.4.4: device descriptor read/64, error -32
[ 3.586634] usbcore: registered new interface driver usbserial
[ 3.586813] usbcore: registered new interface driver usbserial_generic
[ 3.586936] usbserial: USB Serial support registered for generic
[ 3.606256] usbcore: registered new interface driver ftdi_sio
[ 3.606433] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 3.607255] usb 1-1.3.4: Detected FT232RL
[ 3.609901] usb 1-1.3.4: FTDI USB Serial Device converter now attached to ttyUSB0
[ 3.674638] usb 1-1.4.4: new full-speed USB device number 11 using dwc_otg
[ 3.754616] usb 1-1.4.4: device descriptor read/64, error -32
[ 3.944596] usb 1-1.4.4: device descriptor read/64, error -32
[ 3.972264] usbcore: registered new interface driver cdc_acm
[ 4.134667] usb 1-1.4.4: new full-speed USB device number 12 using dwc_otg
[ 4.557236] usb 1-1.4.4: device not accepting address 12, error -32
[ 4.634581] usb 1-1.4.4: new full-speed USB device number 13 using dwc_otg
[ 5.054574] usb 1-1.4.4: device not accepting address 13, error -32
[ 5.054810] usb 1-1.4-port4: unable to enumerate USB device
Last edited by multinet on Monday 01 August 2016 12:57, edited 1 time in total.
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
trixwood

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by trixwood »

I would go for faulty usb hub given my own experience with the behaviour you describe. Random dropout, unable to communicate with usb devices but only sometimes. Would swap that one out for another one and see if it persists.
multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by multinet »

Hello

Thanks for answering :)

I've allready done a swap testing with/without hub, same random result

here you have more debug log :

Code: Select all

pi@domoticz:/home/pi# lsusb
Bus 001 Device 006: ID 03eb:2404 Atmel Corp. 
Bus 001 Device 009: ID 13fe:5500 Kingston Technology Company Inc. 
Bus 001 Device 008: ID 0ccd:00d3 TerraTec Electronic GmbH 
Bus 001 Device 005: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 007: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

pi@domoticz:/etc/udev/rules.d$ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
        |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
        |__ Port 3: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 4: Dev 7, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
        |__ Port 4: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 2: Dev 8, If 0, Class=Vendor Specific Class, Driver=usbfs, 480M
            |__ Port 2: Dev 8, If 1, Class=Vendor Specific Class, Driver=, 480M
            |__ Port 3: Dev 9, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 5: Dev 6, If 0, Class=Communications, Driver=cdc_acm, 12M
        |__ Port 5: Dev 6, If 1, Class=CDC Data, Driver=cdc_acm, 12M
pi@domoticz:/etc/udev/rules.d$ usb-devices 

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.01
S:  Manufacturer=Linux 4.1.19-v7+ dwc_otg_hcd
S:  Product=DWC OTG Controller
S:  SerialNumber=3f980000.usb
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 5
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=02 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=9514 Rev=02.00
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I:  If#= 0 Alt= 1 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=02 Driver=hub

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=ec00 Rev=02.00
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=smsc95xx

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=  4 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1a40 ProdID=0101 Rev=01.11
S:  Product=USB 2.0 Hub
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=03 Prnt=04 Port=03 Cnt=01 Dev#=  7 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0403 ProdID=6001 Rev=06.00
S:  Manufacturer=RFXCOM
S:  Product=RFXtrx433
S:  SerialNumber=A1Z9592I
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=90mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio

T:  Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#=  5 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0409 ProdID=005a Rev=01.00
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=03 Prnt=05 Port=01 Cnt=01 Dev#=  8 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0ccd ProdID=00d3 Rev=01.00
S:  Manufacturer=Realtek
S:  Product=RTL2838UHIDIR
S:  SerialNumber=00000001
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbfs
I:  If#= 1 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

T:  Bus=01 Lev=03 Prnt=05 Port=02 Cnt=02 Dev#=  9 Spd=480 MxCh= 0
D:  Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=13fe ProdID=5500 Rev=01.10
S:  Manufacturer=        
S:  Product=USB DISK 3.0
S:  SerialNumber=070D5B6981479233
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=300mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

T:  Bus=01 Lev=02 Prnt=02 Port=04 Cnt=04 Dev#=  6 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=02(commc) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=03eb ProdID=2404 Rev=01.00
S:  Manufacturer=SUIVICONSO.FR
S:  Product=TeleinfoStick V3
S:  SerialNumber=TIS_V3
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
I:  If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
trixwood

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by trixwood »

It is a hardware error.

http://askubuntu.com/questions/341241/u ... his-messag
http://paulphilippov.com/articles/how-t ... ress-error

And read the comments.

Their advise:
most probably it’s a result of hardware failure rather than a driver or kernel bug. USB has an over-current protection, which gets triggered when power consumption from the port is too high. Unplug all USB devices from PC, turn power off, and wait a minute or two. Plug everything back and boot into Linux.
Faulty usb cable, you're pi not getting enough power.

Try unplugging the power for more then 5 minutes.
Try to plug in less devices
Try changing the order of them (you got one pi usb port and four on your hub, the pi usb is powered differently then the usb hub, could make a difference)
Try swaping out all the usb cables for new ones.
Do not use very long usb cables.

Got to catch some Zzzz... gotta catch um all... good luck!
Last edited by trixwood on Monday 01 August 2016 1:39, edited 1 time in total.
multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by multinet »

Thanks


It appears since I put my zwave usb to a 15meters long usb cable

this one : https://www.amazon.fr/TRIXES-C%C3%A2ble ... WZTJ433GEV


It was working few day before it appears

Do you think it can be the usb cable ?
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
trixwood

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by trixwood »

Does that cable go into the usb hub or the pi itself? If it's the pi itself try changing the powersupply to something bigger with more juice 2A instead of 1A.
Personally I would not use 15 meter long usb cable on such low powered devices.

http://www.yourcablestore.com/USB-Cable ... reakingusb
trixwood

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by trixwood »

I would use something like.

https://www.amazon.com/Aeon-Labs-DSD37- ... B00K7QZUZM

https://www.amazon.com/dp/B00VQISOCG/re ... GZRWTVHR0V

Or a pi zero with z-wave stick on location, using the remote sharing feature of domoticz to pass the info over the network to the main domoticz.
multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by multinet »

trixwood wrote:Does that cable go into the usb hub or the pi itself? If it's the pi itself try changing the powersupply to something bigger with more juice 2A instead of 1A.
Personally I would not use 15 meter long usb cable on such low powered devices.

http://www.yourcablestore.com/USB-Cable ... reakingusb
I plug the 15m cable into the pi itself. I tried to plug it into the hub but same result.

I've tried to unplug all usb device, wait 5mins off and plug all agin and boot up but same result too.

I will try this evening :
- to change all order of device in my pi

If I can't solve this way, I thing I will buy a repeater!

Thank for all help trixwood stay tuned :)
Multinet
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by Egregius »

Is the USB extension cable really needed? I think 15 meters is very long... Isn't the Z-wave coverage enough?
Also, are you sure it hasn't anything to do with usb ports that are changed upon boot? Search the forum/wiki for 'persistent usb' to add a symlink based on hardware id so they never change again.

Edit: sorry, you have the persistent usb in place. Nevermind last line.
trixwood

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by trixwood »

15 meters is way, way, far off the usb2 specs. My guess static buildup on antennas (yeah the 15m Chinese cable) made it not work (probably damaged something, hope not). Hope the repeater works. Hope you didn't damaged your pi.
multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by multinet »

Hello

My RPI2 was powered by a 1.1 Ah power

Just tried with a 2.1Ah, and all is ok at first boot

Code: Select all

pi@domoticz:~$ dmesg | grep usb
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa01041 bcm2709.serial=0x975b3215 smsc95xx.macaddr=B8:27:EB:5B:32:15 bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait usbcore.old_scheme_first=Y
[    0.176069] usbcore: registered new interface driver usbfs
[    0.176208] usbcore: registered new interface driver hub
[    0.176386] usbcore: registered new device driver usb
[    0.357661] usbcore: registered new interface driver smsc95xx
[    0.788747] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.790344] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.791971] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000
[    0.796904] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.798486] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.800054] usb usb1: Product: DWC OTG Controller
[    0.801591] usb usb1: Manufacturer: Linux 4.1.19-v7+ dwc_otg_hcd
[    0.803139] usb usb1: SerialNumber: 3f980000.usb
[    0.809504] usbcore: registered new interface driver usb-storage
[    0.922573] usbcore: registered new interface driver usbhid
[    0.924134] usbhid: USB HID core driver
[    1.204557] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.224991] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    1.226626] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.504535] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.524961] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    1.526645] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.598609] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:5b:32:15
[    1.694528] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[    1.715189] usb 1-1.3: New USB device found, idVendor=1a40, idProduct=0101
[    1.717044] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.718847] usb 1-1.3: Product: USB 2.0 Hub
[    1.804530] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
[    1.825221] usb 1-1.4: New USB device found, idVendor=0409, idProduct=005a
[    1.827020] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.924590] usb 1-1.5: new full-speed USB device number 6 using dwc_otg
[    1.949035] usb 1-1.5: New USB device found, idVendor=03eb, idProduct=2404
[    1.950930] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.952738] usb 1-1.5: Product: TeleinfoStick V3
[    1.954552] usb 1-1.5: Manufacturer: SUIVICONSO.FR
[    1.956280] usb 1-1.5: SerialNumber: TIS_V3
[    2.044595] usb 1-1.3.4: new full-speed USB device number 7 using dwc_otg
[    2.092191] usb 1-1.3.4: New USB device found, idVendor=0403, idProduct=6001
[    2.094008] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.097563] usb 1-1.3.4: Product: RFXtrx433
[    2.099317] usb 1-1.3.4: Manufacturer: RFXCOM
[    2.101009] usb 1-1.3.4: SerialNumber: A1Z9592I
[    2.164599] usb 1-1.4.1: new high-speed USB device number 8 using dwc_otg
[    2.185245] usb 1-1.4.1: New USB device found, idVendor=1a40, idProduct=0101
[    2.186992] usb 1-1.4.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.190320] usb 1-1.4.1: Product: USB 2.0 Hub
[    2.284631] usb 1-1.4.2: new high-speed USB device number 9 using dwc_otg
[    2.318144] usb 1-1.4.2: New USB device found, idVendor=0ccd, idProduct=00d3
[    2.319933] usb 1-1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.323307] usb 1-1.4.2: Product: RTL2838UHIDIR
[    2.325073] usb 1-1.4.2: Manufacturer: Realtek
[    2.326718] usb 1-1.4.2: SerialNumber: 00000001
[    2.434575] usb 1-1.4.3: new high-speed USB device number 10 using dwc_otg
[    2.456437] usb 1-1.4.3: New USB device found, idVendor=13fe, idProduct=5500
[    2.458102] usb 1-1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.461225] usb 1-1.4.3: Product: USB DISK 3.0
[    2.462801] usb 1-1.4.3: Manufacturer:         
[    2.464353] usb 1-1.4.3: SerialNumber: 070D5B6981479233
[    2.468724] usb-storage 1-1.4.3:1.0: USB Mass Storage device detected
[    2.471878] scsi host0: usb-storage 1-1.4.3:1.0
[    2.554560] usb 1-1.4.1.4: new full-speed USB device number 11 using dwc_otg
[    2.578406] usb 1-1.4.1.4: New USB device found, idVendor=0658, idProduct=0200
[    2.580195] usb 1-1.4.1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.579798] usbcore: registered new interface driver usbserial
[    4.579974] usbcore: registered new interface driver usbserial_generic
[    4.580104] usbserial: USB Serial support registered for generic
[    4.640493] usbcore: registered new interface driver ftdi_sio
[    4.640719] usbserial: USB Serial support registered for FTDI USB Serial Device
[    4.641651] usb 1-1.3.4: Detected FT232RL
[    4.643281] usb 1-1.3.4: FTDI USB Serial Device converter now attached to ttyUSB0
[    4.899369] usbcore: registered new interface driver cdc_acm
Need to be confirmed after multiple reboot (will make it this evening)


Multinet
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by Egregius »

multinet wrote: My RPI2 was powered by a 1.1 Ah power
Wow, you're lucky it even started! You should have seen a rainbow square screen...
multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by multinet »

Egregius wrote:
multinet wrote: My RPI2 was powered by a 1.1 Ah power
Wow, you're lucky it even started! You should have seen a rainbow square screen...
Hello,

I've no screen on my rpi

What do you think i'm lucky it even started with a 2.1Ah power ?

Multinet
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by Egregius »

No, you're lucky it started with the 1.1A power supply.
The RPI2 alone has a specification of 2A power. Add the power needed for all the devices (don't forget your 15m cable that also consumes power) and you would even need a bigger power supply.
multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [WORK IN PROGRESS] HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by multinet »

Ah ok I haven't understood

And I have not one but 2 cable usb of 15m (one for zwave and one for rfxcom) !

Multinet
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: [WORK IN PROGRESS] HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by Egregius »

is the pi really that far away from the devices that it doesn't work without those cables?
I wouldn't trust that, I prefer directly attached devices or with a short (1m or so) cable.
multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [WORK IN PROGRESS] HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by multinet »

Yes my house configuration needs to use 15m cable for both rfxcom and zwave to reach all my devices (including in garden)

Well, with the 2.1A it is ok at boot (all use devices are running)

BUT ! After few hours of running I loose either the zwave stick or the rfxcom transmitter. (This 2 devices are plugged in a 15 m usb cable)

Do you this a higher power will fix the problem ?
Or is there a config on the rasp to fix it ?

Thanks a lot
Multinet
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
trixwood

Re: [WORK IN PROGRESS] HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by trixwood »

No higher power will not fix that. The other devices are in the hub and your hub is powered not pi powered. (still suspect the 15m cables build up a static causing an usb over-current protection) It could be the hub. You could try sticking one of the 15m cables in the pi and one in the hub. Do not know how you stick it all in at the moment, but you could try that. Besides putting more A on your hub (which I would NOT recommend). You probably want to consider other options.

Like:

The aforementioned repeater of z-wave like the aeonlab one, or a greenwave powernode 1. Or whatever z-wave+ powerplug is also a repeater.

Shorter cable but a bigger antenna for the 433 devices. (if this fit on your device, i though so if not converters are available or search for the right connection yourself)
http://www.ebay.com/itm/New-Nagoya-NA-7 ... SwuMFUe9Iy
http://www.ebay.co.uk/itm/272021293532? ... EBIDX%3AIT


forum post on bigger antenna:
viewtopic.php?t=214
viewtopic.php?t=3542&start=20
multinet
Posts: 97
Joined: Friday 05 December 2014 22:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [WORK IN PROGRESS] HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by multinet »

Thank you so much for all your advices

I will try to find the best solution without my long cable !

How does the sharing between 2 Domoticz works ? If I declare a remote Domoticz in my hardware can I manage all devices plugged to it from my 'local' Domoticz ?

Multinet


Envoyé de mon iPhone en utilisant Tapatalk
PI 2 - Domoticz 2021.1
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver (5 DIO 54755 + 2 DIO 54756 + 3 DIO 54798)
Z-Wave.Me ZME_UZB1 USB Stick (6 FGSD002 + 2 FGRM222 + 1 FGS223 + 1 FGMS001-ZW5 + 1 FGRGBWM441 + 1 FGBS001 + 2 FGFS101)
6 sondes DS18B20
trixwood

Re: [WORK IN PROGRESS] HELP NEEDED ! - heavy domoticz config, some hardware trouble

Post by trixwood »

Qui, https://www.domoticz.com/wiki/Setting_up_Device_sharing

Of course you can setup and refine the remote sensors/second domoticz through it's normal web interface like you would do with your local setup.
And then using the remote domoticz hardware make the remote sensors to appear to be local.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest