Hilfe USB0 wird ständig blockiert

Begonnen von ErazorVIP, 08 Dezember 2013, 08:29:29

Vorheriges Thema - Nächstes Thema

ErazorVIP

Hallo,

ich habe folgendes Problem. An mein Raspberry hängt auf den USB-Port 0 schon ein anderes Gerät.
Wenn ich jetzt FHEM starte dann sperrt er mir jedesmal den USB Port und nichts geht mehr, den CUL Stick erkennt er.
Ich finde in der cfg auch nichts was auf USB0 hindeutet.


2013.12.07 21:59:14 0: Server shutdown
2013.12.08 08:16:34 1: Including fhem.cfg
2013.12.08 08:16:36 3: telnetPort: port 7072 opened
2013.12.08 08:16:38 3: WEB: port 8083 opened
2013.12.08 08:16:38 3: WEBphone: port 8084 opened
2013.12.08 08:16:38 3: WEBtablet: port 8085 opened
2013.12.08 08:17:17 3: Opening CUL_0 device /dev/ttyACM0
2013.12.08 08:17:18 3: Can't open /dev/ttyACM0: No such file or directory
2013.12.08 08:17:21 1: Including ./log/fhem.save
2013.12.08 08:17:21 1: statefile: Please define TCM120_0 first
Please define TCM120_0 first
2013.12.08 08:17:21 1: usb create starting
2013.12.08 08:17:24 3: Opening CUL device /dev/ttyAMA0
2013.12.08 08:17:24 3: Setting CUL baudrate to 38400
2013.12.08 08:17:24 3: CUL device opened
2013.12.08 08:17:24 3: Opening TCM310 device /dev/ttyAMA0
2013.12.08 08:17:24 3: Setting TCM310 baudrate to 57600
2013.12.08 08:17:25 3: TCM310 device opened
2013.12.08 08:17:25 3: Opening TCM310 device /dev/ttyUSB0
2013.12.08 08:17:25 3: Setting TCM310 baudrate to 57600
2013.12.08 08:17:25 3: TCM310 device opened
2013.12.08 08:17:25 3: Opening TCM120 device /dev/ttyUSB0
2013.12.08 08:17:25 3: Setting TCM120 baudrate to 9600
2013.12.08 08:17:25 3: TCM120 device opened
2013.12.08 08:17:25 1: define TCM120_0 TCM 120 /dev/ttyUSB0@9600
2013.12.08 08:17:26 3: Opening TCM120_0 device /dev/ttyUSB0
2013.12.08 08:17:26 3: Setting TCM120_0 baudrate to 9600
2013.12.08 08:17:26 3: TCM120_0 device opened
2013.12.08 08:17:26 3: Opening TCM310 device /dev/ttyUSB3
2013.12.08 08:17:26 3: Setting TCM310 baudrate to 57600
2013.12.08 08:17:26 3: TCM310 device opened
2013.12.08 08:17:27 3: Opening TCM120 device /dev/ttyUSB3
2013.12.08 08:17:27 3: Setting TCM120 baudrate to 9600
2013.12.08 08:17:27 3: TCM120 device opened
2013.12.08 08:17:27 3: Opening FHZ device /dev/ttyUSB3
2013.12.08 08:17:27 3: Setting FHZ baudrate to 9600
2013.12.08 08:17:27 3: FHZ device opened
2013.12.08 08:17:27 3: Opening TRX device /dev/ttyUSB3
2013.12.08 08:17:27 3: Setting TRX baudrate to 38400
2013.12.08 08:17:27 3: TRX device opened
2013.12.08 08:17:28 3: Opening ZWDongle device /dev/ttyUSB3
2013.12.08 08:17:28 3: Setting ZWDongle baudrate to 115200
2013.12.08 08:17:28 3: ZWDongle device opened
2013.12.08 08:17:28 1: usb create end
2013.12.08 08:17:28 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2013.12.08 08:17:28 0: Server started with 29 defined entities (version $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $, os linux, user fhem, pid 1976)
2013.12.08 08:19:02 1: Including fhem.cfg
2013.12.08 08:19:02 3: telnetPort: port 7072 opened
2013.12.08 08:19:02 3: WEB: port 8083 opened
2013.12.08 08:19:02 3: WEBphone: port 8084 opened
2013.12.08 08:19:02 3: WEBtablet: port 8085 opened
2013.12.08 08:19:02 3: Opening CUL_0 device /dev/ttyACM0
2013.12.08 08:19:02 3: Can't open /dev/ttyACM0: No such file or directory
2013.12.08 08:19:02 1: Including ./log/fhem.save

arned

Hi!

Ich habe das selbe Problem. Kennt jemand (der Threadersteller?) eine Lösung?

Gruß

Arne

Wernieman

1. Gucken, ob das Device überhaupt existiert, also in der Konsole:
ls -lha /dev/ttyACM0
2. Gucken ob die Rechte stimme (könnten)
ls -lha /dev/ttyACM0

Kannst Du uns das Geben?
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

fiedel

ZitatIch finde in der cfg auch nichts was auf USB0 hindeutet.

2013.12.08 08:17:21 1: usb create starting

Das "usb create" bitte mal in der CFG auskommentieren!
Der CUL u.ä. muss dann komplett mit Schnittstelle definiert werden, da er nun nicht mehr automatisch eingebunden wird.

Gruß
Frank
FeatureLevel: 6.1 auf Wyse N03D ; Deb. 11 ; Perl: v5.14.2 ; IO: HM-MOD-RPI-PCB + VCCU|CUL 868 V 1.66|LinkUSBi |TEK603
HM: SEC-SCO|SCI-3-FM|LC-SW4-PCB|ES-PMSW1-PL|RC-4-2|SEN-MDIR-O|SEC-WDS-2
CUL: HMS100TF|FS20 S4A-2 ; OWDevice: DS18S20|DS2401|DS2406|DS2423

Otto123

Zitat von: fiedel am 13 Dezember 2015, 10:04:14
Das "usb create" bitte mal in der CFG auskommentieren!

Bitte mit attr initialUsbCheck disable 1 und nicht die cfg per Hand editieren.

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

fiedel

FeatureLevel: 6.1 auf Wyse N03D ; Deb. 11 ; Perl: v5.14.2 ; IO: HM-MOD-RPI-PCB + VCCU|CUL 868 V 1.66|LinkUSBi |TEK603
HM: SEC-SCO|SCI-3-FM|LC-SW4-PCB|ES-PMSW1-PL|RC-4-2|SEN-MDIR-O|SEC-WDS-2
CUL: HMS100TF|FS20 S4A-2 ; OWDevice: DS18S20|DS2401|DS2406|DS2423