Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 2 of 5 < 1 2 3 4 5 >
Topic Options
#44860 - 05/11/2001 08:41 Re: Hijack V25: Major Release [Re: altman]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Thanks Hugo(!) for the Excellent information on the thermometer.

I'll change my kernel stuff to only do a single inittherm(),
and I'll keep in mind the disk stuff for when I get to that later
this winter.

Cheers

Top
#44861 - 05/11/2001 08:45 Re: Booting from /dev/hda2 [Re: kimbotha]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Kim, I think your line of research has great potential here.

As I said earlier, "I don't do userland", so keep running with it, Dude.

But I am still thinking through the hijack interface to userland,
based on your earlier comments. It would be really nice I suppose to
have a way for a single thread to wait on multiple menu items.

I suppose this could be done in a way similar to the BIND/WAIT BUTTONS stuff.

Dunno if I'll get to it anytime soon, though. Got some Real Work to do again.

-ml

Top
#44862 - 05/11/2001 09:20 upgclient [Re: rob]
kimbotha
member

Registered: 30/08/2000
Posts: 157
Loc: London, UK
Would the source to upgclient be available anywhere...? Or would it be possible to make it availale...? or maybe give us a version which can write an image to /dev/hda2 instead of the normal partitions...?

Cheers

Kim

Top
#44863 - 05/11/2001 09:26 Re: Booting from /dev/hda2 [Re: mlord]
edwin
member

Registered: 26/09/2000
Posts: 194
Loc: Druten, The Netherlands
Wish: emptris!

Oh yeah, three other (minor) things.
1] When empeg is put in standby (pulsating LED) I can still go into your menu by holding the rotary button! I think it should check the state before entering the menu.
2] When entering a value in temp. warning, it should actually have a minimum of the current value! Funny thing is when you select ie. 32 and the current value is 34, you have to turn the empeg off and let it cool.
3] My remote doesn't have the 'any' button

Oh well, just trying to help...
_________________________
[white]ญญ______________[/white]
Edwin de Vaan aka FLaSHmAStER

Top
#44864 - 05/11/2001 09:43 Re: Booting from /dev/hda2 [Re: edwin]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Emptris might not be possible just yet because AFAIK the only method for getting user input is currently a blocking call. (mlord, correct me if I'm wrong.) bmihulka's Emptris code requires non-blocking reads.

However I'm working on a project which should be a fun passenger-seat diversion and doesn't care if the reads block. A very initial test using the userland ioctl()'s looked promising last night. I don't have a timetable for it just yet but this hijack interface is making my job much easier.

Once polling input reads are available in the hijack patch, I suspect the amount of changes needed to get Emptris hooked into it are very small.
_________________________
- Tony C
my empeg stuff

Top
#44865 - 05/11/2001 10:26 Re: upgclient [Re: kimbotha]
smu
old hand

Registered: 30/07/2000
Posts: 879
Loc: Germany (Ruhrgebiet)
Hi.

I haven't tried that yet (but plan to do so on the next weekend), but if you take a look at my upgrade splitter/builder (check http://incase.de/framed/empeg, the files section), and split a normal upgrade, you should be able to take that as a template to build an upgrade package that installs to /dev/hda2 instead of the original /dev/hda3(?). The partition files the builder needs (and the splitter provides) are simply binary images of the original partitions or, equivalently, binary files of the size of the partitions that contain an ext2 filesystem (or swap respectively) and can be mounted using the loopback option in mount (-o loop).

cu,
sven
_________________________
proud owner of MkII 40GB & MkIIa 60GB both lit by God and HiJacked by Lord

Top
#44866 - 05/11/2001 10:57 Re: Hijack V25: Major Release [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
> This would give us an installation method as well
>as a hook for running user space programs

Err.. we'd still need a method for getting the actual executable program down to the empeg.


Well, RZ works nicely for that. But I had another crazy thought. What about Frank's method? Send your userland programs as songs in Emplode. Feed the FID to the kernel-menu via a config.ini edit like so:

[userland_programs]
1a7c=Emptris
a7f2=GPS Navigator
23f=Activate Oil Slick
4f32=Activate Smoke Screen
5c2b=Launch Missiles

The menuing system could then simply run them directly from the FIDS folder.

This would allow you to install simple userland apps without even needing the developer image of the software. Just emplode and the custom kernel. No tedious mucking about at the shell.

Of course, the userland apps would have to be self-contained in a single executable file. If you had a bunch of support files for the app, then you'd have to make the userland app a little self-extractor or something. That'd be cool, too.

Oh, but darn, this won't work! Because the 2.0 emplode won't let us send a file to the player unless it's a valid MP3. Too bad there's no option to override the MP3-checking in 2.0, like holding down the CTRL key as you import, or putting in a secret registry setting or something.HINT HINT empeg guys!

_________________________
Tony Fabris

Top
#44867 - 05/11/2001 12:07 Re: Booting from /dev/hda2 [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Wow, v31 just rocks. You keep adding cool stuff. You da man!
_________________________
Tony Fabris

Top
#44868 - 05/11/2001 13:02 Re: Hijack V25: Major Release [Re: tfabris]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
What about Frank's method?

Call me cranky, but I really did not care for that method. It made the process a PITA for those of us who don't use the windows specific tools developed for it (emplode and Frank's installer). Something based on Empeg's .upgrade system or plain old zmodem (which someone can write a pretty Window's tool for if they want) just seems so much simpler to me.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#44869 - 05/11/2001 13:40 Re: Booting from /dev/hda2 [Re: edwin]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
> When empeg is put in standby (pulsating LED) I can still go into your menu

Yeah, I thought of that a while ago, but just forgot about it again. Fixed in v33

>When entering a value in temp. warning, it should actually have a minimum of the current value..

No, I like to test smaller values too. If it fires on you, you can always get back into the menu system to change the setting (try it!) -- the flashing warning NEVER happens inside the menu. And newer versions now disable the warning within 5 seconds of any button press, just to make it even friendlier.

>My remote doesn't have the 'any' button..

Duh..



Top
#44870 - 05/11/2001 13:45 Re: Hijack V33 [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Okay, V33.. no wait.. v34 ..is out.

For those who haven't noticed, the last few versions (today) have included a menu option for reprogramming the "quick knob press" functionality. Personally, I don't like the way it bops me into the Volume/Loudness/Balance/Beep/Fader stuff. The only one of those I need to change regularly is Volume, and I can get that by spinning the knob without any presses.

Much more useful to me, when driving I can now just tap the knob to enter/exit Shuffle mode (one of the new choices).

And, oh yeah, entering my menus is now done via a LONG press of the (Rio Remote) MENU button rather than SELECTMODE.

-ml


Edited by mlord (05/11/2001 13:59)

Top
#44871 - 05/11/2001 13:52 Re: Hijack V33 [Re: mlord]
cwillenbrock
enthusiast

Registered: 30/12/2000
Posts: 249
Loc: Dover, NJ
Now *that's* very cool...I like having the "info" knob press.

Keep up the great work.
_________________________
- Chris Orig. Empeg Queue position 2

Top
#44872 - 05/11/2001 13:54 Re: Hijack V33 [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
This is really great stuff.

So what do you plan on doing when one of the new releases actually implements an Empeg-defined feature for the main knob hold-down? Any ideas?
_________________________
Tony Fabris

Top
#44873 - 05/11/2001 13:58 Re: Booting from /dev/hda2 [Re: tonyc]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
>Emptris might not be possible just yet because AFAIK the only method
>for getting user input is currently a blocking call.

Yeah, but a userland app could fork() and have one thread continue while the other grabs input.
Sometimes that's even better designwise than a single thread doing everything.

But.. it's so simple to do in the driver that I added another ioctl() for it in v34.

NOTE: v34 is 100% identical to v33 except for this internal addtion.. don't bother downloading it unless you're programming for it or don't already have v33.

Cheers

Top
#44874 - 05/11/2001 14:08 Re: Hijack V33 [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
>So what do you plan on doing when one of the new releases actually implements
>an Empeg-defined feature for the main knob hold-down?

