Unoffical empeg BBS

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

Page 1 of 3 1 2 3 >
Topic Options
#57084 - 09/01/2002 16:20 Hijack v114: major bug fixed
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Okay, Hijack v114 is out. Please upgrade.

The previous 3 or 4 versions have a nasty bug whereby hijack does not restore it's state correctly on boot. This has been fixed, along with some more subtle things.

http://empeg-hijack.sourceforge.net/

Cheers,

-ml

Top
#57085 - 09/01/2002 16:21 Re: Hijack v114: major bug fixed [Re: mlord]
mandiola
enthusiast

Registered: 26/12/2001
Posts: 386
Loc: Miami, FL - Sioux Falls, SD
Hehe. Thats why my player wouldn't restore visuals ; )

Thanks

Greg

Top
#57086 - 09/01/2002 17:39 Re: Hijack v114: major bug fixed [Re: mandiola]
AlphaWolf
stranger

Registered: 01/01/2002
Posts: 46
Thanks Mark. That would be why my player was booting slowly, and why it never remembered what playlist I was on or what song it was playing. I'll forgive you this time, but try not to let it happen again :~)
_________________________
~Max

Top
#57087 - 09/01/2002 17:46 Re: Hijack v114: major bug fixed [Re: mlord]
beaker
addict

Registered: 19/08/2000
Posts: 588
Loc: England
Thanks Mark for your remarkable response to reported bugs and requests for additional features. All hail Mark Lord, or should that be Lord Mark?
_________________________
Marcus 32 gig MKII (various colours) & 30gig MKIIa

Top
#57088 - 09/01/2002 19:28 Re: Hijack v114: major bug fixed [Re: mlord]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Mark, for me the kftpd_control_port and kftpd_data_port config.ini options are no longer working in this release. I have them defined but when my player starts up it says:
kftpd: bind(port=21) failed: -98
kftpd: make_socket(port=21) failed

Because it's conflicting with my normal FTP server.

The khttpd is also conflicting with displayserver but I haven't tried changing the khttpd_port yet. Just wanted to see if you know of anything that would cause this to happen.

_________________________
- Tony C
my empeg stuff

Top
#57089 - 09/01/2002 23:06 Re: Hijack v114: major bug fixed [Re: tonyc]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Yeah, I broke the port overrides.. oops.

Top
#57090 - 10/01/2002 08:54 Re: Hijack v114: major bug fixed [Re: mlord]
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
Hi Mark,

I have the following in my config.ini:

initial.H=000000.L,ffffff
initial.C=20DF0B
80b44918=000000.L

SO that when I plug it in at home it always powers off and in the car it always powers on. The car bit doesn't seem to work. Can I use both initial.C and initial.H ?
_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#57091 - 10/01/2002 17:39 Re: Hijack v114: major bug fixed [Re: Dava]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
I don't know. I have never personally tested .C and .H
because I've been waiting for others else to try it and report back. If nobody reports back, I figure I can remove the feature again!

But since you reported back..

Can you play with it some more, and see if you can prove one way or another, that .H works ?? And then try again for .C, and report back.

Thanks.

Top
#57092 - 10/01/2002 21:08 Hijack v116: Much improved FTP/HTTP servers [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Okay, I've just completed (I hope) a major overhaul of the kftpd/kttpd servers in Hijack. Version v116 is now out at http://empeg-hijack.sourceforge.net.

The current status of the HTTP server is:

-- works very well as a filesystem browser
-- only downloads files, no uploading
-- sends audio files as "audio/mpeg", for streaming music applications


The FTP server shares about 90% of the same code base:

-- implements a very rich FTP subset
-- can upload / download / delete files
-- can create / delete directorys
-- can change file / directory attributes

Note that in order to upload/modify anything on the player, you first have to drop to shell mode (developer version only) and issue the "rw" command from the shell. Don't forget to do "ro" again when you're done, or you'll have to endure a very long filesystem check the next time you sync!

In my testing, I have found that the Unix/Linux "mirrordir" utility is happy with the FTP server, and can be used to backup and/or restore much of the player's filesystem from a Linux box.

Enjoy!

Top
#57093 - 10/01/2002 22:47 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mlord]
cwillenbrock
enthusiast

Registered: 30/12/2000
Posts: 249
Loc: Dover, NJ
This release should enable changing permissions on files and directories through FTP, correct? What command is actually sent to the FTP server for this to work?

My FTP client issues the chmod command, but the server returns "bad command". Should this work, or do I misunderstand what file / deirectory attributes is referring to?

I have no trouble writing or deleting files.
_________________________
- Chris Orig. Empeg Queue position 2

Top
#57094 - 10/01/2002 22:58 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mlord]
cwillenbrock
enthusiast

Registered: 30/12/2000
Posts: 249
Loc: Dover, NJ
Also...I don't know what HTTP is supposed to be doing with audio files. I see the file sent to my browser as text, proceeded with text that looks like it should be headers, like:
Content-Length: 5463272 n: close Accept-Ranges: bytes Content-Type: audio/mpeg 9461 lO
(followed by lots and lots of garbage)

Is this a problem on my end?
_________________________
- Chris Orig. Empeg Queue position 2

Top
#57095 - 11/01/2002 02:30 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mlord]
andygjones
journeyman

Registered: 30/07/2001
Posts: 63
wow this is amazing! at last i can easily take things ive downloaded at work home! great work mark!
_________________________
RioCar 40GB RGB - can never decide

Top
#57096 - 11/01/2002 03:27 Re: Hijack v114: major bug fixed [Re: mlord]
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
Thanks Mark,

Don't take it out PLEEAASE.

Here's the deal.

Initial.H works fine
Initial.C does not work if it appears after the initial.H line in config.ini
Initial.C does not work if it is the ONLY initial line
I have tried initial.C=different codes just to see if they were the prob.
Initial.H only works at home as expected.

This feature is the answer to my startup options in another thread, so would be very useful to me.

As an aside, when using the FTPd (in v115) my WSFTP32 (old but trusted) insists on sending HELP to the empeg after logon, this is invalid in your implementation. Could it be supported even if it returns nothing?
_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#57097 - 11/01/2002 03:34 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mlord]
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
The HTTP and FTP stuff is great, just what I always wanted.

Would you consider adding RW, RO as menu items on the Hijack menus so that I dont have to use my serial cable?

Franks DS2 seemed to add these as options on the quit menu but I have had varying success with DS2. DS1 worked fine but doesn't give these mount options.
_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#57098 - 11/01/2002 08:46 Re: Hijack v116: Much improved FTP/HTTP servers [Re: cwillenbrock]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
>My FTP client issues the chmod command,
>but the server returns "bad command".
>Should this work, or do I misunderstand
>what file / deirectory attributes is referring to?

There is no such command in the FTP standard (RFC-959).

However, most sites implement this using the "SITE" command, as in "SITE CHMOD 0755 filename" -- which is exactly how my kftpd does it.

Your client is broken, but if you can send me the exact string that it passes to kftpd, then I'll see about a server-side fix. To see the strings, add this to your config.ini, and then monitor the serial port while using ftp:

[hijack]
kftpd_verbose=1

Cheers
-ml


Edited by mlord (11/01/2002 08:56)

Top
#57099 - 11/01/2002 08:54 Re: Hijack v116: Much improved FTP/HTTP servers [Re: cwillenbrock]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
>Also...I don't know what HTTP is supposed to be doing
>with audio files. I see the file sent to my browser as text
>proceeded with text that looks like it should be headers,

That's pretty much what you should see, except that the headers appear to be broken in v116 -- fixed for v117 (out shortly).

So listen to streaming audio with v117, just configure the "mime types" or "helper applications" in your browser to feed data of type "audio/mpeg" to your favorite streaming mp3 player. Many browsers will do this automatically for you.

Cheers

Top
#57100 - 11/01/2002 08:56 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Oops.. previous post (now corrected) should have said:

[hijack]
kftpd_verbose=1


Top
#57101 - 11/01/2002 08:59 Re: Hijack v116: Much improved FTP/HTTP servers [Re: Dava]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
The HTTP and FTP stuff is great, just what I always wanted.

>Would you consider adding RW, RO as menu items
>on the Hijack menus so that I dont have to use
>my serial cable?

Yes, that's something I have in mind for a future release,
although I'd like to do:
(1) just have arbitrary menu exec commands configurable in config.ini, and (2) be able to do rw/ro with just the "consumer" image installed (which doesn't actually include those commands on disk..).

Cheers

Top
#57102 - 11/01/2002 09:00 Re: Hijack v114: major bug fixed [Re: Dava]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Okay, I've added the ftp HELP command for v117.

I'll take a look at .C before I release it, though. Maybe that can be fixed in time for v117 as well.

Top
#57103 - 11/01/2002 09:11 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Mmm.. on further examination, your client is probably doing "SITE CHMOD", and the server has a bug: "SITE CHMOD" fails if the full pathname was not specified from the root directory. I'll fix that bug for v117.

Cheers

-ml

Top
#57104 - 11/01/2002 10:32 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mlord]
cwillenbrock
enthusiast

Registered: 30/12/2000
Posts: 249
Loc: Dover, NJ
I'm using 177 now.

I mispoke about the command my client was sending. It was sending the SITE command:
SITE chmod 755 testfile

There are two problems with this
1) Apparently "chmod" is only accepted in all-caps.
2) CHMOD 755 doesn't work...it must be 0755

I know this because I can send custom commands to the server via my client, and using SITE CHMOD 0755 testfile works fine...it's just not the way my client sends it. Can this be changed on the server, so that CHMOD can be lower case and the three digit numeric value works?
_________________________
- Chris Orig. Empeg Queue position 2

Top
#57105 - 11/01/2002 10:42 Re: Hijack v116: Much improved FTP/HTTP servers [Re: cwillenbrock]
wvloon
journeyman

Registered: 13/08/2000
Posts: 82
Loc: Near Arnhem, Netherlands
Wouldn't it make more sense to use another client ?
_________________________
[email protected] ------------------------ Reg:1934/Mk1:158-Blue(sold)/Mk2:380-Amber(sold)/Mk2a:3273-Blue

Top
#57106 - 11/01/2002 10:48 Re: Hijack v116: Much improved FTP/HTTP servers [Re: wvloon]
cwillenbrock
enthusiast

Registered: 30/12/2000
Posts: 249
Loc: Dover, NJ
Well, no...it wouldn't. First, I really like my client. I've used several, and this is the one I like the most. Second, I would think it'd make more sense to try to make the server as cross-platform and client-independent as possible. This way it won't be a problem the next time some other user out there with a different client that behaves similar to the way mine does. Make sense?

When I write a web-based app, for example, and it doesn't work in Internet Explorer, am I going to tell all my users that you have to use Netscape? Of course I'm not. I'm going to rewrite the app so it works in as many client configurations as possible.
_________________________
- Chris Orig. Empeg Queue position 2

Top
#57107 - 11/01/2002 11:26 Re: Hijack v116: Much improved FTP/HTTP servers [Re: cwillenbrock]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Okay, good one. I had forgotten to go back and implement strncasecmp() for keywords -- the RFC says the server should accept mixed case keywords. Done for v118.

The mode is tricky.. it really is supposed to have a '0' to indicate "octal", but I'll have the code just tolerate modes without the leading '0'.

Cheers

Top
#57108 - 11/01/2002 11:33 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mlord]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
it really is supposed to have a '0' to indicate "octal", but I'll have the code just tolerate modes without the leading '0'.

Qrious; will it accept 4-position numbers? (ie 4755) Not that I imagine much use for it though...

