A bit of fun: Alias+

I use the console a lot. To remedy the tedium of remembering and typing long commands, 'alias' as an excellent tool. Unfortunately, and for good reason, shortcuts defined with 'alias' are not user-persistent. The usual solution is for users to maintain their own set of aliases in their .bashrc configuration. I think there's a better way.
Alias+ is a (very) simple bash script (two functions, in fact), that lives inside your .bashrc config, and maintains such a list for you.
== Key Features ==
- It's absolutely tiny, and is pure bash
- It's not fussy: It can live happily with whatever else you put in your .bashrc
- It's clean: It keeps track of its own entries with a tag at the end of each line
== Usage ==
There are three commands:
  alias+, with no arguments, prints a usage guide and a list of active aliases
  alias+, with two arguments, adds a new alias
  alias-, with one argument, deletes the named alias
The first command also reloads aliases from the file. This is useful when you have more than one terminal open, and would like to propagate a new entry to other terminals.
== Installation ==
Step 1) Copy the alias+ script into your .bashrc file: (It ain't pretty, but it's compact)
alias+() {
if [ $# -eq 2 ]; then
echo "alias $1=\"$2\" #alias+" >> ~/.bashrc;
source ~/.bashrc;
else
source ~/.bashrc;
echo ""; echo "alias+: list shortcuts"; echo "alias+ x y: add shortcut"; echo "alias- x: delete a shortcut"; echo "";
grep "^alias " ~/.bashrc | grep "#alias+$" | sed "s/^alias /\x1B[1m/g;s/=\"/\x1B[0m => /g;s/\" #alias+$//g"; echo "";
fi
alias-() {
(cat ~/.bashrc | grep -v "^alias $1=") > ~/.bashrc.NEW;
mv ~/.bashrc.NEW ~/.bashrc;
unalias $1;
alias untar="tar -xf" #alias+
Step 2) Load the new config into any open terminals:
$ source ~/.bashrc
Step 3) Test it by running:
$ alias+
You should see a usage guide, and the included 'untar' alias.
You can give alias+ control of any existing aliases by adding ' #alias+' to the end of their respective lines.
Last edited by ryansuchocki (2012-10-28 15:54:20)

Nice.  I'll now use a variation of this as a compliment to my 'realias' bash function (keeping my user's aliases in a separate file).
realias ()
unalias -a
$EDITOR ~/.bash_aliases
. ~/.bash_aliases
Aside: @ryansuchocki, it is easier to read scripts and code if you enclose the code segments with the BBCode tags '[⁣code]' and '[/⁣code]' – https://wiki.archlinux.org/index.php/Fo … s_and_Code.  You are able to edit your original post to add the tags.

