Asus X51R Ubuntu 10.04 microphone 

I had some problem with my laptop's microphone input with the Ubunutu 10.04.

I have inserted the following line to the end of the /etc/modprobe.d/alsa-base.conf


options snd-hda-intel model=3stack-660
options snd-hda-intel probe_mask=1


And now I have the Mic, and the Front Mic and the line channel in the alsamixer. The microphone connector, is the MIC in the alsamixer, and the Mic2 in the system's sound preferences.

BTW, I have disassembled it, and found a pinhead connector near the soundcard IC (ALC660), so I think it is possible to add an internal microphone.

[ hozzászólás ] ( 16 megtekintés ) [ 0 trackbackek ] permalink ( 3.2 / 1059 )
Upgrade routerstation firmware from Openwrt daily snapshot. 

Just a small note to myself, because I have forgotten it again.

Connect the RS board to your PC trough it's WAN port.
Give static IP to your PC in the 192.168.1.255 subnet.
(IP 192.168.1.1 mask: 255.0.0.0 gw: 192.168.1.20)

cd to your Openwrt's bin directory. (bin/ar71xx)
Power up your RS (trough POE) while holding down it's reset button.
You can release it when the RF led starts light.
Run tftp in the bin/ar71xx directory:

$tftp
binary
trace
put openwrt-ar71xx-ubnt-rs-squashfs-factory.bin


If the process is successful then wait 5-6 minutes. Once the upgrade is finished you the RS will reboot itself.
You will notice it because the wired connection is downed during the reset.

After the reboot it will wait a few minutes, because it erases jffs2 filesystem, and it is takes a long time.
Don't panic, it will finish it.


[ hozzászólás ] ( 13 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 597 )
Ubuntu /usr/lib/cups/filter/pdftopdf failed 

Today I wanted to print some documents. Click print, wait nothing happends. I have checked the CUPS command panel, and it said, that the
/usr/lib/cups/filter/pdftopdf failed. Happiness. I have tried to run it, and

mm@lapos:~$ /usr/lib/cups/filter/pdftopdf
/usr/lib/cups/filter/pdftopdf: symbol lookup error: /usr/lib/cups/filter/pdftopdf: undefined symbol: _ZN13GfxColorSpace5parseEP6Object


This happends on my notebook running Ubuntu 9.10 Karmic Koala x86_64.

I remember that there were a CUPS update few days ago. I have forced back the old version of cups, but it did not helped. So I have made a bit workaround with

mm@lapos:~$ sudo mv /usr/lib/cups/filter/pdftopdf /usr/lib/cups/filter/pdftopdf2
mm@lapos:~$ sudo /etc/init.d/cups restart

AAnd happiness.
Now I feel that once I will be angry to myself about this action, but currently I can print, and this is what is matter.

[ hozzászólás ] ( 5 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 1020 )
OpenWrt snapshot build failed 

Today I have tried to build my updated repo for my Netgear DG834GT, but it failed with:

cp: cannot stat `/home/mm/Projektek/netgear/openwrt/build_dir/linux-brcm63xx/compat-wireless-2010-03-03/drivers/net/wireless/ath/ath5k/ath5k.ko': No such file or directory
make[3]: *** [/home/mm/Projektek/netgear/openwrt/bin/brcm63xx/packages/kmod-ath5k_2.6.32.9+2010-03-03-3_brcm63xx.ipk] Error 1
make[3]: Leaving directory `/home/mm/Projektek/netgear/openwrt/package/mac80211'
make[2]: *** [package/mac80211/compile] Error 2
make[2]: Leaving directory `/home/mm/Projektek/netgear/openwrt'
make[1]: *** [/home/mm/Projektek/netgear/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/mm/Projektek/netgear/openwrt'
make: *** [world] Error 2


Mostly if the daily openwrt snapshot building fails, the easiest thing to do, is rm -rf everything, and checkout a clean snapshot.
Of course this means, you have to recompile everything which wastes a lot of time.

I did not have so much humour to do it, so I have decided to do something else. I have updated my Routerstation repo, but it failed with the similar issue. As I the ath5k.ko is missing, because the compat-wireless-2010-03-03 package had not been compiled, but it had the hidden .configured and .built files.

I have removed all of these files with this command:

rm -rf /home/mm/Projektek/netgear/openwrt/build_dir/linux-brcm63xx/compat-wireless-2010-03-03/.built
rm -rf /home/mm/Projektek/netgear/openwrt/build_dir/linux-brcm63xx/compat-wireless-2010-03-03/.configured*
rm -rf /home/mm/Projektek/netgear/openwrt/build_dir/linux-brcm63xx/compat-wireless-2010-03-03/.prepare*


And now the build is done.

Conclusion
If your openwrt build fails with a missing file, or a directory you should find out in what package is in, and remove the hidden markup files (.build, .configured*)

[ hozzászólás ] ( 4 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 952 )
Setting up Qt build enviroment for AVR32 development 

Currently I have a project which is based on the Atmel's NGW100 board.
It contains an 7' LCD display with touchscreen, an AC97 soundcard, a GPRS modem, and a PIC based board for controlling relay's, and so on.
The development time to make it working should be as sort as is possible. Read more...
[ hozzászólás ] ( 88 megtekintés ) [ 0 trackbackek ] permalink ( 2.9 / 2271 )

<< <Előző | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | Következő> >>

 
számláló