/Michael
_________________________
/Michael

Top
#57109 - 11/01/2002 12:07 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mtempsch]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Yes, it blindly accepts any length of octal numbers for the mode.

-ml

Top
#57110 - 11/01/2002 12:14 Re: Hijack v114: major bug fixed [Re: mlord]
vince
stranger

Registered: 23/12/2001
Posts: 67
Loc: UK
Just thought I'd let you know that I've dumped 600 Megs of zip files onto my empeg to take home using Hijack v117. The transfer speed was not to bad. I'll let you know if I have any problems with the zips.

_________________________
Vince, UK RioCar 20GB + 20GB, tuner & stalk, 5 x Audio Receivers

Top
#57111 - 11/01/2002 12:21 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mlord]
mandiola
enthusiast

Registered: 26/12/2001
Posts: 386
Loc: Miami, FL - Sioux Falls, SD
When i try to connect with CuteFTP i get this error. This doesn't matter to me much cause I can use other ftp programs and they work fine... it would just be cool to be able to use cuteftp.

*** CuteFTP Pro 2.0 - build Nov 20 2001 ***

STATUS:> Getting listing ""...
STATUS:> Connecting to ftp server 192.168.0.2:21 (ip = 192.168.0.2)...
STATUS:> Socket connected. Waiting for welcome message...
220 Connected.
STATUS:> Connected. Authenticating...
COMMAND:> USER anonymous
230 Okay.
STATUS:> Login successful.
COMMAND:> PWD
257 "/"
STATUS:> Home directory: /
COMMAND:> FEAT
500 Bad command.
STATUS:> This site doesn't support the 'features' command.
COMMAND:> REST 100
500 Bad command.
STATUS:> This site cannot resume broken downloads.
COMMAND:> TYPE A
200 Okay.
COMMAND:> PASV
500 Bad command.
ERROR:> Syntax error, command unrecognized.
ERROR:> Failed to establish data socket.


-Greg

Top
#57112 - 11/01/2002 13:16 Re: Hijack v116: Much improved FTP/HTTP servers [Re: cwillenbrock]
wvloon
journeyman

Registered: 13/08/2000
Posts: 82
Loc: Near Arnhem, Netherlands
In reply to:

When I write a web-based app, for example, and it doesn't work in Internet Explorer, am I going to tell all my users that you have to use Netscape? Of course I'm not. I'm going to rewrite the app so it works in as many client configurations as possible.




You don't work for microsoft, that's for sure
_________________________
[email protected] ------------------------ Reg:1934/Mk1:158-Blue(sold)/Mk2:380-Amber(sold)/Mk2a:3273-Blue

Top
#57113 - 11/01/2002 16:01 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mandiola]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Just tell your CuteFTP to not use "passive" ftp. It will work.

-ml

Top
#57114 - 11/01/2002 16:04 Re: Hijack v114: major bug fixed [Re: vince]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Cool.

I too am using my Empeg as a portable (60GB) backup device.

Cheers

Top
#57115 - 11/01/2002 17:40 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mlord]
mandiola
enthusiast

Registered: 26/12/2001
Posts: 386
Loc: Miami, FL - Sioux Falls, SD
I tried that.. and i got:

*** CuteFTP Pro 2.0 - build Nov 20 2001 ***

STATUS:> Getting listing ""...
STATUS:> Connecting to ftp server 192.168.0.2:21 (ip = 192.168.0.2)...
STATUS:> Socket connected. Waiting for welcome message...
220 Connected.
STATUS:> Connected. Authenticating...
COMMAND:> USER
230 Okay.
COMMAND:> PWD
257 "/"
STATUS:> Home directory: /
COMMAND:> FEAT
500 Bad command.
STATUS:> This site doesn't support the 'features' command.
COMMAND:> REST 100
500 Bad command.
STATUS:> This site cannot resume broken downloads.
COMMAND:> TYPE A
200 Okay.
COMMAND:> PASV
500 Bad command.
ERROR:> Syntax error, command unrecognized.
ERROR:> Failed to establish data socket.


