Flex Velbus connection demo tool

Sure I want to share it, but currently it is a bit unstable and I’m reworking my code so that it works with a sort of gateway jeroends wrote…
(see [forum.velbus.eu/t/velbus-software/3041/1))

If it works again, I’ll let you know…

You might considering using a software sunrise/sunset in combination with another velleman module:

falco.be/store/product_info. … ts_id=2442

the MK125 kit measures the light and uses a comparator to toggle a relais. This output can connect to the 8 input module of the velbus… Ofcourse you need to make sure the sensor can’t be triggered when passing by, the solution can be to combine it with a software solution or timer.

Tried to compile the c source files with gcc

did first: gcc server_velbus.c -> this command created a new file named a.out (13,6 KB)
then I tried to compile client_velbus.c but this did not do anything anymore (no error message returned)

Do I also have to compile the file velbus.c?
When I tried it gave this error…

gigi@InspireMe:~/Bureaublad/Velbus$ gcc velbus.c
velbus.c: In function ‘main’:
velbus.c:70: warning: incompatible implicit declaration of built-in function ‘strcpy’

How to run it now? The file a.out which appears to be an executable file should be executed… how do I start it?

My dmesg output after connecting the VMB1USB interface here below…

0.674413] VFS: Disk quotas dquot_6.5.2
0.674499] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
0.675307] fuse init (API version 7.12)
0.675428] msgmni has been set to 1707
0.675710] alg: No test for stdrng (krng)
0.675729] io scheduler noop registered
0.675733] io scheduler anticipatory registered
0.675735] io scheduler deadline registered
0.675801] io scheduler cfq registered (default)
0.675817] pci 0000:00:02.0: Boot video device
0.676169]   alloc irq_desc for 24 on node -1
0.676173]   alloc kstat_irqs on node -1
0.676188] pcieport-driver 0000:00:1c.0: irq 24 for MSI/MSI-X
0.676202] pcieport-driver 0000:00:1c.0: setting latency timer to 64
0.676398]   alloc irq_desc for 25 on node -1
0.676401]   alloc kstat_irqs on node -1
0.676413] pcieport-driver 0000:00:1c.1: irq 25 for MSI/MSI-X
0.676426] pcieport-driver 0000:00:1c.1: setting latency timer to 64
0.676572] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
0.676712] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
0.676960] ACPI: AC Adapter [ACAD] (on-line)
0.677056] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
0.677061] ACPI: Power Button [PWRF]
0.677152] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input1
0.677219] ACPI: Lid Switch [LID0]
0.677281] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2
0.677285] ACPI: Power Button [PWRB]
0.678428] ACPI: SSDT 7bb1aca0 001E1 (v01  PmRef  Cpu0Ist 00003000 INTL 20050624)
0.679213] ACPI: SSDT 7bb19620 005C5 (v01  PmRef  Cpu0Cst 00003001 INTL 20050624)
0.684111] Monitor-Mwait will be used to enter C-1 state
0.684145] Monitor-Mwait will be used to enter C-2 state
0.684174] Monitor-Mwait will be used to enter C-3 state
0.684184] Marking TSC unstable due to TSC halts in idle
0.684209] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
0.684245] processor LNXCPU:00: registered as cooling_device0
0.684893] ACPI: SSDT 7bb1aa20 001CF (v01  PmRef    ApIst 00003000 INTL 20050624)
0.685507] ACPI: SSDT 7bb1af20 0008D (v01  PmRef    ApCst 00003000 INTL 20050624)
0.690539] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
0.690568] processor LNXCPU:01: registered as cooling_device1
0.714038] isapnp: Scanning for PnP cards...
1.048180] ACPI: Battery Slot [BAT1] (battery present)
1.069597] isapnp: No Plug & Play device found
1.071401] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
1.073265] brd: module loaded
1.073922] loop: module loaded
1.074022] input: Macintosh mouse button emulation as /devices/virtual/input/input3
1.074122] ahci 0000:00:1f.2: version 3.0
1.074138]   alloc irq_desc for 19 on node -1
1.074141]   alloc kstat_irqs on node -1
1.074149] ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
1.074188]   alloc irq_desc for 26 on node -1
1.074191]   alloc kstat_irqs on node -1
1.074203] ahci 0000:00:1f.2: irq 26 for MSI/MSI-X
1.074278] ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 4 ports 3 Gbps 0x1 impl SATA mode
1.074283] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck pm led clo pmp pio slum part 
1.074290] ahci 0000:00:1f.2: setting latency timer to 64
1.074422] scsi0 : ahci
1.074542] scsi1 : ahci
1.074626] scsi2 : ahci
1.074718] scsi3 : ahci
1.074781] ata1: SATA max UDMA/133 abar m2048@0xf0904000 port 0xf0904100 irq 26
1.074785] ata2: DUMMY
1.074787] ata3: DUMMY
1.074789] ata4: DUMMY
1.076101] Fixed MDIO Bus: probed
1.076154] PPP generic driver version 2.4.2
1.076267] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
1.076291] ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 19 (level, low) -> IRQ 19
1.076305] ehci_hcd 0000:00:1a.7: setting latency timer to 64
1.076310] ehci_hcd 0000:00:1a.7: EHCI Host Controller
1.076370] ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
1.080298] ehci_hcd 0000:00:1a.7: debug port 1
1.080307] ehci_hcd 0000:00:1a.7: cache line size of 32 is not supported
1.080325] ehci_hcd 0000:00:1a.7: irq 19, io mem 0xf0904800
1.096022] ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
1.096119] usb usb1: configuration #1 chosen from 1 choice
1.096161] hub 1-0:1.0: USB hub found
1.096170] hub 1-0:1.0: 4 ports detected
1.096244]   alloc irq_desc for 23 on node -1
1.096248]   alloc kstat_irqs on node -1
1.096254] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
1.096268] ehci_hcd 0000:00:1d.7: setting latency timer to 64
1.096272] ehci_hcd 0000:00:1d.7: EHCI Host Controller
1.096326] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
1.100226] ehci_hcd 0000:00:1d.7: debug port 1
1.100234] ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
1.100252] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xf0904c00
1.116021] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
1.116105] usb usb2: configuration #1 chosen from 1 choice
1.116144] hub 2-0:1.0: USB hub found
1.116152] hub 2-0:1.0: 6 ports detected
1.116235] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
1.116259] uhci_hcd: USB Universal Host Controller Interface driver
1.116286] uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
1.116295] uhci_hcd 0000:00:1a.0: setting latency timer to 64
1.116300] uhci_hcd 0000:00:1a.0: UHCI Host Controller
1.116348] uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
1.116388] uhci_hcd 0000:00:1a.0: irq 16, io base 0x00001820
1.116494] usb usb3: configuration #1 chosen from 1 choice
1.116531] hub 3-0:1.0: USB hub found
1.116540] hub 3-0:1.0: 2 ports detected
1.116606]   alloc irq_desc for 21 on node -1
1.116609]   alloc kstat_irqs on node -1
1.116615] uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
1.116626] uhci_hcd 0000:00:1a.1: setting latency timer to 64
1.116630] uhci_hcd 0000:00:1a.1: UHCI Host Controller
1.116673] uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
1.116713] uhci_hcd 0000:00:1a.1: irq 21, io base 0x00001840
1.116818] usb usb4: configuration #1 chosen from 1 choice
1.116859] hub 4-0:1.0: USB hub found
1.116867] hub 4-0:1.0: 2 ports detected
1.116932] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
1.116941] uhci_hcd 0000:00:1d.0: setting latency timer to 64
1.116946] uhci_hcd 0000:00:1d.0: UHCI Host Controller
1.116989] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
1.117020] uhci_hcd 0000:00:1d.0: irq 23, io base 0x00001860
1.117128] usb usb5: configuration #1 chosen from 1 choice
1.117168] hub 5-0:1.0: USB hub found
1.117177] hub 5-0:1.0: 2 ports detected
1.117241] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
1.117249] uhci_hcd 0000:00:1d.1: setting latency timer to 64
1.117254] uhci_hcd 0000:00:1d.1: UHCI Host Controller
1.117296] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
1.117326] uhci_hcd 0000:00:1d.1: irq 19, io base 0x00001880
1.117435] usb usb6: configuration #1 chosen from 1 choice
1.117473] hub 6-0:1.0: USB hub found
1.117481] hub 6-0:1.0: 2 ports detected
1.117552]   alloc irq_desc for 18 on node -1
1.117555]   alloc kstat_irqs on node -1
1.117561] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
1.117570] uhci_hcd 0000:00:1d.2: setting latency timer to 64
1.117575] uhci_hcd 0000:00:1d.2: UHCI Host Controller
1.117619] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
1.117660] uhci_hcd 0000:00:1d.2: irq 18, io base 0x000018a0
1.117767] usb usb7: configuration #1 chosen from 1 choice
1.117805] hub 7-0:1.0: USB hub found
1.117813] hub 7-0:1.0: 2 ports detected
1.117944] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
1.146071] serio: i8042 KBD port at 0x60,0x64 irq 1
1.146078] serio: i8042 AUX port at 0x60,0x64 irq 12
1.146164] mice: PS/2 mouse device common for all mice
1.146314] rtc_cmos 00:05: RTC can wake from S4
1.146360] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
1.146395] rtc0: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
1.146536] device-mapper: uevent: version 1.0.3
1.146649] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: [dm-devel@redhat.com](mailto:dm-devel@redhat.com)
1.146732] device-mapper: multipath: version 1.1.0 loaded
1.146736] device-mapper: multipath round-robin: version 1.0.0 loaded
1.146900] EISA: Probing bus 0 at eisa.0
1.146908] Cannot allocate resource for EISA slot 1
1.146911] Cannot allocate resource for EISA slot 2
1.146944] EISA: Detected 0 cards.
1.147133] cpuidle: using governor ladder
1.148046] cpuidle: using governor menu
1.148752] TCP cubic registered
1.148977] NET: Registered protocol family 10
1.149624] lo: Disabled Privacy Extensions
1.150117] NET: Registered protocol family 17
1.150140] Bluetooth: L2CAP ver 2.13
1.150142] Bluetooth: L2CAP socket layer initialized
1.150146] Bluetooth: SCO (Voice Link) ver 0.6
1.150149] Bluetooth: SCO socket layer initialized
1.150193] Bluetooth: RFCOMM TTY layer initialized
1.150197] Bluetooth: RFCOMM socket layer initialized
1.150200] Bluetooth: RFCOMM ver 1.11
1.155038] Using IPI No-Shortcut mode
1.155120] PM: Resume from disk failed.
1.155136] registered taskstats version 1
1.155279]   Magic number: 10:213:96
1.155376] rtc_cmos 00:05: setting system clock to 2010-01-20 21:03:51 UTC (1264021431)
1.155380] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
1.155383] EDD information not available.
1.170153] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
1.500059] Clocksource tsc unstable (delta = -325784478 ns)
1.520074] usb 1-2: new high speed USB device using ehci_hcd and address 3
1.556055] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
1.603953] ata1.00: ATA-8: WDC WD2500BEVT-75ZCT2, 11.01A11, max UDMA/133
1.603958] ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32)
1.605974] ata1.00: configured for UDMA/133
1.620257] scsi 0:0:0:0: Direct-Access     ATA      WDC WD2500BEVT-7 11.0 PQ: 0 ANSI: 5
1.620414] sd 0:0:0:0: Attached scsi generic sg0 type 0
1.620471] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
1.620535] sd 0:0:0:0: [sda] Write Protect is off
1.620539] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
1.620572] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
1.620747]  sda: sda1 sda2 sda3 < sda5 sda6 >
1.674068] sd 0:0:0:0: [sda] Attached SCSI disk
1.674123] Freeing unused kernel memory: 540k freed
1.674532] Write protecting the kernel text: 4568k
1.674609] Write protecting the kernel read-only data: 1836k
1.717137] usb 1-2: configuration #1 chosen from 1 choice
1.836352] usb 1-3: new high speed USB device using ehci_hcd and address 4
1.839171] Linux agpgart interface v0.103
1.843488] agpgart-intel 0000:00:00.0: Intel Mobile Intel® GM45 Express Chipset
1.844679] agpgart-intel 0000:00:00.0: detected 65532K stolen memory
1.848993] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
1.960889] [drm] Initialized drm 1.1.0 20060810
1.979815] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
1.979824] i915 0000:00:02.0: setting latency timer to 64
1.983202]   alloc irq_desc for 27 on node -1
1.983207]   alloc kstat_irqs on node -1
1.983219] i915 0000:00:02.0: irq 27 for MSI/MSI-X
1.989151] usb 1-3: configuration #1 chosen from 1 choice
2.090352] [drm] i2c_init DPDDC-B
2.096418] Initializing USB Mass Storage driver...
2.096964] scsi4 : SCSI emulation for USB Mass Storage devices
2.097075] usbcore: registered new interface driver usb-storage
2.097080] USB Mass Storage support registered.
2.097216] usb-storage: device found at 4
2.097219] usb-storage: waiting for device to settle before scanning
2.100390] [drm] i2c_init DPDDC-D
2.168042] usb 2-6: new high speed USB device using ehci_hcd and address 3
2.226917] i2c-adapter i2c-2: unable to read EDID block.
2.226923] i915 0000:00:02.0: HDMI Type A-1: no EDID data
2.237679] [drm] fb0: inteldrmfb frame buffer device
2.246972] acpi device:0a: registered as cooling_device2
2.247281] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:07/input/input5
2.247321] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
2.247355] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
2.380482] usb 2-6: configuration #1 chosen from 2 choices
2.656672] [drm] LVDS-8: set mode 1366x768 c
2.713042] usb 3-1: new full speed USB device using uhci_hcd and address 2
2.889604] usb 3-1: configuration #1 chosen from 1 choice
2.892562] hub 3-1:1.0: USB hub found
2.894508] hub 3-1:1.0: 3 ports detected
3.145123] Console: switching to colour frame buffer device 170x48
3.145141] usb 5-2: new low speed USB device using uhci_hcd and address 2
3.234968] atkbd.c: Unknown key pressed (translated set 2, code 0x8e on isa0060/serio0).
3.234974] atkbd.c: Use 'setkeycodes e00e <keycode>' to make it known.
3.323260] usb 5-2: configuration #1 chosen from 1 choice
3.342448] usbcore: registered new interface driver hiddev
3.355490] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input6
3.355597] generic-usb 0003:046D:C018.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.0-2/input0
3.355624] usbcore: registered new interface driver usbhid
3.355628] usbhid: v2.6:USB HID core driver
3.405527] usb 3-1.1: new full speed USB device using uhci_hcd and address 3
3.533638] usb 3-1.1: configuration #1 chosen from 1 choice
3.539869] input: HID 413c:8161 as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.1/3-1.1:1.0/input/input7
3.539956] generic-usb 0003:413C:8161.0002: input,hidraw1: USB HID v1.11 Keyboard [HID 413c:8161] on usb-0000:00:1a.0-1.1/input0
3.559258] PM: Starting manual resume from disk
3.559264] PM: Resume from partition 8:6
3.559267] PM: Checking hibernation image.
3.559415] PM: Resume from disk failed.
3.601044] EXT4-fs (sda5): barriers enabled
3.614538] usb 3-1.2: new full speed USB device using uhci_hcd and address 4
3.618759] kjournald2 starting: pid 427, dev sda5:8, commit interval 5 seconds
3.618779] EXT4-fs (sda5): delayed allocation enabled
3.618784] EXT4-fs: file extents enabled
3.627084] EXT4-fs: mballoc enabled
3.627106] EXT4-fs (sda5): mounted filesystem with ordered data mode
3.737660] usb 3-1.2: configuration #1 chosen from 1 choice
3.745003] input: HID 413c:8162 as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.0/input/input8
3.745119] generic-usb 0003:413C:8162.0003: input,hidraw2: USB HID v1.11 Mouse [HID 413c:8162] on usb-0000:00:1a.0-1.2/input0
4.382108] type=1505 audit(1264021434.725:2): operation="profile_load" pid=454 name=/usr/share/gdm/guest-session/Xsession
4.385732] type=1505 audit(1264021434.728:3): operation="profile_load" pid=455 name=/sbin/dhclient3
4.386848] type=1505 audit(1264021434.728:4): operation="profile_load" pid=455 name=/usr/lib/NetworkManager/nm-dhcp-client.action
4.387452] type=1505 audit(1264021434.728:5): operation="profile_load" pid=455 name=/usr/lib/connman/scripts/dhclient-script
4.476125] type=1505 audit(1264021434.818:6): operation="profile_load" pid=456 name=/usr/bin/evince
4.494024] type=1505 audit(1264021434.837:7): operation="profile_load" pid=456 name=/usr/bin/evince-previewer
4.504572] type=1505 audit(1264021434.845:8): operation="profile_load" pid=456 name=/usr/bin/evince-thumbnailer
4.546112] type=1505 audit(1264021434.889:9): operation="profile_load" pid=458 name=/usr/lib/cups/backend/cups-pdf
5.569936] Adding 3148700k swap on /dev/sda6.  Priority:-1 extents:1 across:3148700k 
5.776015] EXT4-fs (sda5): internal journal on sda5:8
5.987073] udev: starting version 147
6.893645] usb 3-1.3: new full speed USB device using uhci_hcd and address 5
6.987920] lib80211: common routines for IEEE802.11 drivers
6.987925] lib80211_crypt: registered algorithm 'NULL'
7.002688] cdc_acm 2-6:1.1: ttyACM0: USB ACM device
7.003625] cdc_acm 2-6:1.3: ttyACM1: USB ACM device
7.004281] cdc_acm 2-6:1.9: ttyACM2: USB ACM device
7.004707] usbcore: registered new interface driver cdc_acm
7.004712] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
7.006073] cdc_wdm 2-6:1.5: cdc-wdm0: USB WDM device
7.006118] cdc_wdm 2-6:1.6: cdc-wdm1: USB WDM device
7.006143] usbcore: registered new interface driver cdc_wdm
7.025769] usb 3-1.3: configuration #1 chosen from 1 choice
7.096415] usb-storage: device scan complete
7.098519] scsi 4:0:0:0: Direct-Access     Generic- Multi-Card       1.00 PQ: 0 ANSI: 0 CCS
7.099119] sd 4:0:0:0: Attached scsi generic sg1 type 0
7.107744] sd 4:0:0:0: [sdb] Attached SCSI removable disk
7.453192] wl: module license 'MIXED/Proprietary' taints kernel.
7.453199] Disabling lock debugging due to kernel taint
7.456367] wl 0000:08:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
7.456380] wl 0000:08:00.0: setting latency timer to 64
7.474767] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
7.481203] Bluetooth: Generic Bluetooth USB driver ver 0.5
7.481377] usbcore: registered new interface driver btusb
7.492273] lp: driver loaded but no devices found
7.532920] lib80211_crypt: registered algorithm 'TKIP'
7.533235] eth0: Broadcom BCM432b 802.11 Wireless Controller 5.10.91.9
7.570941] atl1c 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
7.570958] atl1c 0000:02:00.0: setting latency timer to 64
7.571017] atl1c 0000:02:00.0: PME# disabled
7.571025] atl1c 0000:02:00.0: PME# disabled
7.583782] usb0: register 'cdc_ether' at usb-0000:00:1d.7-6, CDC Ethernet Device, 02:80:37:ec:02:00
7.583829] usbcore: registered new interface driver cdc_ether
7.612193] Linux video capture interface: v2.00
7.614249] usbcore: registered new interface driver zaurus
7.663070] atl1c 0000:02:00.0: version 1.0.0.1-NAPI
7.798382] compal-laptop: Identified laptop model 'Dell Inspiron 11z'.
7.798527] compal-laptop: driver 0.2.6 successfully loaded.
7.807650] uvcvideo: Found UVC 1.00 device Intergrated Webcam (0c45:6410)
7.836773] ip_tables: (C) 2000-2006 Netfilter Core Team
7.850779] input: Intergrated Webcam as /devices/pci0000:00/0000:00:1a.7/usb1/1-2/1-2:1.0/input/input9
7.850870] usbcore: registered new interface driver uvcvideo
7.850875] USB Video Class driver (v0.1.0)
7.898315] psmouse serio1: ID: 10 00 64
7.944815] dell-laptop: Blacklisted hardware detected - not loading
8.084524] input: Dell WMI hotkeys as /devices/virtual/input/input10
8.181871] udev: renamed network interface eth1 to eth0
8.225887] udev: renamed network interface eth0_rename to eth1
9.823794] input: ImPS/2 Logitech Wheel Mouse as /devices/platform/i8042/serio1/input/input11

10.452339] alloc irq_desc for 22 on node -1
10.452345] alloc kstat_irqs on node -1
10.452356] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
10.452403] HDA Intel 0000:00:1b.0: setting latency timer to 64
10.816381] hda_codec: Unknown model for ALC272, trying auto-probe from BIOS…
10.817288] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input12
11.936253] __ratelimit: 6 callbacks suppressed
11.936259] type=1505 audit(1264017842.280:12): operation=“profile_replace” pid=992 name=/usr/share/gdm/guest-session/Xsession
11.938838] type=1505 audit(1264017842.280:13): operation=“profile_replace” pid=993 name=/sbin/dhclient3
11.939956] type=1505 audit(1264017842.280:14): operation=“profile_replace” pid=993 name=/usr/lib/NetworkManager/nm-dhcp-client.action
11.940599] type=1505 audit(1264017842.284:15): operation=“profile_replace” pid=993 name=/usr/lib/connman/scripts/dhclient-script
11.946368] type=1505 audit(1264017842.288:16): operation=“profile_replace” pid=994 name=/usr/bin/evince
11.965144] type=1505 audit(1264017842.308:17): operation=“profile_replace” pid=994 name=/usr/bin/evince-previewer
11.976219] type=1505 audit(1264017842.320:18): operation=“profile_replace” pid=994 name=/usr/bin/evince-thumbnailer
11.993533] type=1505 audit(1264017842.336:19): operation=“profile_replace” pid=996 name=/usr/lib/cups/backend/cups-pdf
11.994836] type=1505 audit(1264017842.336:20): operation=“profile_replace” pid=996 name=/usr/sbin/cupsd
11.999251] type=1505 audit(1264017842.340:21): operation=“profile_replace” pid=997 name=/usr/sbin/tcpdump
15.575562] alloc irq_desc for 28 on node -1
15.575568] alloc kstat_irqs on node -1
15.575589] atl1c 0000:02:00.0: irq 28 for MSI/MSI-X
15.576117] ADDRCONF(NETDEV_UP): eth0: link is not ready
17.244018] i2c-adapter i2c-2: unable to read EDID block.
17.244024] i915 0000:00:02.0: HDMI Type A-1: no EDID data
17.250862] i2c-adapter i2c-2: unable to read EDID block.
17.250868] i915 0000:00:02.0: HDMI Type A-1: no EDID data
17.427720] i2c-adapter i2c-2: unable to read EDID block.
17.427727] i915 0000:00:02.0: HDMI Type A-1: no EDID data
17.432221] i2c-adapter i2c-2: unable to read EDID block.
17.432225] i915 0000:00:02.0: HDMI Type A-1: no EDID data
17.640999] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
17.641007] Bluetooth: BNEP filters: protocol multicast
17.858163] Bridge firewalling registered
18.054848] ppdev: user-space parallel port driver
23.507538] i2c-adapter i2c-2: unable to read EDID block.
23.507544] i915 0000:00:02.0: HDMI Type A-1: no EDID data
23.512121] i2c-adapter i2c-2: unable to read EDID block.
23.512125] i915 0000:00:02.0: HDMI Type A-1: no EDID data
23.659418] i2c-adapter i2c-2: unable to read EDID block.
23.659424] i915 0000:00:02.0: HDMI Type A-1: no EDID data
23.663849] i2c-adapter i2c-2: unable to read EDID block.
23.663853] i915 0000:00:02.0: HDMI Type A-1: no EDID data
23.831575] i2c-adapter i2c-2: unable to read EDID block.
23.831580] i915 0000:00:02.0: HDMI Type A-1: no EDID data
23.836560] i2c-adapter i2c-2: unable to read EDID block.
23.836564] i915 0000:00:02.0: HDMI Type A-1: no EDID data
25.827724] usb0: no IPv6 routers present
25.856017] eth1: no IPv6 routers present
44.172769] i2c-adapter i2c-2: unable to read EDID block.
44.172776] i915 0000:00:02.0: HDMI Type A-1: no EDID data
44.177210] i2c-adapter i2c-2: unable to read EDID block.
44.177215] i915 0000:00:02.0: HDMI Type A-1: no EDID data
44.340506] i2c-adapter i2c-2: unable to read EDID block.
44.340513] i915 0000:00:02.0: HDMI Type A-1: no EDID data
44.344940] i2c-adapter i2c-2: unable to read EDID block.
44.344944] i915 0000:00:02.0: HDMI Type A-1: no EDID data
44.491993] i2c-adapter i2c-2: unable to read EDID block.
44.491999] i915 0000:00:02.0: HDMI Type A-1: no EDID data
44.496429] i2c-adapter i2c-2: unable to read EDID block.
44.496433] i915 0000:00:02.0: HDMI Type A-1: no EDID data
47.088782] i2c-adapter i2c-2: unable to read EDID block.
47.088789] i915 0000:00:02.0: HDMI Type A-1: no EDID data
47.093231] i2c-adapter i2c-2: unable to read EDID block.
47.093235] i915 0000:00:02.0: HDMI Type A-1: no EDID data
76.716223] CE: hpet increasing min_delta_ns to 15000 nsec
429.260200] CE: hpet increasing min_delta_ns to 22500 nsec
484.814525] type=1503 audit(1264018311.468:22): operation=“open” pid=2255 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/hiberfil.sys"
484.814829] type=1503 audit(1264018311.468:23): operation=“open” pid=2255 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/pagefile.sys"
484.815287] type=1503 audit(1264018311.468:24): operation=“open” pid=2255 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/.rnd"
484.849572] type=1503 audit(1264018311.503:25): operation=“open” pid=2255 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/hiberfil.sys"
484.850289] type=1503 audit(1264018311.503:26): operation=“open” pid=2255 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/pagefile.sys"
484.850842] type=1503 audit(1264018311.503:27): operation=“open” pid=2255 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/.rnd"
495.422761] type=1503 audit(1264018322.077:28): operation=“open” pid=2257 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/Users/desktop.ini"
496.725809] type=1503 audit(1264018323.380:29): operation=“open” pid=2257 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/Users/GiGi/NTUSER.DAT"
496.730817] type=1503 audit(1264018323.384:30): operation=“open” pid=2257 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/Users/GiGi/ntuser.dat.LOG1"
496.734207] type=1503 audit(1264018323.388:31): operation=“open” pid=2257 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/Users/GiGi/ntuser.dat.LOG2"
496.734837] type=1503 audit(1264018323.388:32): operation=“open” pid=2257 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/Users/GiGi/NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf"
496.749939] type=1503 audit(1264018323.404:33): operation=“open” pid=2257 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/Users/GiGi/NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000001.regtrans-ms"
496.750794] type=1503 audit(1264018323.404:34): operation=“open” pid=2257 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/Users/GiGi/NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000002.regtrans-ms"
496.770816] type=1503 audit(1264018323.423:35): operation=“open” pid=2257 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/Users/GiGi/ntuser.ini"
496.779937] type=1503 audit(1264018323.431:36): operation=“open” pid=2257 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/Users/GiGi/PUTTY.RND"
499.683847] type=1503 audit(1264018326.335:37): operation=“open” pid=2258 parent=1 profile="/usr/bin/evince" requested_mask=“r::” denied_mask=“r::” fsuid=1000 ouid=1000 name="/media/4608286708285867/Users/GiGi/Downloads/desktop.ini"
546.416064] usb 6-1: new full speed USB device using uhci_hcd and address 2
546.660261] usb 6-1: configuration #1 chosen from 1 choice
546.663194] cdc_acm 6-1:1.0: This device cannot do calls on its own. It is not a modem.
546.663252] cdc_acm 6-1:1.0: ttyACM3: USB ACM device
1253.757776] _ratelimit: 9 callbacks suppressed
1253.757783] a.out[2825]: segfault at 0 ip 004361e8 sp bfa25bbc error 4 in libc-2.10.1.so[3da000+13e000]
1758.976078] ACPI: EC: missing confirmations, switch off interrupt mode.
1759.477055] ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl] 20090521 evregion-424
1759.477077] ACPI Error (psparse-0537): Method parse/execution failed _SB
.PCI0.LPCB.BAT1._BST] (Node f7016a68), AE_TIME
1759.477144] ACPI Exception: AE_TIME, Evaluating _BST 20090521 battery-385
2602.680094] usb 6-1: USB disconnect, address 2
2619.948081] usb 6-1: new full speed USB device using uhci_hcd and address 3
2620.136247] usb 6-1: configuration #1 chosen from 1 choice
2620.139184] cdc_acm 6-1:1.0: This device cannot do calls on its own. It is not a modem.
2620.139215] cdc_acm 6-1:1.0: ttyACM3: USB ACM device
gigi@InspireMe:~$

hello,
you 'll need first the files client and server. (you’ll also need to re-dowload the client file because I’ve made a little change to it)

compile them with: “gcc -o client_velbus client_velbus.c” and “gcc -o server_velbus server_velbus.c”

Then first run the server with: “./server_velbus”
afterwards you’ll have to run the client and in your case it would be: “./client_velbus /dev/ttyACM3”

remark: both programs are no daemons at the moment! so they keep running in front or you’ll have to start them as follows:
1st “./server_velbus > /dev/null 2>&1 &”
2nd “./client_velbus /dev/ttyACM3 > /dev/null 2>&1 &”
(in human language it says: “./” run the program, “> /dev/null 2>&1” redirect there output to the null device otherwise you’ll have a lot of message rolling over your screen and at last the “&” what says to put them into the background and can be looked at with “jobs”)

now they run in the background and only can be killed by using the “kill” command or reboot your pc.

At last I suppose you want to do something with them so you can run ie. the temp.pl example (again “./temp.pl” no need to compile or if you want it in the background “./temp.pl > /dev/null 2>&1 &”).

You’ll have to adjust some parameters in the program because I got in this program 2 tempreads at addres 70 and 71, so adjust them twice, one time sending them and one time receiving them (@ line 159/167 and line 215/219). Also adjust they path to where the database has to be written (in my case /root) @ line 92 and if you want adjust the name of the rrd file @ line 121/293.

