MediaSmartServer.net
http://www.mediasmartserver.net/forums/

Here is a linux driver for the H340 leds
http://www.mediasmartserver.net/forums/viewtopic.php?f=23&t=7720
Page 4 of 9

Author:  merelin [ Tue Feb 08, 2011 1:26 pm ]
Post subject:  Re: Here is a linux driver for the H340 leds

Guys,

Finally, the latest annoying issue - incorrect hot-swap drives detection upon addition and removal, has been resolved.
The latest packaged version mediasmartserver_0.3-1ubuntu1_i386.deb.tar.gz contains:

1. the original code from the repository:

https://bitbucket.org/adaptation/medias ... /wiki/Home

2. activity-v2.patch.txt applied
3. my fixes for:
- incorrect bay index detection
- incorrect hot-swap drives detection upon addition and removal.

Your feedback is highly appreciated.

Thank you.

Attachments:
mediasmartserver_0.3-1ubuntu1_i386.deb.tar.gz [27 KiB]
Downloaded 1008 times

Author:  simple [ Tue Feb 08, 2011 1:34 pm ]
Post subject:  Re: Here is a linux driver for the H340 leds

K. Hendrik wrote:
Is the h340 driver (kernel module) suitable for the h341???

I've just tested on my new h341. HDD leds do not work. Info Led is still blinking but "--brightness" option works.

Code:
bin # ./mediasmartserverd --xmas
Found: HP MediaSmart Server 48X

Author:  merelin [ Tue Feb 08, 2011 2:07 pm ]
Post subject:  Re: Here is a linux driver for the H340 leds

simple wrote:
K. Hendrik wrote:
Is the h340 driver (kernel module) suitable for the h341???

I've just tested on my new h341. HDD leds do not work. Info Led is still blinking but "--brightness" option works.

Code:
bin # ./mediasmartserverd --xmas
Found: HP MediaSmart Server 48X


mediasmartserverd is not a kernel module. I assume K. Hendrik was asking about leds-h340-0.2.tar.gz.

Author:  cclonch [ Fri Feb 18, 2011 6:57 am ]
Post subject:  Re: Here is a linux driver for the H340 leds

@merelin can you post your sources? I'm not running a deb-based distro on my h340 and am not around any at the moment. I would like to try it out.

Thanks!
-Chris

Author:  merelin [ Mon Feb 21, 2011 10:44 am ]
Post subject:  Re: Here is a linux driver for the H340 leds

cclonch wrote:
@merelin can you post your sources? I'm not running a deb-based distro on my h340 and am not around any at the moment. I would like to try it out.

Thanks!
-Chris


Two patches are attached:
    1. incremental one after activity-v2.patch.txt
    2. cumulative one that already contains changes from activity-v2.patch.txt

You can apply either of the two.

Thank you.

Attachments:
File comment: Should be applied after activity-v2.patch.txt
mediasmartserverd_incremental.txt [6.21 KiB]
Downloaded 737 times
File comment: Already includes changes from activity-v2.patch.txt
mediasmartserverd_cumulative.txt [12.38 KiB]
Downloaded 773 times

Author:  IzeQube [ Fri Feb 25, 2011 2:38 am ]
Post subject:  Re: Here is a linux driver for the H340 leds

I also tried this on my H341, but it doesn't work.

Is there any chance that somebody will be able to modify this so that it also runs on the H341. I don't think that there should be such a big difference to the H340.

Thanks in advance.

Author:  merelin [ Fri Feb 25, 2011 10:33 am ]
Post subject:  Re: Here is a linux driver for the H340 leds

IzeQube wrote:
I also tried this on my H341, but it doesn't work.

Is there any chance that somebody will be able to modify this so that it also runs on the H341. I don't think that there should be such a big difference to the H340.

Thanks in advance.


As far as I'm concerned somebody should attach his WNAS.sys driver for H341 first.

Author:  dazealex [ Sat Feb 26, 2011 12:22 pm ]
Post subject:  Re: Here is a linux driver for the H340 leds

merelin wrote:
Guys,

Finally, the latest annoying issue - incorrect hot-swap drives detection upon addition and removal, has been resolved.
The latest packaged version mediasmartserver_0.3-1ubuntu1_i386.deb.tar.gz contains:


merelin,

Is it possible for you to build a 64bit version of the Debian/Ubuntu package or provide instructions on how to?

Thanks,

daze

Author:  merelin [ Sat Feb 26, 2011 1:55 pm ]
Post subject:  Re: Here is a linux driver for the H340 leds

dazealex wrote:
merelin,

Is it possible for you to build a 64bit version of the Debian/Ubuntu package or provide instructions on how to?

Thanks,

daze


dazealex,

No problems. Do you need a version compiled against 64bit or just 32bit binaries re-packaged for amd64?
By the way, which NAS box do you have? Why would you want a 64bit version? Do you run 64bit Ubuntu on your box?

Author:  dazealex [ Sat Feb 26, 2011 5:00 pm ]
Post subject:  Re: Here is a linux driver for the H340 leds

merelin wrote:
No problems. Do you need a version compiled against 64bit or just 32bit binaries re-packaged for amd64?
By the way, which NAS box do you have? Why would you want a 64bit version? Do you run 64bit Ubuntu on your box?

merlin,

A native 64bit compiled version would be best. I am running Ubuntu Karmic (64bit) on the Acer H340. It's running rock solid since last year. I was also able to run OpenSolaris on this box, but it wasn't the thing for me. I am eagerly awaiting BTRFS to be production ready so I can use the compression abilities it provides. ZFS is nice, and can also be run using ZFS-Fuse, albeit with a performance penalty.

Thanks,

daze

Author:  merelin [ Sun Feb 27, 2011 5:17 am ]
Post subject:  Re: Here is a linux driver for the H340 leds

dazealex wrote:
merlin,

A native 64bit compiled version would be best. I am running Ubuntu Karmic (64bit) on the Acer H340. It's running rock solid since last year. I was also able to run OpenSolaris on this box, but it wasn't the thing for me. I am eagerly awaiting BTRFS to be production ready so I can use the compression abilities it provides. ZFS is nice, and can also be run using ZFS-Fuse, albeit with a performance penalty.

Thanks,

daze


dazealex,

A package built for amd64 architecture attached.
By the way what are the reasons to run amd64 version on H340?
As far as I'm concerned, even though you have 4G+ memory you can use PAE kernel.

Attachments:
File comment: A package built for amd64 architecture
mediasmartserver_0.3-1ubuntu1_amd64.deb.tar.gz [27.48 KiB]
Downloaded 911 times

Author:  dazealex [ Sun Feb 27, 2011 3:43 pm ]
Post subject:  Re: Here is a linux driver for the H340 leds

merelin wrote:
By the way what are the reasons to run amd64 version on H340?
As far as I'm concerned, even though you have 4G+ memory you can use PAE kernel.

merelin, I have no real reasons for using the 64bit version other than the fact that I can. :)
Curious though; Would there be a disadvantage to using it over the 32bit version?

Author:  merelin [ Mon Feb 28, 2011 2:37 am ]
Post subject:  Re: Here is a linux driver for the H340 leds

dazealex wrote:
merelin wrote:
By the way what are the reasons to run amd64 version on H340?
As far as I'm concerned, even though you have 4G+ memory you can use PAE kernel.

merelin, I have no real reasons for using the 64bit version other than the fact that I can. :)
Curious though; Would there be a disadvantage to using it over the 32bit version?


dazealex,

Please take a look at the following topic: http://ubuntuforums.org/showthread.php?t=368607

Author:  dg3feh [ Tue Mar 01, 2011 3:42 pm ]
Post subject:  Re: Here is a linux driver for the H340 leds

merelin wrote:
IzeQube wrote:
I also tried this on my H341, but it doesn't work.

Is there any chance that somebody will be able to modify this so that it also runs on the H341. I don't think that there should be such a big difference to the H340.

Thanks in advance.


As far as I'm concerned somebody should attach his WNAS.sys driver for H341 first.



Hello!

Here is the wnas.sys of the h341 system. ;) Maybe u can give us a hint to fix the h340 driver....


Holger

Attachments:
File comment: File from the h341 system
WNAS.zip [8.71 KiB]
Downloaded 682 times

Author:  merelin [ Thu Mar 03, 2011 1:26 pm ]
Post subject:  Re: Here is a linux driver for the H340 leds

dg3feh wrote:

Hello!

Here is the wnas.sys of the h341 system. ;) Maybe u can give us a hint to fix the h340 driver....

Holger


dg3feh,

The only hint I can give you at the moment is this one: http://www.mediasmartserver.net/forums/viewtopic.php?f=2&t=2335

Cheers.

Page 4 of 9 All times are UTC - 7 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/