Similar Messages

  • A bit of fun w/ a spare MDD - Question re: fan power & grills

    Since I purchased the second MDD and now have a spare case, I figure I have a nice safety net for playing with my first case modding (well unless you count painting the inside of an eMate...). Having just had our love for Tron reignited, I want something lit but streamlined looking.
    One of the things I want to do is replace the front speaker above the optical drive with an LED Fan. I've seen the Unreal mod from years back that does this, but there are no specs included. Should I connect it to the motherboard via 2 pins or to the hard drive power cable via 3/4 pin adapter?
    I was thinking I'd like to keep the fan opening petite at 60mm, but I haven't had much luck finding grill designs at that size (other than mudflap girls and batman logos). Does anyone know of a source where I can get one-off designs machined at reasonable rates online? I'd like to stick with polished metal and can only imagine what my own attempts to shape one would come out looking like.
    I also plan to replace the PSU fans and perhaps the fan over the CPU, but those have plenty of relatively clear tutorials all over.
    For the case, I haven't planned out anything too far yet. Maybe paint, maybe just dremel work and internal lighting. I think I saw templates somewhere for the case, so I'll doodle on those for a bit. Having a spare case means I can take my time, without depriving my husband of a working station.

    Should I connect it to the motherboard via 2 pins or to the hard drive power cable via 3/4 pin adapter?
    Safest would be the 4 pin Molex.
    Clear case mod...
    http://www.resourcefork.com/archive/WWWserver/techinfo/MDD_Case-Mod1/index.shtml
    MDD G4 "Glow" Mod...
    http://www.xlr8yourmac.com/systems/g4mirrored_drive_doors/MDD_Glowmod.html
    No good idea where to have a grille made, but...
    http://www.directron.com/60mmfangrill.html

  • Just for fun:  Can you guess how I did this?

    A few months ago a thread here discussed different way to stroke 3D objects in After Effects.  There were lots of clever suggestions.
    I made a TV spot last week that uses growing 3D ribbons to spell out the 2012 in the product title.  There are straight planes and curves within the ribbon paths, and lighting and shadows were required to match the original album art it replicates.  I needed to get the job done quickly and didn't have time to use a 3D application, so I used (what I think) was a rather innovative approach.
    So, for a bit of fun, can you pick how I did this?  The project is created entirely in AE, in one composition. 
    Apologies for the heavy compression in the video.

    Thanks Todd!
    My first attempt was exactly Rick's, using stacked solids with Stroke applied.  I gave up on it because, once shadows were applied, the "ribbons" seemed to develop a mottled texture, presumeably because each layer in the stack casts a shadow on the layer behind it.  Using Rick's design above, here's an example:
    So in the end, I used text layers!  Each ribbon is simply a long string of Helvetica "I" characters, with their kerning pulled back so all the characters touch.  Convert to per-character 3D, rotate X axis 90 degrees, and apply mask as text path.  Then I use a simple Text Animator on opacity to draw the lines on or off. 
    The great advantage of this is no cumbersome stack of layers.  Each colour is one layer, so there's just five layers in my comp for each object. The "20" is one object, then the "1", then the "2" - 15 layers in all for the whole thing.  Changing colours is as easy as changing a single text layer.
    A total render hog, all the same:  it took 11 hours to render the 15 second spot, on an 8 core Mac Pro with 16GB of RAM.  But in 3D Draft mode the comp was surprisingly easy to work with.  It's just the lighting and shadows that slow things down.
    Anyways, perhaps this may inspire someone else to do something interesting with text layers. 

  • Fun new Yoga video - The Pursuit

    Saw this today for the first time... I had missed the internal early screening and was intrigued to hear that it had been directed by Martin Campbell, known for his work on  Bond films "Golden Eye" and "Casino Royale".
    Nice to see we are having a bit of fun with the products...
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

    Like it!
    Thanks for posting, Mark.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Community Resources: Participation Rules • Images in posts • Search (Advanced) • Private Messaging
    PM requests for individual support are not answered. If a post solves your issue, please mark it so.
    X1C3 Helix X220 X301 X200T T61p T60p Y3P • T520 T420 T510 T400 R400 T61 Y2P Y13
    I am not a Lenovo employee.

  • URxvt tries to randomly print

    While in a urxvt shell, urxvt tries to run lpr. No idea why... Other than it is really annoying because it gets a bit trigger happy and does it one after another in succession.
    b15hop@Enterprize_D $ cat ~/.Xdefaults
    rclock*background: #000126
    rclock*foreground: #00ff00
    ! Rxvt colors and fonts (xterm replacement without graphics window)
    urxvt.depth: 32
    urxvt.background: rgba:0000/0100/2700/aaaa
    urxvt.inheritPixmap: True
    urxvt.transparent: True
    urxvt.fading: 20 !fade away 20% when unfocused.
    urxvt.reverseVideo: false
    urxvt.urlLauncher: firefox
    !urxvt.perl-ext-common: mark-urls
    !urxvt.tintColor: blue
    urxvt.shading: 10
    urxvt.scrollTtyKeypress: True
    !urxvt.termName: urxvt
    urxvt.internalBorder: 2
    urxvt.print-pipe: echo "echoing print"
    ! urxvt.backspacekey: "^H"
    Rxvt*background: #000126
    Rxvt*foreground: grey
    Rxvt*colorBD: #00ffff
    Rxvt*colorUL: #ffff00
    Rxvt*color0: #000000
    Rxvt*color1: #8b0000
    Rxvt*color2: #00ff00
    Rxvt*color3: #ffa500
    Rxvt*color4: #0044ff
    Rxvt*color5: #a020f0
    Rxvt*color6: #008b8b
    Rxvt*color7: #ccccdd
    Rxvt*color8: #5e5e64
    Rxvt*color9: #0000cc
    Rxvt*color10: #00ff00
    Rxvt*color11: #ffff00
    Rxvt*color12: #0055ff
    Rxvt*color13: #ff00ff
    Rxvt*color14: #00ffff
    Rxvt*color15: #ffffff
    Rxvt*scrollColor: #607090
    Rxvt*troughColor: #607090
    Rxvt*font: 9x15
    Rxvt*font4: 12x24
    Rxvt*pixmap: /apps/wm/common/backgrounds/water.xpm
    Rxvt*backgroundPixmap: water.xpm
    Rxvt*mapAlert: True
    Rxvt*saveLines: 8000
    Rxvt*termName: vt100
    Rxvt*scrollBar: False
    Rxvt*scrollBar_right: True
    Rxvt*geometry: 141x65+0+30
    ! Rxvt also reads some the XTerm* resources below...
    ! XTerm fonts and colors
    XTerm.VT100.font: -misc-fixed-medium-r-*-*-*-200-*-*-*-*-*-*
    !!XTerm.VT100.font: terminal8x15
    !XTerm.VT100.font1: terminal6x9
    !!XTerm.VT100.font2: terminal6x10
    !!XTerm.VT100.font3: terminal7x13
    !!XTerm.VT100.font4: terminal8x15
    !!XTerm.VT100.font5: terminal9x16
    !XTerm.VT100.font6: terminal9x16
    !!XTerm.VT100.boldFont: terminalB8x15
    XTerm.VT100.loginShell: true
    XTerm.VT100.scrollBar: true
    XTerm.VT100.charClass: 33:48,37:48,45-47:48,64:48
    XTerm.VT100.geometry: 80x24
    XTerm.VT100.internalBorder: 4
    XTerm*saveLines: 10000
    XTerm*scrollbar.foreground: #bbbbbbbbc8c8
    XTerm*scrollbar.background: #5e5e5e5e6464
    XTerm*background: #000011115e5e
    XTerm*foreground: #ffffffffffff
    XTerm*cursorColor: #0000ffffffff
    XTerm*pointerColor: #0000ffffffff
    XTerm*pointerColorBackground: #00008b8b8b8b
    ! xdvi
    XDvi*background: #ffffffffffff
    ! plan
    plan*background: #a1a1a1a1b2b2
    plan*colStd: #111111112222
    plan*colBack: #bbbbbbbbcccc
    plan*colCalBack: #e5e5e5e5f6f6
    plan*colCalShade: #ccccccccdddd
    plan*colCalAct: #ffffffff0000
    plan*colCalToday: #0000ffffffff
    plan*colCalFrame: #e5e5e5e5f6f6
    plan*colGrid: #444444445555
    plan*colWeekday: #000000000000
    plan*colWeekend: #8b8b00000000
    plan*colNote: #00002222bbbb
    plan*colNoteOff: #47474747ffff
    plan*colToggle: #0000ffff0000
    plan*colRed: #ffff00000000
    plan*colTextBack: #cccc99996666
    plan*colYearBack: #e5e5e5e5f6f6
    plan*colYearBoxBack: #d4d4d4d4e5e5
    plan*colYearNumber: #000000000000
    plan*colYearWeekday: #222222223333
    plan*colYearMonth: #00008b8b8b8b
    plan*colYearTitle: #00008b8b8b8b
    plan*colYearGrid: #444444445555
    plan*colHolidayBlack: #000000000000
    plan*colHolidayRed: #ffff00000000
    plan*colHolidayGreen: #0000ffff0000
    plan*colHolidayYellow: #ffffffff0000
    plan*colHolidayBlue: #00000000ffff
    plan*colHolidayMagenta: #ffff0000ffff
    plan*colHolidayCyan: #0000ffffffff
    plan*colHolidayWhite: #ffffffffffff
    plan*colWeekBack: #e5e5e5e5f6f6
    plan*colWeekBoxback: #ccccccccdddd
    plan*colWeekTitle: #222222223333
    plan*colWeekGrid: #666666667777
    plan*colWeekDay: #00008b8b8b8b
    plan*colWeekNote: #222222223333
    plan*colWeekFrame: #222222223333
    plan*colWeekWarn: #888888889999
    plan*colWeekUser_0: #47474747ffff
    plan*colWeekUser_1: #ffffa5a50000
    plan*colWeekUser_2: #00008b8b8b8b
    plan*colWeekUser_3: #a0a02020f0f0
    plan*colWeekUser_4: #ffffffff0000
    plan*colWeekUser_5: #0000ffffffff
    plan*colWeekUser_6: #cccc99996666
    plan*colWeekUser_7: #9090eeee9090
    plan*menubar*fontList: -*-helvetica-bold-*-normal-*-14-*
    plan*fontList: -*-helvetica-*-r-normal-*-14-*
    plan*helpFont: -*-helvetica-medium-r-normal-*-14-*
    plan*calNumberFont: -*-helvetica-*-r-*-*-34-*
    plan*calNumberFontSm: -*-helvetica-*-r-*-*-14-*
    plan*calNoteFont: -*-helvetica-*-r-*-*-12-*
    plan*yearTitleFont: -*-helvetica-*-r-*-*-34-*
    plan*yearMonthFont: -*-helvetica-*-o-*-*-17-*
    plan*yearWeekdayFont: -*-helvetica-*-o-*-*-12-*
    plan*yearNumberFont: -*-helvetica-*-r-*-*-12-*
    plan*weekTitleFont: -*-helvetica-*-r-*-*-18-*
    plan*weekDayFont: -*-helvetica-*-o-*-*-14-*
    plan*weekHourFont: -*-helvetica-*-r-*-*-14-*
    plan*weekNoteFont: -*-helvetica-*-r-*-*-14-*
    plan*calBoxWidth: 100
    plan*calBoxHeight: 80
    plan*calBoxMargin: 20
    plan*calArrowWidth: 10
    plan*calBoxWidthSm: 40
    plan*calBoxHeightSm: 34
    plan*calBoxMarginSm: 10
    plan*calArrowWidthSm: 6
    plan*calBoxTitle: 25
    plan*noIcon: False
    plan*showIconTime: True
    plan*frameToday: False
    plan*yearMargin: 20
    plan*yearGap: 20
    plan*yearTitle: 30
    plan*yearBoxWidth: 30
    plan*yearBoxHeight: 24
    plan*weekMargin: 16
    plan*weekGap: 6
    plan*weekDayWidth: 80
    plan*weekHourWidth: 50
    plan*weekBarHeight: 20
    plan*weekBarGap: 3
    plan*weekMaxNote: 200
    ! X Clock
    #xclock*width: 390
    xclock*height: 30
    #xclock*face: Nasalization-20
    #xclock*face: Space age-20
    #xclock*face: Bionic Type Light-22
    xclock*face: consolas-18
    xclock*analog: False
    xclock*foreground: #00AA11
    xclock*background: black
    xclock*update: 1
    #xclock*padding: 1
    b15hop@Enterprize_D $ cat ~/.bashrc
    # Check for an interactive session
    [ -z "$PS1" ] && return
    alias ls='ls --color=auto -1'
    alias l='ls --group-directories-first'
    alias lh='l -lh'
    alias s='l -a'
    alias si='s -S'
    alias c4='chmod 400'
    alias c6='chmod 600'
    alias c7='chmod 700'
    alias c1='chmod 100'
    alias mkdir='mkdir -m700'
    alias xpdf='xpdf -fullscreen -cont'
    alias Date='/bin/date +"%n %A, Day%_d of %B, %Y%n%n%l:%M%P (%k%M hours)%n"'
    alias Fortune='fortune 50% linux startrek'
    bash_prompt_command() {
    # How many characters of the $PWD should be kept
    local pwdmaxlen=25
    # Indicate that there has been dir truncation
    local trunc_symbol=".."
    local dir=${PWD##*/}
    pwdmaxlen=$(( ( pwdmaxlen < ${#dir} ) ? ${#dir} : pwdmaxlen ))
    NEW_PWD=${PWD/#$HOME/\~}
    local pwdoffset=$(( ${#NEW_PWD} - pwdmaxlen ))
    if [ ${pwdoffset} -gt "0" ]
    then
    NEW_PWD=${NEW_PWD:$pwdoffset:$pwdmaxlen}
    NEW_PWD=${trunc_symbol}/${NEW_PWD#*/}
    fi
    bash_prompt() {
    local TITLEBAR='\[\033]0;\@ ${PWD}\007\]'
    local NONE="\[\033[0m\]" # unsets color to term's fg color
    # regular colors
    local K="\[\033[0;30m\]" # black
    local R="\[\033[0;31m\]" # red
    local G="\[\033[0;32m\]" # green
    local Y="\[\033[0;33m\]" # yellow
    local B="\[\033[0;34m\]" # blue
    local M="\[\033[0;35m\]" # magenta
    local C="\[\033[0;36m\]" # cyan
    local W="\[\033[0;37m\]" # white
    # empahsized (bolded) colors
    local EMK="\[\033[1;30m\]"
    local EMR="\[\033[1;31m\]"
    local EMG="\[\033[1;32m\]"
    local EMY="\[\033[1;33m\]"
    local EMB="\[\033[1;34m\]"
    local EMM="\[\033[1;35m\]"
    local EMC="\[\033[1;36m\]"
    local EMW="\[\033[1;37m\]"
    # background colors
    local BGK="\[\033[40m\]"
    local BGR="\[\033[41m\]"
    local BGG="\[\033[42m\]"
    local BGY="\[\033[43m\]"
    local BGB="\[\033[44m\]"
    local BGM="\[\033[45m\]"
    local BGC="\[\033[46m\]"
    local BGW="\[\033[47m\]"
    # Is this a User or Root ?
    local UC=$EMG # user's color
    [ $UID -eq "0" ] && UC=$R # root's color
    PS1="${EMG}\u${EMK}@${W}\h \\$ ${NONE}"
    if [ -x /usr/bin/fortune ]; then
    echo
    /usr/bin/fortune 50% linux startrek # makes our day a bit more fun.... :-)
    /bin/date +"%n %A, Day %d of %B, %Y%n%n%l:%M%P (%k%M hours)%n"
    fi
    bash_prompt
    unset bash_prompt
    As you can see in my .Xdefaults I've disabled it by putting in:
    urxvt.print-pipe:        echo "echoing print"
    Any help would be appreciated.

    It seems like you will have to manually enter the Default Gateway for your network into the printer. Use the printers' IP address to log into it's embedded web page. Now click on Networking at the top, then 802.11 Wireless on the left, and then Advanced. You should be able to enter the IP Address, Subnet Mask, Default Gateway, Primary and Alternate DNS server addresses here. You can get all the addresses for Subnet Mask and DG using the 'ipconfig' command in a Command Prompt window.
    Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"
    I am an ex-HP Employee.

  • I don't understand why Symbian has been killed off...

    I recently posted my impressions of the 808 http://forums.guru3d.com/showthread.php?t=374416 and it has it's problems which means I will not be keeping the phone for very long. However if Nokia continued with Symbian which has far more potential than Windows Phone I'd have been happy with it and would have stuck with the phone knowing there will be more updates. 
    Now I've never used Symbian before, unless the 3310 run it, though that was a vastly different experience that you cannot compare. I decided just to give it a chance as the 808 was mega cheap on ebay and I thought what the hell, my upgrade comes in April and I can sell it then if I don't like it. I broke my phone so I needed to buy a new one and it's a bit of fun trying something other than Android or IOS for once. 
    I have to say now I'm not a fan of Windows Phone and IOS being closed systems, I think you can remain open like Android while offering a great selection of apps on the store. Developers really need to get over piracy, especially platform owners and the makers of Operating Systems. I feel like there is this trend to go towards a closed OS as an easy way to combat that, rather than offering a great open experience but having a service worth paying for over piracy. For example Steam has really defeated Piracy on the PC, people still do it, they always will and it isn't always a bad thing anyways. A lot of the time people will torrent stuff and then later buy it on Steam when they know it is a product they like. If that person goes on to tell other people about it then it creates more sales. 
    From what I've read Symbian has this bad image of piracy but I really think that is due to a lackluster service on Nokia's end more than anything. The store needs a lot of work, while it is functioning, it does need a bit of a UI tweak which obviously wont be happening. I also feel like you have to get your apps elsewhere to test them first as there is no protection from Nokia like you get with Android where you can get a refund within a certain time in case the app doesn't work. I've bought a few apps now which just plain don't work and it has put me off buying anything else.
    Back to the topic though, I've never used Symbian before or had a Nokia since the 3310 and I'm really surprised at how good it is. I said in that thread it feels like a mix between IOS and Android and it even has good functionality of it's own. Belle FP2 is either a massive step up far too late or Symbian has gotten a lot of hate for no reason, I don't know as It's the only version I've used. The core functionality is good, it is fast, it doesn't drain much battery and it does everything the other platforms do. Yeah it looks a bit drab but it's so easy to just change the theme unlike IOS and while you can do it on Android it isn't anywhere near as easy as Symbian. I really Respect Nokia for a lot of things with Symbian and while I said the store needs work, it does function. I feel like it probably lacks a lot of options like more categories due to the lack of apps on it. 
    I've only really got two problems with Symbian and that is the stock browser is bad, which wouldn't be a problem if Nokia was continuing development of Symbian because they could easily fix it in the future. I have switched to Opera which fixes most of those issues, though I do wish Symbian supported Flash 11 because of my next point. The second issue is lack of apps, really this is what has lead me to selling the phone come my upgrade in April. You cannot do much on the phone compared to the others because of the lack of apps, if there was Flash 11 it would be less of an issue, however not being able to watch stuff like ITV Player or TVcatchup is a big downer. The lack of games is also another depressing thing and really the lack of development on Symbian is depressing. 
    From what I've seen of Belle FP2, Symbian is a great starting point for Nokia's Smart Phone future, sadly it looks like it has come too late and they've always ditched it for Windows Phone, which I think is a shame. The other biggest issue Nokia had is they never really made good hardware compared to the rest in the past. They've just started making competitive Smart Phone hardware just as they killed off Symbian. If the Lumia 920 came in 2010 for example I feel like more people would have taken notice of Symbian, sadly it came to Windows Phone and not Symbian. Sadly like I said it looks like it took too long for Symbian to get good... though I'm only guessing on that as I've never used it before Belle FP2. 
    I do like it though and really wish'd Nokia stuck with it.

    See I don't think Symbian is the problem, Belle is really nice and what Nokia have done is make it function like IOS and Android. I've used both in the past, I left IOS because I found it too restrictive and used Android ever since. Making the jump to Symbian Belle, it's pretty much the same experience but with no apps, though the core Belle experience feels more refined than Android. It probably just came too late for Nokia....
    I also think Nokia hasn't made a Smart Phone to get excited for until the 920. Everything else they made was sub par, poor specs, poor screen and just very clunky and I'm guessing from reviews, Symbian wasn't good before Belle. Like I said though if they released the 920 last year on Symbian Belle instead of Windows Phone 8, I think Symbian could have survived. Really all Belle needed was the hardware and it just never got it, the 808 is great for a camera but the hardware isn't mainstream like the 920 is. 
    I just find it weird how Nokia handled the whole situation, it took years for them to get going and once they did they retired Symbian and never released it on a relevant Smart Phone to give it a chance.
    The 808 has opened my eyes to Nokia Hardware though, it is good and well made. I'll wait to see if they release a refreshed 808 with better specs and screen this year before I upgrade as I've just seen rumours about it. I'm just not convinced about Microsoft making good on Windows Phone, I don't like the experience it currently offers and Microsoft have never delivered on anything worth while in the past apart from Windows 7. If I look at all their software, I don't remember any of it being good and now with Windows Phone being a closed experience, you're stuck with Microsoft's software. 
    I just think it is a shame, I really like Belle, it just needs apps and Nokia to revive development for it. 

  • Snow Leopard, PHP, MySQL, Apache and Wordpress!

    Hi there,
    It's taken me most of the day to work this out, so I thought I should post about it somewhere and here, on the Apple forum, is the ideal location.
    I'm a web developer and love the fact that my MacBook works out of the box with a Unix webserver and with little effort, I was able to set up PHP and MySQL on it. I was delighted to hear that the new Snow Leopard was shipping with the latest and greatest of both. It wasn't quite that easy when it came down to running my test sites, one of which I'm working on is a Wordpress site. Far from being daunting, the solutions to the problems I had were quite simple. The issues arose from the OS not having much exposure yet and not many people having posted their experiences on the web. It was just time consuming.
    I should mention at this point that this does require some tinkering with Terminal, but not so much as to cause damage if you do something wrong.
    First off Apache. Thankfully this is as stable as it always has been. All this requires to activate it is to visit System Preferences > Sharing and switch on Web sharing. Bish-bosh, job done.
    Next off PHP. If you open a Safari window and run your phpinfo.php file (where ever you have it saved. If you don't, they're out there, it's a tiny piece of code which you can use to find out your current php setup). You'll find that everything is superb! PHP 5.3! Excellent! Hang on, scroll down to the date and time section. Whoa! What's this big fat warning here.
    That warning my friend, has been the bane of my misery all day. Wordpress hates it. HATES IT! It causes no end of grief. So what's the multi step, multi program solution?
    Open your php.ini file and add the line:
    date.timezone=Country/City
    (do a Google search for PHP Timezones and you will get the exact settings. It's not so good that it understands every city in the world. My setting was Europe/Dublin).
    That's all. This will solve your issue of the timezone error everywhere. Stop and start Apache (System Preferences > Sharing, tick off and tick back on Web Sharing) and hey presto, error is gone.
    Wait a minute, where the **** is my php.ini file. Unfortunately this is where you have to get your hands dirty. Your php.ini file is a system file which resides in the /etc/ folder. Open a terminal window and type exactly the following:
    cd /etc/
    cp php.ini.default php.ini
    This makes the php.ini file from the default. This protects the original so if you ever need to create a new copy or if you make a mistake in the next steps, you can start again.
    Next I'm going to tell you how to edit this file. This uses a program called vi (there are GUI editors out there that will save you this heartache, so if anyone knows any, please post in response. I think TextWrangler is one).
    First you need to set the php.ini file so you can edit it. Type in exactly as follows:
    sudo chmod 777 php.ini
    Sudo is the superuser commmand. It may not be needed, but stick it in anyway. If you are asked for a password, put in your normal password (that you would be asked for say if you were installing something you downloaded).
    At the next prompt, type in:
    vi php.ini
    This will open the php.ini file. Using the up and down keys, find a blank line in the file. You will notice that alot of the lines start with ';'. These are commented lines. Once you find a blank line, press 'i' to insert text. Your screen will now say '-- INSERT --' at the bottom in red. Type the following in exactly (you will NOT be able to cut and paste):
    ; Set PHP Default Timezone
    date.timezone=Europe/Dublin
    Substitute "Europ/Dublin" with your own timezone. When you are done, press escape. Now type in the following:
    :wq!
    The colon is important (not a typo on my part) as this tells vi you are going to run a command. You should now be back at your prompt. Now you need to reset the permissions on the file. Type the following:
    sudo chmod 444 php.ini
    And that's it. That's your PHP setup and finished. If you run your phpinfo.php file now, you should see your timezone under the date and time where you were getting the error before.
    Now the MySQL. This is a bit of fun because, even though MySQL ships with the system, it's not exactly set up correctly! So once again into terminal.
    This time go to the local directory:
    cd /usr/local/
    If you type in:
    ls -al
    You'll get a directory listing. This has the MySQL folder listed as mysql-5.0.77-osx10.5-x86 (or something! I did that from memory!). This IS the MySQL folder but if you, like me, had previously set the MySQL Preference Pane in your System Preferences, then it won't be able to access this. Type the following command:
    sudo cp -R /usr/local/mysql* /usr/local/mysql
    This should copy everything into a folder called mysql. It takes a couple of seconds (first time on my machine it was a good 20 seconds) to run so be patient. Now you need to do the following:
    sudo chown mysql:mysql /usr/local/mysql
    This sets the owner and group of the mysql files to 'mysql'. If you go back to your MySQL preference pane in System Preferences, you should now be able to start it (something weird about it makes it require to close and reopen the System Preferences window before it can open the MySQL pref pane. This is normal, just click ok).
    The bit that got me here, is that I thought that my activation of the MySQL was actually a new install. I tried everything to change the root user and password for MySQL but in fact, if you had it installed on Leopard, prior to upgrading to Snow Leopard, all your users and passwords are the same. If you HAVEN'T installed it before, I recommend you read the Post Installation Customisation (section 2.3) on the manual for MySQL 5.1 on http://www.mysql.com
    So that's about it. All that remains is to test Wordpress. I have phpmyadmin installed (I've heard CocoaMySQL is very good, like iTunes for db's so I'm gonna check that out later) and was able to create the new wordpress database. I changed the settings in the wp-configure.php file to match my setup but nothing worked. I changed the host from '127.0.0.1' back to 'localhost' (a common complaint of the wordpress setup) but no joy. Then I changed the host back to '127.0.0.1' and added the port :3306 (so the full host is '127.0.0.1:3306') and bingo, the install worked, my database setup and my test site worked.
    So that's it! Many of you out there will say, why didn't you just use MAMP. I did use MAMP, but I also got the Timezone issues and it took far more tinkering and hacking to make it work. I decided that, as my lovely MacBook now running lovely Snow Leopard had the lovely newest versions of PHP and MySQL installed, I'd rather get them working than use a runaround with MAMP. I'm a happier camper for it.
    I hope this helps some of you out there. I don't personally have a blog yet, but when I do, I'll post this up there for all to access. I may even add screen shots!!! But seriously, I hope this helps you all out with your installs. It's so handy to have all this stuff straightaway with Snow Leopard, it's just a matter of getting it to work.
    All the best now,
    T

    Hmmmm... I did a clean drive install of Snow Leopard because I used to do it once a year with Windows and hadn't done it in 3 with my MBP.
    First, my httpd.conf file had the line enabling PHP commented out, so when I went to see my simple file with phpinfo(), I saw the source. Saw your post, thought it was the timezone, fixed that (which will probably make wordpress happy when I get it running), and it still didn't work. Looked at the httpd.conf file, found that PHP was disabled by default, fixed that line, restarted the server, and my phpinfo() worked like a charm.
    Also if you want to edit config files, I use TextWrangler's "open hidden files" option.
    But... I have no /usr/local directory at all. Doesn't exist on my machine. Checked the options in the base install and MySQL isn't offered as an option. Checked the optional installs and MySQL isn't there. Even letting spotlight search for hidden files, the only files with MySQL in their name were from php scripts in my web folders.
    There's some stuff about installing/compiling from source.
    http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/
    Dunno if I want to go down that road quite yet.

  • AirPlay confused

    Can I set up 2 apple tv on the same network and iTunes account, and choose which apple tv I want to AirPlay to from my iPod 4g? or does only one apple tv,  show up on the AirPlay list when you hit the AirPlay button ?  
           I have one apple tv In my livingroom,  and want to set up a second in our kids room so they can AirPlay on their tv from their iPods . 
         So can I AirPlay on my apple tv in the livingroom.  Then the kids choose their apple tv in the bedroom to AirPlay to? All iPods on the same network and iTunes 

    Yes you can do that, if both Apple TV's are connected to the same network, they will both show up as an option in the AirPlay options on the iOS devices you have. You might have a bit of fun to begin with when the kids realise they can send content to either TV, but hopefully you can train them not to do that.

  • EA6500 First Day Impressions & Advise.

    My first impressions of the EA6500 are a little rocky, anyone who doesn't know router settings like I do or knows their way around web-based browsers probably won't be able to even get online, yes really.  This router has probably in my opinion been rushed out, now don't get me wrong, the hardware is excellent but the software has been rushed and in its current state is rather poor.
    1. Firstly, before you buy this router make sure you pre-download the firmware update for it, otherwise you'll be like me for 2 hrs wondering why you can't get online.  The fact that you cannot even get online without the firmware upgrade is an absolute disgrace, and it was only after a while I remembered about reading about needing a  firmware to get online from this forum.  No firmware upgrade disc, nothing, so I had to log onto next doors internet and download it, then upload it to the router. 
    So make sure you get the firmware before hand.
    2. After the first major firmware update make sure you then do a full factory default, again I only didn't this after remembering something on these forums, how a regular consumer would know to do this; I have no idea.  If you don't do a full factory reset the router can run fine if left on, but after doing a power cycle cannot connect to the internet in any way.  I later found out  that this was caused by the MAC ADRESSE CLONE being on, and after a factory default this option is turned off, actually after the new firmware and factory default many options are completely different from what they were before.
    3.  So, after you have the firmware, after you have done the factory default the router will work as expected.  The next thing users need to do is add DHCP RESERVATIONS to all devices, and here's why.  Well, one its easyier to control things, and two is labelling.
    So, add one devise at a time, the reason for this is it would consider 2 xbox say a networking devise, and you cannot distinguish one devise from the other.  To get around this, turn one devise on at a time, go to devise list and rename it, if its a PC with a name like MARK-PC then that is already enough.  This comes with xboxes, playstations anthing with a generic name, printer, possibly i-phone, those types of devises.  So rename every new devise like this that accesses the network, and you can then distinguish which xbox or which playstation is who's.
    4. WIRELESS, this is my opinion, use channel 1,6 or 11 for 2.4GHz band, I use 11, seems to have much less intererance.  For 2.4GHz use G-ONLY, Im seeing alot of disconnects and packet loss using mixed.
    Im not to sure of the 5.0MHz band because I don't use it, I don't use it because I feel there are more lag issues when using 2.4, 5.0 and ac all at the same time, I personally just turn 5.0 and ac off.  Thats for now, things may improve a bit more in a new firmware.
    5. MEDIA PRIORITIZATION & FILTER MULTICAST STREAMS, right now Im turning it off media prioritization, seems to be  potentially causing bandwidth crush on devises that have normal priority.
    Im checking filter multicast because it is potentially causing bandwidth crush when streaming from twitch tv or youtube and playing on an xbox.
    6. MTU I used a low MTU on my old router, 1364, just enough for xbox live, after doing so on this router I kept getting lag outs.  After changing the MTU back to auto and checking filter multicast streams, things are back to normal and appear so far to be lag free. 
    Im personally still trying to figure out what is causing the lag spikes, but its one of the 3, media prioritization, filter multicast or MTU.  I assume this because nothing else controls packets and bandwidth like these 3.
    Thanks for reading, this really a first day check list for new users, Ive personally had quite a bit of fun knowing what does what on this router, and after getting a few settings in place it does appear to be a really good router.  For networking noobs however its pretty unacceptable from Linksys, the setup that needs to be done its shocking; pre-firmware.  Maybe in a few firmwares time this router maybe incredible, and I hope it is, but right now it just seems a little un-finished, and a little un-professional right now, but lets hope things change.  This router has huge potential I just hope the software guys at Linksys can keep up.

    TWISTED BULLET wrote:
    Ive tried port forwarding and dmz and that didn't change the 2nd xbox in any way, the only way to make the 2nd xbox open NAT was port triggering, but then the first xbox becomes moderate.
    Putting the router behind the DMZ also failed and was still moderate.
    Ive heard swtches do not work, but I guess I could try putting my old router into bridge mode, but I can't see how bridge mode or using a switch would help or work.  This is just the limitation of NAT routers/modems I guess.
    Connecting 2 Xboxes should work thru the router. Please refer to this configuration I've found and try to double-check the settings you've set on both consoles so with the router's.
    http://www6.nohold.net/Cisco2/ukp.aspx?vw=1&docid=082ee344b4754044b1ff95fcd78b5305_4576.xml&pid=80&r...
    http://www.unofficialguidetolive.co.uk/faqs/60-two-xboxes-using-one-router-internet-connection
    http://www.unofficialguidetolive.co.uk/

  • I need to know how to file a complaint against Addmired, Inc

    I have been playing the games offered by Addmirred Inc (iMob, Global War, Original Gangstaz) as do my kids.  I am being harassed continually by several other players in these games, and repeated attempts to contact Addmirred do no good at all.  I have tried to contact the developers of the game using their posted twitter feed, through Facebook, even sending emails reporting the harassment and threats using the "Contact" form on their company website.  I have received no response.
    I am unable to even play the games because of the level of harassment and attacks..  and while this is a small detail my 12 year old son also plays their games and I don't want HIM to find himself being targeted by people the way I have been.  The games are rife with hackers, players who have no weapons, no 'gang', and yet can destroy a legitimate player with only a few hits. 
    I have paid money into these games for extra points to help in building my game strength, and have also paid money for my children to do so as well.
    In a multi-player game like this, there should be some way to report such blatant harassment and yet there is not.  You can click a 'report' button but it does nothing.  I have been sending reports and trying to reach someone at this company for some time, and at this point am going to make my kids remove their games from their ipods / iphones as well as remove their products from my iphone as well.   A game should be a bit of fun, not a place to be subjected to profanity, threats, and constant harassment from a few people who have jailbroken phones or ipods and are able to cheat by hacking the game.
    There has to be a way to complain to Apple about the level of harassment taking place in these games...
    Anyone know how?

    Please post this question in the database forum for an appropriate response: General Database Discussions
    Regards,
    OTN

  • Camera Raw Photo Processing Challenge

    No pressure, just a bit of fun here.  In a recent thread I posted a raw file to illustrate a sky color issue, and several people showed an interest in processing it into an image using techniques they often use.
    Let's do it again, with a better image this time.
    Imagine you've been contracted to do a shoot of a Dark Charcoal Mustang GT for a brochure.  You drive the car to a scenic spot on a pretty day, take some photos, and now you're back at your computer with the raw files.  Your goal is to produce the following:
    A 2400 x 1600 pixel sRGB image that makes the car look great.
    The image might have elements you want to remove, colors you want to improve, shapes you want to distort...  Do anything you want to try to make the car appealing - mild to wild!
    I've posted a Canon EOS-40D raw file here:
    http://Noel.ProDigitalSoftware.com/ForumPosts/IMG_1728.zip
    Open this image using Camera Raw, tweak it as you see fit, and post the 2400 x 1600 pixel result in this thread.
    Have fun!
    -Noel
    P.S., here's my result.  You might want to wait until you finish until you look at my interpretation.  Or look at it now and one-up me!  All in fun!

    Noel Carboni wrote:
    Rob Cole:  Also nice work!  You also chose a bit warmer color balance than I did, though not quite as warm as Yammer's.  However, in your case the sky and clouds seem to have less depth than I would like (e.g., the subject of my other thread on sky colors being a bit washed out).  And, like Yammer's, the tone curve in the darker parts almost hides all the tire detail, though as I mentioned above maybe this is actually a plus.  You did also bring out the depth of the reflections in the surface of the car nicely.  Looks like you distorted the image as I did to both level things a little and offset some of the perspective distortion.  P.S., I didn't figure out which buttons to press on your site to download the full resolution image.  But I was able to get it full screen, which was enough to judge quality.
    I note that neither of you chose to use Content Aware Fill to get rid of the poles in the image. 
    I don't mind "criticism", as long as I *think* we're looking at the same thing - the business of color management really grinds me though - lots of people think they understand what's supposed to happen, but that's not whats happening but they don't know it, and they think others are messed up or wrong, and maybe they are, but nobody really knows... - been there too many times.
    My take on your take:
    - I agree the sky needed more work, but also: the overexposure/clipping made it difficult to bring out cloud detail without it looking artificial (next time drop exposure by 1/3 or so when shooting).
    - I like the pinch of warmth in the background (most of the clouds, and foliage), but not in the car nor the road .
    - tire detail: agree again - I enhanced it a smidge in the next version (see link below).
    - I applied default distortion correction (via profile-base lens corrections), but no perspsective adjustment - mostly just rotated it (counter-clockwise).- I'm waiting for Lr4 to remove telephone poles;-}
    Note: The next version:
    (additional enhancements done entirely in NX2)
    You may need to clear your cache if you recently viewed the previous version.
    http://robcole.com/Rob/Personal/Pictures/Pictures.cfm?embedSWF&startDir=2011&openDir=Misco r&openFile=IMG_1728.nxc.jpg

  • Please give me some examples of video chat with adobe flash builder 4 or adobe flex 3.5

    I'm a newbie for flex. I had a project from my college to made a video chat application using Adobe Flash Builder 4 and used Red5.  please help me, give me some examples of video chat source code, so that i may to learn it. thanks a lot friends.

    As you are starting at the beginning you may as well start with FB4. When you install FB4 you will find that its start page has links to documentation tutorials and examples through the tour-de-flex. There are some great blogs that continue to offer advice and examples, nothing beats well written examples for learning. If you are on face book there is an Adobe Flex page that is continually giving links to examples and information about e-seminars.
    And of course there is here. So jump on board and have a bit of fun.
    David

  • Storage 7110: ACL being created incorrectly and being modified

    I have setup up a share with the following ACLs:
    % ls -ldV /home/andrew
    drwxr-x--x+180 andrew   staff        393 Jun 19 11:57 /home/andrew/
    group:Domain Admins:--------------:-------:deny
    group:Domain Admins:rwxpdDaARWcCos:fd-----:allow
    group:Domain Users:--------------:-------:deny
    group:Domain Users:--x-------c--s:fd-----:allow
    group:SystemUsers:--------------:-------:deny
    group:SystemUsers:rwxpdDaARWcCos:fd-----:allow
    owner@:--------------:-------:deny
    owner@:rwxpdDaARWcCos:fd-----:allow
    group@:-w-p----------:-------:deny
    group@:r-x----------s:-------:allow
    everyone@:rw-p---A-W-Co-:-------:deny
    everyone@:--x---a-R-c--s:-------:allow
    group:IISstudentUsers:--------------:-------:deny
    group:IISstudentUsers:r-x---a-R-c--s:fd-----:allowbut when I create a new subdirectory from a OpenSolaris client or on the Storage box via the shell I get the new ACL or modified ACL's...
    % mkdir /home/andrew/test5
    % ls -ldV /home/andrew/test5
    drwxr-xr-x+  2 andrew   staff          2 Jun 19 12:00 /home/andrew/test5/
    group:Domain Admins:rwxpdDaARWcCos:fdi----:allow
    group:Domain Admins:-w-p----------:-------:deny
    group:Domain Admins:rwxpdDaARWc--s:-------:allow
    group:Domain Users:--x-------c--s:fdi----:allow
    group:Domain Users:--------------:-------:deny
    group:Domain Users:--x-------c--s:-------:allow
    group:SystemUsers:rwxpdDaARWcCos:fdi----:allow
    group:SystemUsers:-w-p----------:-------:deny
    group:SystemUsers:rwxpdDaARWc--s:-------:allow
    owner@:rwxpdDaARWcCos:fdi----:allow
    owner@:----dDaARWc--s:-------:allow
    group:IISstudentUsers:r-x---a-R-c--s:fdi----:allow
    group:IISstudentUsers:--------------:-------:deny
    group:IISstudentUsers:r-x---a-R-c--s:-------:allow
    owner@:--------------:-------:deny
    owner@:rwxp---A-W-Co-:-------:allow
    group@:-w-p----------:-------:deny
    group@:r-x-----------:-------:allow
    everyone@:-w-p---A-W-Co-:-------:deny
    everyone@:r-x---a-R-c--s:-------:allowThanks
    Andrew

    Hi Andrew,
    Did you get to a solution with this one. I'm having a bit of fun ?? attempting to configure a 7110 box for windows and solaris access. My workaround has been to grant full root permissions to all and sundry for now (far from ideal).
    The inheritence for windows users is the easy bit, as soon as I create files/folders over NFS or add a domain group into the ACL, I run into issues either reading the ACL from the solaris side or indeed accessing the directory.
    Have you come across any documentation for solaris/windows interoperability?
    Any help/advice appreciated.
    Chris

  • Photobooth recording videos cuts out

    Hiya
    my one month old macbook pro, was just using it today for a bit of fun, so i set the application up, starting recording while me and my friend did our act in front of the camera. as usual, i pressed stopped when we had finished (after 3 minutes) and photobooth finished recording. (as i pressed stop, it was still recording with the timer well into 3 minutes)
    however, when playing the video back, i discovered it had only recorded about 30 seconds of it even though after 3 mins it still said recording and the green light above was on
    so we tried again, this time recording for 2 and a half mins, but still not the whole thing
    and again, this time for only 26 seconds.
    But as i pressed stop, it still was recording!!!!!!!!! and this was after 3 minutes each time
    Why has it cut loads out when it has saved it?!?!??!?!?!
    really annoying. i have 130gb HDD space remaining too.
    thanks very much if anyone can shed any light
    Dave
    Message was edited by: Doovydoo

    anyone??
    basically - when recording a video in photobooth over 2 minutes it cuts out a large chunk when its saved!! even though it still says recording when i pressed stop.
    thankss

  • LIRC and PV-M4500 (TV Excel / PlayTV PixelView Pro TV Card)

    Hi all,
    I've installed a BT878 TV card, but I've had no luck getting its remote to work. I've found a handful of accounts reporting success with linux and this card, so it must be possible. I'd appreciate some help though, as I'm out of ideas. Hopefully there's an obvious oversight somewhere below!
    First, here's /etc/modprobe.d/modprobe.conf, which seems adequate to get the TV card. As you can see, there are plenty of commented options I've tried at various stages. As a rule, the card options were all adequate to drive the TV card, but none of the LIRC related options got me anywhere.
    # i2c
    #alias char-major-89 i2c-devb
    #options i2c-algo-bit bit_test=1
    #alias char-major-61 lirc_i2c
    # bttv
    alias char-major-81 videodev
    alias char-major-81-0 bttv
    # TV Card
    options bttv card=70 tuner=38 radio=1
    options tuner addr=0x61
    # Other options tried with TV Card
    #options bttv card=72 tuner=38 radio=1
    # options tuner addr=0x61 # and without this
    #options bttv card=70 tuner=43 radio=1 automute=0 pll=1
    #options bttv card=70 tuner=37 radio=1 pll=1 adc_crush=0
    #options tuner addr=0x61
    #options bttv card=37 tuner=38
    # Other LIRC options attempted
    #alias char-major-61 lirc_gpio
    #options lirc_gpio gpio_mask=0x3f00 gpio_lock_mask=0x4000 gpio_xor_mask=0 soft_gap=400 sample_rate=12
    Here's dmesg, after a reboot with the above configuration:
    lirc_dev: IR Remote Control driver registered, major 250
    Linux video capture interface: v2.00
    IR NEC protocol handler initialized
    bttv: driver version 0.9.18 loaded
    bttv: using 8 buffers with 2080k (520 pages) each for capture
    bttv: Bt8xx card found (0).
    bttv 0000:02:07.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    bttv0: Bt878 (rev 17) at 0000:02:07.0, irq: 22, latency: 64, mmio: 0xd3fff000
    bttv0: using: Prolink Pixelview PV-BT878P+ (Rev.4C,8E) [card=70,insmod option]
    bttv0: gpio: en=00000000, out=00000000 in=009f82ff [init]
    bttv0: tuner type=38
    IR RC5(x) protocol handler initialized
    HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    i2c-core: driver [msp3400] using legacy suspend method
    i2c-core: driver [msp3400] using legacy resume method
    IR RC6 protocol handler initialized
    IR JVC protocol handler initialized
    IR Sony protocol handler initialized
    nvidia 0000:05:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    nvidia 0000:05:00.0: setting latency timer to 64
    vgaarb: device changed decodes: PCI:0000:05:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
    NVRM: loading NVIDIA UNIX x86_64 Kernel Module 275.09.07 Wed Jun 8 14:16:46 PDT 2011
    IR LIRC bridge handler initialized
    bttv0: audio absent, no audio device found!
    i2c-core: driver [tuner] using legacy suspend method
    i2c-core: driver [tuner] using legacy resume method
    HDA Intel 0000:05:00.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    hda_intel: Disable MSI for Nvidia chipset
    HDA Intel 0000:05:00.1: setting latency timer to 64
    All bytes are equal. It is not a TEA5767
    tuner 1-0060: Tuner -1 found with type(s) Radio TV.
    tuner-simple 1-0060: creating new instance
    tuner-simple 1-0060: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
    bttv0: registered device video0
    bttv0: registered device vbi0
    bttv0: registered device radio0
    bttv0: PLL: 28636363 => 35468950 ..
    input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4
    firewire_core: created device fw0: GUID 001e8c0000330d06, S400
    ok
    Registered IR keymap rc-pixelview
    input: bttv IR (card=70) as /devices/pci0000:00/0000:00:14.4/0000:02:07.0/rc/rc0/input5
    rc0: bttv IR (card=70) as /devices/pci0000:00/0000:00:14.4/0000:02:07.0/rc/rc0
    ivtv: Start initialization, version 1.4.2
    ivtv: End initialization
    cx88/0: cx2388x v4l2 driver version 0.0.8 loaded
    At the top, you can see that the LIRC device is detected. However, there's no device created with char-major 250 in /dev. There's no 61 either. Thinking this was the problem, I tried a udev.rules file to create an appropriate device:
    KERNEL=="event*",SYSFS{vendor}=="0x109e",SYMLINK="lirc0"
    After that I had /dev/lirc0 linked to input/event4. Didn't help when I ran commands like:
    irrecord -H devinput -d /dev/lirc0 test
    irrecord -H devinput -d /dev/input/by-path/pci-0000\:02\:07.0-event-ir test
    Didn't help with irw or lirc either. Here's an excerpt from the lirc logs:
    lircd: accepted new client on /var/run/lirc/lircd
    lircd: could not get hardware features
    lircd: this device driver does not support the LIRC ioctl interface
    lircd: did you mean to use the devinput driver instead of the default driver?
    lircd: WARNING: Failed to initialize hardware
    lircd: accepted new client on /var/run/lirc/lircd
    Now, I could give you even more information, but I have a lot of notes and little sense of what else might hold the key. Let me know what you need. A solution or explanation would be greatly appreciated!

    I have a K-World TV-Tuner card. I have XP running on my machine. I experienced two aspect of the problem. Driver installation and Hardware/software crashs. The driver problem was correct by removing ALL installed Video and sound drivers and and letting xp reinstall. When the multimedia installation was to occur I force a manual selction of the K-world drivers and works like A champ.
    I found that when I moved the card to a slot not shared with the AGP  and WINmodem/or NIC card things were much more stable. Memory timing may have had some bearing as I did adjust it at the time, but after everything settled down It seems to me that my previous comments have had more bearing than not. I have had to reinstall XP on several occassions and my solutions have proven to be stable ones for my hardware configuration.

Maybe you are looking for

  • Customizing report, list all GL items open as of a key date

    Hi Experts, For a customizing report, i have to list all those GL items open as of a key date, though they may be cleared now. i m finding in GL open items table BSIS, i can find open items (uncleared) only. please help me in developing this logic. R

  • Bank Statement Import option

    Hai,   I am using SAP B1 2005 B PL :27   I have received a statement from bank in XLS format. Please let me know how can i import to SAP B1 for reconcilation purpose. regards Suresh S

  • Additional installer issue - NI system component missing - DVD

    Hi, I have trouble building my installer... when I try to add DAQ and Measeurement & automation explorer, the setup is asking me to provide file (that in my head are supose to be already in my PC). It says to find NI system component on DVD 1 of deve

  • Email delievery Issues with scheduled advanced reports XLS and PDF format

    Has anyone experienced problems with not recieving XLS, PDF formatted advanced reports via email? Is anyone using the TAW/WEB-INF/web.xml parameter: <context-param> <param-name>scheduledReportUrl</param-name> <param-value>http://reportservers.mydomai

  • BAPI or RFC that contains the user information

    Hi, Please let me know if there is any BAPI or RFC that contains the user information like user IDs, passwords etc. I need that to use in the XI. I am using SAP system as the target system or the source system . Thanks kanan