[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
Announcing: Fuse-2.7.2 for nmt
01-23-2008, 05:04 AM
Post: #1
Announcing: Fuse-2.7.2 for nmt
Due to the kernel cache coherence bug it took quite a bit to get it to work right, but I can finally announce that FUSE appears to run acceptably. I have done one test, and that went well.. what?

In addition to that, for those believing in "fair use", I have included dvdfs, based on libdvdread and libdvdcss, so you can watch your legally bought DVDs with a USB DVD drive attached. However, software CSS decode on this CPU, with the kernel page flushing, is walking a thin line. Don't be surprised if you have slow downs.

Luckily, this won't help you pirate DVDs so I feel confident that nobody will put me, or the yakuza, on the hit lists.

For those advanced, feel free to try it:

http://lundman.net/wiki/index.php/NMT:fuse

For the rest, please wait for proper user-generated-app support to be included.



I also intend to try httpfs for remote ISO playing, and possibly rarfs although personally, llink does a better job Smile

Any other fuse-fs worth trying?
Visit this user's website Find all posts by this user
[+] 1 user says Thank You to lundman for this post
01-23-2008, 06:21 AM
Post: #2
 
Excellent, would it be possible for you to post the diff -Naur to the original fuse-2.7.2/ ? I am curious on what you had to do.

Martin
Find all posts by this user
01-23-2008, 06:40 AM
Post: #3
 
Could do. I just copied in the "flush_cache_page()" function from arch/mips/mm/c-r4k.c.

Of course, none of the function pointers are initialised, so I patched in to do so the first time that flush_cache_page() is called. Not pretty but it is just needed in fuse.

fuse itself is untouched, just define DCACHE_BUG when you compile it.
Visit this user's website Find all posts by this user
01-23-2008, 06:54 AM
Post: #4
 
That could be enough to get me going. I want to play around with "nice" to see how this might work better and then I might put fusermount into my busybox.

Martin
Find all posts by this user
01-23-2008, 08:01 AM
Post: #5
 
Added link to my hacked c-r4k.c on the wiki page.
Visit this user's website Find all posts by this user
01-23-2008, 08:39 AM
Post: #6
 
Also, I managed to fix my cross-compile script so that I also get the C++ compiler.


Additionally, I compiled llink and unrar for the nmt itself.
Visit this user's website Find all posts by this user
01-23-2008, 09:10 AM
Post: #7
 
Wow, this really opens up possibilities!

Apart from httpfs with the remote DVD disk playback, the first thought I got was to make some use of either pytagfs, Tagfs and/or playlistfs, since the current approach of scrolling through the media library is quite slow and user unfriendly.

Some might be interested in the MythTVfs, but I'm not sure if there was some work ongoing on that already?

I'm very new to this and from what I understand FUSE utilizes quite some resources (depending on the application, too). Would all I've been listing here unrealistic to implement, running at the same time?


Edit: and what about trying the FuseIso for playing those iso's etc? (though it's no longer maintained)

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
01-23-2008, 02:06 PM
Post: #8
 
Does this mean we can finally have native rarfs-support? Smile
Find all posts by this user
01-24-2008, 02:24 AM
Post: #9
 
llink's built-in rar support works flawlessly now, personally I would see no point in making the PH CPU do rarfs instead.

I see how it could be useful if you want to access RARs on a NAS or other source that can't run llink.

sshfs or one of the FTP filesystems based on FUSE would be interesting for remote internet streaming Smile
Find all posts by this user
01-24-2008, 08:16 AM
Post: #10
 
Hubert Wrote:llink's built-in rar support works flawlessly now, personally I would see no point in making the PH CPU do rarfs instead.

I see how it could be useful if you want to access RARs on a NAS or other source that can't run llink.

sshfs or one of the FTP filesystems based on FUSE would be interesting for remote internet streaming Smile

You don't see a point in running rarfs on the PH CPU, but have no problem running sshfs.

How do you think? Ssh is far more CPU intense than just seeking trough a couple of files (rarfs).
Find all posts by this user
01-24-2008, 08:23 AM
Post: #11
 
I dont want to run a seperate server software just to get the rar support.
Llink is awesome but i would like to have the support automaticly on all my added shares/harddrives.
It's easy to see why people want it, if thats solved im a happy man, like all others Big Grin

Its a bitch for the people torrenting on PCH, where they have to uppack the rar-files from PCH to their harddrives and then back.


Great work lundman
8)
Find all posts by this user
01-24-2008, 08:32 PM
Post: #12
 
lundman Wrote:Also, I managed to fix my cross-compile script so that I also get the C++ compiler.


Additionally, I compiled llink and unrar for the nmt itself.

Wow! A couple days ago, I asked emveepee if it is possible to compile unrar for the PCH, since almost every torrent I download is rared. But then I need a PC to do unrar. And hey! You got a solution! Is it possible to make it public?

Nice work!

Cheers!
Find all posts by this user
02-03-2008, 04:53 AM
Post: #13
 
I've been debugging dvdfs a little to attempt to work out why it sometimes slows down, just like it does playing VIDEO_TS from smb, (but not .ISO).

I noticed that every "chunk" that amp_test plays, it open()s reads() and close()s the VOB file. That is a rather large over head! Open() in particular over SMB for every block.

I made dvdfs ignore close, and remain open for each request as long as it is for the same file and it works a lot better.

Syabas, You may want to re-consider your design here Smile


On a side note, I have some 64 issues still:

-rw-r--r-- 1 502 503 988 Jan 4 19:21 ./skin/aquarius_720/tail.html

[skin] file './skin/aquarius_720/tail.html' size 717117280

stat st_size is wacked!
Visit this user's website Find all posts by this user
02-26-2008, 12:00 AM
Post: #14
 
lundman Wrote:Also, I managed to fix my cross-compile script so that I also get the C++ compiler.


Additionally, I compiled llink and unrar for the nmt itself.
Could you please update your toolchain generation script http://www.lundman.net/wiki/index.php/NMT:cross
Could you also upload your full linux toolchain (including g++) as the one avalaible on http://www.lundman.net/wiki/index.php/NMT:downloads has only c support

I did achieve to generate a g++ toolchain on my own but all my C++ binaries fail with
Code:
can't resolve symbol '__pack_f'
ldd says :
Code:
# ldd /usr/local/mips/bin/nzbget
        libncurses.so.5 => /usr/local/mips/lib/libncurses.so.5 (0x2aaed000)
        libxml2.so.2 => /usr/local/mips/lib/libxml2.so.2 (0x2ab79000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x2ad2b000)
        libpar2.so.0 => /usr/local/mips/lib/libpar2.so.0 (0x2ad7e000)
        libsigc-2.0.so.0 => /usr/local/mips/lib/libsigc-2.0.so.0 (0x2ae54000)
        libm.so.0 => /lib/libm.so.0 (0x2af0b000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2af68000)
        libc.so.0 => /lib/libc.so.0 (0x2afb8000)
        libdl.so.0 => /lib/libdl.so.0 (0x2b05a000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
Any idea on what I'm doing wrong ?

Thanks for your help lundman
Find all posts by this user
04-05-2008, 03:35 AM
Post: #15
Re: Announcing: Fuse-2.7.2 for nmt
lundman Wrote:For those advanced, feel free to try it:
http://lundman.net/wiki/index.php/NMT:fuse
First of all, thank you for the great job!
I tried it but it did not work for me. Any special hints? I downloaded the binary from your site
lundman Wrote:For the rest, please wait for proper user-generated-app support to be included.
Do you have any plans to do it?
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  NMT remote iPhone native app. racermonoid 390 126,467 03-06-2013 08:01 PM
Last Post: mindnever
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,053 01-19-2013 04:07 PM
Last Post: winfried_laane
  MediatankController 1.2 for iPhone - browse and control your NMT from your phone Niels Leenheer 424 274,541 11-27-2012 03:28 PM
Last Post: jedebe
Star [Apps] Bierdopje 4 NMT PHP script SilverViper 4 1,327 11-26-2012 04:57 PM
Last Post: Djiest
  MediatankController 1.0 for Adobe AIR - browse and control your NMT from your PC Niels Leenheer 232 166,337 05-13-2012 10:48 PM
Last Post: robertazimmerman
Music fuppes 0.629 for NMT - dlna, upnp media server [UPDATED: 31-May-2009] Mr Segfault 53 45,253 10-12-2011 01:04 AM
Last Post: spud
  Avidemux on NMT Cholsonic 0 1,226 09-26-2011 12:23 PM
Last Post: Cholsonic
  A ssh client for NMT A-100 Oleg 0 2,119 05-24-2011 05:54 PM
Last Post: Oleg
  default nmt theme and more rows bephi_perez 0 1,891 04-30-2011 07:56 PM
Last Post: bephi_perez
Bug Executing a script on the server from the NMT? johnk 6 3,211 02-21-2011 10:59 PM
Last Post: johnk

Forum Jump: