Wie kann ich USB Schnittstellen feststellen

Begonnen von Burny4600, 06 Oktober 2015, 08:56:43

Vorheriges Thema - Nächstes Thema

Burny4600

Wie kann ich USB Schnittstellen für unterschiedliche Geräte eindeutig feststellen.
Habe einen Raspberry Pi B 2+ und mehrer Module an den USB Ausgeängen angeschlossen.
nanoCUL433, nanoCUL868, RFXtrx433E, TEK603 und USB HDD.

Wenn ich via ls -al /dev/serial/by-id auslese habe ich eine gute Übersicht.
Zitattotal 0
drwxr-xr-x 2 root root 120 Oct  5 21:20 .
drwxr-xr-x 4 root root  80 Oct  5 21:20 ..
lrwxrwxrwx 1 root root  13 Oct  5 21:20 usb-FTDI_FT232R_USB_UART_A98J3XX9-if00-port0 -> ../../ttyUSB2
lrwxrwxrwx 1 root root  13 Oct  5 21:20 usb-FTDI_FT232R_USB_UART_A9ULXRVF-if00-port0 -> ../../ttyUSB3
lrwxrwxrwx 1 root root  13 Oct  5 21:20 usb-RFXCOM_RFXtrx433_A1YUXLCQ-if00-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root  13 Oct  5 21:20 usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0 -> ../../ttyUSB0

via dmesg komme ich nicht wirklich auf die richtige Definition für die Einstellung der USB Schnittstellen.
Zitatpi@ccs-ht-rasp ~ $ 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.8-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #818 SMP PREEMPT Tue Sep 29 01:40:47 BST 2015
[    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 0x3a800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 241664
[    0.000000] free_area_init_node: node 0, pgdat 8085af80, node_mem_map b9fa6000
[    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 13 pages/cpu @b9f64000 s20608 r8192 d24448 u53248
[    0.000000] pcpu-alloc: s20608 r8192 d24448 u53248 alloc=13*4096
[    0.000000] pcpu-alloc:
  • 0
  • 1
  • 2
  • 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=0x19142f2d smsc95xx.macaddr=B8:27:EB:14:2F:2D bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup_enable=memory elevator=deadline fsck.repair=yes rootwait
    [    0.000000] Enabling memory control group subsystem
    [    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: 939512K/966656K available (5958K kernel code, 534K rwdata, 1648K rodata, 416K init, 757K bss, 18952K 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 - 0x80775cd0   (7608 kB)
          .init : 0x80776000 - 0x807de000   ( 416 kB)
          .data : 0x807de000 - 0x80863af4   ( 535 kB)
           .bss : 0x80866000 - 0x8092378c   ( 758 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Preemptible 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 (virt).
    [    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
    [    0.000010] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
    [    0.000032] Switching to timer-based delay loop, resolution 52ns
    [    0.000318] Console: colour dummy device 80x30
    [    0.002218] console [tty1] enabled
    [    0.002287] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
    [    0.002387] pid_max: default: 32768 minimum: 301
    [    0.002755] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.002824] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.004159] Initializing cgroup subsys blkio
    [    0.004242] Initializing cgroup subsys memory
    [    0.004342] Initializing cgroup subsys devices
    [    0.004406] Initializing cgroup subsys freezer
    [    0.004480] Initializing cgroup subsys net_cls
    [    0.004589] CPU: Testing write buffer coherency: ok
    [    0.004711] ftrace: allocating 20207 entries in 60 pages
    [    0.054213] CPU0: update cpu_capacity 1024
    [    0.054299] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
    [    0.054345] [bcm2709_smp_prepare_cpus] enter
    [    0.054509] Setting up static identity map for 0x8240 - 0x8274
    [    0.114081] [bcm2709_boot_secondary] cpu:1 started (0) 17
    [    0.114522] [bcm2709_secondary_init] enter cpu:1
    [    0.114571] CPU1: update cpu_capacity 1024
    [    0.114579] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
    [    0.134067] [bcm2709_boot_secondary] cpu:2 started (0) 16
    [    0.134423] [bcm2709_secondary_init] enter cpu:2
    [    0.134454] CPU2: update cpu_capacity 1024
    [    0.134462] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
    [    0.154100] [bcm2709_boot_secondary] cpu:3 started (0) 18
    [    0.154357] [bcm2709_secondary_init] enter cpu:3
    [    0.154385] CPU3: update cpu_capacity 1024
    [    0.154393] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
    [    0.154486] Brought up 4 CPUs
    [    0.154621] SMP: Total of 4 processors activated (153.60 BogoMIPS).
    [    0.154663] CPU: All CPU(s) started in SVC mode.
    [    0.155666] devtmpfs: initialized
    [    0.180785] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
    [    0.181175] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.182360] pinctrl core: initialized pinctrl subsystem
    [    0.183205] NET: Registered protocol family 16
    [    0.189041] DMA: preallocated 4096 KiB pool for atomic coherent allocations
    [    0.190339] bcm2709.uart_clock = 3000000
    [    0.195645] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.195717] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.195942] Serial: AMBA PL011 UART driver
    [    0.196159] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev2
    [    0.704300] console [ttyAMA0] enabled
    [    0.708560] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
    [    0.786640] bcm2708-dmaengine 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0xf35
    [    0.795405] bcm2708-dmaengine 3f007000.dma: Initialized 7 DMA channels (+ 1 legacy)
    [    0.803820] bcm2708-dmaengine 3f007000.dma: Load BCM2835 DMA engine driver
    [    0.810746] bcm2708-dmaengine 3f007000.dma: dma_debug:0
    [    0.816723] SCSI subsystem initialized
    [    0.820766] usbcore: registered new interface driver usbfs
    [    0.826382] usbcore: registered new interface driver hub
    [    0.831878] usbcore: registered new device driver usb
    [    0.837655] raspberrypi-firmware soc:firmware: Attached to firmware from 2015-09-29 13:06
    [    0.873263] Switched to clocksource arch_sys_counter
    [    0.927673] FS-Cache: Loaded
    [    0.930951] CacheFiles: Loaded
    [    0.945699] NET: Registered protocol family 2
    [    0.951395] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.958664] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.965395] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.971927] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.977965] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.984798] NET: Registered protocol family 1
    [    0.989727] RPC: Registered named UNIX socket transport module.
    [    0.995719] RPC: Registered udp transport module.
    [    1.000444] RPC: Registered tcp transport module.
    [    1.005216] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.012916] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
    [    1.022509] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    1.044747] VFS: Disk quotas dquot_6.6.0
    [    1.049081] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    1.058686] FS-Cache: Netfs 'nfs' registered for caching
    [    1.065236] NFS: Registering the id_resolver key type
    [    1.070370] Key type id_resolver registered
    [    1.074611] Key type id_legacy registered
    [    1.081473] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [    1.089201] io scheduler noop registered
    [    1.093164] io scheduler deadline registered (default)
    [    1.098676] io scheduler cfq registered
    [    1.105167] BCM2708FB: allocated DMA memory fac00000
    [    1.110203] BCM2708FB: allocated DMA channel 0 @ f3007000
    [    1.121242] Console: switching to colour frame buffer device 82x26
    [    1.132708] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled
    [    1.142046] vc-cma: Videocore CMA driver
    [    1.147685] vc-cma: vc_cma_base      = 0x00000000
    [    1.154086] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
    [    1.161099] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
    [    1.168300] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
    [    1.195549] brd: module loaded
    [    1.209133] loop: module loaded
    [    1.214889] vchiq: vchiq_init_state: slot_zero = 0xbac80000, is_master = 0
    [    1.225206] Loading iSCSI transport class v2.0-870.
    [    1.232596] usbcore: registered new interface driver smsc95xx
    [    1.240043] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [    1.447722] Core Release: 2.80a
    [    1.452333] Setting default values for core params
    [    1.458681] Finished setting default values for core params
    [    1.666181] Using Buffer DMA mode
    [    1.671005] Periodic Transfer Interrupt Enhancement - disabled
    [    1.678415] Multiprocessor Interrupt Enhancement - disabled
    [    1.685598] OTG VER PARAM: 0, OTG VER FLAG: 0
    [    1.691516] Dedicated Tx FIFOs mode
    [    1.696862] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbac14000 dma = 0xfac14000 len=9024
    [    1.709905] FIQ FSM acceleration enabled for :
    Non-periodic Split Transactions
    Periodic Split Transactions
    High-Speed Isochronous Endpoints
    [    1.733125] dwc_otg: Microframe scheduler enabled
    [    1.733207] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x804011c0
    [    1.740754] WARN::hcd_init_fiq:413: FIQ ASM at 0x8040151c length 36
    [    1.748658] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbb89a000
    [    1.756286] dwc_otg 3f980000.usb: DWC OTG Controller
    [    1.762878] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
    [    1.771845] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000
    [    1.779054] Init: Port Power? op_state=1
    [    1.784537] Init: Power Port (0)
    [    1.789559] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.797960] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.806783] usb usb1: Product: DWC OTG Controller
    [    1.813031] usb usb1: Manufacturer: Linux 4.1.8-v7+ dwc_otg_hcd
    [    1.820525] usb usb1: SerialNumber: 3f980000.usb
    [    1.827574] hub 1-0:1.0: USB hub found
    [    1.832899] hub 1-0:1.0: 1 port detected
    [    1.838857] dwc_otg: FIQ enabled
    [    1.838872] dwc_otg: NAK holdoff enabled
    [    1.838883] dwc_otg: FIQ split-transaction FSM enabled
    [    1.838921] Module dwc_common_port init
    [    1.839305] usbcore: registered new interface driver usb-storage
    [    1.847100] mousedev: PS/2 mouse device common for all mice
    [    1.855075] bcm2835-cpufreq: min=600000 max=900000
    [    1.861714] sdhci: Secure Digital Host Controller Interface driver
    [    1.869449] sdhci: Copyright(c) Pierre Ossman
    [    1.875813] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
    [    1.883198] mmc-bcm2835 3f300000.mmc: DMA channels allocated
    [    1.923676] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.936988] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.944902] hidraw: raw HID events driver (C) Jiri Kosina
    [    1.953188] usbcore: registered new interface driver usbhid
    [    1.961440] usbhid: USB HID core driver
    [    1.969323] Initializing XFRM netlink socket
    [    1.975288] NET: Registered protocol family 17
    [    1.983358] Key type dns_resolver registered
    [    1.989657] Registering SWP/SWPB emulation handler
    [    1.996869] registered taskstats version 1
    [    2.002683] vc-sm: Videocore shared memory driver
    [    2.008913] [vc_sm_connected_init]: start
    [    2.015116] [vc_sm_connected_init]: end - returning 0
    [    2.023371] Waiting for root device /dev/mmcblk0p2...
    [    2.033419] Indeed it is in host mode hprt0 = 00021501
    [    2.038182] mmc0: host does not support reading read-only switch, assuming write-enable
    [    2.041431] mmc0: new high speed SDHC card at address 0002
    [    2.042071] mmcblk0: mmc0:0002 SD16G 14.9 GiB
    [    2.055794]  mmcblk0: p1 p2
    [    2.153073] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.164481] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    2.185250] devtmpfs: mounted
    [    2.190593] Freeing unused kernel memory: 416K (80776000 - 807de000)
    [    2.243341] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [    2.251978] Indeed it is in host mode hprt0 = 00001101
    [    2.453713] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
    [    2.462740] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    2.473396] hub 1-1:1.0: USB hub found
    [    2.479086] hub 1-1:1.0: 5 ports detected
    [    2.579063] random: systemd urandom read with 51 bits of entropy available
    [    2.594071] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
    [    2.611902] systemd[1]: Detected architecture 'arm'.
    [    2.763356] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
    [    2.795915] NET: Registered protocol family 10
    [    2.804318] systemd[1]: Inserted module 'ipv6'
    [    2.824606] systemd[1]: Set hostname to <ccs-ht-rasp>.
    [    2.891958] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [    2.900875] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    2.913716] smsc95xx v1.0.4
    [    2.922781] uart-pl011 3f201000.uart: no DMA platform data
    [    2.987508] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:14:2f:2d
    [    3.093356] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
    [    3.221155] usb 1-1.3: New USB device found, idVendor=10c4, idProduct=ea60
    [    3.230045] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    3.239340] usb 1-1.3: Product: CP2102 USB to UART Bridge Controller
    [    3.247647] usb 1-1.3: Manufacturer: Silicon Labs
    [    3.254247] usb 1-1.3: SerialNumber: 0001
    [    3.343337] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
    [    3.488212] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6001
    [    3.497031] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    3.506225] usb 1-1.4: Product: RFXtrx433
    [    3.512017] usb 1-1.4: Manufacturer: RFXCOM
    [    3.517990] usb 1-1.4: SerialNumber: A1YUXLCQ
    [    3.623363] usb 1-1.5: new high-speed USB device number 6 using dwc_otg
    [    3.706027] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
    [    3.717852] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    3.729322] systemd[1]: Expecting device dev-ttyAMA0.device...
    [    3.739658] systemd[1]: Starting Remote File Systems (Pre).
    [    3.749413] systemd[1]: Reached target Remote File Systems (Pre).
    [    3.757779] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
    [    3.771135] usb 1-1.5: New USB device found, idVendor=05e3, idProduct=0606
    [    3.771147] usb 1-1.5: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    3.771158] usb 1-1.5: Product: USB2.0 Hub
    [    3.790069] hub 1-1.5:1.0: USB hub found
    [    3.790401] hub 1-1.5:1.0: 4 ports detected
    [    3.810068] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [    3.823541] systemd[1]: Starting Encrypted Volumes.
    [    3.832936] systemd[1]: Reached target Encrypted Volumes.
    [    3.840433] systemd[1]: Expecting device dev-mmcblk0p1.device...
    [    3.850695] systemd[1]: Expecting device dev-disk-by\x2duuid-14819217\x2d645a\x2d4c45\x2d951d\x2dadca9a21708f.device...
    [    3.867734] systemd[1]: Expecting device dev-disk-by\x2duuid-f50683f8\x2dbfec\x2d4ae8\x2d86d3\x2dde62e059d965.device...
    [    3.885008] systemd[1]: Starting Root Slice.
    [    3.893851] systemd[1]: Created slice Root Slice.
    [    3.900560] systemd[1]: Starting User and Session Slice.
    [    3.910514] systemd[1]: Created slice User and Session Slice.
    [    3.918410] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
    [    3.929791] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    3.938847] systemd[1]: Starting Delayed Shutdown Socket.
    [    3.948857] systemd[1]: Listening on Delayed Shutdown Socket.
    [    3.956709] systemd[1]: Starting Journal Socket (/dev/log).
    [    3.966897] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.974932] systemd[1]: Starting udev Control Socket.
    [    3.984384] systemd[1]: Listening on udev Control Socket.
    [    3.991737] systemd[1]: Starting udev Kernel Socket.
    [    4.000816] systemd[1]: Listening on udev Kernel Socket.
    [    4.008015] systemd[1]: Starting Journal Socket.
    [    4.016744] systemd[1]: Listening on Journal Socket.
    [    4.023661] systemd[1]: Starting System Slice.
    [    4.032206] systemd[1]: Created slice System Slice.
    [    4.038975] systemd[1]: Starting File System Check on Root Device...
    [    4.052685] systemd[1]: Starting system-systemd\x2dfsck.slice.
    [    4.063354] usb 1-1.5.1: new full-speed USB device number 7 using dwc_otg
    [    4.063395] systemd[1]: Created slice system-systemd\x2dfsck.slice.
    [    4.063547] systemd[1]: Starting system-autologin.slice.
    [    4.089598] systemd[1]: Created slice system-autologin.slice.
    [    4.097344] systemd[1]: Starting system-serial\x2dgetty.slice.
    [    4.107653] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    4.116107] systemd[1]: Starting Increase datagram queue length...
    [    4.130613] systemd[1]: Starting Restore / save the current clock...
    [    4.156523] systemd[1]: Mounting POSIX Message Queue File System...
    [    4.171096] systemd[1]: Mounted Huge Pages File System.
    [    4.179510] systemd[1]: Mounting Debug File System...
    [    4.221480] systemd[1]: Started Set Up Additional Binary Formats.
    [    4.277203] systemd[1]: Starting Load Kernel Modules...
    [    4.291968] systemd[1]: Starting udev Coldplug all Devices...
    [    4.314656] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    [    4.335280] systemd[1]: Starting Slices.
    [    4.344300] systemd[1]: Reached target Slices.
    [    4.346662] fuse init (API version 7.23)
    [    4.362360] systemd[1]: Mounted Debug File System.
    [    4.372174] systemd[1]: Mounted POSIX Message Queue File System.
    [    4.384958] systemd[1]: Started Increase datagram queue length.
    [    4.415123] systemd[1]: Started Restore / save the current clock.
    [    4.433083] systemd[1]: Started Create list of required static device nodes for the current kernel.
    [    4.450978] systemd[1]: Time has been changed
    [    4.458380] i2c /dev entries driver
    [    4.475771] systemd[1]: Started File System Check on Root Device.
    [    4.488989] systemd[1]: Started Load Kernel Modules.
    [    4.516112] systemd[1]: Started udev Coldplug all Devices.
    [    4.543016] usb 1-1.5.1: New USB device found, idVendor=0403, idProduct=6001
    [    4.563591] usb 1-1.5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    4.574881] usb 1-1.5.1: Product: FT232R USB UART
    [    4.582343] usb 1-1.5.1: Manufacturer: FTDI
    [    4.588451] usb 1-1.5.1: SerialNumber: A98J3XX9
    [    4.723346] usb 1-1.5.2: new full-speed USB device number 8 using dwc_otg
    [    4.726179] systemd[1]: Starting Apply Kernel Variables...
    [    4.746563] systemd[1]: Mounting Configuration File System...
    [    4.761032] systemd[1]: Mounting FUSE Control File System...
    [    4.777500] systemd[1]: Starting Create Static Device Nodes in /dev...
    [    4.785900] systemd[1]: Starting Syslog Socket.
    [    4.789257] systemd[1]: Listening on Syslog Socket.
    [    4.789541] systemd[1]: Starting Journal Service...
    [    4.800732] systemd[1]: Started Journal Service.
    [    4.993150] systemd-udevd[112]: starting version 215
    [    5.196754] usb 1-1.5.2: New USB device found, idVendor=0403, idProduct=6001
    [    5.196786] usb 1-1.5.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    5.196804] usb 1-1.5.2: Product: FT232R USB UART
    [    5.196821] usb 1-1.5.2: Manufacturer: FTDI
    [    5.196837] usb 1-1.5.2: SerialNumber: A9ULXRVF
    [    5.209528] random: nonblocking pool is initialized
    [    5.323405] usb 1-1.5.4: new high-speed USB device number 9 using dwc_otg
    [    5.424831] usb 1-1.5.4: New USB device found, idVendor=059b, idProduct=047a
    [    5.424865] usb 1-1.5.4: New USB device strings: Mfr=10, Product=11, SerialNumber=5
    [    5.424884] usb 1-1.5.4: Product: Iomega Select HDD
    [    5.424900] usb 1-1.5.4: Manufacturer: Iomega
    [    5.424917] usb 1-1.5.4: SerialNumber: 88A11FFFFFFF
    [    5.427979] usb-storage 1-1.5.4:1.0: USB Mass Storage device detected
    [    5.434150] scsi host0: usb-storage 1-1.5.4:1.0
    [    5.644436] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
    [    5.785563] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    5.940090] usbcore: registered new interface driver usbserial
    [    5.940302] usbcore: registered new interface driver usbserial_generic
    [    5.940428] usbserial: USB Serial support registered for generic
    [    5.954409] usbcore: registered new interface driver cp210x
    [    5.954583] usbserial: USB Serial support registered for cp210x
    [    5.954798] cp210x 1-1.3:1.0: cp210x converter detected
    [    5.958709] usb 1-1.3: cp210x converter now attached to ttyUSB0
    [    5.975485] usbcore: registered new interface driver ftdi_sio
    [    5.975660] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    5.976093] ftdi_sio 1-1.4:1.0: FTDI USB Serial Device converter detected
    [    5.976330] usb 1-1.4: Detected FT232RL
    [    5.977648] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB1
    [    5.977904] ftdi_sio 1-1.5.1:1.0: FTDI USB Serial Device converter detected
    [    5.978145] usb 1-1.5.1: Detected FT232RL
    [    5.980853] usb 1-1.5.1: FTDI USB Serial Device converter now attached to ttyUSB2
    [    5.981060] ftdi_sio 1-1.5.2:1.0: FTDI USB Serial Device converter detected
    [    5.981375] usb 1-1.5.2: Detected FT232RL
    [    5.997781] usb 1-1.5.2: FTDI USB Serial Device converter now attached to ttyUSB3
    [    6.097378] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [    6.098107] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    6.434101] scsi 0:0:0:0: Direct-Access     TOSHIBA  MK1252GSX             PQ: 0 ANSI: 2 CCS
    [    6.436366] sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/111 GiB)
    [    6.436862] sd 0:0:0:0: [sda] Write Protect is off
    [    6.436890] sd 0:0:0:0: [sda] Mode Sense: 34 00 00 00
    [    6.437345] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [    6.449059]  sda: sda1 sda2
    [    6.452072] sd 0:0:0:0: [sda] Attached SCSI disk
    [    6.467773] sd 0:0:0:0: Attached scsi generic sg0 type 0
    [    7.254679] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    [    7.275048] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
    [    7.454676] systemd-journald[109]: Received request to flush runtime journal from PID 1
    [    7.693421] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    7.695039] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
    [    8.369708] cfg80211: Calling CRDA to update world regulatory domain
    [    9.260821] Adding 204796k swap on /var/swap.  Priority:-1 extents:8 across:2047996k SSFS
    [   11.523381] cfg80211: Calling CRDA to update world regulatory domain
    [   11.576268] bcm2708_fb soc:fb: Unknown ioctl 0x40187a22
    [   14.683339] cfg80211: Calling CRDA to update world regulatory domain
    [   17.843326] cfg80211: Calling CRDA to update world regulatory domain
    [   21.003398] cfg80211: Calling CRDA to update world regulatory domain
    [   24.163349] cfg80211: Calling CRDA to update world regulatory domain
    [   27.323363] cfg80211: Calling CRDA to update world regulatory domain
    [   30.483515] cfg80211: Calling CRDA to update world regulatory domain
    [   33.643372] cfg80211: Calling CRDA to update world regulatory domain
    [   36.803372] cfg80211: Calling CRDA to update world regulatory domain
    [   39.963375] cfg80211: Calling CRDA to update world regulatory domain
    [   43.123417] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
    pi@ccs-ht-rasp ~ $
