วันจันทร์ที่ 13 สิงหาคม พ.ศ. 2561

AVRISP-MKII Under Fedora : Arduino "Permission Denine Problems"

Check usb device id by using command

lsusb

It's show like this

Bus 003 Device 006: ID 03eb:2104 Atmel Corp. AVR ISP mkII

Then create this 70-avrdude_usbprog.rules in /etc/udev/rules.d/.
This following is 70-avrdude_usbprog.rules content.

# Atmel AVR ISP mkII
SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2104", TAG+="uaccess"

Execute this following command by root.

udevadm control --reload

Then unplug (usb) the AVRISP-MKII and plug it again.
It's work fine on Fedora Workstation 28.

Thanks for solution from Quichotte
https://forums.fedoraforum.org/showthread.php?265610-execute-avrdude-as-non-root

วันพุธที่ 14 กันยายน พ.ศ. 2559

"libkrb5.so" error on running Samba.

I've found solutions on reference website.
try following command.

yum upgrade krb5-libs

and Then edit file /etc/sysconfig/selinux.
set 

SELINUX=disabled

Thanks for solution from.
https://www.experts-exchange.com/questions/22957825/Samba-net-ads-join-error.html#answer20312815

วันอังคารที่ 10 พฤศจิกายน พ.ศ. 2558

How to delete file on zfs file system when it has no space left.

open shell terminal and then type

   echo "" > path_to_file_want_to_delete

now file want to delete is empty file. Then delete this file by use rm command.

Thanks for solution from
"https://forums.freenas.org/index.php?threads/disk-full-cant-delete-any-files-please-help.12252/"

วันพุธที่ 15 ตุลาคม พ.ศ. 2557

RT73 Driver compile problem on linux 2.6.38

I've FriendlyARM Tiny 6410 SDK and I've got and linux kernel sources from DVD. But when I'm compile new kernel to install to run Ubuntu I'm not found RT73USB wireless driver. I was solve this problem by download driver sources from railink official website (RT73_Linux_STA_Drv1.1.0.5) . But when I'm compile this driver i've found following problem.

rtmp_init.c:995:3: error: implicit declaration of function 'init_MUTEX'
and
rtmp_init.c:996:3: error: implicit declaration of function 'init_MUTEX_LOCKED'

I've found solution  by modify source code to support linux 2.6.38 kernel by change init_MUTEX and init_MUTEX_LOCKED to sema_init function. Now It can compiled.

Thank you solution from
http://objectlayer.blogspot.com/2012/07/linux-kernel-2638-using-semainit.html

วันจันทร์ที่ 13 ตุลาคม พ.ศ. 2557

Source List for ARM

/etc/apt/source.list

    deb http://ports.ubuntu.com/ubuntu-ports karmic main universe
replace with
    deb http://old-releases.ubuntu.com/ubuntu/ karmic main universe

Thanks for
http://readystate4.com/2011/11/21/low-powered-web-servers-and-resolving-issues-installing-ubuntu-on-an-android-galaxy-s/

วันอาทิตย์ที่ 12 ตุลาคม พ.ศ. 2557

"PRI Error on span 2: We think we're the CPE, but they think they're the CPE too" Problem.

I've found this massage on asterisk log (/var/log/asterisk/full)

PRI Error on span 2: We think we're the CPE, but they think they're the CPE too

This problem is solved by edit /etc/asterisk/dahdi-channels.conf

change
switchtype = national
signalling = pri_net

Note.
Solution from
http://community.spiceworks.com/topic/487804-pri-cards-where-is-the-problem
and
http://forums.digium.com/viewtopic.php?f=1&t=5937&start=0

วันพฤหัสบดีที่ 18 กันยายน พ.ศ. 2557

SATA HDD on Wandboard Quad with Fedora20

I'm install FC20 into WB-Quad by following URL.

https://fedoraproject.org/wiki/Architectures/ARM/F20/Installation#For_the_Wandboard_.28Freescale_i.MX6.29

But it's cannot see any SATA devices on board. I've found solution on following URL.

http://www.swissdutch.ch/sata.php

It's require imx6q-wandboard.dtb but URL on site are loss. But I've found new on URL.

http://less.cogeco.net/fedora/linux/development/rawhide/armhfp/os/images/pxeboot/dtb/

And I choose imx6q-wandboard-revb1.dtb (My board is rev B1). Put it into __boot/dtb/ on sd-card. Then I'm modify __boot/extlinux/extlinux.conf by changed

"ftd /dtb/imx6q-wandboard.dtb"

to

"fdt /dtb/imx6q-wandboard-revb1.dtb".

Then create /etc/modules-load.d/imx.conf. This is inside it.

# Load ahci imx at boot
ahci_platform
ahci_imx

When I'm create directory /hdd finished i'm put this line to __/etc/fstab

/dev/sda1   /hdd ext4 defaults 0 0

And Then reboot.

Sources.
https://fedoraproject.org/wiki/Architectures/ARM/F20/Installation#For_the_Wandboard_.28Freescale_i.MX6.29
http://www.swissdutch.ch/sata.php
http://less.cogeco.net/fedora/linux/development/rawhide/armhfp/os/images/pxeboot/dtb/