At the current rate of development, that might be a very long while from now.
And even if they do use it it will likely be for something that is already on a menu somewhere (since Mk1 doesn't have a knob), so we could just supplant their normal (new) usage.

Or not bother, since the remote's can also be used to enter the menu system.

-ml

Top
#44875 - 05/11/2001 14:08 Re: Booting from /dev/hda2 [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Suggestion for next version, if possible...

Do you have any way of knowing, in your kernel, if the player software is within its menu screen or not?

Reason I ask is that the new version prevents using the remote control for the functionality of the jump-to-sub-playlist and insert-playlist features on the Rio remote because those also do a menu-button-hold to implement.

Also, the quick-press of the knob used to be the same as "enter" from within the menu structure. Now, when you are in the menu, if you press the button to confirm something, it executes your function instead of the normal function of pressing the knob.
_________________________
Tony Fabris

Top
#44876 - 05/11/2001 14:27 Re: Booting from /dev/hda2 [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
>any way of knowing ... if the player software is within its menu screen or not?

No, I don't think so.

>using the remote control for the functionality of the jump-to-sub-playlist and insert-playlist features
>on the Rio remote because those also do a menu-button-hold to implement.

Oh.. I didn't even know about those features! And they're not in Tony's ButtonFAQ applet, either.
Mmm... this one bugs me.. I may revert back, or .. something.. ..

>Also, the quick-press of the knob used to be the same as "enter" from within the menu structure.
>Now, when you are in the menu, if you press the button to confirm something, it executes your
>function instead of the normal function of pressing the knob.

Oh... yeah, that would happen (bug, or nice feature?).
One can always leave it on the [default] setting if it's a problem.

Top
#44877 - 05/11/2001 14:29 Re: Booting from /dev/hda2 [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
And they're not in Tony's ButtonFAQ applet, either.

Whoops. Working on it.
_________________________
Tony Fabris

Top
#44878 - 05/11/2001 14:34 Re: Booting from /dev/hda2 [Re: mlord]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
How is it that you are writing these faster than I can compile them? Time for a faster machine I guess. Anyway, there is a new "Kitchen Sink Kernel (tm)*" here if anybody wants it.

-Mike

* The KSK is an award winning mix of other peoples work including HijackV34, voladj, irtrans, rotaryFix, displayserver IR stuff, and no FM Bass boost. It is suitable for the discriminating empeger who wants everything but can't be bothered to do any of the actual work. Order in the next 15 minutes and get a free bottle of SnakeOil brand miracle tonic.
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#44879 - 05/11/2001 15:08 Re: Booting from /dev/hda2 [Re: mlord]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
If it's really bothering you then maybe press-and-hold 4 is a better option? It's not exactly as intuitive as the Menu button but it seems to be currently unused...
_________________________
- Tony C
my empeg stuff

Top
#44880 - 05/11/2001 17:15 Re: Booting from /dev/hda2 [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
>>any way of knowing ... if the player software is within its menu screen or not?

>No, I don't think so.

I take that back. I've now written code to figure it out, and modify the menu-button and knob behaviours accordingly.
It'll probably be in the next release (tomorrow sometime..).

UPDATE It's in, and it's out. v35.


Edited by mlord (05/11/2001 17:41)

Top
#44881 - 05/11/2001 17:17 Re: Booting from /dev/hda2 [Re: mcomb]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
>How is it that you are writing these faster than I can compile them?

I subscribe to the "Release Early, Release Often" school of OSS development.

Top
#44882 - 05/11/2001 17:18 Re: Booting from /dev/hda2 [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
COOOOOL...

Yup, like rubbing a lamp.

Do you do monetary wishes, too?
_________________________
Tony Fabris

Top
#44883 - 05/11/2001 17:22 Re: Booting from /dev/hda2 [Re: mlord]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
I take that back. I've now written code to figure it out

Let's try a little experiment here folks...

Is there any way that hijack can feed the starving, create world piece, or bring Voice Recognition to the empeg? I am expecting something by tomorrow afternoon ;-)
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#44884 - 05/11/2001 17:34 Re: Hijack V33 [Re: mlord]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
For those who haven't noticed, the last few versions (today) have included a menu option for reprogramming the "quick knob press"

Can we get one more option added to the list of alternate uses? The detailed info screen that shows up when you hold down the info button on the rio remote. My remote never seems to be handy when I want to know song details.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#44885 - 05/11/2001 18:12 Re: Hijack V25: Major Release [Re: tfabris]
Diznario
enthusiast

Registered: 17/10/2001
Posts: 265
Loc: Portland OR
I'm surprised nobody else comented on this...

23f=Activate Oil Slick
4f32=Activate Smoke Screen
5c2b=Launch Missiles


WTF has Tony done to his car!?!

Hmmm...

This must have been in repsonse to the warmongering hordes chasing him back in the pre-2.0b3 days...
_________________________
Dario
MK2 in an Impreza 2.5RS

Top
#44886 - 05/11/2001 18:16 Re: Booting from /dev/hda2 [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
I've now written code to figure it out, and modify the menu-button and knob behaviours accordingly.

Cool, so how did you do it?
_________________________
Tony Fabris

Top
#44887 - 05/11/2001 18:30 Re: Booting from /dev/hda2 [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
I peeked at the kernel patch and it's a pretty slick solution... It's basically "screen scraping" the top 3 rows and looking for what the player menu looks like. I can't really follow what the actual code is doing beyond that (ie what pattern it's looking for) but who cares, it works!
_________________________
- Tony C
my empeg stuff

Top
#44888 - 05/11/2001 19:12 Re: Booting from /dev/hda2 [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Oh, that's nasty.
_________________________
Tony Fabris

Top
#44889 - 05/11/2001 19:35 Re: upgclient [Re: smu]
kimbotha
member

Registered: 30/08/2000
Posts: 157
Loc: London, UK
Great... :)

ok will take a look at it and see if I can build an upgrade image that leaves /dev/hda5 alone and just writes /dev/hda2 and a new kernel... :) Of course it will probably have to wait until this afternoon/evening... and will depend on me not having written myself off from Melbourne Cup day.... *smile*

Cheers

Kim

Top
Page 2 of 5 < 1 2 3 4 5 >