Aber irgendwie werden nicht auf allen RxTx Modulen die Daten eingelesen.
define TEK603 TEK603 /dev/ttyUSB0
define RFXtrx433E TRX /dev/ttyUSB1@38400
define nanoCUL433 CUL /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A98J3XX9-if00-port0@38400 0000
define nanoCUL868 CUL /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A9ULXRVF-if00-port0@38400 0000

Ist hier an der Schreibweise etwas falsch.
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

Icinger

Grundsätzlich falsch ist das nicht, allerdings würde ich entweder ALLE Geräte mittels serial/by-id ansprechen oder aber UDEV-Regeln anlegen:
http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/

lg, Ici
Verwende deine Zeit nicht mit Erklärungen. Die Menschen hören (lesen) nur, was sie hören (lesen) wollen. (c) Paulo Coelho

Burny4600

#2
Das habe ich schon probiert, funktioniert aber nicht.
Hatte die Schnittstellen in der Form definiert:

define TEK603 TEK603 /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
define RFXtrx433E TRX /dev/serial/by-id/usb-RFXCOM_RFXtrx433_A1YUXLCQ-if00-port0
define nanoCUL433 CUL /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A98J3XX9-if00-port0@38400 0000
define nanoCUL868 CUL /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A9ULXRVF-if00-port0@38400 0000

Nur dann kommen keine Daten über RFXtrx433E bzw. TEK603.

Irgendwo ist da noch ein Fehler.

Mit den UDEV-Regeln blicke ich nicht ganz durch.
Wie müsste ich das in meinem Fall erstellen wo ich zwei arduinos habe.
Bzw. wie mache ich das für den RFXtrx433E und TEK603.
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

Wzut

Zitat von: Burny4600 am 06 Oktober 2015, 09:50:17
Nur dann kommen keine Daten über RFXtrx433E bzw. TEK603.
Doch das geht , ich habe bei mir alles mit /dev/serial/by-id/ definiert,
( 2 x JeeLink, Cul und TFXTRX)
/dev/serial/by-id/usb-RFXCOM_RFXtrx433_A1YHQTNP-if00-port0@38400
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

Burny4600

LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess