{"action":"created","issue":{"url":"https://api.github.com/repos/knxd/knxd/issues/124","repository_url":"https://api.github.com/repos/knxd/knxd","labels_url":"https://api.github.com/repos/knxd/knxd/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/knxd/knxd/issues/124/comments","events_url":"https://api.github.com/repos/knxd/knxd/issues/124/events","html_url":"https://github.com/knxd/knxd/issues/124","id":132145790,"number":124,"title":"KNXD doesn't work with Busch-Jäger USB interface 6123","user":{"login":"cornelw","id":17122557,"avatar_url":"https://avatars.githubusercontent.com/u/17122557?v=3","gravatar_id":"","url":"https://api.github.com/users/cornelw","html_url":"https://github.com/cornelw","followers_url":"https://api.github.com/users/cornelw/followers","following_url":"https://api.github.com/users/cornelw/following{/other_user}","gists_url":"https://api.github.com/users/cornelw/gists{/gist_id}","starred_url":"https://api.github.com/users/cornelw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornelw/subscriptions","organizations_url":"https://api.github.com/users/cornelw/orgs","repos_url":"https://api.github.com/users/cornelw/repos","events_url":"https://api.github.com/users/cornelw/events{/privacy}","received_events_url":"https://api.github.com/users/cornelw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-08T13:47:27Z","updated_at":"2016-05-10T21:47:00Z","closed_at":null,"body":"Hi,\r\nI'm using Debian Jessie lite and installed knxd with the following script:\r\n\r\n#!/bin/bash\r\n//# first, install build tools and get the source code\r\nsudo apt-get install git-core build-essential debhelper cdbs autoconf automake libtool libusb-1.0-0-dev libsystemd-daemon-dev dh-systemd\r\ngit clone https://github.com/knxd/knxd.git\r\n //# knxd requires libpthsem which unfortunately isn't part of Debian\r\nwget --no-check-certificate https://www.auto.tuwien.ac.at/~mkoegler/pth/pthsem_2.0.8.tar.gz\r\ntar xzf pthsem_2.0.8.tar.gz\r\ncd pthsem-2.0.8\r\ndpkg-buildpackage -b -uc\r\ncd ..\r\nsudo dpkg -i libpthsem*.deb\r\n//# now build+install knxd itself\r\ncd knxd\r\ndpkg-buildpackage -b -uc\r\ncd ..\r\nsudo dpkg -i knxd_*.deb knxd-tools_*.deb\r\n//# some important changes\r\n//# Modify /boot/cmdline.txt to disable boot screen over serial interface\r\nsed -e's/ console=ttyAMA0,115200//g' /boot/cmdline.txt --in-place=.bak\r\nsed -e's/ kgdboc=ttyAMA0,115200//g' /boot/cmdline.txt --in-place=.bak\r\n//# Disable serial console\r\nsystemctl disable serial-getty@ttyAMA0.service\r\n\r\n\r\n**Since I use knxd my usb Interface 6123-USB from Busch-Jäger does not work any longer.**\r\n**As I used the outdated eib daemon (bcusdk_0.0.5) with cEMI-patch evrything works fine, except the high cpu usage of about 99%. vbusmonitor1 and groupswrite were successful, e. g. lights can be switched using \"groupswrite 0/0/47 1\".**\r\n\r\n**Can anybody help here?**\r\n**Does anybody have a working example (KNXD_OPTS) by using an usb Interface?**\r\n\r\n**Thank you in advance!**\r\n**Cornel**\r\n\r\n\r\n\r\nI called eibd with the following Options:\r\nEIBD_OPTIONS=\"-d -D -T -R -S -i -u --eibaddr=1.1.128 usb:1:5:1:0:0\"\r\ngroupswrite was working successfully.\r\n\r\nWhen I start knxd manually with the following Options, everything seems to be working.\r\nKNXD_OPTS=\"-e 1.1.128 -t1023 -f9 -DTRS -b usb:1:5:1:0:0\"\r\n\r\n\r\nHere is the console Output:\r\n\r\nroot@automation1:~# /usr/bin/knxd -e 1.1.128 -t1023 -f9 -DTRS -b usb:1:5:1:0:0\r\nLayer 3(01D1AC60,56B89821) Open\r\nLayer 8(01D2B1E0,56B89821) Open\r\nLayer 0(01D2B688,56B89821) Open\r\nLayer 0(01D2B688,56B89821) Openend\r\nLayer 8(01D2B1E0,56B89821) Opened\r\nLayer 3(01D1AC60,56B89821) registerLayer2 01D2B208\r\nLayer 3(01D1AC60,56B89821) registerLayer2 01D2B208 = 1\r\nLayer 1(01D4C0C0,56B89821) Detect\r\nLayer 1(01D4C0C0,56B89821) Using 1:5:1:0:0 (2:129)\r\nLayer 1(01D4C0C0,56B89821) Open\r\nLayer 1(01D4C0C0,56B89821) Claimed\r\nLayer 1(01D4C0C0,56B89821) Opened\r\nLayer 1(01D4C0C0,56B89821) Send(064): 01 13 09 00 08 00 01 0F 01 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\nLayer 3(01D1AC60,56B89821) L3 started\r\nLayer 0(01D4C0C0,56B89821) StartRecv\r\nLayer 0(01D4C0C0,56B89821) Send(064): 01 13 09 00 08 00 01 0F 01 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\nLayer 0(01D4C0C0,56B89821) StartSend\r\nLayer 0(01D4C0C0,56B89821) SendComplete 64\r\nLayer 0(01D4C0C0,56B89821) RecvComplete 64\r\nLayer 0(01D4C0C0,56B89821) RecvUSB(064): 01 13 0B 00 08 00 03 0F 02 00 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\nLayer 0(01D4C0C0,56B89821) StartRecv\r\nLayer 1(01D4C0C0,56B89821) Recv(064): 01 13 0B 00 08 00 03 0F 02 00 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\nLayer 1(01D4C0C0,56B89821) Send(064): 01 13 0A 00 08 00 02 0F 03 00 00 05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\nLayer 0(01D4C0C0,56B89821) Send(064): 01 13 0A 00 08 00 02 0F 03 00 00 05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\nLayer 0(01D4C0C0,56B89821) StartSend\r\nLayer 1(01D4D0E0,56B89821) EMI1\r\nLayer 2(01D4D220,56B89821) Open\r\nLayer 2(01D4D220,56B89821) Opened\r\nLayer 3(01D1AC60,56B89821) registerLayer2 01D4CF60\r\nLayer 2(01D4D220,56B89821) OpenL2\r\nLayer 0(01D4D0E0,56B89821) Send-EMI(005): 46 01 00 60 12\r\nLayer 1(01D4C0C0,56B89821) Send(064): 01 13 0D 00 08 00 05 01 01 00 00 46 01 00 60 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\nLayer 0(01D4C0C0,56B89821) SendComplete 64\r\nLayer 0(01D4C0C0,56B89821) Send(064): 01 13 0D 00 08 00 05 01 01 00 00 46 01 00 60 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\nLayer 0(01D4C0C0,56B89821) StartSend\r\nLayer 0(01D4C0C0,56B89821) SendComplete 64\r\nLayer 3(01D1AC60,56B89821) registerLayer2 01D4CF60 = 1\r\nW00000020: EIBD should not run as root\r\nLayer 0(01D4C0C0,56B8983F) RecvError 2\r\nW00000033: RecvError 2\r\nLayer 0(01D4C0C0,56B8983F) StartRecv\r\n\r\nUsing groupswrite, output:\r\n\r\nroot@automation1:~# knxtool groupswrite local:/tmp/eib 0/0/47 1\r\nOpen failed: Connection refused\r\n\r\nUsing vbusmonitor1, output:\r\n\r\nroot@automation1:~# knxtool vbusmonitor1 local:/tmp/eib\r\nOpen failed: Connection refused\r\nroot@automation1:~# knxtool vbusmonitor1 local:\r\nOpen failed: No such file or directory\r\n\r\nhtop:\r\n\r\n![htop1](https://cloud.githubusercontent.com/assets/17122557/12886741/cbba7d40-ce6f-11e5-9a12-aaed76dad8ae.jpg)\r\n\r\nlsusb recognizes the usb Interface:\r\n\r\nroot@automation1:~# lsusb\r\nBus 001 Device 005: ID 145c:1330\r\nBus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver\r\nBus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter\r\nBus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.\r\nBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\r\nroot@automat"},"comment":{"url":"https://api.github.com/repos/knxd/knxd/issues/comments/218301912","html_url":"https://github.com/knxd/knxd/issues/124#issuecomment-218301912","issue_url":"https://api.github.com/repos/knxd/knxd/issues/124","id":218301912,"user":{"login":"cornelw","id":17122557,"avatar_url":"https://avatars.githubusercontent.com/u/17122557?v=3","gravatar_id":"","url":"https://api.github.com/users/cornelw","html_url":"https://github.com/cornelw","followers_url":"https://api.github.com/users/cornelw/followers","following_url":"https://api.github.com/users/cornelw/following{/other_user}","gists_url":"https://api.github.com/users/cornelw/gists{/gist_id}","starred_url":"https://api.github.com/users/cornelw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornelw/subscriptions","organizations_url":"https://api.github.com/users/cornelw/orgs","repos_url":"https://api.github.com/users/cornelw/repos","events_url":"https://api.github.com/users/cornelw/events{/privacy}","received_events_url":"https://api.github.com/users/cornelw/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T21:46:59Z","updated_at":"2016-05-10T21:46:59Z","body":"Hello!\n\n \n\nYou have a new message, please read <http://probose.ru/hearing.php?ltg>\n\n \n\ncornel.wunsch@interrupt.de\n\n"}}