#45485 - 08/11/2001 12:25
Re: v40 bug?
[Re: Derek]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14547
Loc: Canada
|
Maybe you're trying to press'n'hold those buttons?
Just a short press/release of cancel (or *) works for me.
Anyone else got trouble?
Edited by mlord (08/11/2001 12:26)
|
Top
|
|
|
|
#45486 - 08/11/2001 12:25
Re: v40 bug?
[Re: Derek]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31636
Loc: Seattle, WA
|
Hmm. Works for me. I'm using 42, though.
|
Top
|
|
|
|
#45488 - 08/11/2001 12:45
Re: v41 bug?
[Re: mlord]
|
addict
Registered: 16/08/1999
Posts: 453
Loc: NRW, Germany
|
No, no luck, and the player buttons don't do anything either (the knob does though). Actually the buttons "seem" to control the player. Yep, they do! I can watch what they are doing in DisplayServer. The top button doesn't do anything though.
_________________________
(list 6284, Mk1 S/N 00299 4GB blue [sold]. Mk2 S/N 080000094 20GB blue)
|
Top
|
|
|
|
#45489 - 08/11/2001 13:10
Re: v41
[Re: tfabris]
|
new poster
Registered: 28/09/1999
Posts: 21
|
Weird. I thought I had selected "Email all responses, blah blah blah" but never got any. (I get the digest emailed, but don't always read it ;)
I've posted the files at http://www.brianosaurus.org/empeg/
This built against gd 1.8.1. I don't know what the current version is, but unless it changed dramatically, I would expect it works.
gd_empeg.c is the empeg output target. empegtest.c is a test program (go figure) that draws rectangles, circles and text on a gdImage and sends it to the screen. I put the Makefile up for the empegtest and libgd.a targets, where I added gd_empeg.o.
The gdImageEmpegXY() call will update only a portion of the screen. I used that to display output from 2 apps (a CPU meter and an xaudio-based mp3 player) on the screen at the same time, with each updating their portion of the screen. My goal was to make some sort of window manager daemon to update the screen and apps would send their images to it, but never found the time.
I threw in the code for the cpumeter and player, too. Enjoy.
|
Top
|
|
|
|
#45490 - 08/11/2001 13:35
v41 bug - quick update
[Re: Derek]
|
addict
Registered: 16/08/1999
Posts: 453
Loc: NRW, Germany
|
OK, went out to the car and eveything worked fine - windows solution works again (i.e. reboot). First I thought "how embarassing" and then I thought I'd try playing with all the things I'd played with while I had it sitting on my desk. I managed to get it to not recognise "Cancel" again, but am not sure yet what is going it. I am guessing at Brickout or the calculator, but will have to have a bit more of a play to see. First comes some tea though ...
Catch you later.
_________________________
(list 6284, Mk1 S/N 00299 4GB blue [sold]. Mk2 S/N 080000094 20GB blue)
|
Top
|
|
|
|
#45492 - 08/11/2001 15:48
v43: bugfix + Long Knob Press
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14547
Loc: Canada
|
Okay, v43 is out, and fixes a guaranteed kernel "Ooops" from the INJECTBUTTONS ioctl().
And just for kicks, press-and-hold-for-2-seconds on the knob now cycles to the next input source, using this sequence: player -> tuner -> aux -> player -> ...
The tuner is skipped over if not present.
|
Top
|
|
|
|
#45493 - 08/11/2001 15:52
Re: v43: bugfix + Long Knob Press
[Re: mlord]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31636
Loc: Seattle, WA
|
I'm grabbing it now. In the meantime, is there a possibility that something might have been messed up in 42?
I've had the player lock up on me (pause that can't be unpaused) twice now.
|
Top
|
|
|
|
#45494 - 08/11/2001 15:54
Backup and restore ideas
[Re: synergy]
|
member
Registered: 30/08/2000
Posts: 157
Loc: London, UK
|
The issue here is having to have the space to write the image to and having the disk mount rw to do it... (though neither of those is a major problem)
I also think I would prefer a backup and restore program to be separate from Frank's display server...
My current thoughts are an ftp server which can serve the images of /dev/hda2, /dev/hda3, /dev/hda5, /dev/hda6 and serve the files that live in /drive0 and /drive1
on the desktop side we put the partition images downloaded from the ftp server into an upgrade file (using Smu's UpgradeBuilder) and we save the files from /drive0 and /drive1 to whereever the user wants to put them...
To restore it is a matter of applying the upgrade file using emplode (or building upgclient into the restore program) and doing a put to /drive0 and /drive1 of the contents of the local directories...
It would be nice to be able to read the kernel image off the empeg too... as this would then give us a COMPLETE backup... (is there anything else?)
Extra features would be to be able to flag whether you care about backing up /dev/hda2, /dev/hda5, or /dev/hda6 (or the kernel image if we work out how to read it) as you may not have modified them... which would change what is included in the upgrade file that gets built...
What this requires is a reasonably feature rich ftpd on the empeg (I am thinking of wu-ftpd at the moment as it has SITE EXEC which might be useful and security isn't a major issue and it can gzip etc on the fly) and the ability to serve drive images as files (which I have some ideas about)...
I'll see how I go... but I would love input...
Cheers
Kim
|
Top
|
|
|
|
#45495 - 08/11/2001 15:57
Re: v43: bugfix + Long Knob Press
[Re: tfabris]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31636
Loc: Seattle, WA
|
Hey, that makes me think of a great feature you could add to the hijack kernel. A player-reboot menu option. There are some situations where I have to yank the power to make the unit fully reboot because of whatever reason. If the kernel is still alive and I can get to the hijack menu, it would be cool to see a reboot option there to save wear and tear on the sled/power-plug.
|
Top
|
|
|
|
#45496 - 08/11/2001 16:54
Re: v43: bugfix + Long Knob Press
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14547
Loc: Canada
|
>Is there a possibility that something might have been messed up in 42?
>I've had the player lock up on me (pause that can't be unpaused) twice now.
Yes, there is.
With v42, I can do this:
Start a tune playing.
Hit pause on the RIO remote.
Hold knob to enter my menus.
Hit Cancel to exit the menus: doesn't work.
Ugh. I really have to rewrite the keypress state machine in my stuff,
it has grown horribly since day 1.
Meanwhile, I'll try a quick rev to fix this but with v44 shortly, and perhaps a rewrite later.
Edited by mlord (08/11/2001 17:13)
|
Top
|
|
|
|
#45497 - 08/11/2001 17:01
Re: v43: bugfix + Long Knob Press
[Re: mlord]
|
enthusiast
Registered: 17/10/2001
Posts: 265
Loc: Portland OR
|
And just for kicks, press-and-hold-for-2-seconds on the knob now cycles to the next input source...
Ummm... Correct me if I'm wrong here, but isn't that how we access your hijack menu...?
OK, so there must be another way...
Something on the remote then?
_________________________
DarioMK2 in an Impreza 2.5RS
|
Top
|
|
|
|
#45498 - 08/11/2001 17:14
Re: v43: bugfix + Long Knob Press
[Re: Diznario]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14547
Loc: Canada
|
>isn't that how we access your hijack menu...?
Very close; the hijack menu requires a 1 second hold time.
The extra second (2 seconds total) gets the new (third level) functionality,
just ignore my menu when it pops up and keep holding for the extra second.
-ml
Edited by mlord (08/11/2001 17:15)
|
Top
|
|
|
|
#45499 - 08/11/2001 17:16
Re: v43: bugfix + Long Knob Press
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14547
Loc: Canada
|
Maybe. Did you want a "player app" restart, or an empeg unit reboot ?
|
Top
|
|
|
|
#45500 - 08/11/2001 17:19
Re: v43: bugfix + Long Knob Press
[Re: mlord]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31636
Loc: Seattle, WA
|
Maybe. Did you want a "player app" restart, or an empeg unit reboot ?
Full empeg unit reboot. If that's possible.
I know that it can be done by sending a command to the player on the serial port (my logo editor does it), so in theory the kernel could do it, too.
|
Top
|
|
|
|
#45505 - 08/11/2001 20:04
Re: v43: bugfix + Long Knob Press
[Re: tonyc]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14547
Loc: Canada
|
>Anyone else see this problem?
I've been seeing lots of strange little things like that tonight.
Basically, my button press state machine broke at the seams with all of the weirdness recently added for triplexing the knob etc.. So I'm rewriting it right now. Looks cleaner, might even work. We'll see.
|
Top
|
|
|
|
#45506 - 08/11/2001 21:07
Re: v43: bugfix + Long Knob Press
[Re: mlord]
|
enthusiast
Registered: 17/10/2001
Posts: 265
Loc: Portland OR
|
Very close; the hijack menu requires a 1 second hold time.
The extra second (2 seconds total) gets the new (third level) functionality,
just ignore my menu when it pops up and keep holding for the extra second.
Ahhhhh yes. "Third Level" functionality. Of course. What was I thinking?!?
Mark, you're a mad man! And we love you for it!
Keep up the good work!
_________________________
DarioMK2 in an Impreza 2.5RS
|
Top
|
|
|
|
|
|