euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] Linux box emulating a keyboard?



    Bill BarryMon Jun 1 19:49:23 PDT 2009

    On Mon, Jun 1, 2009 at 7:46 PM, Bob Miller <kbob at jogger-egg.com> wrote:
    > On Mon, Jun 1, 2009 at 6:04 PM, Ben Barrett <stircrazyben at gmail.com> wrote:
    >> Just my hunch, I think using USB would be easier; AFAIK you can switch modes
    >> (host/slave) if the hardware will support it, as has been done with n770
    >> (&8xx too?).
    >
    > Hmmm.  Does the Intel UHCI/EHCI support slave mode?  Switched
    > per-port?
    >
    >> and, do you really need linux?
    >>  http://www.obdev.at/products/vusb/prjhid.html
    >> :)
    >
    > My first thought was an Arduino.  The Arduino docs indicate that the HW
    > is capable of emulating PS/2, and it has a serial-over-USB interface as well.
    > But I'd be writing more software than this project warrants.
    >
    > --
    > Bob Miller                              K<bob>
    >                                        kbob at jogger-egg.com
    
    
    Do you need the keyboard at boot? Otherwise you could just use VNC.
    
    Bill
    
  • [Eug-lug] Linux box emulating a keyboard?



    Bob MillerMon Jun 1 19:46:40 PDT 2009

    On Mon, Jun 1, 2009 at 6:04 PM, Ben Barrett <stircrazyben at gmail.com> wrote:
    > Just my hunch, I think using USB would be easier; AFAIK you can switch modes
    > (host/slave) if the hardware will support it, as has been done with n770
    > (&8xx too?).
    
    Hmmm.  Does the Intel UHCI/EHCI support slave mode?  Switched
    per-port?
    
    > and, do you really need linux?
    >  http://www.obdev.at/products/vusb/prjhid.html
    > :)
    
    My first thought was an Arduino.  The Arduino docs indicate that the HW
    is capable of emulating PS/2, and it has a serial-over-USB interface as well.
    But I'd be writing more software than this project warrants.
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] Linux box emulating a keyboard?



    Ben BarrettMon Jun 1 18:04:02 PDT 2009

    Just my hunch, I think using USB would be easier; AFAIK you can switch modes
    (host/slave) if the hardware will support it, as has been done with n770
    (&8xx too?).
    
    Qemu might help.... How about these resources?
    http://www.linuxjournal.com/article/7353
    http://blog.codemonkey.ws/2006/04/usb-hid-perfect-match-for.html
    http://www.lvr.com/
    http://www.nongnu.org/qemu/qemu-doc.html#SEC35
    
    and, do you really need linux?
    http://www.obdev.at/products/vusb/prjhid.html
    :)
    
    Sounds fun, cheers,
    
    Ben
    
    
    On Mon, Jun 1, 2009 at 5:46 PM, Bob Miller <kbob at jogger-egg.com> wrote:
    
    > I would like to use a Linux PC to generate keyboard input on another PC.
    > (The other PC runs Windows.)
    >
    > I know that PS/2 ports are kinda sorta serial ports, and the Linux PC
    > has a spare serial port.  Is it possible to use a serial port to emulate
    > a keyboard?
    >
    > Or is there a better way?  (They both have USB ports too...)
    >
    > Thanks.
    >
    > --
    > Bob Miller                              K<bob>
    >                                        kbob at jogger-egg.com
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20090601/e5b266c6/attac=
    hment.htm
    
  • [Eug-lug] Linux box emulating a keyboard?



    larry priceMon Jun 1 17:54:03 PDT 2009

    Would your problem be amenable to a solution using synergy?
    
    I've found it to be quite effective for sharing a keyboard w/ several computers.
    
    On Mon, Jun 1, 2009 at 5:46 PM, Bob Miller <kbob at jogger-egg.com> wrote:
    > I would like to use a Linux PC to generate keyboard input on another PC.
    > (The other PC runs Windows.)
    >
    > I know that PS/2 ports are kinda sorta serial ports, and the Linux PC
    > has a spare serial port.  Is it possible to use a serial port to emulate
    > a keyboard?
    >
    > Or is there a better way?  (They both have USB ports too...)
    >
    > Thanks.
    >
    > --
    > Bob Miller                              K<bob>
    >                                        kbob at jogger-egg.com
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
  • [Eug-lug] Linux box emulating a keyboard?



    Bob MillerMon Jun 1 17:46:04 PDT 2009

    I would like to use a Linux PC to generate keyboard input on another PC.
    (The other PC runs Windows.)
    
    I know that PS/2 ports are kinda sorta serial ports, and the Linux PC
    has a spare serial port.  Is it possible to use a serial port to emulate
    a keyboard?
    
    Or is there a better way?  (They both have USB ports too...)
    
    Thanks.
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] sharring kmail and adding user



    Bob MillerMon Jun 1 14:04:02 PDT 2009

    While I agree that you should give your wife her own login and/or X session,
    it *is* possible to run two instances of firefox on the same display and
    on the same machine.
    
    Start the second Firefox instance with a different user profile.
    
        $ firefox -no-remote -ProfileManager
    
    (Yes, one switch is hyphenated-lowercase and the other is CapsJammedTogether.
    Hooray for consistency!)
    
    
    On 6/1/09, Allen Brown <abrown at peak.org> wrote:
    > > Tim Bolz wrote,
    >  >>My wife and I have have been sharing my main computer.  Sometime she
    >  >>needs to use it and I get on the other computer.  However this can be
    >  >>a problem.  I use NXmachine to log into my box which she is on.  The
    >  >>problem is if she is using firefox.  I can't open it up because
    >  >>another instance of firefox is running.  I would like to set her up
    >  >>with own user account but she uses kmail on my account.  I know there
    >  >>is a way to set her up so she can read and write to my folder but be
    >  >>in her own directory. On occasion  she has to be in windows and all
    >  >>she does is complain.  She's familiar with Ubuntu and where everything
    >  >>is.  My last post was about time on X.  She says I spend a lot of time
    >  >>on the computer and I would like to see how much.  If I make her own
    >  >>account she can make it her own look and feel.  She doesn't like it
    >  >>when I change things.  I think it will be easier on her too.
    >  >
    >  > I definitely recommend creating an account for her.  That will cure the
    >  > Firefox problem and the not liking it when you change the settings
    >  > problem.
    >  >
    >  > I don't often use Ubuntu, but I would be surprised if there isn't a nice
    >  > friendly GUI for creating users.  If you can't find it, open a terminal
    >  > window, "sudo -s", and read "man adduser".
    >
    >
    > Menu: System/"Users and Groups"
    >
    >  It's very easy to use.
    >
    >  [cut]
    >  >                 - Neil Parker
    >
    >  I agree wholeheartedly that she should have her own login.
    >
    > --
    >  Allen Brown  http://brown.armoredpenguin.com/~abrown/
    >   The first quality that is needed is audacity. --- Winston Churchill
    >
    >
    >
    >
    >
    >  _______________________________________________
    >  EUGLUG mailing list
    >  euglug at euglug.org
    >  http://www.euglug.org/mailman/listinfo/euglug
    >
    
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] sharring kmail and adding user



    Allen BrownMon Jun 1 11:51:59 PDT 2009

    > Tim Bolz wrote,
    >>My wife and I have have been sharing my main computer.  Sometime she
    >>needs to use it and I get on the other computer.  However this can be
    >>a problem.  I use NXmachine to log into my box which she is on.  The
    >>problem is if she is using firefox.  I can't open it up because
    >>another instance of firefox is running.  I would like to set her up
    >>with own user account but she uses kmail on my account.  I know there
    >>is a way to set her up so she can read and write to my folder but be
    >>in her own directory. On occasion  she has to be in windows and all
    >>she does is complain.  She's familiar with Ubuntu and where everything
    >>is.  My last post was about time on X.  She says I spend a lot of time
    >>on the computer and I would like to see how much.  If I make her own
    >>account she can make it her own look and feel.  She doesn't like it
    >>when I change things.  I think it will be easier on her too.
    >
    > I definitely recommend creating an account for her.  That will cure the
    > Firefox problem and the not liking it when you change the settings
    > problem.
    >
    > I don't often use Ubuntu, but I would be surprised if there isn't a nice
    > friendly GUI for creating users.  If you can't find it, open a terminal
    > window, "sudo -s", and read "man adduser".
    
    Menu: System/"Users and Groups"
    
    It's very easy to use.
    
    [cut]
    >                 - Neil Parker
    
    I agree wholeheartedly that she should have her own login.
    -- 
    Allen Brown  http://brown.armoredpenguin.com/~abrown/
      The first quality that is needed is audacity. --- Winston Churchill
    
    
    
    
    
  • [Eug-lug] logs of X



    Allen BrownMon Jun 1 10:43:46 PDT 2009

    > Tim Bolz wrote,
    >>Is there a log file when I started X and when I quit X?  I would like
    >>to know how long I was on and other user on the system.  I know in
    >>bash you can do who but that tells who is online at that time and how
    >>long they have been on.  If there isn't a command to say who is on X
    >>or how long someone has been online.  Sometimes it seems like I've
    >>been on a short time and 4 hours have passed.  Is there a time online
    >>for the launcher panel?  If not it would be a good thing.  I know
    >>there is a program which locks the screen for a time so you can take a
    >>break. I would like a log to say. Timothy logged in at 9:30 am
    >>Msy31,2009 and logged off at 11:30pm May31,2009.  A list like this
    >>would be useful  I'm sure perl or python could do the job.
    >
    > There is an X log file (/var/log/Xorg.0.log), but it's not very useful for
    > this purpose, since it doesn't record times.
    >
    > Fortunately that's not the only option.  Open up a terminal window, and
    > type this:
    >
    >      last -10
    >
    > This shows the ten most recent logins on your machine (most recent at the
    > top), along with the logout time if they're not still logged in, and the
    > total time at the end in parentheses.  It's designed to record logins on
    > the text console (or Xterm window), but in some distributions it also
    > records X sessions.
    >
    > For example, my system is configured to boot straight into X, and to
    > record X sessions for "last".  Here's what I get when I type "last -10":
    >
    >    nparker  pts/1        :0.0             Sun May 31 22:12   still logged
    > in
    >    nparker  pts/0        :0.0             Sun May 31 21:17   still logged
    > in
    >    nparker  :0                            Sun May 31 21:17   still logged
    > in
    >    reboot   system boot  2.6.26.2         Sun May 31 21:17
    > (01:11)
    >    nparker  pts/0        :0.0             Sun May 31 16:06 - 18:48
    > (02:41)
    >    nparker  :0                            Sun May 31 16:06 - 18:48
    > (02:42)
    >    reboot   system boot  2.6.26.2         Sun May 31 16:05
    > (02:43)
    >    nparker  pts/0        :0.0             Sat May 30 20:12 - 00:03
    > (03:50)
    >    nparker  :0                            Sat May 30 20:12 - 00:03
    > (03:51)
    >    reboot   system boot  2.6.26.2         Sat May 30 20:11
    > (03:51)
    >
    >    wtmp begins Fri May  1 00:25:41 2009
    >
    > The top three rows are my current session--the top two rows are Xterm
    > windows, and the third row is my current X session.  The sixth row (and
    > all rows below it that have ":0" in the second column) is the one with the
    > information you're interested in--it shows that I logged in at 4:06 PM
    > this afternoon, and logged out at 6:48 PM, for a total login time of two
    > hours and 42 minutes.
    >
    > Whether or not your system records X sessions for "last" might depend on
    > what desktop environment you're using.  KDE's login window ("kdm") does
    > it (unless you manually add the line "UseSessReg=false" to its
    > configuration file), but I don't know about Gnome's login window ("gdm").
    >
    > By the way, if you leave off the "-10", and just type "last", it will show
    > you ALL the logins since it first started keeping track.  Depending on
    > how your system is configured, this could be a LONG list...I recommend
    > piping it through "|more" or "|less".
    >
    > (The login/logout record is kept in the file /var/log/wtmp.  Alas, it's a
    > binary file, which is why there are special commands like "last" for
    > viewing it.)
    >
    >                - Neil Parker
    
    gdm also does this.  However I only see one entry today.  I power
    down every night.  So I guess /var/log/wtmp is cleared at boot.
    -- 
    Allen Brown  http://brown.armoredpenguin.com/~abrown/
      Success is how you bounce on the bottom. --- General George Patton
    
    
    
    
    
  • [Eug-lug] ISP experiences in Eugene?



    Ben BarrettMon Jun 1 09:11:48 PDT 2009

    Sigh, I chose the greater of two evils, but I can say that the speedboost
    thing works wonders, I'm not even sure if it is just on singular download
    streams, but wow, it might be time to tune those TCP settings more
    aggressively, since the medium-sized ISO's like bootable biz cards really
    lose out, relative to full-size distro's, by this scheme IMO :) That is to
    say, I have no problems with it.  On a UPS, it has stayed online through a
    number of local power issues and handles my dedicated PAP2 phone adapter
    quite well (via viatalk fwiw).  Make sure you get your last-mile [sic] of
    cable upgraded if you're in an older place; you can explain that you're
    likely to upgrade to the business-grade service level and they probably
    won't complain.  Same things goes for DSL, of course, you need decent wires
    in any case.  I've seen wiring issues dictate the choices in some
    situations: nobody likes crawling around in insulation, that I know of.
    
    Ben
    
    
    On Mon, Jun 1, 2009 at 8:16 AM, Quentin Hartman <qhartman at gmail.com> wrote:
    
    > On Sun, May 31, 2009 at 9:21 PM, Joshua N Pritikin <jpritikin at pobox.com>w=
    rote:
    >
    >> What is the collective wisdom on ISPs in Eugene? I'm moving to a house
    >> near Chambers and 18th. I need a decent internet connection. I use VoIP
    >> extensively and will likely get a telecommute job. What are my options?
    >>
    >
    > I second Larry's statements. Qwest and Comcast are essentially the only
    > games in town, Unless you count Clearwire or a cellular-based option, whi=
    ch
    > I wouldn't if you want to have good VoIP performance.
    >
    > I have used Qwest personally for 8+ years and have been happy with them.
    > I'm on their 7Mb plan. Lately they've had some performance problems, but
    > they have been easy to resolve by calling support and after a short
    > rain-dance having them switch my line "to a different circuit". I assume
    > that customer-supportese for "The upstream connection you were on was
    > overloaded, so we've routed you to a different one.".
    >
    > The compnay I work for uses Comcast at the office, we're on the 20Mb
    > business package. It's pretty costly for personal use (~160 / mo) but it =
    has
    > been reliable and performs very well. If I didn't have such philosophical
    > problems with Comcast (I know Qwest has issues too, but their the lesser =
    of
    > two evils if you ask me) I'd probably switch to a similar plan at home. T=
    he
    > latency advantage that cable has over DSL is hard to ignore.
    >
    > QH
    >
    >
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20090601/dfae27c6/attac=
    hment.htm
    
  • [Eug-lug] sharring kmail and adding user



    Mr OMon Jun 1 08:32:14 PDT 2009

    Nearly every mail programs has some prefs so if you create an account for her just give her permission to access your folders then direct Kmail to your folders. 
    
    As for Firefox, find out if you can pass a command line argument to just open a new window. I'd try to find out for you but I have too much to catch up on right now!!
    
    That be all,
    Mr O.
    
    --- On Sun, 5/31/09, Tim Bolz <tim.bolz at gmail.com> wrote:
    
    > From: Tim Bolz <tim.bolz at gmail.com>
    > Subject: [Eug-lug] sharring kmail and adding user
    > To: euglug at euglug.org
    > Date: Sunday, May 31, 2009, 9:38 PM
    > My wife and I have have been sharing
    > my main computer.  Sometime she
    > needs to use it and I get on the other computer. 
    > However this can be
    > a problem.  I use NXmachine to log into my box which
    > she is on.  The
    > problem is if she is using firefox.  I can't open it
    > up because
    > another instance of firefox is running.  I would like
    > to set her up
    > with own user account but she uses kmail on my
    > account.  I know there
    > is a way to set her up so she can read and write to my
    > folder but be
    > in her own directory. On occasion  she has to be in
    > windows and all
    > she does is complain.  She's familiar with Ubuntu and
    > where everything
    > is.  My last post was about time on X.  She says
    > I spend a lot of time
    > on the computer and I would like to see how much.  If
    > I make her own
    > account she can make it her own look and feel.  She
    > doesn't like it
    > when I change things.  I think it will be easier on
    > her too.
    > 
    > Thanks
    > Tim
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >