Thursday, October 28, 2010

Browse blackberry tour sd card from linux.

Plugged my blackberry tour in and I got this in dmesg

usb 1-5: new high speed USB device using ehci_hcd and address 25
scsi8 : usb-storage 1-5:1.1

Nothing in /dev/sd* to mount though.

Fixed it by doing this on the blackberry:

Setup -> Options -> Memory -> Auto Enable Mass Storage Mode When Connected [YES]

And now it's accessible.

Tuesday, October 26, 2010

Chromium hanging on google maps

Chromium (9.0.564.0 (63860) Archlinux) kept hanging on google maps and a few other websites.

Not sure what the deal is but this fixes it until the devs do an overhaul.

chromium --disable-accelerated-compositing


"We're looking into possibly doing an overhaul of the gpu process architecture to resolve this and other related issues. Since accelerated compositing is only going to be a labs feature for M8 and the non-accelerated path isn't affected, I don't think this issue should be marked ReleaseBlock-Beta." 

http://code.google.com/p/chromium/issues/detail?id=58862

Sunday, October 17, 2010

White screen on boot on ubuntu

Ubuntu upgrade to maverick on a dell C640 has a white screen on boot.

1.) Plugged in ethernet cable (wireless doesn't work)
2.) grub recovery mode (netroot: root shell with networking)
3.) Running startx show abi mismatch errors + unable to load drivers
4.) Ran aptitude, it updated some xserver packages
5.) X now starts but it's all trippy colors + low resolution (not using radeon driver)
6.) X also won't let me use keyboard or mouse
7.) Remove and install xserver-xorg-video-radeon
8.) apt-get remove --purge xserver-xorg-core
9.) apt-get install xserver-xorg-core
10.) X starts fine now.

Whatever, ubuntu.

Sunday, October 10, 2010

Iphone as webcam in linux (arch) with webcamstudio and iWebcamera.

First install webcamstudio: http://aur.archlinux.org/packages.php?ID=22708

I use yaourt not pacman so it was:

[youri@nemesis ~]$ yaourt -S webcamstudio

Also need vloopback2 (Not vloopback package but vloopback-svn) http://aur.archlinux.org/packages.php?ID=31446



[youri@nemesis ~]$ yaourt -S vloopback

Now insert the module:

[youri@nemesis ~]$ modprobe vloopback

Install iWebcamera on the iphone and run it.

Make a file iWebcamera.wspl and put this in it:

pipeline=souphttpsrc location=http://192.168.1.6:8080/strm ! jpegec ! ffmpegcolorspace name=tosink

Change the ip (red) to the ip of the iphone.

Run webcamstudio and click on 'sources' then add a folder to scan and select the folder that holds the previously created iWebcamera.wspl file.

Double click the iphone in the Devices list and press "play" on it.

Now it's accessible to the system.





Thursday, October 7, 2010

archlinux dbus causing problems on boot

Kept getting

Starting D-BUS system messagebus Failed to start message bus:

Putting "dbus" in front of "hal" so that it starts first in /etc/rc.conf fixed it.

DAEMONS=( syslog-ng network netfs crond dbus hal fam @sshd @alsa @openntpd @lighttpd)

Saturday, October 2, 2010

Installed phpbb gallery on phpbb3.0.7+lighttpd+archlinux

Step 1: Used automod to upload "phpbb_gallery_1_0_5.zip"

Step 2: Went to http://[mysite]/forum/install

  • Install script didn't work!
  • tail -f /var/log/lighttpd/error_log
  • 2010-10-02 12:00:17: (mod_fastcgi.c.2701) FastCGI-stderr: PHP Fatal error:  Call to undefined function gd_info() in /home/youri/public_html/cfljc/forum.old/install/install_install.php on line 156
  • edit /etc/php.ini and uncomment "extension=gd.so"
  • install php-gd: yaourt -S php-gd
  • sudo /etc/rc.d/lighttpd restart
Step 3: Install script worked

Step 4: rm -r public_html/forum/install

And the gallery works.