( Erledigt ) UZB wechselt das Device

Begonnen von Wolfgang Hochweller, 21 März 2019, 19:33:56

Vorheriges Thema - Nächstes Thema

Wolfgang Hochweller

An meinem Pi habe ich folgendes an den USB-Ports haengen :
UZB Stick, das RFXCOM und der Raspbian-Stick, von dem der Pi auch bootet.

Jetzt ist es das zweite Mal vorgekommen, das der UZB-Stick beim Neustart von ACM0 auf ACM1 wechselt, ohne dass ich etwas angefasst haette.
Kann ich erreichen, dass die USB-Geraete ihre feste Adresse bekommen und auch behalten ?
Ich bin sicher, dass er irgendwann wieder auf ACM0 zurueckspringt.

lsusb sagt :

Bus 001 Device 008: ID 0951:1623 Kingston Technology
Bus 001 Device 009: ID 0658:0200 Sigma Designs, Inc.
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
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. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



008 ist das Bootdevice
004 RFXCOM   ( ttyUSB0 )
009 UZB  ( jetzt   ttyACM1,   sonst ttyACM0 )

dmesg liefert :


    8.195487] usbserial: USB Serial support registered for generic
[    8.198760] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
[    8.199756] usbcore: registered new interface driver cdc_acm
[    8.199764] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    8.222617] usbcore: registered new interface driver ftdi_sio
[    8.222687] usbserial: USB Serial support registered for FTDI USB Serial Device
[    8.222974] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[    8.223114] usb 1-1.3: Detected FT232RL
[    8.228494] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0
[    8.229476] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[    8.234063] random: crng init done
[    8.234075] random: 7 urandom warning(s) missed due to ratelimiting
[    8.235473] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001
[    8.235727] usbcore: registered new interface driver brcmfmac
[    8.270083] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    8.503117] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
[    8.504122] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.10.39 Inc Compiler: 1.29.4 Inc ClmImport: 1.36.3 Creation: 2017-10-23 03:47:14
[   10.100409] uart-pl011 3f201000.serial: no DMA platform data
[   10.585621] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   10.633047] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   10.633119] brcmfmac: power management disabled
[   12.205836] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[   14.978514] Bluetooth: Core ver 2.22
[   14.978584] NET: Registered protocol family 31
[   14.978590] Bluetooth: HCI device and connection manager initialized
[   14.978611] Bluetooth: HCI socket layer initialized
[   14.978625] Bluetooth: L2CAP socket layer initialized
[   14.978659] Bluetooth: SCO socket layer initialized
[   14.998441] Bluetooth: HCI UART driver ver 2.3
[   14.998457] Bluetooth: HCI UART protocol H4 registered
[   14.998463] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   14.998688] Bluetooth: HCI UART protocol Broadcom registered
[   15.202485] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   15.202498] Bluetooth: BNEP filters: protocol multicast
[   15.202519] Bluetooth: BNEP socket layer initialized
[   15.591877] FS-Cache: Netfs 'cifs' registered for caching
[   15.592386] Key type cifs.spnego registered
[   15.592405] Key type cifs.idmap registered
[   15.593643] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
[   15.949027] CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-5
[   16.870365] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k FS
[   30.069450] usb 1-1.4: USB disconnect, device number 7
[   30.361502] usb 1-1.4: new full-speed USB device number 9 using dwc_otg
[   30.494794] usb 1-1.4: New USB device found, idVendor=0658, idProduct=0200
[   30.494805] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   30.495580] cdc_acm 1-1.4:1.0: ttyACM1: USB ACM device




Oben wird der Stick als ACM0 angelegt, ganz unten getrennt und als ACM1 wieder angelegt.




Wolfgang Hochweller