[SOLVED]Need help with dwm...

Hi,
I need help with dwm.I want to apply only 2 patches but everytime when i try i get error... I need xft or pango patch and systray patch.Please help.
Thanks.
Last edited by grobar87 (2013-06-01 13:49:55)

[dejan@archtop dwm-6.0]$ patch < 00-dwm-6.0-buildflags.diff
patching file config.mk
[dejan@archtop dwm-6.0]$ patch < dwm-6.0-xft.diff
patching file dwm.c
[dejan@archtop dwm-6.0]$ patch < 02-dwm-6.0-systray.diff
patching file dwm.c
[dejan@archtop dwm-6.0]$ sudo make clean install
[sudo] password for dejan:
cleaning
dwm build options:
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -I/usr/include/freetype2 -DVERSION="6.0" -DXINERAMA -DXFT
LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama -L/usr/X11R6/lib -lXft
CC = cc
creating config.h from config.def.h
CC dwm.c
dwm.c: In function ‘keypress’:
dwm.c:1062:2: warning: ‘XKeycodeToKeysym’ is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]
CC -o dwm
installing executable file to /usr/local/bin
installing manual page to /usr/local/share/man/man1
[dejan@archtop dwm-6.0]$
And here is my config.h:
/* See LICENSE file for copyright and license details. */
/* appearance */
static const char font[] = "Ohsnap";
static const char normbordercolor[] = "#444444";
static const char normbgcolor[] = "#222222";
static const char normfgcolor[] = "#bbbbbb";
static const char selbordercolor[] = "#005577";
static const char selbgcolor[] = "#005577";
static const char selfgcolor[] = "#eeeeee";
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const unsigned int systrayspacing = 2; /* systray spacing */
static const Bool showsystray = True; /* False means no systray */
static const Bool showbar = True; /* False means no bar */
static const Bool topbar = True; /* False means bottom bar */
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static const Rule rules[] = {
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, True, -1 },
{ "Firefox", NULL, NULL, 1 << 8, False, -1 },
/* layout(s) */
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */
static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
/* key definitions */
#define MODKEY Mod1Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
static const char *termcmd[] = { "uxterm", NULL };
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ MODKEY|ShiftMask, XK_c, killclient, {0} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
/* button definitions */
/* click can be ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
static Button buttons[] = {
/* click event mask button function argument */
{ ClkLtSymbol, 0, Button1, setlayout, {0} },
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
{ ClkWinTitle, 0, Button2, zoom, {0} },
{ ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
{ ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },

Similar Messages

  • [SOLVED] Need help with setting up X

    Hello guys am new to the forum and this is my first post here. I am in need of a little help.
    Need help with X configuration. It starts like this, I installed xorg-server , xorg-utils, xorg-server-utils. When I tried installed xorg-init it says no package, anyway I ignored and moved on.
    Now I installed regular mesa stuff and installed xf86-video-ati driver for my HD4250 graphics adapter. with libgl and ati-dri (I have old arch wiki print so it mentioned to install those while newer doesn't list some stuff)
    Now the problem is that Xorg -configure doesn't work with newer X and nor the packages has generated /etc/X11/xorg.conf file.
    Anyway I created the file manually and added each and every section as mentioned in the "old" guide that I have.
    I even added a /etc/X11/xorg.conf.d/20-radeon.conf file for my graphics card with the content as
    Section "Device"
    Identifire "r"
    Driver "radeon"
    EndSection
    After manually creating all such files I installed x-term, xclock and twm. But when I tried to start X by startx or Xinit it says command not found. Add to that a simple X shows couple of errors.
    Please see the errors here Paste #399362 | LodgeIt!
    Some more questions : My old guide mentioned to install HAL while newer guide on the net mention DBUS. Though I have added DBUS to be on the safe side but why not HAL ? Is it because of Udev ?
    So please help me getting X up and running.
    Regards
    Last edited by Shashwat (2011-06-04 09:47:47)

    Ok  I sorted out the misprints in the file and installed xinit but still can't get it to work.
    1. There are few errors in xorg.conf that I cannot make it out.
    2. The X output says no screen found. ?
    http://paste.pocoo.org/show/399383/
    Now when I add EndSection at the last its says invalid parameter and when I remove it, I get an error "No EndSection, EOF missing"
    Kind of bugging
    Please do help.

  • [solved]Need help with a bash script for MOC conky artwork.

    I need some help with a bash script for displaying artwork from MOC.
    Music folders have a file called 'front.jpg' in them, so I need to pull the current directory from MOCP and then display the 'front.jpg' file in conky.
    mocp -Q %file
    gives me the current file playing, but I need the directory (perhaps some way to use only everything after the last  '/'?)
    A point in the right direction would be appreciated.
    thanks, d
    Last edited by dgz (2013-08-29 21:24:28)

    Xyne wrote:
    You should also quote the variables and output in double quotes to make the code robust, e.g.
    filename="$(mocp -Q %file)"
    dirname="${filename%/*}"
    cp "$dirname"/front.jpg ~/backup/art.jpg
    Without the quotes, whitespace will break the code. Even if you don't expect whitespace in any of the paths, it's still good coding practice to include the quotes imo.
    thanks for the tip.
    here it is, anyhow:
    #!/bin/bash
    filename=$(mocp -Q %file)
    dirname=${filename%/*}
    cp ${dirname}/front.jpg ~/backup/art.jpg
    then in conky:
    $alignr${execi 30 ~/bin/artc}${image ~/backup/art.jpg -s 100x100 -p -3,60}
    thanks for the help.
    Last edited by dgz (2013-08-29 21:26:32)

  • [SOLVED :)] Need help with adf table row selection

    Hi,
    In my application I am displaying results in a table. The DisplayRow property of table is set to Selected
    There are Next and Back buttons which help user to view details associated to the next/previous rows.
    I am using ADF 11g
    When user clicks Next or Previous button, then the selection of the row should also gets updated
    To achieve this i wrote below piece of code:
    this.tblS.getSelectedRowKeys().clear();+
    this.tblS.setRowIndex(count);+
    RowKeySet rks =  tblS.getSelectedRowKeys();+
    rks.add(tblS.getRowKey());+
    rks =  tblS.getSelectedRowKeys();+
    ISSUE:_
    When i run application and click Next/Previous Button, all functionalities do take place properly, but a null pointer exception is also thrown._+
    If i remove DisplayRow property of table from Selected to Default, every thing works good and no Exception is thrown_+       
    But as records in my table are going to be around 50-60 everytime, i need to set DisplayRow property of table to Selected.
    Is there any way to achieve this? Solve this problem?
    Some more details:_
    I am using a POJO class to create DataController. This DataController is having a view Object which is used to create results table.
    I have defined Primary key for my POJO Data Controller.
    Here is code of xml file:*
    +<?xml version="1.0" encoding="UTF-8" ?>+
    +<JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="11.1.1.52.5"+
    id="ProductListBean" Package="xxadf.mm.resources"
    BeanClass="xxadf.mm.resources.ProductListBean"
    isJavaBased="true">
    +<Attribute Name="Product" Type="java.lang.String" PrimaryKey="true"/>+
    +<Attribute Name="Stock" Type="java.lang.String"/>+
    +<Attribute Name="Rate" Type="java.lang.String"/>+
    +<Attribute Name="Accuracy" Type="java.lang.String"/>+
    +<Attribute Name="Details" Type="java.lang.String"/>+
    +<ConstructorMethod IsCollection="true"+
    Type="xxadf.mm.resources.ProductListBean"
    BeanClass="xxadf.mm.resources.ProductListBean"
    id="ProductListBean"/>
    +</JavaBean>+
    Error Log:*
    SEVERE: Server Exception during PPR, #1
    java.lang.NullPointerException
    at oracle.adfinternal.view.faces.model.binding.RowDataManager.getRowIndex(RowDataManager.java:200)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.getRowIndex(FacesCtrlHierBinding.java:506)
    at org.apache.myfaces.trinidad.component.UIXIterator._fixupFirst(UIXIterator.java:414)
    at org.apache.myfaces.trinidad.component.UIXIterator.__encodeBegin(UIXIterator.java:392)
    at org.apache.myfaces.trinidad.component.UIXTable.__encodeBegin(UIXTable.java:168)
    at org.apache.myfaces.trinidad.component.UIXCollection.encodeBegin(UIXCollection.java:517)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeHorizontalChild(PanelGroupLayoutRenderer.java:458)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$100(PanelGroupLayoutRenderer.java:30)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:618)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:560)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:125)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:201)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:167)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:317)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:392)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:641)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:560)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:125)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:201)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:167)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:317)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.access$100(ShowDetailItemRenderer.java:31)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:491)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:464)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:125)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:201)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:167)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer._encodeChildren(ShowDetailItemRenderer.java:406)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.encodeAll(ShowDetailItemRenderer.java:114)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:1523)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer.access$500(PanelTabbedRenderer.java:38)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer$BodyEncoderCallback.processComponent(PanelTabbedRenderer.java:969)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer$BodyEncoderCallback.processComponent(PanelTabbedRenderer.java:920)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:125)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:201)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:167)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer._renderTabBody(PanelTabbedRenderer.java:519)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelTabbedRenderer.encodeAll(PanelTabbedRenderer.java:233)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
    at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:221)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:820)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1494)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:685)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:261)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Please Help I have been struggling with this issue for long.
    Thanks and Regards
    Manav Ratra
    Edited by: user11255144 on Feb 8, 2010 5:33 AM

    Hi Arun,
    Thanks for replying.
    Actually in my application there is one result table and a section that is displaying complete details of the product selectd in result table.
    The next/previous buttons are not binded with result table.
    What I am doing is, I am puuliing data from VO and displaying it on form, whenever any of these buttons is clicked.
    As soon as these buttons are clicked data is coming up, but selection state of table is not getting updated.
    So to update selection state i wrote piece of code described in my previous post.
    Everything works fine if displayRow property of table is not set to selected.
    If i set display row property of table to selected, then i get a null pointer exception with message log defined in previous post.
    Although NPE is thrown, yet all data is properly fetched and table selection is also updated. But am not able to get how this NPE is coming and hpw to fix it .
    (I need to keep displayRow = selected, for all other cases NPE is not thrown)
    Please help..
    Thanks and Regards
    Manav Ratra

  • [SOLVED] Need help with rEFInd boot entry for rsync backup

    I made a successful backup my arch install to an other internal SSD disk (from my HDD).
    But now I can't figure out how to make a boot entry for this drive. The wiki only mentions GRUB, which I do not use.
    This is the fstab for my HDD:
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda5
    UUID=c1822e3c-e037-4445-bdd8-b71778237dee / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda2 LABEL=SYSTEM_DRV
    UUID=D2DF-9F74 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    And this is the fstab on my SSD which I edited:
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sdb1
    UUID=c61a1301-4728-465d-b40b-bde5e084eb50 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda2 LABEL=SYSTEM_DRV
    UUID=D2DF-9F74 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    But I'm not sure about the /boot entry, do I need something else here?
    Afterward I tried updating rEFInd by reinstalling using refind-install, but that did not work.
    ps. I dual boot with Windows.
    Last edited by Devenda (2014-08-18 07:58:07)

    I also tried adding the menu entry manually by editing refind.conf but that didn't work. I got:
    Invalid loader file!
    Error: Not Found while loading vmlinuz-linux
    Here is some additional info:
    refind.conf:
    menuentry "SSD Arch Linux" {
    icon /EFI/refind/icons/os_arch.png
    volume "ArchSSD"
    loader /boot/vmlinuz-linux
    initrd /boot/initramfs-linux.img
    options "root=/dev/sdb1 ro"
    I hope this helps.
    blkid
    /dev/sda1: LABEL="WINRE_DRV" UUID="7C2ADD1D2ADCD4EC" TYPE="ntfs" PARTUUID="b7137819-2ca6-40fb-9167-b73ac37d8d96"
    /dev/sda2: LABEL="SYSTEM_DRV" UUID="D2DF-9F74" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="9c77b526-730f-42f9-9904-f9a31b205687"
    /dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="f4d5275b-24c1-4847-b937-345bc23bec89"
    /dev/sda4: LABEL="Windows 8" UUID="38D6E449D6E408C8" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="d777a359-f42c-4629-a07c-cc55316352fe"
    /dev/sda5: UUID="c1822e3c-e037-4445-bdd8-b71778237dee" TYPE="ext4" PARTUUID="3d282004-2515-4630-b82e-35ed7f707b89"
    /dev/sda6: UUID="F80680CC06808D76" TYPE="ntfs" PARTUUID="575bc623-c7f1-44da-a79e-220ce3c98d9b"
    /dev/sda7: LABEL="Lenovo_Recovery" UUID="0898D76B98D75632" TYPE="ntfs" PARTUUID="99bfc6d6-1b71-46d1-887e-2f7e65e3eab1"
    /dev/sdb1: LABEL="ArchSSD" UUID="c61a1301-4728-465d-b40b-bde5e084eb50" TYPE="ext4" PARTUUID="e87704a5-01"
    lsblk -f
    NAME FSTYPE LABEL UUID MOUNTPOINT
    sda
    ├─sda1 ntfs WINRE_DRV 7C2ADD1D2ADCD4EC
    ├─sda2 vfat SYSTEM_DRV D2DF-9F74 /boot
    ├─sda3
    ├─sda4 ntfs Windows 8 38D6E449D6E408C8
    ├─sda5 ext4 c1822e3c-e037-4445-bdd8-b71778237dee /
    ├─sda6 ntfs F80680CC06808D76
    └─sda7 ntfs Lenovo_Recovery 0898D76B98D75632
    sdb
    └─sdb1 ext4 ArchSSD c61a1301-4728-465d-b40b-bde5e084eb50
    sr0
    boot tree
    /boot
    ├── BOOT
    │   └── boot.sdi
    ├── BOOTSECT.BAK
    ├── EFI
    │   ├── Boot
    │   │   ├── bootx64.efi
    │   │   ├── LenovoBT.EFI
    │   │   ├── License.txt
    │   │   └── ReadMe.txt
    │   ├── gummiboot
    │   │   └── gummibootx64.efi
    │   ├── Lenovo
    │   │   └── Boot
    │   │   ├── BCD
    │   │   ├── BCD.LOG
    │   │   ├── BCD.LOG1
    │   │   ├── BCD.LOG2
    │   │   ├── bg-BG
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── bootmgfw.efi
    │   │   ├── bootmgr.efi
    │   │   ├── BOOTSTAT.DAT
    │   │   ├── boot.stl
    │   │   ├── cs-CZ
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── da-DK
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── de-DE
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── el-GR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── en-GB
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── en-US
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── es-ES
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── et-EE
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── fi-FI
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── Fonts
    │   │   │   ├── chs_boot.ttf
    │   │   │   ├── cht_boot.ttf
    │   │   │   ├── jpn_boot.ttf
    │   │   │   ├── kor_boot.ttf
    │   │   │   ├── malgun_boot.ttf
    │   │   │   ├── malgunn_boot.ttf
    │   │   │   ├── meiryo_boot.ttf
    │   │   │   ├── meiryon_boot.ttf
    │   │   │   ├── msjh_boot.ttf
    │   │   │   ├── msjhn_boot.ttf
    │   │   │   ├── msyh_boot.ttf
    │   │   │   ├── msyhn_boot.ttf
    │   │   │   ├── segmono_boot.ttf
    │   │   │   ├── segoen_slboot.ttf
    │   │   │   ├── segoe_slboot.ttf
    │   │   │   └── wgl4_boot.ttf
    │   │   ├── fr-FR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── hr-HR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── hu-HU
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── it-IT
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── ja-JP
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── ko-KR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── lt-LT
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── lv-LV
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── memtest.efi
    │   │   ├── nb-NO
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── nl-NL
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── pl-PL
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── pt-BR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── pt-PT
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── qps-ploc
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── Resources
    │   │   │   ├── bootres.dll
    │   │   │   └── en-US
    │   │   │   └── bootres.dll.mui
    │   │   ├── ro-RO
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── ru-RU
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── sk-SK
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sl-SI
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sr-Latn-CS
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sv-SE
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── tr-TR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── uk-UA
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── zh-CN
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── zh-HK
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   └── zh-TW
    │   │   ├── bootmgfw.efi.mui
    │   │   ├── bootmgr.efi.mui
    │   │   └── memtest.efi.mui
    │   ├── Microsoft
    │   │   └── Boot
    │   │   ├── BCD
    │   │   ├── BCD.LOG
    │   │   ├── BCD.LOG1
    │   │   ├── BCD.LOG2
    │   │   ├── bg-BG
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── bootmgfw.efi
    │   │   ├── bootmgr.efi
    │   │   ├── BOOTSTAT.DAT
    │   │   ├── boot.stl
    │   │   ├── cs-CZ
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── da-DK
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── de-DE
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── el-GR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── en-GB
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── en-US
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── es-ES
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── et-EE
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── fi-FI
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── Fonts
    │   │   │   ├── chs_boot.ttf
    │   │   │   ├── cht_boot.ttf
    │   │   │   ├── jpn_boot.ttf
    │   │   │   ├── kor_boot.ttf
    │   │   │   ├── malgun_boot.ttf
    │   │   │   ├── malgunn_boot.ttf
    │   │   │   ├── meiryo_boot.ttf
    │   │   │   ├── meiryon_boot.ttf
    │   │   │   ├── msjh_boot.ttf
    │   │   │   ├── msjhn_boot.ttf
    │   │   │   ├── msyh_boot.ttf
    │   │   │   ├── msyhn_boot.ttf
    │   │   │   ├── segmono_boot.ttf
    │   │   │   ├── segoen_slboot.ttf
    │   │   │   ├── segoe_slboot.ttf
    │   │   │   └── wgl4_boot.ttf
    │   │   ├── fr-FR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── hr-HR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── hu-HU
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── it-IT
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── ja-JP
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── ko-KR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── lt-LT
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── lv-LV
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── memtest.efi
    │   │   ├── nb-NO
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── nl-NL
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── pl-PL
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── pt-BR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── pt-PT
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── qps-ploc
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── Resources
    │   │   │   ├── bootres.dll
    │   │   │   ├── en-US
    │   │   │   │   └── bootres.dll.mui
    │   │   │   └── nl-NL
    │   │   │   └── bootres.dll.mui
    │   │   ├── ro-RO
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── ru-RU
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── sk-SK
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sl-SI
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sr-Latn-CS
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sr-Latn-RS
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── sv-SE
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── tr-TR
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── uk-UA
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   └── bootmgr.efi.mui
    │   │   ├── zh-CN
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   ├── zh-HK
    │   │   │   ├── bootmgfw.efi.mui
    │   │   │   ├── bootmgr.efi.mui
    │   │   │   └── memtest.efi.mui
    │   │   └── zh-TW
    │   │   ├── bootmgfw.efi.mui
    │   │   ├── bootmgr.efi.mui
    │   │   └── memtest.efi.mui
    │   ├── refind
    │   │   ├── icons
    │   │   │   ├── arrow_left.png
    │   │   │   ├── arrow_right.png
    │   │   │   ├── boot_linux.png
    │   │   │   ├── boot_win.png
    │   │   │   ├── func_about.png
    │   │   │   ├── func_exit.png
    │   │   │   ├── func_firmware.png
    │   │   │   ├── func_reset.png
    │   │   │   ├── func_shutdown.png
    │   │   │   ├── os_altlinux.png
    │   │   │   ├── os_arch.png
    │   │   │   ├── os_centos.png
    │   │   │   ├── os_chrome.png
    │   │   │   ├── os_clover.png
    │   │   │   ├── os_debian.png
    │   │   │   ├── os_ecomstation.png
    │   │   │   ├── os_fatdog.png
    │   │   │   ├── os_fedora.png
    │   │   │   ├── os_freebsd.png
    │   │   │   ├── os_freedos.png
    │   │   │   ├── os_funtoo.png
    │   │   │   ├── os_gentoo.png
    │   │   │   ├── os_gummiboot.png
    │   │   │   ├── os_haiku.png
    │   │   │   ├── os_hwtest.png
    │   │   │   ├── os_kubuntu.png
    │   │   │   ├── os_legacy.png
    │   │   │   ├── os_linuxmint.png
    │   │   │   ├── os_linux.png
    │   │   │   ├── os_lubuntu.png
    │   │   │   ├── os_mac.png
    │   │   │   ├── os_mageia.png
    │   │   │   ├── os_mandriva.png
    │   │   │   ├── os_manjaro.png
    │   │   │   ├── os_mythbuntu.png
    │   │   │   ├── os_netbsd.png
    │   │   │   ├── os_openbsd.png
    │   │   │   ├── os_opensuse.png
    │   │   │   ├── os_redhat.png
    │   │   │   ├── os_refind.png
    │   │   │   ├── os_refit.png
    │   │   │   ├── os_slackware.png
    │   │   │   ├── os_suse.png
    │   │   │   ├── os_ubuntu.png
    │   │   │   ├── os_unknown.png
    │   │   │   ├── os_win.png
    │   │   │   ├── tool_apple_rescue.png
    │   │   │   ├── tool_memtest.png
    │   │   │   ├── tool_mok_tool.png
    │   │   │   ├── tool_part.png
    │   │   │   ├── tool_shell.png
    │   │   │   ├── tool_windows_rescue.png
    │   │   │   ├── transparent.png
    │   │   │   ├── vol_external.png
    │   │   │   ├── vol_internal.png
    │   │   │   └── vol_optical.png
    │   │   ├── icons-backup
    │   │   │   ├── arrow_left.png
    │   │   │   ├── arrow_right.png
    │   │   │   ├── boot_linux.png
    │   │   │   ├── boot_win.png
    │   │   │   ├── func_about.png
    │   │   │   ├── func_exit.png
    │   │   │   ├── func_firmware.png
    │   │   │   ├── func_reset.png
    │   │   │   ├── func_shutdown.png
    │   │   │   ├── os_altlinux.png
    │   │   │   ├── os_arch.png
    │   │   │   ├── os_centos.png
    │   │   │   ├── os_chrome.png
    │   │   │   ├── os_clover.png
    │   │   │   ├── os_debian.png
    │   │   │   ├── os_ecomstation.png
    │   │   │   ├── os_fatdog.png
    │   │   │   ├── os_fedora.png
    │   │   │   ├── os_freebsd.png
    │   │   │   ├── os_freedos.png
    │   │   │   ├── os_funtoo.png
    │   │   │   ├── os_gentoo.png
    │   │   │   ├── os_gummiboot.png
    │   │   │   ├── os_haiku.png
    │   │   │   ├── os_hwtest.png
    │   │   │   ├── os_kubuntu.png
    │   │   │   ├── os_legacy.png
    │   │   │   ├── os_linuxmint.png
    │   │   │   ├── os_linux.png
    │   │   │   ├── os_lubuntu.png
    │   │   │   ├── os_mac.png
    │   │   │   ├── os_mageia.png
    │   │   │   ├── os_mandriva.png
    │   │   │   ├── os_manjaro.png
    │   │   │   ├── os_mythbuntu.png
    │   │   │   ├── os_netbsd.png
    │   │   │   ├── os_openbsd.png
    │   │   │   ├── os_opensuse.png
    │   │   │   ├── os_redhat.png
    │   │   │   ├── os_refind.png
    │   │   │   ├── os_refit.png
    │   │   │   ├── os_slackware.png
    │   │   │   ├── os_suse.png
    │   │   │   ├── os_ubuntu.png
    │   │   │   ├── os_unknown.png
    │   │   │   ├── os_win.png
    │   │   │   ├── tool_apple_rescue.png
    │   │   │   ├── tool_memtest.png
    │   │   │   ├── tool_mok_tool.png
    │   │   │   ├── tool_part.png
    │   │   │   ├── tool_shell.png
    │   │   │   ├── tool_windows_rescue.png
    │   │   │   ├── transparent.png
    │   │   │   ├── vol_external.png
    │   │   │   ├── vol_internal.png
    │   │   │   └── vol_optical.png
    │   │   ├── keys
    │   │   │   ├── altlinux.cer
    │   │   │   ├── canonical-uefi-ca.der
    │   │   │   ├── fedora-ca.cer
    │   │   │   ├── openSUSE-UEFI-CA-Certificate.cer
    │   │   │   ├── refind.cer
    │   │   │   └── SLES-UEFI-CA-Certificate.cer
    │   │   ├── refind.conf
    │   │   ├── refind.conf.old
    │   │   ├── refind.conf-sample
    │   │   └── refind_x64.efi
    │   └── tools
    ├── grub
    │   ├── grub.cfg
    │   └── grub.cfg.example
    ├── initramfs-linux-fallback.img
    ├── initramfs-linux.img
    ├── loader
    │   ├── entries
    │   │   └── arch.conf
    │   └── loader.conf
    ├── refind_linux.conf
    └── vmlinuz-linux
    refind_linux.conf
    "Boot with standard options" "ro root=UUID=c1822e3c-e037-4445-bdd8-b71778237dee quiet "
    "Boot to single-user mode" "ro root=UUID=c1822e3c-e037-4445-bdd8-b71778237dee quiet single"
    "Boot with minimal options" "ro root=UUID=c1822e3c-e037-4445-bdd8-b71778237dee"

  • [SOLVED] need help with virtualbox install

    I'm a relative n00b to Arch, haging migrated from Ubuntu (pha!!). Arch rocks!
    However, my beloved virtualbox isnt playing ball!
    After many hours of getting arch up and running I now need some assitance please with VirtualBox PEUL. I've googled and search these wikis and found:
    http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
    http://www.mail-archive.com/vbox-users% … 02889.html
    http://wiki.archlinux.org/index.php/VirtualBox
    but, I dont know how to install.
    I used yaourt (having spent another many hours trying to get to speed with what Arch AUR is and yaourt!!)
    This is what I did:
    1. Visited http://wiki.archlinux.org/index.php/VirtualBox and followed PEUL instructions...
    2. Click on AUR link and then click on PKGBUILD and it downloaded a PKGBUILD from here http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
    3. Then went back to the wiki http://wiki.archlinux.org/index.php/VirtualBox  and clicked on VirtualBox_1.5.6-1_Linux_x86.run and downloaded the file.
    4. In accordance with the instructions on the wiki, I ran makepkg
    HOWEVER, I get errors!!:
    # makepkg --asroot
    ==> Making package: virtualbox_bin 1.5.6-1 (Thu May 1 20:06:33 BST 2008)
    ==> WARNING: Running makepkg as root...
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found VirtualBox_1.5.6-1_Linux_x86.run in build dir
    -> Found vbox.install in build dir
    -> Found vbox_build_module in build dir
    -> Found vboxnet.patch in build dir
    -> Found interfaces in build dir
    ==> Validating source files with md5sums...
    VirtualBox_1.5.6-1_Linux_x86.run ... FAILED
    vbox.install ... Passed
    vbox_build_module ... Passed
    vboxnet.patch ... Passed
    interfaces ... Passed
    ==> ERROR: One or more files did not pass the validity check!
    This is what is in the downloaded files dir:-
    ls -l
    total 48
    -rw-r--r-- 1 daz users 3642 2008-05-01 20:06 PKGBUILD
    -rw-r--r-- 1 daz users 26055 2008-05-01 20:05 VirtualBox_1.5.6-1_Linux_x86.run
    -rwxrwxrwx 1 nobody nobody 217 2008-01-08 20:58 interfaces
    drwxrwxrwx 2 root root 125 2008-05-01 20:06 src
    -rwxrwxrwx 1 nobody nobody 2717 2008-02-22 18:22 vbox.install
    -rwxrwxrwx 1 nobody nobody 174 2008-02-22 17:45 vbox_build_module
    -rwxrwxrwx 1 nobody nobody 2179 2007-12-30 12:31 vboxnet.patch
    Can anyone help please? In Ubuntu all this was just installed with dpkg -i VirtualBox.deb
    I'm sure Arch is just as "simple" :-)
    Last edited by keratos (2008-05-04 07:54:14)

    grave wrote:Or try the bin file no problem here  yaourt -S virtualbox_bin
    Good idea, I checked this out originally but it didnt work so I went for "manual" install.
    The download from yaourt never starts, just hangs - the server is dead or something?? ...
    # yaourt -S virtualbox_bin
    ==> WARNING: Building unsupported package as root is dangerous.
    Please run yaourt as a non-privileged user.
    ==> Downloading virtualbox_bin PKGBUILD from AUR...
    ==> Last 5 comments ordered by date (asc):
    Comment by: chris_es on 20080414 [17:02:11]
    Hello!
    Thanks a lot for this package :o)
    Just a quick comment about where to copy the Sun .run package. It should be put to where the tarball from AUR was extracted.
    In my case, it is /home/[users]/virtualbox-bin/
    Cheers
    Chris
    Comment by: fi-dschi on 20080419 [22:46:37]
    You may download the run-file at
    https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=innotek-1.5.6-G-F@CDS-CDS_SMI
    Comment by: GGLucas on 20080421 [00:40:38]
    Can't get the kernel module working in 2.6.25, vbox_build_module completes fine, but I get the following error:
    $ sudo modprobe vboxdrv
    FATAL: Error inserting vboxdrv (/lib/modules/2.6.25-ARCH/misc/vboxdrv.ko): Unknown symbol in module, or unknown parameter (see dmesg)
    with these messages in dmesg:
    vboxdrv: Unknown symbol change_page_attr
    vboxdrv: Unknown symbol change_page_attr
    Comment by: Geekosaurio on 20080422 [03:54:09]
    Maybe you could find this instructions helpful
    http://www.mail-archive.com/[email protected]/msg02889.html
    I've not tried this myself but I will do it soon and post the info here. Maybe create a separate package for 2.6.25 kernels it's a good idea.
    Comment by: ise on 20080429 [18:12:57]
    The vboxdrv from the mailinglist of virtualbox runs here without problems on 2.6.25 with vbox 1.5.6
    First Submitted: Sun, 11 Mar 2007 00:52:22 +0000
    Last Updated: Fri, 22 Feb 2008 18:26:15 +0000
    virtualbox_bin 1.5.6-1 (Unsupported): Powerful x86 virtualization - binary version (non GPL - free for personal use and evaluation)
    ==> virtualbox_bin dependencies:
    - libidl2 (already installed)
    - libxslt (already installed)
    - qt3 (already installed)
    - e2fsprogs (already installed)
    - sdl (already installed)
    - libstdc++5 (already installed)
    - patch (already installed)
    ==> Edit the PKGBUILD (recommended) ? [Y/n] ("A" to abort)
    ==> ----------------------------------------------
    ==>n
    ==> WARNING: This PKGBUILD contains install file that can be dangerous.
    vbox.install
    ==> Edit vbox.install (recommended) ? [Y/n] ("A" to abort)
    ==> ----------------------------------------------
    ==>n
    ==> Continue the building of 'virtualbox_bin'? [Y/n]
    ==> ----------------------------------------------
    ==>y
    ==> Building and installing package
    ==> Making package: virtualbox_bin 1.5.6-1 (Fri May 2 06:06:28 BST 2008)
    ==> WARNING: Running makepkg as root...
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Downloading VirtualBox_1.5.6-1_Linux_x86.run...
    --2008-05-02 06:06:29-- http://195.34.175.98/download/1.5.6/VirtualBox_1.5.6-1_Linux_x86.run
    Connecting to 195.34.175.98:80...
    Last edited by keratos (2008-05-02 05:52:33)

  • [SOLVED] Need Help with Sed

    Since I'm a dirty TF2 idler and I use Source Tools to idle, it uses a list of servers from a servers.txt file.
    A list of idling servers is here: http://tf2stats.net/blacklist_generate/ … ourcetools
    The list is in this format:
    {IP ADDRESS}:{PORT};{SERVER NAME}
    Unfortunately, I can't just save that as the list, because it thinks you're trying to send {SERVER NAME} as a command or something.
    There's ~920 lines that are just that and so I need to remove everything AFTER the port number (so it would be the colon and the server name).
    The tricky part is that not all ports are the same. 27015 is the standard, some use 27016, and some use other ones. So I need to have a sed command to remove everything past a colon on all lines, then remove the colon on all lines.
    And since I suck at sed, I've come crawling to the forums for help. So please, help.
    Last edited by Arm-the-Homeless (2010-04-05 23:47:19)

    Procyon wrote:@brisbin33: if you're going to redefine IFS, why not to :; with while read ip port name
    true story.  IFS=$'\n'; while read -r is just a habit i fall back on when i want to read [possibly inconsistent] lines out of a file.

  • [Solved] Need help with DSDT - 15 errors

    I downloaded a tool designed for mac DSDT editing from the internet, for Windows (as Linux doesn't show battery properly yet).
    Here's my system:
    Toshiba Satellite L750D
    AMD A8 APU
    ATI 6620HD Discrete Graphics
    On Linux, the following doesn't seem to work correctly:
    - Fan spins very high and makes a lot of noise
    - The battery BAT1 isn't even detected as a device and the only device under /sys/class/power_supply/ is ACAD, which is something else.
    On Linux, I get the following errors which suggests a buggy DSDT table:
    kyle@kyle-laptop ~ dmesg | grep ACPI
    [ 0.000000] BIOS-e820: [mem 0x00000000cf486000-0x00000000cf88efff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x00000000cfbbf000-0x00000000cfebefff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x00000000cfebf000-0x00000000cfef5fff] ACPI data
    [ 0.000000] ACPI: RSDP 00000000000fe020 00024 (v02 TOSQCI)
    [ 0.000000] ACPI: XSDT 00000000cfef5120 0007C (v01 TOSQCI TOSQCI00 00000001 01000013)
    [ 0.000000] ACPI: FACP 00000000cfef4000 000F4 (v04 TOSQCI TOSQCI00 00000001 ACPI 00040000)
    [ 0.000000] ACPI: DSDT 00000000cfede000 112E5 (v01 TOSQCI TOSQCI00 F0000000 ACPI 00040000)
    [ 0.000000] ACPI: FACS 00000000cfc97000 00040
    [ 0.000000] ACPI: HPET 00000000cfef3000 00038 (v01 TOSQCI TOSQCI00 00000001 ACPI 00040000)
    [ 0.000000] ACPI: APIC 00000000cfef2000 00084 (v02 TOSQCI TOSQCI00 00000001 ACPI 00040000)
    [ 0.000000] ACPI: MCFG 00000000cfef1000 0003C (v01 TOSQCI TOSQCI00 00000001 ACPI 00040000)
    [ 0.000000] ACPI: ASF! 00000000cfef0000 000A5 (v32 TOSQCI TOSQCI00 00000001 ACPI 00040000)
    [ 0.000000] ACPI: BOOT 00000000cfedd000 00028 (v01 TOSQCI TOSQCI00 00000001 ACPI 00040000)
    [ 0.000000] ACPI: SLIC 00000000cfedc000 00176 (v01 TOSQCI TOSQCI00 00000001 ACPI 00040000)
    [ 0.000000] ACPI: WDRT 00000000cfedb000 00047 (v01 TOSQCI TOSQCI00 00000001 ACPI 00040000)
    [ 0.000000] ACPI: MSDM 00000000cfeda000 00055 (v03 TOSQCI TOSQCI00 00000001 ACPI 00040000)
    [ 0.000000] ACPI: SSDT 00000000cfed9000 00E28 (v01 AMD POWERNOW 00000001 AMD 00000001)
    [ 0.000000] ACPI: SSDT 00000000cfed7000 0193D (v02 AMD ALIB 00000001 MSFT 04000000)
    [ 0.000000] ACPI: Local APIC address 0xfee00000
    [ 0.000000] ACPI: PM-Timer IO Port: 0x408
    [ 0.000000] ACPI: Local APIC address 0xfee00000
    [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
    [ 0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
    [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
    [ 0.000000] ACPI: IRQ0 used by override.
    [ 0.000000] ACPI: IRQ2 used by override.
    [ 0.000000] ACPI: IRQ9 used by override.
    [ 0.000000] Using ACPI (MADT) for SMP configuration information
    [ 0.000000] ACPI: HPET id: 0x10228210 base: 0xfed00000
    [ 0.005191] ACPI: Core revision 20120320
    [ 0.005342] ACPI: Forced DSDT copy: length 0x112E5 copied locally, original unmapped
    [ 0.275625] PM: Registering ACPI NVS region [mem 0xcf486000-0xcf88efff] (4231168 bytes)
    [ 0.275717] PM: Registering ACPI NVS region [mem 0xcfbbf000-0xcfebefff] (3145728 bytes)
    [ 0.277613] ACPI: bus type pci registered
    [ 0.285292] ACPI: Added _OSI(Module Device)
    [ 0.285296] ACPI: Added _OSI(Processor Device)
    [ 0.285297] ACPI: Added _OSI(3.0 _SCP Extensions)
    [ 0.285299] ACPI: Added _OSI(Processor Aggregator Device)
    [ 0.285300] ACPI: Added _OSI(Linux)
    [ 0.287480] ACPI: EC: Look up EC in DSDT
    [ 0.328586] ACPI: Executed 1 blocks of module-level executable AML code
    [ 0.333711] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query honored via cmdline
    [ 0.334386] ACPI: Interpreter enabled
    [ 0.334389] ACPI: (supports S0 S3 S4 S5)
    [ 0.334404] ACPI: Using IOAPIC for interrupt routing
    [ 0.340413] ACPI: EC: GPE = 0x3, I/O: command/status = 0x66, data = 0x62
    [ 0.340624] ACPI: No dock devices found.
    [ 0.340630] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
    [ 0.340779] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
    [ 0.367355] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    [ 0.367488] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB2_._PRT]
    [ 0.367521] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB4_._PRT]
    [ 0.367545] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB5_._PRT]
    [ 0.367613] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
    [ 0.367677] pci0000:00: >Requesting ACPI _OSC control (0x1d)
    [ 0.367680] pci0000:00: >ACPI _OSC request failed (AE_NOT_FOUND), returned control mask: 0x1d
    [ 0.367681] ACPI _OSC control for PCIe not granted, disabling ASPM
    [ 0.375952] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 11 12 14 15) *0
    [ 0.376034] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10 11 12 14 15) *0
    [ 0.376110] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 10 11 12 14 15) *0
    [ 0.376163] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 11 12 14 15) *0
    [ 0.376204] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 12 14 15) *0
    [ 0.376235] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 12 14 15) *0
    [ 0.376268] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 12 14 15) *0
    [ 0.376300] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 12 14 15) *0
    [ 0.376629] PCI: Using ACPI for IRQ routing
    [ 0.388090] pnp: PnP ACPI init
    [ 0.388113] ACPI: bus type pnp registered
    [ 0.388383] pnp 00:00: >Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
    [ 0.388482] system 00:01: >Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.388640] pnp 00:02: >Plug and Play ACPI device, IDs PNP0103 (active)
    [ 0.388760] pnp 00:03: >Plug and Play ACPI device, IDs PNP0200 (active)
    [ 0.388819] pnp 00:04: >Plug and Play ACPI device, IDs PNP0c04 (active)
    [ 0.388910] pnp 00:05: >Plug and Play ACPI device, IDs PNP0b00 (active)
    [ 0.388963] pnp 00:06: >Plug and Play ACPI device, IDs PNP0800 (active)
    [ 0.389048] pnp 00:07: >Plug and Play ACPI device, IDs PNP0303 (active)
    [ 0.389133] pnp 00:08: >Plug and Play ACPI device, IDs TOS0200 SYN1000 SYN0002 PNP0f13 (active)
    [ 0.389261] system 00:09: >Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.389348] system 00:0a: >Plug and Play ACPI device, IDs PNP0c01 (active)
    [ 0.389762] pnp: PnP ACPI: found 11 devices
    [ 0.389764] ACPI: ACPI bus type pnp unregistered
    [ 1.799341] ACPI: bus type usb registered
    [ 6.119883] toshiba_bluetooth: Detected Toshiba ACPI Bluetooth device - installing RFKill handler
    [ 6.162801] ACPI: acpi_idle registered with cpuidle
    [ 6.189958] ACPI: Power Button [PWRB]
    [ 6.190091] ACPI: Lid Switch [LID]
    [ 6.190142] ACPI: Power Button [PWRF]
    [ 6.550426] ACPI Exception: AE_AML_PACKAGE_LIMIT, Index (0x0000000000000011) is beyond end of object (20120320/exoparg2-418)
    [ 6.550437] ACPI Error: Method parse/execution failed [\_SB_.BAT1.UBIX] (Node ffff880203e8a168), AE_AML_PACKAGE_LIMIT (20120320/psparse-536)
    [ 6.550443] ACPI Error: Method parse/execution failed [\_SB_.BAT1._BIX] (Node ffff880203e8a0f0), AE_AML_PACKAGE_LIMIT (20120320/psparse-536)
    [ 6.550449] ACPI Exception: AE_AML_PACKAGE_LIMIT, Evaluating _BIX (20120320/battery-419)
    [ 6.595368] ACPI: AC Adapter [ACAD] (on-line)
    [ 6.747736] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
    [ 6.758044] ACPI: Thermal Zone [THRM] (55 C)
    [ 6.758620] ACPI: Video Device [VGA1] (multi-head: yes rom: no post: no)
    [ 7.772864] toshiba_acpi: Toshiba Laptop ACPI Extras version 0.19
    [ 7.876001] ACPI Warning: 0x0000000000000b00-0x0000000000000b07 SystemIO conflicts with Region \_SB_.PCI0.SMBS.SMB0 1 (20120320/utaddress-251)
    [ 7.876019] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
    [ 19.440618] ACPI: Power Button [PWRB]
    [ 19.441155] ACPI: Lid Switch [LID]
    [ 19.441886] ACPI: Power Button [PWRF]
    kyle@kyle-laptop ~
    Of interest;
    [ 6.550426] ACPI Exception: AE_AML_PACKAGE_LIMIT, Index (0x0000000000000011) is beyond end of object (20120320/exoparg2-418)
    [ 6.550437] ACPI Error: Method parse/execution failed [\_SB_.BAT1.UBIX] (Node ffff880203e8a168), AE_AML_PACKAGE_LIMIT (20120320/psparse-536)
    [ 6.550443] ACPI Error: Method parse/execution failed [\_SB_.BAT1._BIX] (Node ffff880203e8a0f0), AE_AML_PACKAGE_LIMIT (20120320/psparse-536)
    [ 6.550449] ACPI Exception: AE_AML_PACKAGE_LIMIT, Evaluating _BIX (20120320/battery-419)
    I have no idea how to fix this. So, I'm outsourcing help
    Here's the original DSDT which I extract:
    DefinitionBlock ("DSDT.aml", "DSDT", 1, "TOSQCI", "TOSQCI00", 0xF0000000)
    External (ALIB, MethodObj) // 2 Arguments
    External (\_SB_.ALIB, MethodObj) // 5 Arguments
    External (\_PR_.C003._PPC)
    External (\_PR_.C002._PPC)
    External (\_PR_.C001._PPC)
    External (\_PR_.C000._PPC, IntObj)
    OperationRegion (DBG0, SystemIO, 0x80, One)
    Field (DBG0, ByteAcc, NoLock, Preserve)
    IO80, 8
    OperationRegion (DBG1, SystemIO, 0x80, 0x02)
    Field (DBG1, WordAcc, NoLock, Preserve)
    P80H, 16
    OperationRegion (ACMS, SystemIO, 0x72, 0x02)
    Field (ACMS, ByteAcc, NoLock, Preserve)
    INDX, 8,
    DATA, 8
    OperationRegion (PSMI, SystemIO, 0xB0, 0x02)
    Field (PSMI, ByteAcc, NoLock, Preserve)
    APMC, 8,
    APMD, 8
    OperationRegion (PMRG, SystemIO, 0x0CD6, 0x02)
    Field (PMRG, ByteAcc, NoLock, Preserve)
    PMRI, 8,
    PMRD, 8
    IndexField (PMRI, PMRD, ByteAcc, NoLock, Preserve)
    Offset (0x24),
    MMSO, 32,
    Offset (0x50),
    HPAD, 32,
    Offset (0x60),
    P1EB, 16,
    Offset (0xC8),
    , 2,
    SPRE, 1,
    TPDE, 1,
    Offset (0xF0),
    , 3,
    RSTU, 1
    OperationRegion (P1E0, SystemIO, P1EB, 0x04)
    Field (P1E0, ByteAcc, NoLock, Preserve)
    , 14,
    PEWS, 1,
    WSTA, 1,
    , 14,
    PEWD, 1
    OperationRegion (IOCC, SystemIO, 0x0400, 0x80)
    Field (IOCC, ByteAcc, NoLock, Preserve)
    Offset (0x01),
    , 2,
    RTCS, 1
    Name (PRWP, Package (0x02)
    Zero,
    Zero
    Method (GPRW, 2, NotSerialized)
    Store (Arg0, Index (PRWP, Zero))
    Store (Arg1, Index (PRWP, One))
    If (LAnd (LEqual (DAS3, Zero), LEqual (DAS1, Zero)))
    If (LLessEqual (Arg1, 0x03))
    Store (Zero, Index (PRWP, One))
    Else
    If (LAnd (LEqual (DAS3, Zero), LEqual (Arg1, 0x03)))
    Store (Zero, Index (PRWP, One))
    If (LAnd (LEqual (DAS1, Zero), LEqual (Arg1, One)))
    Store (Zero, Index (PRWP, One))
    Return (PRWP)
    Method (SPTS, 1, NotSerialized)
    If (LEqual (Arg0, 0x03))
    Store (Zero, RSTU)
    Store (One, \_SB.PCI0.SMBS.CLPS)
    Store (One, \_SB.PCI0.SMBS.SLPS)
    Store (PEWS, PEWS)
    Method (SWAK, 1, NotSerialized)
    If (LEqual (Arg0, 0x03))
    Store (One, RSTU)
    Store (PEWS, PEWS)
    Store (One, \_SB.PCI0.SMBS.PWDE)
    Store (Zero, PEWD)
    Method (CHKH, 0, NotSerialized)
    If (\_SB.PCI0.SMBS.G05S)
    Store (One, \_SB.PCI0.SMBS.G05T)
    Else
    Store (Zero, \_SB.PCI0.SMBS.G05T)
    Store (Not (\_SB.PCI0.SMBS.GE16), \_SB.PCI0.SMBS.G16T)
    OperationRegion (GNVS, SystemMemory, 0xCFEBCE18, 0x00000013)
    Field (GNVS, AnyAcc, NoLock, Preserve)
    DAS1, 8,
    DAS3, 8,
    TNBH, 8,
    TCP0, 8,
    TCP1, 8,
    ATNB, 8,
    PCP0, 8,
    PCP1, 8,
    PWMN, 8,
    LPTY, 8,
    M92D, 8,
    WKPM, 8,
    ALST, 8,
    AFUC, 8,
    EXUS, 8,
    AIRC, 8,
    WLSH, 8,
    TSSS, 8,
    ODZC, 8
    OperationRegion (OGNS, SystemMemory, 0xCFEBDD98, 0x00000255)
    Field (OGNS, AnyAcc, Lock, Preserve)
    OG00, 8,
    OG01, 8,
    OG02, 8,
    OG03, 8,
    OG04, 8,
    OG05, 8,
    OG06, 8,
    OG07, 8,
    OG08, 8,
    OG09, 8,
    OG10, 8,
    OG11, 8,
    OG12, 8,
    OG13, 8,
    OG14, 8,
    OG15, 8,
    OG16, 8,
    OG17, 8,
    OG18, 8,
    OG19, 8,
    OG20, 8,
    BLK0, 32,
    BLK1, 32,
    BLK2, 32,
    BLK3, 32,
    BLK4, 32,
    BLK5, 32,
    BTEN, 1,
    WLAN, 1,
    WN3G, 1,
    ENSR, 2,
    CCDE, 1,
    DACB, 1,
    TPDV, 1,
    WOLI, 1,
    CIRE, 1,
    FGPE, 1,
    HDME, 1,
    CPUD, 1,
    PCIL, 1,
    FBBS, 1,
    SWKS, 1,
    OWNS, 4096,
    DVDI, 160,
    OWN0, 8,
    OWN1, 8,
    HEUE, 8,
    BEUE, 8,
    VEVT, 16,
    FEVT, 16,
    NEVT, 16,
    OPR0, 8,
    OPR1, 8,
    OPR2, 8,
    KBIN, 8,
    SLPB, 32
    OperationRegion (NVST, SystemMemory, 0xCFEBED61, 0x0000012A)
    Field (NVST, AnyAcc, Lock, Preserve)
    SMIF, 8,
    PRM0, 8,
    PRM1, 8,
    BRTL, 8,
    TLST, 8,
    IGDS, 8,
    LCDA, 16,
    CSTE, 16,
    NSTE, 16,
    CADL, 16,
    PADL, 16,
    LIDS, 8,
    PWRS, 8,
    BVAL, 32,
    ADDL, 16,
    BCMD, 8,
    DID, 32,
    INFO, 2048,
    TOML, 8,
    TOMH, 8,
    CEBP, 8,
    C0LS, 8,
    C1LS, 8,
    C0HS, 8,
    C1HS, 8,
    ROMS, 32,
    MUXF, 8,
    PDDN, 8
    Method (SCMP, 2, NotSerialized)
    Name (STG1, Buffer (0x50) {})
    Name (STG2, Buffer (0x50) {})
    Store (Arg0, STG1)
    Store (Arg1, STG2)
    If (LNotEqual (SizeOf (Arg0), SizeOf (Arg1)))
    Return (Zero)
    Store (Zero, Local0)
    While (LLess (Local0, SizeOf (Arg0)))
    If (LNotEqual (DerefOf (Index (STG1, Local0)), DerefOf (Index (
    STG2, Local0))))
    Return (Zero)
    Increment (Local0)
    Return (One)
    Name (WNOS, Zero)
    Name (MYOS, Zero)
    Name (HTTS, Zero)
    Name (OSTB, Ones)
    Name (TPOS, Zero)
    Name (LINX, Zero)
    Name (OSSP, Zero)
    Method (CKOS, 0, NotSerialized)
    If (LEqual (WNOS, Zero))
    If (SCMP (_OS, "Microsoft Windows"))
    Store (One, WNOS)
    If (SCMP (_OS, "Microsoft Windows NT"))
    Store (0x02, WNOS)
    If (SCMP (_OS, "Microsoft WindowsME: Millennium Edition"))
    Store (0x03, WNOS)
    If (SCMP (_OS, "Windows 2012"))
    Store (0x07, WNOS)
    If (CondRefOf (\_OSI, Local0))
    If (SCMP (_OS, "Windows 2006"))
    Store (0x05, WNOS)
    Else
    If (SCMP (_OS, "Windows 2009"))
    Store (0x06, WNOS)
    Else
    Store (0x04, WNOS)
    Return (WNOS)
    Method (SEQL, 2, Serialized)
    Store (SizeOf (Arg0), Local0)
    Store (SizeOf (Arg1), Local1)
    If (LNotEqual (Local0, Local1))
    Return (Zero)
    Name (BUF0, Buffer (Local0) {})
    Store (Arg0, BUF0)
    Name (BUF1, Buffer (Local0) {})
    Store (Arg1, BUF1)
    Store (Zero, Local2)
    While (LLess (Local2, Local0))
    Store (DerefOf (Index (BUF0, Local2)), Local3)
    Store (DerefOf (Index (BUF1, Local2)), Local4)
    If (LNotEqual (Local3, Local4))
    Return (Zero)
    Increment (Local2)
    Return (One)
    Method (OSTP, 0, NotSerialized)
    If (LEqual (OSTB, Ones))
    If (CondRefOf (\_OSI, Local0))
    Store (Zero, OSTB)
    Store (Zero, TPOS)
    If (_OSI ("Windows 2001"))
    Store (0x08, OSTB)
    Store (0x08, TPOS)
    If (_OSI ("Windows 2001.1"))
    Store (0x20, OSTB)
    Store (0x20, TPOS)
    If (_OSI ("Windows 2001 SP1"))
    Store (0x10, OSTB)
    Store (0x10, TPOS)
    If (_OSI ("Windows 2001 SP2"))
    Store (0x11, OSTB)
    Store (0x11, TPOS)
    If (_OSI ("Windows 2001 SP3"))
    Store (0x12, OSTB)
    Store (0x12, TPOS)
    If (_OSI ("Windows 2006"))
    Store (0x40, OSTB)
    Store (0x40, TPOS)
    If (_OSI ("Windows 2006 SP1"))
    Store (0x41, OSTB)
    Store (0x41, TPOS)
    Store (One, OSSP)
    If (_OSI ("Windows 2009"))
    Store (One, OSSP)
    Store (0x50, OSTB)
    Store (0x50, TPOS)
    If (_OSI ("Linux"))
    Store (One, LINX)
    Store (0x80, OSTB)
    Store (0x80, TPOS)
    Else
    If (CondRefOf (\_OS, Local0))
    If (SEQL (_OS, "Microsoft Windows"))
    Store (One, OSTB)
    Store (One, TPOS)
    Else
    If (SEQL (_OS, "Microsoft WindowsME: Millennium Edition"))
    Store (0x02, OSTB)
    Store (0x02, TPOS)
    Else
    If (SEQL (_OS, "Microsoft Windows NT"))
    Store (0x04, OSTB)
    Store (0x04, TPOS)
    Else
    Store (Zero, OSTB)
    Store (Zero, TPOS)
    Else
    Store (Zero, OSTB)
    Store (Zero, TPOS)
    Return (OSTB)
    Method (VTOB, 1, NotSerialized)
    Store (One, Local0)
    ShiftLeft (Local0, Arg0, Local0)
    Return (Local0)
    Method (BTOV, 1, NotSerialized)
    ShiftRight (Arg0, One, Local0)
    Store (Zero, Local1)
    While (Local0)
    Increment (Local1)
    ShiftRight (Local0, One, Local0)
    Return (Local1)
    Method (MKWD, 2, NotSerialized)
    If (And (Arg1, 0x80))
    Store (0xFFFF0000, Local0)
    Else
    Store (Zero, Local0)
    Or (Local0, Arg0, Local0)
    Or (Local0, ShiftLeft (Arg1, 0x08), Local0)
    Return (Local0)
    Method (POSW, 1, NotSerialized)
    If (And (Arg0, 0x8000))
    If (LEqual (Arg0, 0xFFFF))
    Return (Ones)
    Else
    Not (Arg0, Local0)
    Increment (Local0)
    And (Local0, 0xFFFF, Local0)
    Return (Local0)
    Else
    Return (Arg0)
    Method (GBFE, 3, NotSerialized)
    CreateByteField (Arg0, Arg1, TIDX)
    Store (TIDX, Arg2)
    Method (PBFE, 3, NotSerialized)
    CreateByteField (Arg0, Arg1, TIDX)
    Store (Arg2, TIDX)
    Method (ITOS, 1, NotSerialized)
    Store (Buffer (0x09)
    /* 0000 */ 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    /* 0008 */ 0x00
    }, Local0)
    Store (Buffer (0x11)
    "0123456789ABCDEF"
    }, Local7)
    Store (0x08, Local1)
    Store (Zero, Local2)
    Store (Zero, Local3)
    While (Local1)
    Decrement (Local1)
    And (ShiftRight (Arg0, ShiftLeft (Local1, 0x02)), 0x0F, Local4)
    If (Local4)
    Store (Ones, Local3)
    If (Local3)
    GBFE (Local7, Local4, RefOf (Local5))
    PBFE (Local0, Local2, Local5)
    Increment (Local2)
    Return (Local0)
    Scope (_PR)
    Processor (C000, 0x00, 0x00000410, 0x06)
    Processor (C001, 0x01, 0x00000000, 0x00)
    Processor (C002, 0x02, 0x00000000, 0x00)
    Processor (C003, 0x03, 0x00000000, 0x00)
    Name (_S0, Package (0x04)
    Zero,
    Zero,
    Zero,
    Zero
    If (LEqual (DAS1, One)) {}
    If (LEqual (DAS3, One))
    Name (_S3, Package (0x04)
    0x03,
    0x03,
    Zero,
    Zero
    Name (_S4, Package (0x04)
    0x04,
    0x04,
    Zero,
    Zero
    Name (_S5, Package (0x04)
    0x05,
    0x05,
    Zero,
    Zero
    Scope (_GPE)
    Method (_L1C, 0, NotSerialized)
    Store (0xFFFF, Local1)
    Store (\_SB.PCI0.SMBS.MIN, Local2)
    ShiftLeft (Local2, 0x08, Local1)
    Store (\_SB.PCI0.SMBS.SEC, Local2)
    Or (Local1, Local2, Local1)
    Store (Local1, P80H)
    Method (_L08, 0, NotSerialized)
    Notify (\_SB.PCI0.PB2, 0x02)
    Notify (\_SB.PCI0.PB3, 0x02)
    Notify (\_SB.PCI0.PB4, 0x02)
    Notify (\_SB.PCI0.PB5, 0x02)
    Notify (\_SB.PCI0.PB6, 0x02)
    Notify (\_SB.PCI0.PB7, 0x02)
    Notify (\_SB.PCI0.SPB0, 0x02)
    Notify (\_SB.PCI0.SPB1, 0x02)
    Notify (\_SB.PCI0.SPB2, 0x02)
    Notify (\_SB.PCI0.SPB3, 0x02)
    Name (XX05, Buffer (One)
    0x05
    Name (XX06, Buffer (One)
    0x05
    Method (_L05, 0, NotSerialized)
    Name (HPOK, Zero)
    Sleep (0xC8)
    If (\_SB.PCI0.SMBS.GE05)
    Store (Zero, \_SB.PCI0.SMBS.G05T)
    Else
    Store (One, \_SB.PCI0.SMBS.G05T)
    Notify (\_SB.PCI0.SPB2, Zero)
    Method (_L18, 0, NotSerialized)
    Notify (\_SB.PCI0.OHC1, 0x02)
    Notify (\_SB.PCI0.OHC2, 0x02)
    Notify (\_SB.PCI0.OHC3, 0x02)
    Notify (\_SB.PCI0.OHC4, 0x02)
    Notify (\_SB.PCI0.EHC1, 0x02)
    Notify (\_SB.PCI0.EHC2, 0x02)
    Notify (\_SB.PCI0.EHC3, 0x02)
    Notify (\_SB.PCI0.XHC0, 0x02)
    Notify (\_SB.PCI0.XHC1, 0x02)
    Notify (\_SB.PWRB, 0x02)
    Method (_L09, 0, NotSerialized)
    Store (0x4400, P80H)
    Store (\_SB.PCI0.SMBS.O012, Local0)
    Or (Local0, \_SB.PCI0.SMBS.O013, Local0)
    Or (Local0, \_SB.PCI0.SMBS.O014, Local0)
    CreateWordField (XX05, Zero, SZZE)
    CreateField (XX05, 0x10, 0x03, FUCC)
    CreateField (XX05, 0x13, 0x05, DEVV)
    CreateByteField (XX05, 0x03, BUSS)
    CreateByteField (XX05, 0x04, HPST)
    Store (0x05, SZZE)
    Store (Zero, BUSS)
    Store (0x05, DEVV)
    Store (Zero, FUCC)
    CreateWordField (XX06, Zero, SZZ6)
    CreateField (XX06, 0x10, 0x03, FUC6)
    CreateField (XX06, 0x13, 0x05, DEV6)
    CreateByteField (XX06, 0x03, BUS6)
    CreateByteField (XX06, 0x04, HPS6)
    Store (0x05, SZZ6)
    Store (Zero, BUS6)
    Store (0x06, DEV6)
    Store (Zero, FUC6)
    If (LEqual (Local0, One))
    If (LEqual (WLSH, Zero))
    Store (One, \_SB.PCI0.SMBS.O012)
    Store (One, \_SB.PCI0.SMBS.O013)
    Store (One, \_SB.PCI0.SMBS.O014)
    Store (Zero, \_SB.PCI0.SMBS.E012)
    Store (Zero, \_SB.PCI0.SMBS.E013)
    Store (Zero, \_SB.PCI0.SMBS.E014)
    Else
    Store (Zero, HPST)
    \_SB.ALIB (0x06, XX05, \_SB.ALIB (0x06, XX06, Store (One, \_SB.PCI0.SMBS.O012), Store (
    One, \_SB.PCI0.SMBS.O013), Store (One, \_SB.PCI0.SMBS.O014)), Store (Zero, \_SB.PCI0.SMBS.E012), Store (Zero, \_SB.PCI0.SMBS.E013))
    Store (Zero, \_SB.PCI0.SMBS.E014)
    If (LEqual (Local0, Zero))
    If (LEqual (WLSH, Zero))
    Store (One, \_SB.PCI0.SMBS.E012)
    Store (One, \_SB.PCI0.SMBS.E013)
    Store (One, \_SB.PCI0.SMBS.E014)
    Store (Zero, \_SB.PCI0.SMBS.O012)
    Store (Zero, \_SB.PCI0.SMBS.O013)
    Store (Zero, \_SB.PCI0.SMBS.O014)
    Else
    Store (One, \_SB.PCI0.SMBS.E012)
    Store (One, \_SB.PCI0.SMBS.E013)
    Store (One, \_SB.PCI0.SMBS.E014)
    Store (Zero, \_SB.PCI0.SMBS.O012)
    Store (Zero, \_SB.PCI0.SMBS.O013)
    Store (Zero, \_SB.PCI0.SMBS.O014)
    Store (One, HPST)
    \_SB.ALIB (0x06, XX05, \_SB.ALIB (0x06, XX06, \_SB.PCI0.PB5.XPPR (Zero), Sleep (0x14),
    Notify (\_SB.PCI0.PB5, Zero)), Notify (\_SB.PCI0.PB6, Zero), Notify (\_SB.PCI0.SPB0, Zero))
    Method (_L0E, 0, NotSerialized)
    CreateWordField (XX05, Zero, SZZE)
    CreateField (XX05, 0x10, 0x03, FUCC)
    CreateField (XX05, 0x13, 0x05, DEVV)
    CreateByteField (XX05, 0x03, BUSS)
    CreateByteField (XX05, 0x04, HPST)
    Store (0x05, SZZE)
    Store (Zero, BUSS)
    Store (0x03, DEVV)
    Store (Zero, FUCC)
    Name (HPOK, Zero)
    If (LGreaterEqual (OSTB, 0x40))
    Sleep (0x14)
    If (\_SB.PCI0.SMBS.GE14)
    Store (Zero, \_SB.PCI0.SMBS.G14T)
    Store (0x18, INFO)
    Store (0x86, BCMD)
    Sleep (0x64)
    Sleep (0x64)
    If (CondRefOf (\_SB.ALIB, Local0))
    Store (Zero, HPST)
    \_SB.ALIB (0x06, XX05, Else
    \_SB.PCI0.PB3.XPPR (Zero)
    }, Store (0x0F1A, P80H), Else
    Store (One, \_SB.PCI0.SMBS.G14T)
    If (CondRefOf (\_SB.ALIB, Local0))
    Store (One, HPST)
    \_SB.ALIB (0x06, XX05, Else
    \_SB.PCI0.PB3.XPPR (One)
    }, Store (0x021A, P80H), Else
    Sleep (0x14)
    If (\_SB.PCI0.SMBS.GE14)
    Store (Zero, \_SB.PCI0.SMBS.G14T)
    Store (One, \_SB.PCI0.PB3.PDC2)
    Store (\_SB.PCI0.PB3.VGA.DVID, Local7)
    Sleep (0x0A)
    Store (One, Local4)
    Store (0x05, Local5)
    While (LAnd (Local4, Local5))
    Store (\_SB.PCI0.PB3.XPRD (0xA5), Local6)
    And (Local6, 0x7F, Local6)
    If (LLessEqual (Local6, 0x04))
    Store (Zero, Local4)
    Else
    Store (\_SB.PCI0.PB3.VGA.DVID, Local7)
    Sleep (0x05)
    Decrement (Local5)
    If (CondRefOf (\_SB.ALIB, Local0))
    Store (Zero, HPST)
    \_SB.ALIB (0x06, XX05, Else
    \_SB.PCI0.PB3.XPPR (Zero)
    }, Store (One, HPOK), Store (0x1F1A, P80H))
    Else
    Store (One, \_SB.PCI0.SMBS.G14T)
    Store (Zero, HPOK)
    If (CondRefOf (\_SB.ALIB, Local0))
    Store (One, HPST)
    \_SB.ALIB (0x06, XX05, Else
    \_SB.PCI0.PB3.XPPR (One)
    }, Store (Zero, Local2), While (LLess (Local2, 0x0F))
    Store (One, \_SB.PCI0.PB3.PDC2)
    Store (One, Local4)
    Store (0xC8, Local5)
    While (LAnd (Local4, Local5))
    Store (\_SB.PCI0.PB3.XPRD (0xA5), Local6)
    And (Local6, 0x7F, Local6)
    If (LAnd (LGreaterEqual (Local6, 0x10), LNotEqual (Local6, 0x7F)))
    Store (Zero, Local4)
    Else
    Sleep (0x05)
    Decrement (Local5)
    If (LNot (Local4))
    Store (\_SB.PCI0.PB3.XPDL (), Local5)
    If (Local5)
    \_SB.PCI0.PB3.XPRT ()
    Sleep (0x05)
    Increment (Local2)
    Else
    Store (0x18, INFO)
    Store (0x87, BCMD)
    If (LEqual (\_SB.PCI0.PB3.XPR2 (), Ones))
    Store (One, HPOK)
    Store (0x10, Local2)
    Else
    Store (Zero, HPOK)
    Store (0x10, Local2)
    Else
    Store (0x10, Local2)
    Store (0x121A, P80H)
    If (LNot (HPOK))
    Store (\_SB.PCI0.PB3.VGA.DVID, Local7)
    Sleep (0x0A)
    Store (One, Local4)
    Store (0x05, Local5)
    While (LAnd (Local4, Local5))
    Store (\_SB.PCI0.PB3.XPRD (0xA5), Local6)
    And (Local6, 0x7F, Local6)
    If (LLessEqual (Local6, 0x04))
    Store (Zero, Local4)
    Else
    Store (\_SB.PCI0.PB3.VGA.DVID, Local7)
    Sleep (0x05)
    Decrement (Local5)
    If (CondRefOf (\_SB.ALIB, Local0))
    Store (Zero, HPST)
    \_SB.ALIB (0x06, XX05, Else
    \_SB.PCI0.PB3.XPPR (Zero)
    }, If (HPOK)
    Notify (\_SB.PCI0.PB3, Zero)
    Method (_L10, 0, NotSerialized)
    If (LEqual (ODZC, One))
    If (\_SB.PCI0.SMBS.G16T)
    Sleep (0x14)
    If (\_SB.PCI0.SMBS.GE16)
    Store (Zero, \_SB.PCI0.SMBS.G16T)
    If (LOr (LEqual (\_SB.PCI0.SATA.VIDI, 0x78001022), LEqual (\_SB.PCI0.SATA.VIDI, 0x78011022)))
    Notify (\_SB.PCI0.AFD, 0x80)
    If (LEqual (\_SB.PCI0.SATA.VIDI, 0x78041022))
    If (LEqual (\_SB.PCI0.AFD.HDD0, One))
    Notify (\_SB.PCI0.SATA.ODDZ, 0x80)
    Else
    Notify (\_SB.PCI0.SATA.ODDZ, 0x80)
    Store (0xDF15, P80H)
    Else
    Sleep (0x14)
    If (LNot (\_SB.PCI0.SMBS.GE16))
    Store (One, \_SB.PCI0.SMBS.G16T)
    If (LOr (LEqual (\_SB.PCI0.SATA.VIDI, 0x78001022), LEqual (\_SB.PCI0.SATA.VIDI, 0x78011022)))
    Notify (\_SB.PCI0.AFD, 0x80)
    If (LEqual (\_SB.PCI0.SATA.VIDI, 0x78041022))
    If (LEqual (\_SB.PCI0.AFD.HDD0, One))
    Notify (\_SB.PCI0.SATA.ODDZ, 0x80)
    Else
    Notify (\_SB.PCI0.SATA.ODDZ, 0x80)
    Store (0xDF14, P80H)
    Name (PICM, Zero)
    Name (GPIC, Zero)
    Method (_PIC, 1, NotSerialized)
    Store (Arg0, PICM)
    Store (Arg0, GPIC)
    If (GPIC)
    \_SB.DSPI ()
    Name (PTSF, Zero)
    Method (_PTS, 1, NotSerialized)
    Store (One, PTSF)
    Store (One, \_SB.PCI0.LPC0.EC0.IESQ)
    SPTS (Arg0)
    If (LEqual (Arg0, One))
    Store (0x51, IO80)
    \_SB.S80H (0x51)
    If (LEqual (Arg0, 0x03))
    If (\_SB.SSTS)
    Store (Zero, \_SB.PCI0.LPC0.EC0.WLID)
    Else
    Store (One, \_SB.PCI0.LPC0.EC0.WLID)
    Store (0x53, IO80)
    \_SB.S80H (0x53)
    Store (One, \_SB.PCI0.SMBS.SLPS)
    If (LEqual (Arg0, 0x04))
    Store (0x54, IO80)
    \_SB.S80H (0x54)
    Store (One, \_SB.PCI0.SMBS.SLPS)
    Store (One, RSTU)
    Store (One, \_SB.INS4)
    Store (One, \_SB.PCI0.LPC0.EC0.FLS4)
    If (\_SB.SSTS)
    Store (Zero, \_SB.PCI0.LPC0.EC0.WLID)
    Else
    Store (One, \_SB.PCI0.LPC0.EC0.WLID)
    If (LEqual (Arg0, 0x05))
    Store (0x55, IO80)
    \_SB.S80H (0x55)
    \_SB.GSMI (0x03)
    Method (_WAK, 1, NotSerialized)
    Store (Zero, PTSF)
    SWAK (Arg0)
    If (LEqual (Arg0, One))
    Store (0xE1, IO80)
    \_SB.S80H (0xE1)
    Store (0xF1, \_SB.PCI0.P2P.PR4B)
    If (LEqual (Arg0, 0x03))
    Store (0x55, \_SB.INS3)
    Store (One, \_SB.PCI0.LPC0.EC0.CPLE)
    Store (0xE3, IO80)
    \_SB.S80H (0xE3)
    CHKH ()
    If (\_SB.ECOK)
    If (LGreaterEqual (TPOS, 0x40))
    If (LEqual (TPOS, 0x80))
    Store (Zero, \_SB.PCI0.LPC0.EC0.OSTP)
    Else
    Store (One, \_SB.PCI0.LPC0.EC0.OSTP)
    Else
    Store (Zero, \_SB.PCI0.LPC0.EC0.OSTP)
    Notify (\_SB.BAT1, 0x81)
    Notify (\_SB.PWRB, 0x02)
    If (LEqual (Arg0, 0x04))
    Store (0x55, \_SB.INS3)
    Store (Zero, \_SB.INS4)
    Store (0xE4, IO80)
    \_SB.S80H (0xE4)
    \_SB.PCI0._INI ()
    \_SB.PCI0.EHC1.STOS ()
    If (\_SB.ECOK)
    If (LGreaterEqual (TPOS, 0x40))
    If (LEqual (TPOS, 0x80))
    Store (Zero, \_SB.PCI0.LPC0.EC0.OSTP)
    Else
    Store (One, \_SB.PCI0.LPC0.EC0.OSTP)
    Else
    Store (Zero, \_SB.PCI0.LPC0.EC0.OSTP)
    Notify (\_SB.BAT1, 0x81)
    Notify (\_SB.PWRB, 0x02)
    Return (Zero)
    Scope (_SI)
    Method (_SST, 1, NotSerialized)
    If (LEqual (Arg0, One))
    Store ("===== SST Working =====", Debug)
    If (LEqual (Arg0, 0x02))
    Store ("===== SST Waking =====", Debug)
    If (LEqual (Arg0, 0x03))
    Store ("===== SST Sleeping =====", Debug)
    If (LEqual (Arg0, 0x04))
    Store ("===== SST Sleeping S4 =====", Debug)
    Scope (_SB)
    Name (ECOK, One)
    Name (INS3, Zero)
    Name (INS4, One)
    Name (WLWF, Zero)
    Name (L3WF, Zero)
    Name (DCNT, Zero)
    Name (SSTS, Zero)
    Name (LDSS, Zero)
    Method (GBFE, 3, NotSerialized)
    CreateByteField (Arg0, Arg1, TIDX)
    Store (TIDX, Arg2)
    Method (PBFE, 3, NotSerialized)
    CreateByteField (Arg0, Arg1, TIDX)
    Store (Arg2, TIDX)
    Method (ITOS, 1, NotSerialized)
    Store (Buffer (0x09)
    /* 0000 */ 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    /* 0008 */ 0x00
    }, Local0)
    Store (Buffer (0x11)
    "0123456789ABCDEF"
    }, Local7)
    Store (0x08, Local1)
    Store (Zero, Local2)
    Store (Zero, Local3)
    While (Local1)
    Decrement (Local1)
    And (ShiftRight (Arg0, ShiftLeft (Local1, 0x02)), 0x0F, Local4)
    If (Local4)
    Store (Ones, Local3)
    If (Local3)
    GBFE (Local7, Local4, RefOf (Local5))
    PBFE (Local0, Local2, Local5)
    Increment (Local2)
    Return (Local0)
    Device (PWRB)
    Name (_HID, EisaId ("PNP0C0C"))
    Method (_STA, 0, NotSerialized)
    Return (0x0B)
    Device (PCI0)
    Name (_HID, EisaId ("PNP0A08"))
    Name (_CID, EisaId ("PNP0A03"))
    Name (_ADR, Zero)
    OperationRegion (SCTH, PCI_Config, 0x7A, One)
    Field (SCTH, ByteAcc, NoLock, Preserve)
    RSMF, 1
    Method (_INI, 0, NotSerialized)
    If (LEqual (GPIC, Zero)) {}
    Else
    DSPI ()
    OSTP ()
    Store (0x07D0, MYOS)
    If (CondRefOf (\_OSI, Local0))
    If (_OSI ("Linux"))
    Store (0x03E8, MYOS)
    If (_OSI ("Windows 2001"))
    Store (0x07D1, MYOS)
    If (_OSI ("Windows 2001 SP1"))
    Store (0x07D1, MYOS)
    If (_OSI ("Windows 2001 SP2"))
    Store (0x07D2, MYOS)
    If (_OSI ("Windows 2006"))
    Store (0x07D6, MYOS)
    If (_OSI ("Windows 2009"))
    Store (0x07D9, MYOS)
    If (_OSI ("Windows 2012"))
    Store (0x07DC, MYOS)
    OperationRegion (NBMS, PCI_Config, 0x60, 0x08)
    Field (NBMS, DWordAcc, NoLock, Preserve)
    MIDX, 32,
    MIDR, 32
    Mutex (NBMM, 0x00)
    Method (NBMR, 1, NotSerialized)
    Acquire (NBMM, 0xFFFF)
    And (Arg0, 0x7F, Local0)
    Store (Local0, MIDX)
    Store (MIDR, Local0)
    Store (0x7F, MIDX)
    Release (NBMM)
    Return (Local0)
    Method (NBMW, 2, NotSerialized)
    Acquire (NBMM, 0xFFFF)
    And (Arg0, 0x7F, Local0)
    Or (Local0, 0x80, Local0)
    Store (Local0, MIDX)
    Store (Arg1, MIDR)
    Store (And (Local0, 0x7F, Local0), MIDX)
    Release (NBMM)
    OperationRegion (NBXP, PCI_Config, 0xE0, 0x08)
    Field (NBXP, DWordAcc, NoLock, Preserve)
    NBXI, 32,
    NBXD, 32
    Mutex (NBXM, 0x00)
    Method (NBXR, 1, NotSerialized)
    Acquire (NBXM, 0xFFFF)
    Store (Arg0, NBXI)
    Store (NBXD, Local0)
    Store (Zero, NBXI)
    Release (NBXM)
    Return (Local0)
    Method (NBXW, 2, NotSerialized)
    Acquire (NBXM, 0xFFFF)
    Store (Arg0, NBXI)
    Store (Arg1, NBXD)
    Store (Zero, NBXI)
    Release (NBXM)
    Method (XPTR, 2, NotSerialized)
    If (LAnd (LLess (Arg0, 0x02), LGreater (Arg0, 0x07)))
    Return (Zero)
    Else
    If (LLess (Arg0, 0x04))
    Subtract (Arg0, 0x02, Local1)
    Store (0x01310800, Local0)
    Else
    Subtract (Arg0, 0x04, Local1)
    Store (0x01300900, Local0)
    Add (Local0, ShiftLeft (Local1, 0x08), Local0)
    ShiftLeft (Local0, Local1, Local0)
    NBXW (Local0, Arg1)
    Return (Ones)
    Method (XPLP, 2, NotSerialized)
    Method (XPLL, 2, NotSerialized)
    Name (_UID, One)
    Name (_BBN, Zero)
    Name (SUPP, Zero)
    Name (CTRL, Zero)
    Name (AMHP, Zero)
    Method (XOSC, 4, NotSerialized)
    CreateDWordField (Arg3, Zero, CDW1)
    CreateDWordField (Arg3, 0x04, CDW2)
    CreateDWordField (Arg3, 0x08, CDW3)
    If (LEqual (Arg0, Buffer (0x10)
    /* 0000 */ 0x5B, 0x4D, 0xDB, 0x33, 0xF7, 0x1F, 0x1C, 0x40,
    /* 0008 */ 0x96, 0x57, 0x74, 0x41, 0xC0, 0x3D, 0xD7, 0x66
    Store (CDW2, SUPP)
    Store (CDW3, CTRL)
    And (CTRL, 0x1D, CTRL)
    If (Not (And (CDW1, One)))
    If (And (CTRL, One)) {}
    If (And (CTRL, 0x10)) {}
    If (LNotEqual (Arg1, One))
    Or (CDW1, 0x08, CDW1)
    If (LNotEqual (CDW3, CTRL))
    Or (CDW1, 0x10, CDW1)
    Store (CTRL, CDW3)
    Return (Arg3)
    Else
    Or (CDW1, 0x04, CDW1)
    Return (Arg3)
    Method (TOM, 0, NotSerialized)
    Multiply (TOML, 0x00010000, Local0)
    Multiply (TOMH, 0x01000000, Local1)
    Add (Local0, Local1, Local0)
    Return (Local0)
    Name (CRES, ResourceTemplate ()
    WordBusNumber (ResourceProducer, MinFixed, MaxFixed, SubDecode,
    0x0000, // Granularity
    0x0000, // Range Minimum
    0x00FF, // Range Maximum
    0x0000, // Translation Offset
    0x0100, // Length
    0x00,, )
    WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
    0x0000, // Granularity
    0x0000, // Range Minimum
    0x0CF7, // Range Maximum
    0x0000, // Translation Offset
    0x0CF8, // Length
    0x00,, , TypeStatic)
    WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
    0x0000, // Granularity
    0x0D00, // Range Minimum
    0xFFFF, // Range Maximum
    0x0000, // Translation Offset
    0xF300, // Length
    ,, , TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
    0x00000000, // Granularity
    0x000A0000, // Range Minimum
    0x000BFFFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00020000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadOnly,
    0x00000000, // Granularity
    0x000C0000, // Range Minimum
    0x000C3FFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00004000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadOnly,
    0x00000000, // Granularity
    0x000C4000, // Range Minimum
    0x000C7FFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00004000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadOnly,
    0x00000000, // Granularity
    0x000C8000, // Range Minimum
    0x000CBFFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00004000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadOnly,
    0x00000000, // Granularity
    0x000CC000, // Range Minimum
    0x000CFFFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00004000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
    0x00000000, // Granularity
    0x000D0000, // Range Minimum
    0x000D3FFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00004000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
    0x00000000, // Granularity
    0x000D4000, // Range Minimum
    0x000D7FFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00004000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
    0x00000000, // Granularity
    0x000D8000, // Range Minimum
    0x000DBFFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00004000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
    0x00000000, // Granularity
    0x000DC000, // Range Minimum
    0x000DFFFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00004000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
    0x00000000, // Granularity
    0x000E0000, // Range Minimum
    0x000E3FFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00004000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
    0x00000000, // Granularity
    0x000E4000, // Range Minimum
    0x000E7FFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00004000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
    0x00000000, // Granularity
    0x000E8000, // Range Minimum
    0x000EBFFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00004000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
    0x00000000, // Granularity
    0x000EC000, // Range Minimum
    0x000EFFFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00004000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
    0x00000000, // Granularity
    0x80000000, // Range Minimum
    0xF7FFFFFF, // Range Maximum
    0x00000000, // Translation Offset
    0x77000000, // Length
    0x00,, _Y00, AddressRangeMemory, TypeStatic)
    DWordMemory (ResourceProducer, SubDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
    0x00000000, // Granularity
    0xFC000000, // Range Minimum
    0xFFFFFFFF, // Range Maximum
    0x00000000, // Translation Offset
    0x04000000, // Length
    0x00,, , AddressRangeMemory, TypeStatic)
    IO (Decode16,
    0x0CF8, // Range Minimum
    0x0CF8, // Range Maximum
    0x01, // Alignment
    0x08, // Length
    Method (_CRS, 0, NotSerialized)
    CreateDWordField (CRES, \_SB.PCI0._Y00._MIN, BTMN)
    CreateDWordField (CRES, \_SB.PCI0._Y00._MAX, BTMX)
    CreateDWordField (CRES, \_SB.PCI0._Y00._LEN, BTLN)
    Store (TOM (), BTMN)
    Subtract (0xF8000000, BTMN, BTLN)
    Return (CRES)
    Device (MEMR)
    Name (_HID, EisaId ("PNP0C02"))
    Name (MEM1, ResourceTemplate ()
    Memory32Fixed (ReadWrite,
    0x00000000, // Address Base
    0x00000000, // Address Length
    _Y01)
    Memory32Fixed (ReadWrite,
    0x00000000, // Address Base
    0x00000000, // Address Length
    _Y02)
    Memory32Fixed (ReadWrite,
    0xFF800000, // Address Base
    0x00000020, // Address Length
    Method (_CRS, 0, NotSerialized)
    CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y01._BAS, MB01)
    CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y01._LEN, ML01)
    CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y02._BAS, MB02)
    CreateDWordField (MEM1, \_SB.PCI0.MEMR._Y02._LEN, ML02)
    If (GPIC)
    Store (0xFEC00000, MB01)
    Store (0xFEE00000, MB02)
    Store (0x1000, ML01)
    Store (0x1000, ML02)
    Return (MEM1)
    Method (XCMP, 2, NotSerialized)
    If (LNotEqual (0x10, SizeOf (Arg0)))
    Return (Zero)
    If (LNotEqual (0x10, SizeOf (Arg1)))
    Return (Zero)
    Store (Zero, Local0)
    While (LLess (Local0, 0x10))
    If (LNotEqual (DerefOf (Index (Arg0, Local0)), DerefOf (Index (
    Arg1, Local0))))
    Return (Zero)
    Increment (Local0)
    Return (One)
    Method (AFN0, 0, Serialized)
    If (LEqual (PDDN, One))
    ^VGA.AFN0 ()
    If (LEqual (PDDN, 0x02))
    ^PB2.VGA.AFN0 ()
    If (LEqual (PDDN, 0x03))
    ^PB3.VGA.AFN0 ()
    Method (AFN1, 1, Serialized)
    Method (AFN2, 2, Serialized)
    Method (AFN3, 2, Serialized)
    If (LEqual (PDDN, One))
    ^VGA.AFN3 (Arg0, Arg1)
    If (LEqual (PDDN, 0x02))
    ^PB2.VGA.AFN3 (Arg0, Arg1)
    If (LEqual (PDDN, 0x03))
    ^PB3.VGA.AFN3 (Arg0, Arg1)
    Method (AFN4, 1, Serialized)
    If (LEqual (PDDN, One))
    ^VGA.AFN4 (Arg0)
    If (LEqual (PDDN, 0x02))
    ^PB2.VGA.AFN4 (Arg0)
    If (LEqual (PDDN, 0x03))

    First remove any acpi_os_name=linux or acpi_osi=linux that you have on the kernel command line, if need be use acpi_osi="!Linux", told you that already in the other thread, I only suggested that you decompile your dsdt so you can pinpoint which acpi_os_name and acpi_osi names are being checked and try to spoof _using windows_ with those names.
    This is the part you should be looking at first:
    Method (OSTP, 0, NotSerialized)
    If (LEqual (OSTB, Ones))
    If (CondRefOf (\_OSI, Local0))
    Store (Zero, OSTB)
    Store (Zero, TPOS)
    If (_OSI ("Windows 2001"))
    Store (0x08, OSTB)
    Store (0x08, TPOS)
    If (_OSI ("Windows 2001.1"))
    Store (0x20, OSTB)
    Store (0x20, TPOS)
    If (_OSI ("Windows 2001 SP1"))
    Store (0x10, OSTB)
    Store (0x10, TPOS)
    If (_OSI ("Windows 2001 SP2"))
    Store (0x11, OSTB)
    Store (0x11, TPOS)
    If (_OSI ("Windows 2001 SP3"))
    Store (0x12, OSTB)
    Store (0x12, TPOS)
    If (_OSI ("Windows 2006"))
    Store (0x40, OSTB)
    Store (0x40, TPOS)
    If (_OSI ("Windows 2006 SP1"))
    Store (0x41, OSTB)
    Store (0x41, TPOS)
    Store (One, OSSP)
    If (_OSI ("Windows 2009"))
    Store (One, OSSP)
    Store (0x50, OSTB)
    Store (0x50, TPOS)
    If (_OSI ("Linux"))
    Store (One, LINX)
    Store (0x80, OSTB)
    Store (0x80, TPOS)
    Else
    If (CondRefOf (\_OS, Local0))
    If (SEQL (_OS, "Microsoft Windows"))
    Store (One, OSTB)
    Store (One, TPOS)
    Else
    If (SEQL (_OS, "Microsoft WindowsME: Millennium Edition"))
    Store (0x02, OSTB)
    Store (0x02, TPOS)
    Else
    If (SEQL (_OS, "Microsoft Windows NT"))
    Store (0x04, OSTB)
    Store (0x04, TPOS)
    Else
    Store (Zero, OSTB)
    Store (Zero, TPOS)
    Else
    Store (Zero, OSTB)
    Store (Zero, TPOS)
    Return (OSTB)
    You can clearly see that linux is being checked for and different stuff is done for it, as is the case for each windows version, like I also said in the other thread first try to spoof a windows version where the battery shows up and the fan works correctly. Only after trying that and if it fails, I would go about trying to fix the dsdt myself.

  • [SOLVED]Need help with Xmonad config(just basic stuff)

    Hello Guys,
    I thought I'd give Xmonad a try even if I don't know haskell. So I just tried to use some examples from the net, however even for just mapping some special keys it fails.
    I used this example http://www.haskell.org/haskellwiki/Xmon … _%280.9%29
    and this is my config file:
    import XMonad
    import Graphics.X11.ExtraTypes.XF86
    import XMonad.Util.EZConfig
    import Data.Monoid
    import System.Exit
    import qualified XMonad.StackSet as W
    import qualified Data.Map as M
    MyKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
    [((0, XF86MonBrightnessUp), spawn "xbacklight +20")
    ,((0, XF86MonBrightnessDown), spawn "xbacklight -20")
    ,((0, XF86AudioRaiseVolume), spawn "amixer set Master 1+ unmute")
    ,((0, XF86AudioLowerVolume), spawn "amixer set Master 1- unmute")
    main=xmonad defaults
    -- use the defaults exepct for super instead of alt mod and the special keys
    defaults=defaultConfig{
    modMask =mod4Mask
    ,keys =MyKeys
    So as could could guess, I just want to my the keys so that I can adjust volume and backlight. The keys I got with xev so these should be correct.
    So when I try xmonad --recompile this error shows up.
    Error detected while loading xmonad configuration file: ~/.xmonad/xmonad.hs
    xmonad.hs:12:1: Not in scope: data constructor `MyKeys'
    xmonad.hs:13:15:
    Not in scope: data constructor `XF86MonBrightnessUp'
    xmonad.hs:14:15:
    Not in scope: data constructor `XF86MonBrightnessDown'
    xmonad.hs:15:15:
    Not in scope: data constructor `XF86AudioRaiseVolume'
    xmonad.hs:16:15:
    Not in scope: data constructor `XF86AudioLowerVolume'
    xmonad.hs:22:26: Not in scope: data constructor `MyKeys'
    Please check the file for errors.
    I'd really appreciate _any_ help since I can't see any significant difference to the linked page(except for cutting-out a lot and filling in my special keys     )
    Greetings
    Edit: Here's the output of xev for the keys, perhaps it help any way:
    audio lower
    KeyRelease event, serial 40, synthetic NO, window 0x6600001,
    root 0x9d, subw 0x0, time 388994, (516,521), root:(1024,549),
    state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    raise audio
    KeyRelease event, serial 40, synthetic NO, window 0x6600001,
    root 0x9d, subw 0x0, time 381193, (517,259), root:(1025,287),
    state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    mute audio x2
    KeyRelease event, serial 46, synthetic NO, window 0x6600001,
    root 0x9d, subw 0x6600002, time 776961, (17,46), root:(525,74),
    state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    FocusOut event, serial 46, synthetic NO, window 0x6600001,
    mode NotifyGrab, detail NotifyAncestor
    FocusIn event, serial 46, synthetic NO, window 0x6600001,
    mode NotifyUngrab, detail NotifyAncestor
    KeymapNotify event, serial 46, synthetic NO, window 0x0,
    keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    KeyRelease event, serial 46, synthetic NO, window 0x6600001,
    root 0x9d, subw 0x6600002, time 780104, (17,46), root:(525,74),
    state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    mute mikro
    KeyRelease event, serial 45, synthetic NO, window 0x6600001,
    root 0x9d, subw 0x0, time 754481, (122,123), root:(630,151),
    state 0x0, keycode 198 (keysym 0x1008ffb2, XF86AudioMicMute), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    fn
    KeyRelease event, serial 46, synthetic NO, window 0x6600001,
    root 0x9d, subw 0x0, time 828065, (121,141), root:(629,169),
    state 0x0, keycode 151 (keysym 0x1008ff2b, XF86WakeUp), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    f9
    KeyRelease event, serial 46, synthetic NO, window 0x6600001,
    root 0x9d, subw 0x0, time 881813, (155,121), root:(663,149),
    state 0x0, keycode 75 (keysym 0xffc6, F9), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    fn+f9
    KeyRelease event, serial 49, synthetic NO, window 0x6600001,
    root 0x9d, subw 0x0, time 942023, (163,85), root:(671,113),
    state 0x0, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    fn+f8
    KeyRelease event, serial 51, synthetic NO, window 0x6600001,
    root 0x9d, subw 0x0, time 976374, (138,125), root:(646,153),
    state 0x0, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    black button(specified like this in manuel <.< )
    KeyRelease event, serial 55, synthetic NO, window 0x6600001,
    root 0x9d, subw 0x0, time 1048947, (67,99), root:(575,127),
    state 0x0, keycode 156 (keysym 0x1008ff41, XF86Launch1), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    Last edited by blubbb (2013-12-29 11:07:15)

    Raynman wrote:
    The first difference is that you wrote 'MyKeys' with an uppercase M. Variable/function names cannot start with an uppercase letter; that's reserved for type and data constructors.
    The second problem is the key bindings themselves. Your list is completely different from that example. You probably imported XMonad.Util.EZConfig to use the "emacs style" key descriptions, but you're mixing the two styles. You can only generate a Map (of the right type) with fromList if you use the same format as that example. Look at the documentation for the EZConfig module to see how the shorter string descriptions should be used. The part
    keys = \c ->
    in that example is basically the same as your
    myKeys conf@(XConfig {XMonad.modMask = modm}) =
    . The difference is that you're unpacking the conf/c value to extract the modMask (binding it to the name modm) but you're not using modm anywhere in your list of keybindings, so you dont need the @(..) part. And you don't need it anyway, because you can use a string starting with "M-" (in emacs-style key descriptions) to define a binding that uses the mod key (see examples).
    Hey, thanks a lot for your fast and extensive answer, however I still couldn't get it working. Stupid me.
    So, tried using the style of this example:
    keys = \c -> mkKeymap c $
    [ ("M-S-<Return>", spawn $ terminal c)
    , ("M-x w", spawn "xmessage 'woohoo!'") -- type mod+x then w to pop up 'woohoo!'
    , ("M-x y", spawn "xmessage 'yay!'") -- type mod+x then y to pop up 'yay!'
    , ("M-S-c", kill)
    and since I don't want to pres the mod key, just the mediakeys themselfes I thought I could directly write
    ..."<Mediakey>", spawn ...
    But my code still won't work, but I get a new fancy error log:
    Error detected while loading xmonad configuration file: ~/.xmonad/xmonad.hs
    xmonad.hs:24:26:
    Couldn't match type `[Char]' with `(ButtonMask, KeySym)'
    Expected type: XConfig Layout -> M.Map (ButtonMask, KeySym) (X ())
    Actual type: XConfig Layout -> M.Map [Char] (X ())
    In the `keys' field of a record
    In the expression:
    defaultConfig {modMask = mod4Mask, keys = myKeys}
    In an equation for `defaults':
    defaults = defaultConfig {modMask = mod4Mask, keys = myKeys}
    Please check the file for errors.
    So apparently I don't use the right type since I was using the type char. However if I compare my code to the example I don't find a significan't difference(for the keymapping himself) except for not using the modkey. Is this perhaps the mistake? Doesen't this work without the modkey?
    import XMonad
    import Graphics.X11.ExtraTypes.XF86
    import XMonad.Util.EZConfig
    import Data.Monoid
    import System.Exit
    import qualified XMonad.StackSet as W
    import qualified Data.Map as M
    myKeys = \c -> M.fromList $
    [("<XF86MonBrightnessUp>", spawn "xbacklight +20")
    ,("<XF86MonBrightnessDown>", spawn "xbacklight -20")
    ,("<XF86AudioRaiseVolume>", spawn "amixer set Master 1+ unmute")
    ,("<XF86AudioLowerVolume>", spawn "amixer set Master 1- unmute")
    main=xmonad defaults
    -- use the defaults exepct for super instead of alt mod and the special keys
    defaults=defaultConfig{
    modMask =mod4Mask
    ,keys =myKeys
    Last edited by blubbb (2013-12-19 12:55:56)

  • [Solved] Need help with Eve Online and Ati Radeon HD5650

    Hi
    I'm having trouble running Eve Online under wine on my Acer TimelineX 3820TG.
    I am using wine-1.4-rc5, wine_gecko and winetricks from the repository
    and the open source drivers. (using WINEARCH=win32)
    I also have the libgl, lib32-libgl, mesa and lib32-mesa installed.
    Wine starts, Eve logo/picture shows and then I get the following errors:
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:gameux:GameExplorerImpl_VerifyAccess (0x12af30, L"D:\\Eve\\eve.exe", 0x33fd74)
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:heap:HeapSetInformation 0x48b000 0 0x33f31c 4
    Network layer using: CarbonIO
    EVE Client version 7.22 build 342397 starting 18:45:13
    Multi-Language System: Client using language [EN]
    Starting up Trinity through _trinity_deploy.dll ...
    err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.
    fixme:dbghelp:elf_search_auxv can't find symbol in module
    wine: Unhandled page fault on read access to 0xffffffff at address 0xf5faab41 (thread 0025), starting debugger...
    Unhandled exception: page fault on read access to 0xffffffff in 32-bit code (0xf5faab41).
    Register dump:
    CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
    EIP:f5faab41 ESP:00337e8c EBP:00000000 EFLAGS:00210202( R- -- I - - - )
    EAX:f5bd3e28 EBX:f6c15ff4 ECX:00000001 EDX:f5bd3e28
    ESI:f5b7f510 EDI:f5bd3e28
    Stack dump:
    0x00337e8c: f5bd3e28 0003c000 00008092 ffffffff
    0x00337e9c: 00000000 f5c92250 00000002 00000000
    0x00337eac: f5bd3c58 f5b81430 47000000 00000000
    0x00337ebc: 00000000 f5be40f3 00000000 00000002
    0x00337ecc: 00000000 00000028 f61c590b f6c15ff4
    0x00337edc: 00000000 00000000 00000002 00000010
    000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
    Backtrace:
    =>0 0xf5faab41 in r600_dri.so (+0x143b41) (0x00000000)
    1 0xf6194810 in r600_dri.so (+0x32d80f) (0xf5bd3c58)
    2 0xf5fb9e0f in r600_dri.so (+0x152e0e) (0x00338124)
    3 0xf5fa81e3 in r600_dri.so (+0x1411e2) (0xf5b78480)
    4 0xf61c94ca in r600_dri.so (+0x3624c9) (0xf5bd35f8)
    5 0xf608df36 in r600_dri.so (+0x226f35) (0xf5bd35f8)
    6 0xf6086756 in r600_dri.so (+0x21f755) (0xf5bd35f8)
    7 0xf604f94b in r600_dri.so (+0x1e894a) (0x00000de1)
    8 0xf6052da1 in r600_dri.so (+0x1ebda0) (0x003383b4)
    9 0xf6ffb304 in wined3d (+0x4b303) (0x003383b4)
    10 0xf7007bac in wined3d (+0x57bab) (0x00338574)
    11 0xf700ec16 in wined3d (+0x5ec15) (0x00338a14)
    12 0xf7012493 in wined3d (+0x62492) (0x00338a34)
    13 0xf7096c35 wined3d_create+0x64() in wined3d (0x00338a74)
    14 0xf70faf77 Direct3DCreate9+0x66() in d3d9 (0x00338aa4)
    15 0x06267aa3 in _trinity_deploy (+0x247aa2) (0x0033931c)
    16 0x1009ca12 in blue (+0x9ca11) (0x0033960c)
    17 0x1009d161 in blue (+0x9d160) (0x00339630)
    18 0x1009d0e5 in blue (+0x9d0e4) (0x00339774)
    19 0x06257a79 in _trinity_deploy (+0x237a78) (0x003397bc)
    20 0x066fdd02 in _trinity_deploy (+0x6ddd01) (0x003397d8)
    21 0x066fa332 in _trinity_deploy (+0x6da331) (0x003397f4)
    22 0x066fdf0e in _trinity_deploy (+0x6ddf0d) (0x00339818)
    23 0x100115b1 in blue (+0x115b0) (0x00339830)
    24 0x1009c6a9 in blue (+0x9c6a8) (0x00339b28)
    25 0x1009f6ab in blue (+0x9f6aa) (0x00339b9c)
    26 0x1009ae89 in blue (+0x9ae88) (0x00339ba8)
    27 0x1e01bb06 in python27 (+0x1bb05) (0x01e7b710)
    0xf5faab41:
    Modules:
    Module Address Debug info Name (120 modules)
    PE 3e0000- 3f3000 Deferred physxloader
    PE 400000- 48b000 Deferred exefile
    PE 30d0000- 3189000 Deferred _ssl.pyd
    PE 3190000- 31c6000 Deferred _yaml.pyd
    PE 31d0000- 33b5000 Deferred d3dx9_42
    PE 33c0000- 33f3000 Deferred tbb
    PE 3400000- 34ce000 Deferred umbra
    PE 34d0000- 35c7000 Deferred apexframework_x86
    PE 6020000- 6d16000 Export _trinity_deploy
    PE 10000000-101be000 Export blue
    PE 18000000-18045000 Deferred binkw32
    PE 1d1a0000-1d1b7000 Deferred _ctypes.pyd
    PE 1e000000-1e3aa000 Export python27
    PE 78000000-78044000 Deferred msvcrt
    PE 78050000-780b9000 Deferred msvcp100
    PE 78130000-781cb000 Deferred msvcr80
    PE 78aa0000-78b5f000 Deferred msvcr100
    ELF 7b800000-7b9f6000 Deferred kernel32<elf>
    \-PE 7b810000-7b9f6000 \ kernel32
    ELF 7bc00000-7bcd2000 Deferred ntdll<elf>
    \-PE 7bc10000-7bcd2000 \ ntdll
    ELF 7bf00000-7bf04000 Deferred <wine-loader>
    PE 7c420000-7c4a7000 Deferred msvcp80
    ELF 7e10a000-7e188000 Deferred rpcrt4<elf>
    \-PE 7e120000-7e188000 \ rpcrt4
    ELF 7e188000-7e2af000 Deferred ole32<elf>
    \-PE 7e1a0000-7e2af000 \ ole32
    ELF 7e2af000-7e2e5000 Deferred uxtheme<elf>
    \-PE 7e2c0000-7e2e5000 \ uxtheme
    ELF 7e2e5000-7e2eb000 Deferred libxfixes.so.3
    ELF 7e2eb000-7e2f6000 Deferred libxcursor.so.1
    ELF 7e326000-7e350000 Deferred libexpat.so.1
    ELF 7e350000-7e385000 Deferred libfontconfig.so.1
    ELF 7e385000-7e395000 Deferred libxi.so.6
    ELF 7e395000-7e399000 Deferred libxcomposite.so.1
    ELF 7e399000-7e3a2000 Deferred libxrandr.so.2
    ELF 7e3a2000-7e3ad000 Deferred libxrender.so.1
    ELF 7e3ad000-7e3b3000 Deferred libxxf86vm.so.1
    ELF 7e3b3000-7e3b7000 Deferred libxinerama.so.1
    ELF 7e3b7000-7e3db000 Deferred imm32<elf>
    \-PE 7e3c0000-7e3db000 \ imm32
    ELF 7e3db000-7e3e2000 Deferred libxdmcp.so.6
    ELF 7e3e2000-7e402000 Deferred libxcb.so.1
    ELF 7e402000-7e41c000 Deferred libice.so.6
    ELF 7e41c000-7e554000 Deferred libx11.so.6
    ELF 7e554000-7e567000 Deferred libxext.so.6
    ELF 7e567000-7e603000 Deferred winex11<elf>
    \-PE 7e570000-7e603000 \ winex11
    ELF 7e603000-7e69f000 Deferred libfreetype.so.6
    ELF 7e69f000-7e6c6000 Deferred mpr<elf>
    \-PE 7e6b0000-7e6c6000 \ mpr
    ELF 7e6c6000-7e6dd000 Deferred libz.so.1
    ELF 7e70d000-7e782000 Deferred wininet<elf>
    \-PE 7e720000-7e782000 \ wininet
    ELF 7e782000-7e885000 Deferred comctl32<elf>
    \-PE 7e790000-7e885000 \ comctl32
    ELF 7e885000-7e8f8000 Deferred shlwapi<elf>
    \-PE 7e890000-7e8f8000 \ shlwapi
    ELF 7e8f8000-7eb1b000 Deferred shell32<elf>
    \-PE 7e910000-7eb1b000 \ shell32
    ELF 7eb1b000-7eb84000 Deferred advapi32<elf>
    \-PE 7eb30000-7eb84000 \ advapi32
    ELF 7eb84000-7ec50000 Deferred gdi32<elf>
    \-PE 7eb90000-7ec50000 \ gdi32
    ELF 7ec50000-7eda2000 Deferred user32<elf>
    \-PE 7ec60000-7eda2000 \ user32
    ELF 7efa2000-7efd0000 Deferred libm.so.6
    ELF 7efd0000-7efd6000 Deferred libuuid.so.1
    ELF 7efd6000-7efe6000 Deferred libbz2.so.1.0
    ELF 7efe6000-7f000000 Deferred version<elf>
    \-PE 7eff0000-7f000000 \ version
    ELF f5aa6000-f5aad000 Deferred libnss_dns.so.2
    ELF f5d63000-f5d7e000 Deferred libgcc_s.so.1
    ELF f5e67000-f6c96000 Dwarf r600_dri.so
    ELF f6c96000-f6ced000 Deferred libgl.so.1
    ELF f6d2c000-f6d32000 Deferred libtxc_dxtn.so
    ELF f6d32000-f6d3b000 Deferred librt.so.1
    ELF f6d3b000-f6d48000 Deferred libdrm.so.2
    ELF f6d48000-f6d5e000 Deferred libxcb-glx.so.0
    ELF f6d5e000-f6d74000 Deferred libglapi.so.0
    ELF f6d8d000-f6da4000 Deferred libresolv.so.2
    ELF f6da4000-f6de0000 Deferred winspool<elf>
    \-PE f6db0000-f6de0000 \ winspool
    ELF f6de0000-f6ec4000 Deferred comdlg32<elf>
    \-PE f6df0000-f6ec4000 \ comdlg32
    ELF f6ec4000-f6eee000 Deferred msacm32<elf>
    \-PE f6ed0000-f6eee000 \ msacm32
    ELF f6eee000-f6f9f000 Deferred winmm<elf>
    \-PE f6f00000-f6f9f000 \ winmm
    ELF f6f9f000-f70e5000 Dwarf wined3d<elf>
    \-PE f6fb0000-f70e5000 \ wined3d
    ELF f70e5000-f7123000 Dwarf d3d9<elf>
    \-PE f70f0000-f7123000 \ d3d9
    ELF f7123000-f7231000 Deferred oleaut32<elf>
    \-PE f7140000-f7231000 \ oleaut32
    ELF f7231000-f7249000 Deferred wtsapi32<elf>
    \-PE f7240000-f7249000 \ wtsapi32
    ELF f7249000-f728b000 Deferred rsaenh<elf>
    \-PE f7250000-f728b000 \ rsaenh
    ELF f728b000-f72ae000 Deferred iphlpapi<elf>
    \-PE f7290000-f72ae000 \ iphlpapi
    ELF f72ae000-f7368000 Deferred crypt32<elf>
    \-PE f72c0000-f7368000 \ crypt32
    ELF f7368000-f739c000 Deferred ws2_32<elf>
    \-PE f7370000-f739c000 \ ws2_32
    ELF f739c000-f7400000 Deferred dbghelp<elf>
    \-PE f73a0000-f7400000 \ dbghelp
    ELF f7400000-f740d000 Deferred libnss_files.so.2
    ELF f740f000-f7414000 Deferred libdl.so.2
    ELF f7417000-f7420000 Deferred libsm.so.6
    ELF f7425000-f7428000 Deferred libx11-xcb.so.1
    ELF f7428000-f742c000 Deferred libxdamage.so.1
    ELF f742c000-f7440000 Deferred psapi<elf>
    \-PE f7430000-f7440000 \ psapi
    ELF f7440000-f7444000 Deferred libxau.so.6
    ELF f7444000-f75e6000 Deferred libc.so.6
    ELF f75e6000-f7601000 Deferred libpthread.so.0
    ELF f7601000-f7745000 Dwarf libwine.so.1
    ELF f7746000-f7768000 Deferred ld-linux.so.2
    ELF f7768000-f7769000 Deferred [vdso].so
    Threads:
    process tid prio (all id:s are in hex)
    00000008 explorer.exe
    00000009 0
    0000000e services.exe
    0000001e 0
    0000001d 0
    00000015 0
    00000010 0
    0000000f 0
    00000012 winedevice.exe
    00000019 0
    00000014 0
    00000013 0
    0000001a plugplay.exe
    0000001f 0
    0000001c 0
    0000001b 0
    00000022 eve.exe
    00000023 0
    00000024 (D) D:\Eve\bin\ExeFile.exe
    0000002f 0
    0000002e 0
    0000002d 0
    0000002c 0
    0000002b 0
    0000002a 2
    00000029 2
    00000028 2
    00000027 0
    00000026 0
    00000025 0 <==
    I have been looking for a solution for quite a while...
    I think I have all 32 bit and 64 bit libraries and drivers installed.
    By the looks of it something in  r600_dri.so breaks, but I have no idea how to fix this
    lspci:
    00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
    00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18)
    00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
    00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
    00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
    00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
    00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
    00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
    00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
    00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
    00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
    00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
    02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Madison [Radeon HD 5000M Series]
    02:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Redwood HDMI Audio [Radeon HD 5000 Series]
    03:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v1.0 Gigabit Ethernet (rev c0)
    05:00.0 Network controller: Broadcom Corporation BCM43225 802.11b/g/n (rev 01)
    ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
    ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
    ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
    ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
    ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
    ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
    Does anyone have an idea ?
    *if you need any additional output just ask and I will be happy to provide it.
    Last edited by sidra (2012-03-14 11:36:41)

    bump ...  nobody has anything helpful to post ?
    Am I trying to do something that is not possible with the open source driver ? start a game in wine 32bit?
    Or maybe the problem is in one of the  libraries ?
    I did mess around with the catalyst before, but the 2d was so bad that I decided not to even try the 3D watching a movie was impossible at a decent fps O.o
    And I do believe that I removed all and re-installed Open Source libraries + drivers properly. Is there a definitive way to check ?

  • [Solved]Need help with backup-manager

    So I'm trying to set up backup-manager to make.. well, backups. Their wiki has been shut down thanks to spammers, and ours has no specific entry for backup-manager, so I will have to do it with its man page and the (well documented) config file. However, I still have some questions. Sorry in advance for the amount of questions and the length of the topic. I just wanted to get this clear in one go.
    First: I want to make a *full* system backup, so that I can restore my system in case of breakage without reinstalling. When I looked at creating backups in the past, I noticed some folders don't necessarily had to be backupped. What folders in / could I skip?
    Second: I chose the tarball backup format. Would it then be safe to comment out all the other variables (for tarbal-incremental/mySQL) backups?
    Third: Now there were some parts of the config file that I didn't understand. I hope you can explain some of those parts to me.
    # Number of days we have to keep an archive (Time To Live)
    export BM_ARCHIVE_TTL="5"
    That means the archive it creates will be removed after 5 days - but what if I copy it to my external hard disk? I don't think it will delete it then, so would it be safe to comment this out - or what will it do if I just keep it this way?
    # At which frequency will you build your archives?
    # You can choose either "daily" or "hourly".
    # This should match your CRON configuration.
    export BM_ARCHIVE_FREQUENCY="daily"
    I either want to make a backup when I want to, or weekly - not hourly or daily. Is this possible with backup-manager?
    # Do you want to purge only the top-level directory or all
    # directories under BM_REPOSITORY_ROOT?
    export BM_REPOSITORY_RECURSIVEPURGE="false"
    I don't understand that option. Could you explain me what it will do? Info: BM_REPOSITORY_ROOT is set to my home folder. It's the place where the archives are stored.
    # Do you want to replace duplicates by symlinks?
    # (archive-DAY is a duplicate of archive-(DAY - 1) if they
    # are both the same according to MD5 hashes).
    export BM_ARCHIVE_PURGEDUPS="true"
    Will this harm anything in my system?
    # Do you want to dereference the files pointed by symlinks ?
    # enter true or false (true can lead to huge archives, be careful).
    export BM_TARBALL_DUMPSYMLINKS="false"
    This would 'destroy' all symlinks, no? I'm going to keep this at false, but I would like to know.
    Last edited by Unia (2011-08-29 18:19:37)

    Tried to do a selective upgrade & broke something this morning so I tried restoring my CompleteRaid0 backup, worked like a charm.
    This is the latest backup script I'm using:
    #!/bin/sh
    # Little script to tar up the important root folders.
    # To untar, use:
    # tar -xvpzf /path/to/backup/<date>-backup.tar.gz -C </path/to/root>
    echo "Do you want to clear pacman's cache before tarring up the root folder? This will save time in both the tar- and untar process."
    echo -n "(y|N) > "
    read a
    if [[ "$a" = "n" ]] || [[ "$a" = "N" ]] || [[ "$a" = "" ]]; then
    echo "Pacman's cache will not be cleared."
    else
    echo "Pacman's cache will be cleared now, please wait..."
    pacman -Scc --noconfirm
    echo "Pacman's cache succesfully cleared. Continuing now..."
    sleep 2s
    fi
    DATE=`date +%m%d-%H%M%S`
    CB=CompleteRaid0-$DATE.tar.gz
    NB=FreshInstall-$DATE.tar.gz
    echo "********************************************************************************"
    echo "Proceeding with Fresh Install backup $NB."
    echo "********************************************************************************"
    sleep 5
    cd /
    tar -cvpzf $NB --one-file-system \
    /boot \
    --exclude=/$NB \
    --exclude=/dev \
    --exclude=/etc/fstab \
    --exclude=/home \
    --exclude=/lost+found \
    --exclude=/media \
    --exclude=/mnt \
    --exclude=/proc \
    --exclude=/root \
    --exclude=/sys \
    --exclude=/tmp \
    mv $NB /home/chuck/Backups/
    echo "********************************************************************************"
    echo "Sleeping for 10 seconds."
    echo "Proceeding with complete backup $CB."
    echo "********************************************************************************"
    sleep 5
    tar -cvpzf $CB --one-file-system \
    /boot \
    --exclude=/$CB \
    --exclude=/tmp \
    --exclude=/mnt \
    mv $CB /home/chuck/Backups/
    echo "********************************************************************************"
    echo "Backups Complete"
    echo "********************************************************************************"
    sleep 10
    exit 0
    Restored it with this:
    #!/bin/sh
    # To untar, use:
    # tar -xvpzf /path/to/backup/<date>-backup.tar.gz -C </path/to/root>
    tar -xvpzf /home/chuck/Backups/now.tar.gz -C /
    mkdir /proc \
    /lost+found \
    /sys \
    /mnt \
    /media \
    /mnt/bind/Downloads \
    /mnt/bind/Pictures \
    /mnt/bind/Maintenance \
    /mnt/bind/Music \
    /mnt/bind/Backups
    exit 0
    Of course the directories already existed so that part was unnecessary & only needed if I had restored onto a fresh installation.

  • [solved] Need help with resolution on HDTV being used as a monitor

    This is a separate but sorta related problem to my previous post: https://bbs.archlinux.org/viewtopic.php?id=101770
    I have a Sanyo HDTV and I'm using it as my computer Monitor. The desktop now shows up on the screen, but the position of the desktop is wrong. (tool bars are off screen) and the windows are really big.
    The TV manual gives these settings for hooking up a computer:
    1360x768 16:9 refresh 60hz horizontal freq: 47.71 vertical freq: 60
    Thats resolution is not showing up as an option in nvidia x server settings.
    I tried using xrandr to set up the TV's resolution by adding a new mode
    xrandr --newmode "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync
    xrandr --addmode default 1360x768_60.00
    xrandr --output default --mode 1360x768_60.00
    xrandr: Configure crtc 0 failed
    It didn't work so I tried following another tutorial online and added a modeline to my xorg.cong
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder58) Thu Apr 22 20:35:23 PDT 2010
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings: version 1.0 (buildd@yellow) Fri Apr 9 11:51:21 UTC 2010
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
    EndSection
    Section "Files"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Sanyo"
    ModelName "SANYO LCD"
    HorizSync 15.0 - 46.0
    VertRefresh 59.0 - 61.0
    Option "DPMS"
    Modeline "1360x768@60" 84.50 1360 1392 1712 1744 768 783 791 807 -HSync +Vsync
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 9500 GT"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1360x768_60.00"
    EndSubSection
    EndSection
    That did not work either and now I'm a bit lost on what to do to get my desktop to show up properly on the screen.
    In windows 7 I had to use some weird settings to get it to work:
    resolution: 1790x1012
    DPI: 125%
    Should I try using those settings?
    Any help will be greatly appreciated.
    Last edited by Meskarune (2010-08-12 06:47:38)

    I'm having the same exact problem with my HDTV
    Running latest NVIDIA 256.44-2, it keeps defaulting to 1024x768. Sometimes my monitor will display 1260x768 but nvidia-settings still only shows 1024x768 as the highest resolution.
    Did you end up using 1360x768_60 or 1360x768@60?
    Can you post your xorg.conf?
    And what is the command to get your output of:
    1360x768_60.00 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync
    Here is my xorg.conf in case it helps
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings: version 256.44 ([email protected]) Thu Jul 29 01:52:36 PDT 2010
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
    EndSection
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    EndSection
    Section "Module"
    Load "dbe"
    Load "extmod"
    Load "glx"
    Load "record"
    Load "xtrap"
    Load "freetype"
    Disable "dri"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    # HorizSync source: builtin, VertRefresh source: builtin
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "TV-0"
    HorizSync 28.0 - 55.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
    # Modeline "1360x768_60"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 7100 GS"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "TwinViewXineramaInfoOrder" "CRT-0"
    #Option "DynamicTwinView" "false"
    #Option "metamodes" "nvidia-auto-select +0+0"
    SubSection "Display"
    Depth 24
    Modes "1600x1200" "1366x768" "1360x768" "1260x768" "1024x768" "800x600"
    EndSubSection
    EndSection
    Edit: I was able to get my resolution to 1280x768 using the xfree86 modeline generator http://xtiming.sourceforge.net/cgi-bin/xtiming.pl ( i put in 1360 but it defaults to 1280)
    Last edited by ruhtranayr (2010-09-02 21:20:17)

  • [SOLVED] Need Help With Internet On a Fresh Install

    Greetings-
    Can't connect to the internet on a fresh install guys. I've tried just about everything on the network configuration page...
    "lspci -v" returns:
    Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
    "dmesg | grep e1000e" returns:
    e1000e eth0:  Intel(R) PRO/1000 Network Controller
    So the module is e1000e on eth0
    I try loading the module with "modprobe e1000e"
    ...Still nothing
    dhcpcd eth0 not working either. That's about all I can think of.
    Oh, and last command I ran was "ip addr | sed '/^[0-9]/!d;s/: <.*$//'" which returned "1: lo"
    Any questions feel free to ask.
    Last edited by w201 (2013-01-25 05:00:56)

    A little elaboration on the above:
    A recent change in systemd means that during the boot process it will rename your ethernet device.  Doing "systemctl enable dhcpcd@anything" is hard-coded at this time to be "eth0" no matter what you put after the "@".  So, your dhcp client will not obtain an address.  However, if you omit the "@" the dhcp client will bind to available interfaces - which is what you want if all you have is a single wired connection and don't need esoteric configuration.
    The alternative is to set up a network rule:
    https://wiki.archlinux.org/index.php/Re … interfaces
    Providing the MAC address of your interface and the name you would like it to be.  Most likely "eth0" to bind to the above hard-coded systemd service enabler.

  • [Solved] Need help with Gnash

    Seeing as how Gnash 0.8.8 was released and they are saying all youtube videos work on their project page, I figured I would dump Flash 10.0.x for that.  So after installing the gnash-common package nether Chromium or Seamonkey lists the Gnash plugin in their "about:plugins" page.  Is there anything special I need to do in order to get it to work?
    Last edited by vendion (2010-08-25 14:22:11)

    Cdh wrote:
    wonder wrote:the sad thing is that VAAPI support doesn't work at all. ( echo "set hwaccel vaapi" >> /etc/gnashrc )
    For me it did work, kind of. Did you compile it with the options? http://www.reddit.com/r/linux/comments/d47j2/
    360p and 720p were fine with vaapi but not as smooth as it could have been. CPU usage is also 100% but at least the video runs WAY better than without vaapi.
    480p is broken with vaapi like the reddit link states.
    1080p has like 1 fps with or without vaapi.
    Also the youtube player is not fully functional. You can't use the "make it bigger" - button and the progress bar is not really working.
    I'll stay with flash for now.
    edit: If you want firefox to use gnash INSTEAD of flashplugin, then it's easiest to just pacman -R flashplugin.
    Given the problems with Gnash it is still better than flash considering I'm on a 64 bit machine and therefore stuck with flash 10.0.x, I would prefer something that has problems but gets updates over something that has security issues and won't be fixed.  (Same reason I switched to Linux from windows years ago )
    As for the "make it bigger" button as long as full screen works, just tested and it does, then I think I can live
    Last edited by vendion (2010-08-25 14:17:21)

  • [SOLVED] Need help with simple a script.

    Hello, Iam searching for a small script that sorts my folders in alphabetical order.
    I want the script to create folder from A to Z and then move every folder that begins with A into the A folder etc etc..
    I really hope anyone understands what im searching for here.
    Last edited by nikihr (2009-09-01 20:25:33)

    scragar wrote:
    brisbin33 wrote:
    be careful, mv $I* will pick up your freshly created directory too;
    i'd `mkdir ./sorted/$I` instead, then `mv ./sorted/* ./ && rm -r ./sorted` at the end.
    you could also use
    find ./ -maxdepth 1 -iname "$I*" -exec mv {} ./sorted/ \;
    to do the actual move*
    *note: untested .
    While my `mv` code will throw an error the error will not stop the moving of the files, you'll just get 26 messages about being unable to move the directory to itself. I could probably find a way to avoid this that doesn't require the use of find(which I personally dislike) or a second dir, probably just using a file prefix like "_" or something. It would only be a small edit:
    #!/bin/bash
    for I in {a..z}; do
    echo "Moving $I";
    mkdir "_$I";
    echo "mv $I* \"$(echo $I | tr [:lower:] [:upper:])\"* _$I/";
    # mv $I* "$(echo $I | tr [:lower:] [:upper:])"* "_$I/";
    mv "_$I" $I
    done
    well, i have to politely disagree:  one, invoking find once is much better IMHO than mv with tr in a subshell.  and two, my ./sorted/ idea adds one additional mv command and one additional rm command where you're _$I suggestion added 26 additional mv commands....  just sayin'
    but we could also paint the bikeshed blue. .
    anyways, i think the OP's got more than he bargained for, hopefully we'll see a [SOLVED] on this one soon.

Maybe you are looking for

  • IMac g4 1.25mhz monitor problem

    I have an iMac G4 1.25mhz. The power supply died. I replaced it, and the boot tone plays, but the monitor is black. No power light on monitor either. Help!

  • Oracle E-Business Suite R12: E-Business Essentials(1Z0-204) still beta?

    Hi Guyz Well i want to know if the exam "Oracle E-Business Suite R12: E-Business Essentials(1Z0-204)" still beta? currently i am thinking to start certification on oracle Apps. But i think R12 is still beta? 11i certification still available. So its

  • Bill to party

    Hi Friends, In which table i can get the ship to party and bill to party addresses?..how can i distinguish between ship-to-party and bill-to-party? becz..there may be same numbers and different addresses..i there must be some key.. if so where cani f

  • I am trying to download free apps for my mac and it is disabled? Help!

    I am trying to download free apps onto my macbook air. IT is telling me my install has been disabled. Can you tell me why?

  • Is there an app that allows me to print canadian coupons?

    I Bought a wireless printer, and can print emails and such, but when I try to print coupons, it tells me I need Java. I know of the coupon.com app, but doesn't work for me. Help!  Getting fustraited!