• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2
1  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: April 16, 2010, 09:42:19 AM
Finally I succeed with the compile process of pthsem and eibd on the plug. Thank you very much for the support.
2  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: March 14, 2010, 08:23:32 AM
Hi, thanks again to all.
I wil contact Martin Kögler, because I don't know where the problem lies.

kimx
3  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: March 06, 2010, 03:07:20 AM
Hi davall, here the outputs:
Code:
root@sheeva:~# eibd -t1023 -i usb:
Layer 1(00070A20,4B92290C) Detect
Layer 1(00070A20,4B92290C) Close
Layer 1(00070A20,4B92290C) Release
Layer 1(00070A20,4B92290C) Close
initialisation of the backend failed

root@sheeva:~# lsusb -v

Bus 001 Device 004: ID 135e:0021 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x135e
  idProduct          0x0021
  bcdDevice            1.02
  iManufacturer           1 Berker GmbH & Co. KG
  iProduct                2 KNX-USB Data Interface
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               50mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.01
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      56
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               2
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               2
Device Status:     0x0000
  (Bus Powered)
...

Thanks
kimx
4  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: March 05, 2010, 08:19:46 AM
Hi erpel, I've installed the plug following this guide http://plugcomputer.org/plugwiki/index.php/Installing_Debian_To_Flash . The uboot version is 3.4.19. The usb works, I've tested it with a usb ir reciver and lirc.

kimx
5  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: March 05, 2010, 06:44:49 AM
Hi davall, I have installed debian on flash and got the kernel from http://sheeva.with-linux.com/sheeva/index.php?dir=2.6.32.8. I can't find the difference between the two installation. The only thing that I've seen is that the usb related stuff is in the kernel instead of being loaded as a module.
Code:
root@sheeva:~# cat /etc/debian_version
squeeze/sid
root@sheeva:~# uname -a
Linux sheeva 2.6.32.8 #1 PREEMPT Tue Feb 9 14:36:02 MST 2010 armv5tel GNU/Linux

kimx
6  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: March 05, 2010, 02:32:45 AM
Hi davall, my setup is working properly on a laptop on ubuntu. I can't understand the difference between this two setups.

kimx
7  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: March 05, 2010, 01:25:06 AM
Hi davall, here is the output from the command : http://paste.ubuntu.com/388812/
It seems compiled with usb-support, but it doesn't work with my interface.

Another problem that I'm having is: when I restart the plug, the usb-interface doesn't show up in lsusb. I have to plug it out and in again. I don't know where this strange behavior come from, but I get some errors in dmesg:
Code:
dmesg:
usb 1-1: new full speed USB device using orion-ehci and address 3
hub 1-0:1.0: unable to enumerate USB device on port 1

After unplug and replug:
Code:
usb 1-1: new full speed USB device using orion-ehci and address 4
usb 1-1: configuration #1 chosen from 1 choice
generic-usb 0003:135E:0021.0001: hiddev96: USB HID v1.01 Device [Berker GmbH & Co. KG KNX-USB Data Interface] on usb-orion-ehci.0-1/input0

Regards
kimx
8  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: March 02, 2010, 05:01:24 AM
Hi, regarding this:
Quote
Take care though when you restart linknx, it will loose the info and will only pick it up as the data passes on the bus again (like temp values or even light on/off).

I've set the read flags on the actor for adresses which indicate lights. Now even when I restart linknx it gets the right values for the object.

kimx
9  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: March 02, 2010, 12:39:12 AM
Thanks for your help. This community is awesome.
Quote
Another way to investigate could be the [Berker GmbH & Co. KG KNX-USB Data Interface] you use.
I've a setup running on a laptop without problems. The problems are somewhere else. Titus_Crow if you could share your packages so I could try it on my plug. I'm very confident and I hope it will run on my plug in the near future Smiley

kimx
10  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: March 01, 2010, 01:49:34 PM
Thank you very much. I like people like you. Sharing their knowledge with the community is a wonderfull thing. Did the kernel has anything to do with the eibd-stuff?

