Another offtopic...
I got recently Xiaomi gamepad from china. Specs were cool, the issue was that by default buttons were assigned incorrectly. I spent some time looking for solution to this and the only thing that worked for me was found here.
With that small app all buttons are assigned correctly and vibration works.
Friday, 17 February 2017
DNN: can't find /DesktopModules/DDRMenu/Menu.ascx
Little offtopic...
I suddenly got Unexpected error while opening my local dev website dotNetNuke. The log in Portals\_default\Logs mentioned that /DesktopModules/DDRMenu/Menu.ascx is not found although it existed on file system.
Apparently this was caused by adding custom developed module. One guy found the solution and described this situation on this blog post.
So, the solution is to delete virtual folder desktopmodules in IIS. Then the original folder DesktopModules from file system will appear in this place. Next restart application pool and that's it!
I suddenly got Unexpected error while opening my local dev website dotNetNuke. The log in Portals\_default\Logs mentioned that /DesktopModules/DDRMenu/Menu.ascx is not found although it existed on file system.
Apparently this was caused by adding custom developed module. One guy found the solution and described this situation on this blog post.
So, the solution is to delete virtual folder desktopmodules in IIS. Then the original folder DesktopModules from file system will appear in this place. Next restart application pool and that's it!
Sunday, 23 October 2016
OpenWRT on WR1043ND-v1 & Huawei E5577-321 HiLink USB connection
I got Huawei E5577-321 from my internet provider. This MIFI connected via USB works as a network card.
I couldn't find any reliable instruction that would work. Here is what I did:
Flash OpenWrt Chaos Calmer 15.05.1 on my TP-Link WR1043ND v1.
Enter following in command line:
Your /etc/config/network file should have following entry:
Flash OpenWrt Chaos Calmer 15.05.1 on my TP-Link WR1043ND v1.
Enter following in command line:
# uci del network.wan
# uci set network.wan=interface
# uci set network.wan.proto=dhcp
# uci set network.wan.ifname=eth1
# uci commit network
# reboot
Your /etc/config/network file should have following entry:
config 'interface' 'wan'
option 'proto' 'dhcp'
option 'ifname' 'eth1'
Tuesday, 10 May 2016
Split flac file easy way
I need to split large flac audio files to convert them to apple lossless format and them transfer them to my ipod. The official way says:
First you need to install cuetools and shntool. From the terminal type:
sudo apt-get install cuetools shntool flac
To split a flac file back to the original files using a .cue file:
cuebreakpoints '<cue file>' | shnsplit -o flac '<audio flac file>'
This didn't really work, no tags were saved and editing hundreds of individual files is not an option.
I found in one comment to use K3b. And that helped a lot. What must be done is:
1. Open the CUE file in K3b.
2. Choose convert tracks to FLAC.
3. Press Start.
This created folder in my home dir with artist name - album and files inside. Very helpful, from there next step was to convert all files to m4a/alac format in soundKonverter.
*Notice it was soundKonverter - with K not C.
First you need to install cuetools and shntool. From the terminal type:
sudo apt-get install cuetools shntool flac
To split a flac file back to the original files using a .cue file:
cuebreakpoints '<cue file>' | shnsplit -o flac '<audio flac file>'
This didn't really work, no tags were saved and editing hundreds of individual files is not an option.
I found in one comment to use K3b. And that helped a lot. What must be done is:
1. Open the CUE file in K3b.
2. Choose convert tracks to FLAC.
3. Press Start.
This created folder in my home dir with artist name - album and files inside. Very helpful, from there next step was to convert all files to m4a/alac format in soundKonverter.
*Notice it was soundKonverter - with K not C.
Sunday, 10 April 2016
Wednesday, 6 April 2016
Kobo Glo HD memory upgrade on Linux
Received my reader today and couldn't wait to upgrade memory and load all my stuff. Well tutorials which I saw were all for windows. I foung in gparted that my Kobo card in SD reader is SDE and 32GB card in USB reader is SDD. So I just used below command:
sudo dd if=/dev/sde of=/dev/sdd
sudo dd if=/dev/sde of=/dev/sdd
7744512+0 read records
7744512+0 written records
copied 3965190144 bytes (4.0 GB), 3042.42 s, 1.3 MB/s
It took about 1 hour but worked ok, ereader booted and everything works so far. 29 GB left for my library.
You can use sudo nmon to monitor activity.
#koboglohd #memoryupgrade
Sunday, 6 December 2015
SDR Realtek RTL2832U from Aliexpress
Installation Packages
Before we begin installing our decoding radio software we will need to install the following components. Simply issue the following command from the command line:
sudo apt-get install git cmake libboost-all-dev libusb-1.0-0-dev python-scitools portaudio19-dev -y
gqrx - Software Defined Radio
"gqrx" is a Software Defined Radio that supports a wide range of devices. In this example we will be using the low cost RTL2832U based DVB-T dongles.
gqrx has the following features:
- Discover devices attached to the computer.
- Process I/Q data from the supported devices.
- Change frequency, gain and apply various corrections (frequency, I/Q balance).
- AM, SSB, FM-N and FM-W (mono and stereo) demodulators.
- Special FM mode for NOAA APT.
- Variable band pass filter.
- AGC, squelch and noise blankers.
- FFT plot and waterfall.
- Record and playback audio to / from WAV file.
- Spectrum analyzer mode where all signal processing is disabled
Installing gqrx
To install "gqrx" we need to add a "ppa" (Personal Package Archive) to our system. To do this we simply issue the following commands:
sudo add-apt-repository ppa:gqrx/releases
sudo apt-get update
sudo apt-get install gqrx-sdr
Once the relevant packages/software have been installed, you now insert your USB dongle. You can run a quick test to confirm that your system can see the USB device. Issue the command :
rtl_test -t
If you see the statement "Kernel driver is active, or device is claimed by second instance of librtlsdr", then don't panic, simply issue the command:
sudo modprobe -r dvb_usb_rtl28xxu
Basically the newer kernel that comes with Ubuntu already contains a DVB driver, however, we do not want to use this. The above "modprobe -r" command unloads this from the kernel, however for a permanent solution you will need to create the following file:
$ cd /etc/modprobe.d/
$ vi ban-rtl.conf
Now add the following line:
blacklist dvb_usb_rtl28xxu
Save your changes. This change will come into effect when the system is re-booted. The name of the ".conf" file is not important as long as the file ends with ".conf".
The command rtl_test -t should give similar output:
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
Sampling at 2048000 S/s.
No E4000 tuner found, aborting.
From the above we can see that our USB dongle has been recognised. (Found Rafael Micro R820T tuner)
Starting gqrx - Software Defined Radio
To start "gqrx" simply type gqrx at the command line. Hopefully now you should see a screen similar to the one below:
Subscribe to:
Posts (Atom)