Finally you can make an graph with make_graph.pl ("./make_graph.pl"). Also adjust the parameters @line 10 (where your rrd database is) and @line 12 (where to put the images). I run this program in a cron job (if you want to know how that works google for crontab).

If you want to connect to velbuslink you’ll have to wait until version 7 but that’s currently under development. You can also test with the flextool (since we are in the topic of it 8) , adjust the xml file where to look at wich ip addres (now @ 127.0.0.1). Also you can tryout the visuall basic tutorial from provo (again adjust ip addres). This can all go at the same time!

hope this helps a little bit. Once it’s all finished I’ll try to write a little tutorial for it and make it a rpm package or something more easy to install :slight_smile:

Tried first to connect the VMB1USB to my laptop running UBUNTU. Was able to run both server as client_velbus and play with the tool.

Tried now to connect the VMB1USB interface to my QNAP TS-239 Pro NAS server running Linux and ran a DMESG (see output below) Can’t get it to work properly…

B hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
uhci_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000b880
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
uhci_hcd 0000:00:1d.2: setting latency timer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000b800
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:00:1d.3: setting latency timer to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000b480
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
Initializing USB Mass Storage driver…
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb: create proc systemp successfully
usb: create proc systemp successfully
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with writeback data mode.
md: md9 stopped.
md: bind
raid1: raid set md9 active with 1 out of 2 mirrors
md9: bitmap initialized from disk: read 5/5 pages, set 79489 bits
created bitmap (65 pages) for device md9
md9: unknown partition table
kjournald starting. Commit interval 5 seconds
EXT3 FS on md9, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
md: md13 stopped.
md: bind
raid1: raid set md13 active with 1 out of 2 mirrors
md13: bitmap initialized from disk: read 4/4 pages, set 81921 bits
created bitmap (57 pages) for device md13
md13: unknown partition table
kjournald starting. Commit interval 5 seconds
EXT3 FS on md9, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on md9, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on md13, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
ICH7/ICH9R rtc control driver.
iTCO_vendor_support: vendor-support=0
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
iTCO_wdt: Found a ICH7-M or ICH7-U TCO device (Version=2, TCOBASE=0x0860)
iTCO_wdt: initialized. heartbeat=120 sec (nowayout=0)
usbcore: registered new interface driver usblp
ufsd: module license ‘Commercial product’ taints kernel.
Disabling lock debugging due to kernel taint
ufsd: driver loaded at f8354000 built on Dec 31 2009 18:03:38
UFSD version 7.07 (Sep 25 2009, 17:23:02)
NTFS read/write support included
$Id: ufsdvfs.c,v 1.1.1.1 2009/10/07 02:37:25 penny Exp $ (LBD=ON)
kjournald starting. Commit interval 5 seconds
EXT3 FS on md9, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
md: bind
md: md2: raid array is not clean – starting background reconstruction
raid1: raid set md2 active with 1 out of 1 mirrors
md2: unknown partition table
Adding 530040k swap on /dev/md2. Priority:-1 extents:1 across:530040k
active port 0 :139
active port 1 :445
active port 2 :20
EXT4-fs: barriers enabled
kjournald2 starting: pid 2129, dev sda3:8, commit interval 5 seconds
EXT4 FS on sda3, internal journal on sda3:8
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
EXT4-fs: mounted filesystem sda3 with writeback data mode
kjournald starting. Commit interval 5 seconds
EXT3 FS on sdy1, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
active port 0 :139
active port 1 :445
active port 2 :20
warning: `proftpd’ uses 32-bit capabilities (legacy support in use)
Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)
bonding: MII link monitoring set to 100 ms
bonding: bond0: enslaving eth0 as a backup interface with a down link.
bonding: bond0: enslaving eth1 as a backup interface with a down link.
e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
bonding: bond0: link status definitely up for interface eth0.
bonding: bond0: making interface eth0 the new active one.
bonding: bond0: first active interface up!
bonding: bond0: link status definitely down for interface eth0, disabling it
bonding: bond0: now running without any active interface !
e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
bonding: bond0: link status definitely up for interface eth0.
bonding: bond0: making interface eth0 the new active one.
bonding: bond0: first active interface up!
0000:01:00.0: eth0: changing MTU from 1500 to 7418
0000:02:00.0: eth1: changing MTU from 1500 to 7418
bonding: bond0: link status definitely down for interface eth0, disabling it
bonding: bond0: now running without any active interface !
e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
bonding: bond0: link status definitely up for interface eth0.
bonding: bond0: making interface eth0 the new active one.
bonding: bond0: first active interface up!
active port 0 :139
active port 1 :445
active port 2 :20
TARGET_CORE[0]: Loading Generic Kernel Storage Engine: v3.1.0 on Linux/i686 on 2.6.30.6
TARGET_CORE[0]: Initialized ConfigFS Fabric Infrastructure: v2.0.0 on Linux/i686 on 2.6.30.6
SE_PC[0] - Registered Plugin Class: TRANSPORT
PLUGIN_TRANSPORT[1] - pscsi registered
PLUGIN_TRANSPORT[2] - stgt registered
CORE_STGT[0]: Bus Initalization complete
PLUGIN_TRANSPORT[4] - iblock registered
PLUGIN_TRANSPORT[5] - rd_dr registered
PLUGIN_TRANSPORT[6] - rd_mcp registered
PLUGIN_TRANSPORT[7] - fileio registered
SE_PC[1] - Registered Plugin Class: OBJ
PLUGIN_OBJ[1] - dev registered
Initiate iscsi target log successfully.
Linux-iSCSI.org iSCSI Target Core Stack v3.1.0 on Linux/i686 on 2.6.30.6
<<<<<<<<<<<<<<<<<<<<<< BEGIN FABRIC API >>>>>>>>>>>>>>>>>>>>>>
Initialized struct target_fabric_configfs: dab8bc00 for iscsi
<<<<<<<<<<<<<<<<<<<<<< END FABRIC API >>>>>>>>>>>>>>>>>>>>>>
LIO_TARGET[0] - Set fabric -> lio_target_fabric_configfs
iscsi_allocate_thread_sets:195: OPS Spawned 4 thread set(s) (8 total threads).
TARGET_CORE[iSCSI]: Allocated Discovery se_portal_group_t for endpoint: None, Portal Tag: 1
CORE[0] - Allocated Discovery TPG
Loading Complete.
iscsi_log_rcv_msg: get log pid = 4135.
rule type=2, num=0
Loading iSCSI transport class v2.0-871.
iscsi: registered transport (tcp)
CE: hpet increasing min_delta_ns to 15000 nsec
active port 0 :139
active port 1 :445
active port 2 :20
active port 3 :55813
active port 0 :139
active port 1 :445
active port 2 :20
active port 0 :139
active port 1 :445
active port 2 :20
active port 3 :56164
active port 0 :139
active port 1 :445
active port 2 :20
active port 0 :139
active port 1 :445
active port 2 :20
active port 3 :55862
active port 0 :139
active port 1 :445
active port 2 :20
active port 0 :139
active port 1 :445
active port 2 :20
active port 3 :56366
active port 0 :139
active port 1 :445
active port 2 :20
usb 2-2: new full speed USB device using uhci_hcd and address 2
usb 2-2: configuration #1 chosen from 1 choice
usb 2-2: USB disconnect, address 2
usb 2-1: new full speed USB device using uhci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice

The server outputs this…

[/share/Software/Velbus] # ./server_velbus
Server-socket() is OK…
Server-setsockopt() is OK…
Server-bind() is OK…
Server-listen() is OK…
Server-accept() is OK…

This is the output of the /dev folder…

[/dev] # ls
console fbdisk58 mtdblock1 sdg sdn sdt1 sdz4
fbdisk0 fbdisk59 mtdblock2 sdg1 sdn1 sdt2 sdz5
fbdisk1 fbdisk6 mtdblock3 sdg2 sdn2 sdt3 sdz6
fbdisk10 fbdisk60 mtdblock4 sdg3 sdn3 sdt4 sdz7
fbdisk11 fbdisk61 mtdblock5 sdg4 sdn4 sdt5 sdz8
fbdisk12 fbdisk62 mtdblock6 sdh sdn5 sdt6 sg0
fbdisk13 fbdisk63 net/ sdh1 sdn6 sdt7 sg1
fbdisk14 fbdisk7 nul sdh2 sdn7 sdt8 sg10
fbdisk15 fbdisk8 null sdh3 sdn8 sdu sg11
fbdisk16 fbdisk9 pic sdh4 sdo sdu1 sg12
fbdisk17 fd@ ptmx sdi sdo1 sdu2 sg13
fbdisk18 hda pts/ sdi1 sdo2 sdu3 sg14
fbdisk19 hda1 qraid1 sdi2 sdo3 sdu4 sg15
fbdisk2 hda2 ram@ sdi3 sdo4 sdu5 sg16
fbdisk20 hda3 ram0 sdi4 sdo5 sdu6 sg17
fbdisk21 hda4 ram1 sdi5 sdo6 sdu7 sg18
fbdisk22 hda5 ram2 sdi6 sdo7 sdu8 sg19
fbdisk23 hda6 ram3 sdi7 sdo8 sdv sg2
fbdisk24 hdb ram4 sdi8 sdp sdv1 sg20
fbdisk25 hdb1 ram5 sdj sdp1 sdv2 sg21
fbdisk26 hdb2 ramdisk@ sdj1 sdp2 sdv3 sg22
fbdisk27 hdb3 random sdj2 sdp3 sdv4 sg23
fbdisk28 hdb4 rtc sdj3 sdp4 sdv5 sg24
fbdisk29 log@ rtcmon sdj4 sdp5 sdv6 sg25
fbdisk3 loop0 sda sdj5 sdp6 sdv7 sg3
fbdisk30 loop1 sda1 sdj6 sdp7 sdv8 sg4
fbdisk31 loop2 sda2 sdj7 sdp8 sdw sg5
fbdisk32 loop3 sda3 sdj8 sdq sdw1 sg6
fbdisk33 loop4 sda4 sdk sdq1 sdw2 sg7
fbdisk34 loop5 sdareal4 sdk1 sdq2 sdw3 sg8
fbdisk35 loop6 sdb sdk2 sdq3 sdw4 sg9
fbdisk36 loop7 sdb1 sdk3 sdq4 sdw5 sga@
fbdisk37 mapper/ sdb2 sdk4 sdq5 sdw6 sgb@
fbdisk38 md0 sdb3 sdk5 sdq6 sdw7 sgc@
fbdisk39 md1 sdb4 sdk6 sdq7 sdw8 sgd@
fbdisk4 md10 sdc sdk7 sdq8 sdx sge@
fbdisk40 md11 sdc1 sdk8 sdr sdx1 sgf@
fbdisk41 md12 sdc2 sdl sdr1 sdx2 sgg@
fbdisk42 md2 sdc3 sdl1 sdr2 sdx3 sgh@
fbdisk43 md3 sdc4 sdl2 sdr3 sdx4 stderr@
fbdisk44 md4 sdd sdl3 sdr4 sdx5 stdin@
fbdisk45 md5 sdd1 sdl4 sdr5 sdx6 stdout@
fbdisk46 md6 sdd2 sdl5 sdr6 sdy tty
fbdisk47 md7 sdd3 sdl6 sdr7 sdy1 tty0
fbdisk48 md8 sdd4 sdl7 sdr8 sdy2 tty1
fbdisk49 md9 sde sdl8 sds sdy3 tty2
fbdisk5 mem sde1 sdm sds1 sdy4 ttyS0
fbdisk50 mtd0 sde2 sdm1 sds2 sdy5 ttyS1
fbdisk51 mtd1 sde3 sdm2 sds3 sdy6 ttyS2
fbdisk52 mtd2 sde4 sdm3 sds4 sdy7 urandom
fbdisk53 mtd3 sdf sdm4 sds5 sdy8 usb/
fbdisk54 mtd4 sdf1 sdm5 sds6 sdz watchdog
fbdisk55 mtd5 sdf2 sdm6 sds7 sdz1 zero
fbdisk56 mtd6 sdf3 sdm7 sds8 sdz2
fbdisk57 mtdblock0 sdf4 sdm8 sdt sdz3

This is the output of the /dev/usb folder…

[/dev/usb] # ls
cpad0 dabusb5 hiddev1 hiddev7 lp11 lp3 lp9 ttyUSB4 usblcd
dabusb0 dabusb6 hiddev2 hiddev8 lp12 lp4 rio500 ttyUSB5
dabusb1 dabusb7 hiddev3 hiddev9 lp13 lp5 ttyUSB0 ttyUSB6
dabusb2 dabusb8 hiddev4 lp0 lp14 lp6 ttyUSB1 ttyUSB7
dabusb3 dabusb9 hiddev5 lp1 lp15 lp7 ttyUSB2 ttyUSB8
dabusb4 hiddev0 hiddev6 lp10 lp2 lp8 ttyUSB3 ttyUSB9

Hello,
as I said before, I’m not a linux guru and from what I see I think there’s no driver loaded for serial support in your qnap server.
What you can do is recompile your kernel and add usbserial support to it but before you do that you’d better search for someone in your area that knows a bit of linux. recompiling the kernel can cause your machine from working (if you have a backup cd and time to much, no problem).
Also a good starting point is to search on the web for usbserial support in linux. I can do this all for you but I simply don’t have the time to do so. Maybe someone else here on the forum can help you further.

I read you are using VMB4PD and VMB8PB in you own system, my system is however based on VMB6IN modules for input. The Flex Velbus tool does not seem to handle these modules correctly.
Only the first input channel is found during the scan and I’m unable to trigger commands from any of the inputs.

[quote=“jorisvdb”]I read you are using VMB4PD and VMB8PB in you own system, my system is however based on VMB6IN modules for input. The Flex Velbus tool does not seem to handle these modules correctly.
Only the first input channel is found during the scan and I’m unable to trigger commands from any of the inputs.[/quote]

That’s correct. I don’t have a VMB6IN, so I did not implement it as I am not able to test it …

I’ve tried your software through my PB_Velbus-server and it works !
However, before going further, is it possible to have it on Android ? and on linux too ?

Nice!

I guess there’s a Adobe Flash player for Linux, so that should work. However I’m using a windows wrapper (swfkit) to enhance the posibilities like launching external programs. I don’t know if this is possible in Linux.

Flex projects can also compile to Android and iOS, by compiling to Adobe AIR.

Hi

I’ve just stumbled on this thread.

Has there been any developments?

Cheers

Stuart