kimx
11  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: March 01, 2010, 12:34:48 PM
Thank you erpel. I've seen your updates and got them right away.
Unfortunately my problem isn't solved. How could this be? The user Titus_Crow got it working with a snapshot from git which was older than your build. Maybe I'm missing something else? The usb interface gets listed in the dmesg:
Code:
root@sheeva:~# dmesg |grep usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usb usb1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
usb 1-1: new full speed USB device using orion-ehci and address 2
usb 1-1: new full speed USB device using orion-ehci and address 3
usb 1-1: new full speed USB device using orion-ehci and address 4
usb 1-1: new full speed USB device using orion-ehci and address 5
usb 1-1: new full speed USB device using orion-ehci and address 6
usb 1-1: configuration #1 chosen from 1 choice
generic-usb 0003:135E:0021.0001: hiddev96: USB HID v1.01 Device [Berker GmbH & Co. KG KNX-USB Data Interface] on usb-orion-ehci.0-1/input0

After mount -t usbfs none /proc/bus/usb I can cat /proc/bus/usb/devices
Code:
root@sheeva:~# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.32.8 ehci_hcd
S:  Product=Marvell Orion EHCI
S:  SerialNumber=orion-ehci.0
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
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  6 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=135e ProdID=0021 Rev= 1.02
S:  Manufacturer=Berker GmbH & Co. KG
S:  Product=KNX-USB Data Interface
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 50mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=02(O) Atr=03(Int.) MxPS=  64 Ivl=2ms

The interface seems to be recognized but the command findknxusb gives no result:
Code:
root@sheeva:~# findknxusb
Possible addresses for KNX USB devices:

I don't know how to solve this issue.

Btw the dependencies on eibd-server include the package  libpthsem20 and libknx requires pthsem. Is this ment to be so?

Thank you very much.

kimx
12  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: February 27, 2010, 07:13:18 AM
Thank you very much for the effort of porting this project. Hopefully the newer pthsem will fix my problem. After your release I will test it and report back to you. In the meanwhile thank you.

kimx
13  Linux Stuff / Kernel / Re: Build lircd modules on 2.6.32.8 on: February 26, 2010, 05:00:24 AM
Hi, I've managed to crosscompile the needed modules for the mceusb remote. Now the remote works. It wasn't that easy because I had to get some sources from the svn and merge them with the sources of the lirc-modules-source package. I replaced the following files from the source package with the files from svn:
lirc_dev.c
lirc_mceusb.c
lirc_dev.h
kcompat.h
lirc.h

Afterwards I fixed some path in the .h files and the compile went well.

kimx
14  General Category / Success stories / Re: KNX/EIB Home Automation Centre on: February 26, 2010, 04:48:20 AM
Hi, I'm very impressed to read all these succes story with eibd on the sheeva plug. I hope my story will have a happy end to Smiley . I'm using a usbinterface to connect to the bus. Unfortunatly the packages provided by erpel don't support this feature right now. I've seen that the user Titus_Crow compiled his own version of eibd and pthsem and his attempt was a success. My problem is that I don't know how to do that. I red the mailing list but I didn't understand how to build my own version. Here my question: can someone share his build or could you (erpel) update your packages?

Thank you very much

kimx
15  Linux Stuff / Kernel / Re: Build lircd modules on 2.6.32.8 on: February 20, 2010, 10:45:42 PM
Hi, I've managed to cross compile the modules, but if I load them I get the follwing errors in dmesg:

...
kernel BUG at arch/arm/mm/dma-mapping.c:547!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = df324000
[00000000] *pgd=1ecf0031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1] PREEMPT
last sysfs file: /sys/module/lirc_dev/initstate
Modules linked in: lirc_mceusb2(+) lirc_dev mv_cesa
CPU: 0    Not tainted  (2.6.32.8 #1)
...

The full log:
http://pastebin.ubuntu.com/380782/

Thank you for your help.

kimx
Pages: [1] 2