On Fri, 23 Oct 2009, [email protected] wrote:

> i also write some new lines code for the EVENT_METRONOME and switch the 
> printer port pin 1 and 2 just in time with h2 beats. this works simple 
> and well.  but only as root. i don't get it work as user. i believe this 
> is really really complex. some times i hate the linux secure ideas :).

If the user is a member of the 'lp' group... he should be able to do this 
without being root.  Did you try that?

$ ls -l /dev/lp0
crw-rw---- 1 root lp 6, 0 2009-10-12 07:53 /dev/lp0

Peace,
Gabriel


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to