-Greg

Top
#57116 - 11/01/2002 17:47 Re: Hijack v116: Much improved FTP/HTTP servers [Re: mandiola]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
The "PASV" means your ftp client is trying to do "passive ftp". Tell it not to do that, and life will be good. Happy Days, chap!

-ml

Top
#57117 - 11/01/2002 19:43 Hijack v118: more bug fixes, screen capture [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Okay, v118 is out, with all of the minor bug fixes (except ".C") for problems that have been reported (few).

Also new, on an experimental basis, is /proc/empeg_screen.tiff

If you access this file (using kftpd or khttpd, for example), it grabs the current empeg screen buffer and returns it as a .tiff (image/tiff) file -- many browsers understand this format, and all image editors (eg. gimp, photoshop, xv) do as well.

I will likely convert it to .png soon, for better browser compatibility. Then all we need is some html and javascript, and we'll have almost full displayserver equivalency from the kernel and your favorite web browser. I'll add http "POST" for remote button presses later as well.

Cheers

-ml

Top
#57118 - 11/01/2002 19:51 Re: Hijack v118: more bug fixes, screen capture [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I don't know if I've said this lately.

Mark, YOU DA MAN.
_________________________
Tony Fabris

Top
#57119 - 11/01/2002 21:09 Re: Hijack v118: more bug fixes, screen capture [Re: tfabris]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Impressing. Really. If I think of how the empeg will look like in just few months if Mark keeps improving hijack at this amazing pace... wow!
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#57120 - 11/01/2002 22:33 Re: Hijack v118: more bug fixes, screen capture [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Sheesh! It's been almost three months since I last heard that!

Cheers

-ml

Top
#57121 - 12/01/2002 00:27 Re: Hijack v118: more bug fixes, screen capture [Re: mlord]
cwillenbrock
enthusiast

Registered: 30/12/2000
Posts: 249
Loc: Dover, NJ
ML,

You're my hero. Seriously.
_________________________
- Chris Orig. Empeg Queue position 2

Top
#57122 - 12/01/2002 02:02 Re: Hijack v118: more bug fixes, screen capture [Re: mlord]
time
enthusiast

Registered: 20/11/2000
Posts: 279
Loc: Pacific Northwest
"...It's full of stars....."

This is so amazing. Mark, you are unreal!

Top
#57123 - 12/01/2002 05:13 Re: Hijack v118: more bug fixes, screen capture [Re: mlord]
TommyE
enthusiast

Registered: 08/06/1999
Posts: 356
Loc: NORWAY


Thank you

TommyE

Top
#57124 - 12/01/2002 05:21 Re: Hijack v118: more bug fixes, screen capture [Re: mlord]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5916
Loc: Wivenhoe, Essex, UK
The png option would be appreciated, IE does not appear to like TIFFs.

Also, some apps don't like the tiff you are generating. Photoshop shows them fine, but ACDSee strectches the images so that it is 128x512 in size.

A png file should get it to fit in a single Ethernet packet too...
_________________________
Remind me to change my signature to something more interesting someday

Top
#57125 - 12/01/2002 10:43 Re: Hijack v118: more bug fixes, screen capture [Re: andy]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
>Photoshop shows them fine, but ACDSee strectches
>the images so that it is 128x512 in size.

Well, actually, the latter behaviour is what I was trying to achieve, using the "resolution" (scaling) parameters embedded in the .tiff file. The problem with 32x128 "native" resolution is that it's just plain too tiny to see very well on a 100dpi screen.

The scale factors I encoded are supposed to cause it to be displayed "actual size", the same dimensions as the actual Empeg front panel display.

But no bother.. .png is a completely different (and way more fscking complex) format for this.. ugh.

Cheers

-ml

