velleman k8055 problem

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

velleman k8055 problem

Postby Edwin » Sat Oct 31, 2015 3:00 pm

cant get the velleman k8055 to operate?
what is wrong?
if i check with $k8055 i get: command not found ( *edit found this in the domotiga log:ERROR: File or directory does not exist at CK8055.Connect.130)

with ~ $ lsusb i get:
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 005: ID 10cf:5500 Velleman Components, Inc. 8055 Experiment Interface Board (address=0)

with: ~ $ dmesg i get:
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #817 PREEMPT Sat Sep 19 15:25:36 BST 2015
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi Model B Plus Rev 1.2
[ 0.000000] cma: Reserved 8 MiB at 0x1b800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 114688
[ 0.000000] free_area_init_node: node 0, pgdat c088beac, node_mem_map db403000
[ 0.000000] Normal zone: 1008 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 114688 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113680
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x10 bcm2708.serial=0x6b4d6b6b smsc95xx.macaddr=B8:27:EB:4D:6B:6B bcm2708_fb.fbswap=1 bcm2708.disk_led_gpio=47 bcm2708.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 436504K/458752K available (6132K kernel code, 490K rwdata, 1780K rodata, 348K init, 720K bss, 14056K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xdc800000 - 0xff000000 ( 552 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc07c23ec (7913 kB)
[ 0.000000] .init : 0xc07c3000 - 0xc081a000 ( 348 kB)
[ 0.000000] .data : 0xc081a000 - 0xc0894824 ( 491 kB)
[ 0.000000] .bss : 0xc0894824 - 0xc09489b0 ( 721 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] NR_IRQS:522
[ 0.000000] clocksource stc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000016] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000058] Switching to timer-based delay loop, resolution 1000ns
[ 0.000341] Console: colour dummy device 80x30
[ 0.001744] console [tty1] enabled
[ 0.001808] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[ 0.001906] pid_max: default: 32768 minimum: 301
[ 0.002278] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002359] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003462] Initializing cgroup subsys blkio
[ 0.003561] Initializing cgroup subsys memory
[ 0.003636] Initializing cgroup subsys devices
[ 0.003704] Initializing cgroup subsys freezer
[ 0.003769] Initializing cgroup subsys net_cls
[ 0.003892] CPU: Testing write buffer coherency: ok
[ 0.004022] ftrace: allocating 19773 entries in 58 pages
[ 0.108966] Setting up static identity map for 0x81c0 - 0x81f8
[ 0.111763] devtmpfs: initialized
[ 0.122713] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.123174] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.125203] pinctrl core: initialized pinctrl subsystem
[ 0.126160] NET: Registered protocol family 16
[ 0.131763] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.133340] bcm2708.uart_clock = 3000000
[ 0.138898] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.138994] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.139185] Serial: AMBA PL011 UART driver
[ 0.139509] 20201000.uart: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev2
[ 0.527011] console [ttyAMA0] enabled
[ 0.531419] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[ 0.599566] bcm2708-dmaengine 20007000.dma: DMA legacy API manager at f2007000, dmachans=0xf35
[ 0.608455] bcm2708-dmaengine 20007000.dma: Initialized 7 DMA channels (+ 1 legacy)
[ 0.616975] bcm2708-dmaengine 20007000.dma: Load BCM2835 DMA engine driver
[ 0.623973] bcm2708-dmaengine 20007000.dma: dma_debug:0
[ 0.630165] SCSI subsystem initialized
[ 0.634406] usbcore: registered new interface driver usbfs
[ 0.640063] usbcore: registered new interface driver hub
[ 0.645661] usbcore: registered new device driver usb
[ 0.651737] raspberrypi-firmware soc:firmware: Attached to firmware from 2015-09-23 12:12
[ 0.687586] Switched to clocksource stc
[ 0.738792] FS-Cache: Loaded
[ 0.742115] CacheFiles: Loaded
[ 0.761951] NET: Registered protocol family 2
[ 0.767992] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.775197] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.782003] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.788575] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.794477] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.801238] NET: Registered protocol family 1
[ 0.806266] RPC: Registered named UNIX socket transport module.
[ 0.812396] RPC: Registered udp transport module.
[ 0.817146] RPC: Registered tcp transport module.
[ 0.821931] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.829730] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[ 0.839031] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.861573] VFS: Disk quotas dquot_6.6.0
[ 0.865965] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.875630] FS-Cache: Netfs 'nfs' registered for caching
[ 0.882737] NFS: Registering the id_resolver key type
[ 0.888103] Key type id_resolver registered
[ 0.892337] Key type id_legacy registered
[ 0.900361] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.908471] io scheduler noop registered
[ 0.912484] io scheduler deadline registered (default)
[ 0.918247] io scheduler cfq registered
[ 0.924606] BCM2708FB: allocated DMA memory 5bc00000
[ 0.929966] BCM2708FB: allocated DMA channel 0 @ f2007000
[ 0.940611] Console: switching to colour frame buffer device 82x26
[ 0.952005] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled
[ 0.961948] vc-cma: Videocore CMA driver
[ 0.967830] vc-cma: vc_cma_base = 0x00000000
[ 0.974261] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 0.981426] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 0.988888] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 1.020282] brd: module loaded
[ 1.034424] loop: module loaded
[ 1.040491] vchiq: vchiq_init_state: slot_zero = 0xdbc80000, is_master = 0
[ 1.051227] Loading iSCSI transport class v2.0-870.
[ 1.059425] usbcore: registered new interface driver smsc95xx
[ 1.066984] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.274868] Core Release: 2.80a
[ 1.279703] Setting default values for core params
[ 1.286059] Finished setting default values for core params
[ 1.493584] Using Buffer DMA mode
[ 1.498543] Periodic Transfer Interrupt Enhancement - disabled
[ 1.505962] Multiprocessor Interrupt Enhancement - disabled
[ 1.513200] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.519208] Dedicated Tx FIFOs mode
[ 1.524720] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xdbc14000 dma = 0x5bc14000 len=9024
[ 1.537977] FIQ FSM acceleration enabled for :
[ 1.537977] Non-periodic Split Transactions
[ 1.537977] Periodic Split Transactions
[ 1.537977] High-Speed Isochronous Endpoints
[ 1.561222] dwc_otg: Microframe scheduler enabled
[ 1.561353] WARN::hcd_init_fiq:412: FIQ on core 0 at 0xc0423ab8
[ 1.568957] WARN::hcd_init_fiq:413: FIQ ASM at 0xc0423d90 length 36
[ 1.576900] WARN::hcd_init_fiq:438: MPHI regs_base at 0xdc896000
[ 1.584654] dwc_otg 20980000.usb: DWC OTG Controller
[ 1.591394] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 1.600495] dwc_otg 20980000.usb: irq 32, io mem 0x00000000
[ 1.607779] Init: Port Power? op_state=1
[ 1.613290] Init: Power Port (0)
[ 1.618494] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.626940] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.635840] usb usb1: Product: DWC OTG Controller
[ 1.642191] usb usb1: Manufacturer: Linux 4.1.7+ dwc_otg_hcd
[ 1.649496] usb usb1: SerialNumber: 20980000.usb
[ 1.656743] hub 1-0:1.0: USB hub found
[ 1.662358] hub 1-0:1.0: 1 port detected
[ 1.668567] dwc_otg: FIQ enabled
[ 1.668592] dwc_otg: NAK holdoff enabled
[ 1.668606] dwc_otg: FIQ split-transaction FSM enabled
[ 1.668670] Module dwc_common_port init
[ 1.669256] usbcore: registered new interface driver usb-storage
[ 1.677297] mousedev: PS/2 mouse device common for all mice
[ 1.685700] bcm2835-cpufreq: min=700000 max=700000
[ 1.692644] sdhci: Secure Digital Host Controller Interface driver
[ 1.700568] sdhci: Copyright(c) Pierre Ossman
[ 1.707164] mmc-bcm2835 20300000.mmc: mmc_debug:0 mmc_debug2:0
[ 1.714730] mmc-bcm2835 20300000.mmc: DMA channels allocated
[ 1.758080] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.766127] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.776650] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.788595] usbcore: registered new interface driver usbhid
[ 1.795799] usbhid: USB HID core driver
[ 1.803822] Initializing XFRM netlink socket
[ 1.811980] NET: Registered protocol family 17
[ 1.820449] Key type dns_resolver registered
[ 1.833075] registered taskstats version 1
[ 1.839192] vc-sm: Videocore shared memory driver
[ 1.845454] [vc_sm_connected_init]: start
[ 1.852421] [vc_sm_connected_init]: end - returning 0
[ 1.861651] Waiting for root device /dev/mmcblk0p2...
[ 1.868910] Indeed it is in host mode hprt0 = 00021501
[ 1.884902] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.911260] mmc0: new high speed SDHC card at address aaaa
[ 1.928308] mmcblk0: mmc0:aaaa SS16G 14.8 GiB
[ 1.948941] mmcblk0: p1 p2
[ 2.006505] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.018488] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.028593] devtmpfs: mounted
[ 2.034506] Freeing unused kernel memory: 348K (c07c3000 - c081a000)
[ 2.077726] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.087491] Indeed it is in host mode hprt0 = 00001101
[ 2.298305] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.306979] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.319571] hub 1-1:1.0: USB hub found
[ 2.326477] hub 1-1:1.0: 5 ports detected
[ 2.607723] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.718309] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.727286] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.745305] smsc95xx v1.0.4
[ 2.825168] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:4d:6b:6b
[ 3.766898] udevd159: starting version 175
[ 4.817807] usb 1-1.2: new low-speed USB device number 4 using dwc_otg
[ 4.966014] usb 1-1.2: New USB device found, idVendor=10cf, idProduct=5500
[ 4.987825] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.997313] usb 1-1.2: Product: USB K8055
[ 5.017784] usb 1-1.2: Manufacturer: Velleman
[ 5.482174] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[ 10.096990] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 10.567121] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.187736] random: nonblocking pool is initialized
[ 20.193137] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 21.757187] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 28.785658] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2162644k SSFS
[ 44.434976] uart-pl011 20201000.uart: no DMA platform data
[ 1235.850066] usb 1-1.2: USB disconnect, device number 4
[ 1245.301716] usb 1-1.2: new low-speed USB device number 5 using dwc_otg
[ 1245.410506] usb 1-1.2: New USB device found, idVendor=10cf, idProduct=5500
[ 1245.410546] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1245.410566] usb 1-1.2: Product: USB K8055
[ 1245.410582] usb 1-1.2: Manufacturer: Velleman
Edwin
Member
Member
 
Posts: 447
Joined: October 2007
Location: Netherlands

Re: velleman k8055 problem

Postby Edwin » Mon Nov 02, 2015 10:13 am

Problem is solved!!!
Had to do with permissions
Thanks to rdnzl
Edwin
Member
Member
 
Posts: 447
Joined: October 2007
Location: Netherlands


Return to DomotiGa Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron