Sony VGN-CR32OE
scm2895 pinout
scm 2895 pinout
n8034s02
r5u87x pinout
camera: 05ca:1839
Ricoh Co., Ltd Visual Communication Camera VGP-VCC6 [R5U870]
Any way its a namtai scm2895
Pin out is
red green white black black
Red to red usb
green to white usb
white to green usb
all the black wires (if you unravel the sheilding you will notice that the other black wire is connected to the shielding) to black usb
See picture taken with webcam
I will solder these later.
But it can be done.. i would assume most of these ricoh webcams have similar pin connections.
To use on ubunut installe the ppa
https://launchpad.net/~r5u87x-loader/+archive/ubuntu/ppa
and cheese.
Monday, November 24, 2014
Thursday, October 2, 2014
Mount NTFS partition is in an unsafe state.
The post on NTFS tricks from May no longer worked for me on Ubuntu 14.10
The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.
Blah blah....
Old way that worked.
sudo mount -t ntfs-3g /dev/sdf4 ./mnt -o remove_hiberfile
New way which is just wierd....
sudo ntfs-3g -o remove_hiberfile /dev/sdf4 ./mnt
But it worked...
The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.
Blah blah....
Old way that worked.
sudo mount -t ntfs-3g /dev/sdf4 ./mnt -o remove_hiberfile
New way which is just wierd....
sudo ntfs-3g -o remove_hiberfile /dev/sdf4 ./mnt
But it worked...
Saturday, May 24, 2014
Building kernel ubuntu
Fun things to do building your kernel
I use the Kernel_gcc_patch that adds additional CPU options to the Linux kernel at build time.
For 3.15+ use the patch at
https://github.com/graysky2/kernel_gcc_patch/tree/v3.15%2B
then to use
patch -p1 < enable_additional_cpu_optimizations_for_gcc-updated-for-3.15.patch
cp -vi /boot/config-`uname -r` .config
make xconfig
Under Processor type and features
-Processor family
--Choose your processor.
-Under Preemption Model
change to Preemptible Kernel (Low-Latency Desktop) (PREEMPT)
Select this if you are building a kernel for a desktop or
embedded system with latency requirements in the milliseconds
range.
- Timer frequency
Choose
1000 HZ (HZ_1000
1000 Hz is the preferred choice for desktop systems and other
systems requiring fast interactive responses to events.
Make any other changes you need then save you config
for my build I have a quad core so
export CONCURRENCY_LEVEL=5
time fakeroot make-kpkg --initrd --revision=`date +%m%d%Y` --append-to-version=-`date +%m%d%Y` kernel-image kernel-headers
after its finished building
cd ..
sudo dpkg -i *.deb
Note for 14.04 and building 3.15
You need to download and install the deb
https://launchpad.net/ubuntu/+source/kernel-package/13.003/+build/5980712/+files/kernel-package_13.003_all.deb
If not you will recieve errors and the build wont complete.
See bug https://bugs.launchpad.net/bugs/1308183
I use the Kernel_gcc_patch that adds additional CPU options to the Linux kernel at build time.
For 3.15+ use the patch at
https://github.com/graysky2/kernel_gcc_patch/tree/v3.15%2B
then to use
patch -p1 < enable_additional_cpu_optimizations_for_gcc-updated-for-3.15.patch
cp -vi /boot/config-`uname -r` .config
make xconfig
Under Processor type and features
-Processor family
--Choose your processor.
-Under Preemption Model
change to Preemptible Kernel (Low-Latency Desktop) (PREEMPT)
Select this if you are building a kernel for a desktop or
embedded system with latency requirements in the milliseconds
range.
- Timer frequency
Choose
1000 HZ (HZ_1000
1000 Hz is the preferred choice for desktop systems and other
systems requiring fast interactive responses to events.
Make any other changes you need then save you config
for my build I have a quad core so
export CONCURRENCY_LEVEL=5
time fakeroot make-kpkg --initrd --revision=`date +%m%d%Y` --append-to-version=-`date +%m%d%Y` kernel-image kernel-headers
after its finished building
cd ..
sudo dpkg -i *.deb
Note for 14.04 and building 3.15
You need to download and install the deb
https://launchpad.net/ubuntu/+source/kernel-package/13.003/+build/5980712/+files/kernel-package_13.003_all.deb
If not you will recieve errors and the build wont complete.
See bug https://bugs.launchpad.net/bugs/1308183
NTFS tricks on linux
Or How do I mount a hibernated NTFS partition?
Error mounting: mount exited with exit code 14: Windows is hibernated, refused to mount.
sudo mount -t ntfs-3g /dev/'device' 'monutpoint' -o remove_hiberfile
Example:
sudo mount -t ntfs-3g /dev/sde4 ./mnt -o remove_hiberfile
remove_hiberfile
Unlike in case of read-only mount, the read-write mount is denied if the NTFS volume is hibernated. One needs either to resume Windows and shutdown it properly, or use this option which will remove the Windows hibernation file. Please note, this means that the saved Windows session will be completely lost. Use this option under your own responsibility.
Fix some NTFS issues
ntfsfix - fix common errors and force Windows to check NTFS
SYNOPSIS
ntfsfix [options] device
DESCRIPTION
ntfsfix is a utility that fixes some common NTFS problems. ntfsfix is NOT a Linux version of chkdsk. It only repairs some fundamental NTFS inconsistencies, resets the
NTFS journal file and schedules an NTFS consistency check for the first boot into Windows.
You may run ntfsfix on an NTFS volume if you think it was damaged by Windows or some other way and it cannot be mounted.
Example run:
sudo ntfsfix /dev/sdb1
To install:
sudo apt-get install ntfsprogs
Error mounting: mount exited with exit code 14: Windows is hibernated, refused to mount.
sudo mount -t ntfs-3g /dev/'device' 'monutpoint' -o remove_hiberfile
Example:
sudo mount -t ntfs-3g /dev/sde4 ./mnt -o remove_hiberfile
remove_hiberfile
Unlike in case of read-only mount, the read-write mount is denied if the NTFS volume is hibernated. One needs either to resume Windows and shutdown it properly, or use this option which will remove the Windows hibernation file. Please note, this means that the saved Windows session will be completely lost. Use this option under your own responsibility.
Fix some NTFS issues
ntfsfix - fix common errors and force Windows to check NTFS
SYNOPSIS
ntfsfix [options] device
DESCRIPTION
ntfsfix is a utility that fixes some common NTFS problems. ntfsfix is NOT a Linux version of chkdsk. It only repairs some fundamental NTFS inconsistencies, resets the
NTFS journal file and schedules an NTFS consistency check for the first boot into Windows.
You may run ntfsfix on an NTFS volume if you think it was damaged by Windows or some other way and it cannot be mounted.
Example run:
sudo ntfsfix /dev/sdb1
To install:
sudo apt-get install ntfsprogs
Sunday, May 18, 2014
Edit lightdm-gtk-greeter-settings
Nifty little app.
https://launchpad.net/lightdm-gtk-greeter-settings
Even allows you to change the login box position.
https://launchpad.net/lightdm-gtk-greeter-settings
Even allows you to change the login box position.
Cinnamon applets
World clock gotta have
http://cinnamon-spices.linuxmint.com/applets/view/108
Time format for world clocks: %l:%M%P (%a) %H:%M
Time format for applet: %a %b %e %l:%M %p
http://cinnamon-spices.linuxmint.com/applets/view/108
Time format for world clocks: %l:%M%P (%a) %H:%M
Time format for applet: %a %b %e %l:%M %p
Window manager info
Want to know which window manager your running try
wmctrl -m
env | grep -i gdmsession
wmctrl -m
env | grep -i gdmsession
VirtualBox Guest Additions on Fedora 20/19, CentOS/RHEL 6.5/5.10
This link helps
Make sure to read the comments for updated help..
Above link if you like to copy and paste links
http://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel
Also see
http://wiki.centos.org/HowTos/Virtualization/VirtualBox/CentOSguest
http://wiki.centos.org/FAQ/CentOS6#head-012846a4e422267a34e81c4c905654fc8f36ffaf
My suggestion from the comments above
Make sure to read the comments for updated help..
Above link if you like to copy and paste links
http://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel
Also see
http://wiki.centos.org/HowTos/Virtualization/VirtualBox/CentOSguest
http://wiki.centos.org/FAQ/CentOS6#head-012846a4e422267a34e81c4c905654fc8f36ffaf
My suggestion from the comments above
Subscribe to:
Posts (Atom)
ln -s /usr/src/kernels/2.6.32-431.3.1.el6.x86_64/ /usr/src/kernels/2.6.32-431.el6.x86_64
it does not like the extra kernel info 3.1.
and the fix from
http://wiki.centos.org/HowTos/Virtualization/VirtualBox/CentOSguest
Patch for CentOS 6.5 with VBOXADDITIONS_4.3.2/4.3.4
cd /usr/src/kernels//include/drm/
ln -s /usr/include/drm/drm.h drm.h
ln -s /usr/include/drm/drm_sarea.h drm_sarea.h
ln -s /usr/include/drm/drm_mode.h drm_mode.h
ln -s /usr/include/drm/drm_fourcc.h drm_fourcc.h
which is linked from https://forums.virtualbox.org/viewtopic.php?f=3&t=58855