Top
#57126 - 12/01/2002 10:53 Re: Hijack v118: more bug fixes, screen capture [Re: mlord]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5916
Loc: Wivenhoe, Essex, UK
How about an RLE encoded BMP instead then ?
_________________________
Remind me to change my signature to something more interesting someday

Top
#57127 - 12/01/2002 11:19 Re: Hijack v118: more bug fixes, screen capture [Re: andy]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Actually, .BMP was the first attempt.. none of my browsers here supported it (I suppose IE probably does, but nobody else).

Cheers

Top
#57128 - 12/01/2002 14:03 Re: Hijack v118: more bug fixes, screen capture [Re: mlord]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5916
Loc: Wivenhoe, Essex, UK
I haven't found a browser that supports tiff yet either, neither IE or Mozilla do...
_________________________
Remind me to change my signature to something more interesting someday

Top
#57129 - 12/01/2002 18:01 Hijack v119: MUCH faster directory listings [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Okay, Hijack v119 is now out at http://empeg-hijack.sourceforge.net/

New in this version:

-- ftp/http error message always go to the console, even if verbose=0
-- ftp/http directory listings are MUCH faster now
-- some built-in mime types for common file extensions

The faster directory list enhancement makes a big difference when accessing the /fids/ directory on a unit that has a lot of tunes installed -- really speeds up restore/backup functions.

Cheers

-ml

Top
#57130 - 12/01/2002 20:29 Re: Hijack v114: major bug fixed [Re: mlord]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
Mark (or anybody who can help me), I searched and could not find it, so, sorry to bother, but did you implement a command in the config.ini to change the port of the http server, just like the one for the ftp server?
Thank you!
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#57131 - 12/01/2002 20:43 Re: Hijack v114: major bug fixed [Re: Taym]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
I believe it's in khttpd_port, but bring up the kernel patch file (either in your browser or notepad) and do a search for khttpd.
_________________________
- Tony C
my empeg stuff

Top
#57132 - 12/01/2002 20:54 Re: Hijack v114: major bug fixed [Re: tonyc]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
It didn't work. Maybe it has not been implemented yet...
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#57133 - 12/01/2002 21:33 Re: Hijack v114: major bug fixed [Re: Taym]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
I think the "[hijack] khttpd_port=nn" option for config.ini may have been broken for a release or two, but it should work fine in v118 and v119.

Cheers

-ml


Top
#57134 - 13/01/2002 04:43 Re: Hijack v119: MUCH faster directory listings [Re: mlord]
Wire
member

Registered: 11/09/2000
Posts: 143
Loc: Jylland, Denmark
Hi,

Your improvements are totally awesome, dude! :-)

How about a SITE RW and SITE RO (and the kftpd should automagically do a SITE RO if a user invoked SITE RW after logging off).

I just got my "virgin" RioCar plugged in. It doesn't get anything uploaded until:

- Upgrade to 2.0b7
- Patch logo to empeg Tux
- Install newest ML-Kernel.

Which doubles it's value to me, compared to the stock V1.02 it ships with.
_________________________
Lars MkII 40gig 090000598

Top
#57135 - 13/01/2002 06:06 Re: Hijack v118: more bug fixes, screen capture [Re: mlord]
jane
enthusiast

Registered: 10/10/2000
Posts: 350
Loc: Copenhagen SW, Denmark
The NFS-software for my Psion implements remote control
by "chdir"'ing into "virtual" directories and "cat'ing" virtual files.
I guess posting to /proc woould work, but not be as "user friendly" from a web-browser /ftp browser

Marius (Escort Cab + Mark II)

Top
#57136 - 13/01/2002 07:07 Re: Hijack v114: major bug fixed [Re: mlord]
Taym
carpal tunnel

Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
I couldn't get it to work in 119, but it works perfectly in 120. Thank you!

_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg

Top
#57137 - 13/01/2002 08:53 Re: Hijack v114: major bug fixed [Re: Taym]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Now that's interesting.. I wonder why v119 didn't work -- no difference in that code at all for v120.. must be a race in there somewhere, probably with the semaphore. I'll fix that by initializing the semaphore earlier.

thanks

Top
#57138 - 13/01/2002 08:57 Re: Hijack v118: more bug fixes, screen capture [Re: jane]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Well, everything under /proc/ is virtual, files or directories. I am not sure what you meant.

Cheers

-ml

Top
#57139 - 13/01/2002 09:12 Re: Hijack v118: more bug fixes, screen capture [Re: mlord]
jane
enthusiast

Registered: 10/10/2000
Posts: 350
Loc: Copenhagen SW, Denmark
Yes... of course... In my above mentioned psion remote control, these files are not present on the actual filesystem, only when accessed by NFS, and the NFS-daemon does not treat them as files, but as commands.
I guess the /proc/ files could be used directly in the same manner?

Could you have a file /proc/empeg/play that will do a "play" function when *read*?

Marius (Escort Cab + Mark II)

Top
#57140 - 13/01/2002 10:28 Re: Hijack v118: more bug fixes, screen capture [Re: jane]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
>Could you have a file /proc/empeg/play
>that will do a "play" function when *read*?

How about when *written* instead?

Something like:

## send "play" button code:
echo "20df18" >/proc/hijack_input

## send "next track" button code:
echo "20df11" >/proc/hijack_input


???

Top
#57141 - 13/01/2002 10:38 Re: Hijack v118: more bug fixes, screen capture [Re: mlord]
jane
enthusiast

Registered: 10/10/2000
Posts: 350
Loc: Copenhagen SW, Denmark
I realise it will be easier to implement on the server-side when
you activate by writing to /proc files.

My reason for wanting action when read is that I can point my FTP-client to /proc/, and then just click each file to achieve
the relevant "action".

Otherwise, I guess would have to have a fine that I upload each time, and check the name and content before uploading etc...

But... don't get me wrong. The support you are suggesting is 99% very very good for me :-)

Marius (Escort Cab + Mark II)

Top
#57142 - 13/01/2002 16:15 Re: Hijack v118: more bug fixes, screen capture [Re: mlord]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
Exactly what I wanted to ask for (well, either a pseudofile in /proc or a device file in /dev...)
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#57143 - 14/01/2002 09:07 Re: Hijack v119: MUCH faster directory listings [Re: Wire]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
For now, v123 has limited SITE EXEC capability: the command output is NOT captured and returned to the user, so you have to ensure that the command is correct before sending it.

For example, this will not work: SITE EXEC ro
But this example here will work: SITE EXEC /bin/ro

The command output goes to the serial port, instead of back to the user. I will probably leave it like that for a while (BIG JOB, lots of code bloat needed to fix).

-ml

Top
#57144 - 14/01/2002 11:24 Re: Hijack v119: MUCH faster directory listings [Re: mlord]
mandiola
enthusiast

Registered: 26/12/2001
Posts: 386
Loc: Miami, FL - Sioux Falls, SD
So far today i've been messing around with picker | emptris | disp ...etc... I made a short menu system that you can choose to play emptris or run other programs,etc... and goes away after the timeout if no buttons are pressed... Now is there any easy way I could get this to load when a certian button or something is pressed?

I know this is probobly the worst way of doing it but it was the only way I could think without writing programs that needed to be compiled myself to run programs like emptris for other people to play while in the car...

-Greg

Top
#57145 - 16/01/2002 08:53 Re: Hijack v114: major bug fixed [Re: mlord]
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
Mark,

I have just tried the initial.C again with V127.... No luck.

I tried to disable your "Restore DC Visuals" just in case this was the cause but it still does not seem to do these commands at startup on DC.

Did you attempt a fix back around v116?
_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#57146 - 17/01/2002 16:39 Re: Hijack v114: major bug fixed [Re: Dava]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Okay, the .C and .H should now be working as advertised.. Hijack v132.

Top
Page 1 of 3 1 2 3 >