Cydonia Todo: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
DEPRICATED: see [[Keres]]
* Monitoring
* Monitoring
** acpi cacti
** acpi cacti - UPDATE ACPI turned off , BIOS BUG!
** cacti update (webapp-config)
** cacti update (webapp-config)
** external collection addition top cacti
** external collection addition top cacti
Line 7: Line 10:
** interupts
** interupts


* webcam
* web cam see below
** Motion


* eve-online market graphing tool.
* eve-online market graphing tool.
* clean up webapps
* clean up webapps
* resolve: http://www.kb.cert.org/vuls/id/800113
* resolve: http://www.kb.cert.org/vuls/id/800113
* reduce power usage as much as possible
** See [[power management notes]]


* calculate power consumption:
* calculate power consumption:
Line 36: Line 41:
** pegged cpu ( 100% system)
** pegged cpu ( 100% system)
** AE_AML_INFINITE_LOOP
** AE_AML_INFINITE_LOOP
* open ca
* ups serial port
* ptp
* modem
* usb camera
== webcam ==
** Motion
<pre>
[2873943.175265] usb 3-1: udev 2, busnum 3, minor = 257
[2873943.175273] usb 3-1: New USB device found, idVendor=0c45, idProduct=602c
[2873943.175279] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
</pre>
http://tech.shantanugoel.com/2008/05/11/tip-getting-your-webcam-to-work-in-ubuntu.html
"Microdia Clas Ohlson TWC-30XOP Webcam"
<pre>
[ 4992.012449] Linux video capture interface: v2.00
[ 4992.020599] gspca_main: v2.14.0 registered
[ 4992.021864] gspca_main: sonixb-2.14.0 probing 0c45:602c
[ 4992.024280] input: sonixb as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/input/input1
[ 4992.024539] usbcore: registered new interface driver sonixb
</pre>
<pre>
01:01:03 athena@athena / # /usr/bin/v4l2-ctl --list-devices --verbose -D -L
USB camera (usb-0000:00:1d.0-2):
        /dev/video0
VIDIOC_QUERYCAP: ok
Driver Info (not using libv4l2):
        Driver name  : sonixb
        Card type    : USB camera
        Bus info      : usb-0000:00:1d.0-2
        Driver version: 3.10.7
        Capabilities  : 0x85000001
                Video Capture
                Read/Write
                Streaming
                Device Capabilities
        Device Caps  : 0x05000001
                Video Capture
                Read/Write
                Streaming
User Controls
                    brightness (int)    : min=0 max=255 step=1 default=127 value=127 flags=slider
                      exposure (int)    : min=0 max=1023 step=1 default=66 value=66 flags=inactive
                gain_automatic (bool)  : default=1 value=1 flags=update
                          gain (int)    : min=0 max=47 step=1 default=31 value=31 flags=inactive
          power_line_frequency (menu)  : min=0 max=2 default=0 value=0
                                0: Disabled
                                1: 50 Hz
                                2: 60 Hz
</pre>
motion works with S910 palette:
<pre>
[1] Thread 1 started
[0] motion-httpd: waiting for data on port TCP 8080
[1] cap.driver: "sonixb"
[1] cap.card: "USB camera"
[1] cap.bus_info: "usb-0000:00:1d.0-2"
[1] cap.capabilities=0x85000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Config palette index 3 (JPEG) doesn't work.
[1] Supported palettes:
[1] 0: S910 (S910)
[1] 1: BA81 (BA81)
[1] Selected palette BA81
[1] Test palette BA81 (320x240)
[1] Adjusting resolution from 320x240 to 160x120.
[1] Using palette BA81 (160x120) bytesperlines 160 sizeimage 19200 colorspace 00000008
[1] found control 0x00980900, "Brightness", range 0,255
[1]    "Brightness", default 127, current 127
[1] found control 0x00980911, "Exposure", range 0,1023
[1]    "Exposure", default 66, current 1023
[1] found control 0x00980912, "Gain, Automatic", range 0,1
[1]    "Gain, Automatic", default 1, current 1
[1] found control 0x00980913, "Gain", range 0,47
[1]    "Gain", default 31, current 47
[1] mmap information:
[1] frames=4
[1] 0 length=20480
[1] 1 length=20480
[1] 2 length=20480
[1] 3 length=20480
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
</pre>
<hr>
take one frame:
vlc -I dummy v4l2:///dev/video0 --video-filter scene --no-audio --scene-path /tmp/vlc_scene --scene-prefix image_prefix --scene-format png vlc://quit --run-time=1
http://www.tldp.org/HOWTO/html_single/Webcam-HOWTO/#COMMAND
== ViewQuest Technologies, Inc. Intel Pro Share Webcam ==
01:02:21 athena@athena /dev # lsusb
Bus 002 Device 002: ID 0733:0430 ViewQuest Technologies, Inc. Intel Pro Share Webcam
...
<pre>
01:01:52 athena@athena /dev # /usr/bin/v4l2-ctl --list-devices --verbose -D -L
USB Camera (0733:0430) (usb-0000:00:1d.0-2):
        /dev/video0
VIDIOC_QUERYCAP: ok
Driver Info (not using libv4l2):
        Driver name  : spca505
        Card type    : USB Camera (0733:0430)
        Bus info      : usb-0000:00:1d.0-2
        Driver version: 3.10.7
        Capabilities  : 0x85000001
                Video Capture
                Read/Write
                Streaming
                Device Capabilities
        Device Caps  : 0x05000001
                Video Capture
                Read/Write
                Streaming
User Controls
                    brightness (int)    : min=0 max=255 step=1 default=127 value=127 flags=slider
</pre>
Also doing some work with [[boon2]].
[[Category:Computers]]

Latest revision as of 20:53, 17 March 2015

DEPRICATED: see Keres

  • Monitoring
    • acpi cacti - UPDATE ACPI turned off , BIOS BUG!
    • cacti update (webapp-config)
    • external collection addition top cacti
    • bind stats
    • Mail stats
    • interupts
  • web cam see below
  • calculate power consumption:
    • amp metre
    • kill a watt?
  • data management
    • Mount usb drives - done
    • Dedupe
    • all but H done
    • samba export
  • backup
  • Learn how to admin wiki software
    • account admin
    • lock down ( ha! )
    • backup
  • migrate tuns of stuff to this platform
  • also: rehydrate blog.
  • Issues
    • pegged cpu ( 100% system)
    • AE_AML_INFINITE_LOOP
  • open ca
  • ups serial port
  • ptp
  • modem
  • usb camera

webcam

    • Motion
[2873943.175265] usb 3-1: udev 2, busnum 3, minor = 257
[2873943.175273] usb 3-1: New USB device found, idVendor=0c45, idProduct=602c
[2873943.175279] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0

http://tech.shantanugoel.com/2008/05/11/tip-getting-your-webcam-to-work-in-ubuntu.html

"Microdia Clas Ohlson TWC-30XOP Webcam"

[ 4992.012449] Linux video capture interface: v2.00
[ 4992.020599] gspca_main: v2.14.0 registered
[ 4992.021864] gspca_main: sonixb-2.14.0 probing 0c45:602c
[ 4992.024280] input: sonixb as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/input/input1
[ 4992.024539] usbcore: registered new interface driver sonixb
01:01:03 athena@athena / # /usr/bin/v4l2-ctl --list-devices --verbose -D -L
USB camera (usb-0000:00:1d.0-2):
        /dev/video0

VIDIOC_QUERYCAP: ok
Driver Info (not using libv4l2):
        Driver name   : sonixb
        Card type     : USB camera
        Bus info      : usb-0000:00:1d.0-2
        Driver version: 3.10.7
        Capabilities  : 0x85000001
                Video Capture
                Read/Write
                Streaming
                Device Capabilities
        Device Caps   : 0x05000001
                Video Capture
                Read/Write
                Streaming

User Controls

                     brightness (int)    : min=0 max=255 step=1 default=127 value=127 flags=slider
                       exposure (int)    : min=0 max=1023 step=1 default=66 value=66 flags=inactive
                 gain_automatic (bool)   : default=1 value=1 flags=update
                           gain (int)    : min=0 max=47 step=1 default=31 value=31 flags=inactive
           power_line_frequency (menu)   : min=0 max=2 default=0 value=0
                                0: Disabled
                                1: 50 Hz
                                2: 60 Hz

motion works with S910 palette:

[1] Thread 1 started
[0] motion-httpd: waiting for data on port TCP 8080
[1] cap.driver: "sonixb"
[1] cap.card: "USB camera"
[1] cap.bus_info: "usb-0000:00:1d.0-2"
[1] cap.capabilities=0x85000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Config palette index 3 (JPEG) doesn't work.
[1] Supported palettes:
[1] 0: S910 (S910)
[1] 1: BA81 (BA81)
[1] Selected palette BA81
[1] Test palette BA81 (320x240)
[1] Adjusting resolution from 320x240 to 160x120.
[1] Using palette BA81 (160x120) bytesperlines 160 sizeimage 19200 colorspace 00000008
[1] found control 0x00980900, "Brightness", range 0,255
[1]     "Brightness", default 127, current 127
[1] found control 0x00980911, "Exposure", range 0,1023
[1]     "Exposure", default 66, current 1023
[1] found control 0x00980912, "Gain, Automatic", range 0,1
[1]     "Gain, Automatic", default 1, current 1
[1] found control 0x00980913, "Gain", range 0,47
[1]     "Gain", default 31, current 47
[1] mmap information:
[1] frames=4
[1] 0 length=20480
[1] 1 length=20480
[1] 2 length=20480
[1] 3 length=20480
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081

take one frame:

vlc -I dummy v4l2:///dev/video0 --video-filter scene --no-audio --scene-path /tmp/vlc_scene --scene-prefix image_prefix --scene-format png vlc://quit --run-time=1 

http://www.tldp.org/HOWTO/html_single/Webcam-HOWTO/#COMMAND

ViewQuest Technologies, Inc. Intel Pro Share Webcam

01:02:21 athena@athena /dev # lsusb
Bus 002 Device 002: ID 0733:0430 ViewQuest Technologies, Inc. Intel Pro Share Webcam
...
01:01:52 athena@athena /dev # /usr/bin/v4l2-ctl --list-devices --verbose -D -L
USB Camera (0733:0430) (usb-0000:00:1d.0-2):
        /dev/video0

VIDIOC_QUERYCAP: ok
Driver Info (not using libv4l2):
        Driver name   : spca505
        Card type     : USB Camera (0733:0430)
        Bus info      : usb-0000:00:1d.0-2
        Driver version: 3.10.7
        Capabilities  : 0x85000001
                Video Capture
                Read/Write
                Streaming
                Device Capabilities
        Device Caps   : 0x05000001
                Video Capture
                Read/Write
                Streaming

User Controls

                     brightness (int)    : min=0 max=255 step=1 default=127 value=127 flags=slider

Also doing some work with boon2.