 |
Puppy Linux Discussion Forum Puppy home page: puppylinux.com
|
The time now is Thu 29 Jul 2010, 13:04
All times are UTC - 4 |
|
Page 1 of 2 Posts_count |
Goto page: 1, 2 Next |
| Author |
Message |
Jesse
Joined: 08 May 2005 Posts: 462 Location: Auckland, NZ
|
Posted: Tue 04 Mar 2008, 10:53 Post_subject:
MUT2 somewhat useful |
|
Hello,
Attached is the latest MUT2, a file containing the binary and some gui's, and one with just all the source code for those interested.
If you'd like to give it a go, let us know if theres any obvious problems, especially if you're interested in using this in dingo alpha7, as it may well make its first appearance in that iso.
This version has some improvements, over previous versions, in the regard of superfloppy format drives detection/identify, and a few more minor tweaks and things.
Jesse
| Description |
source code.
|

Download |
| Filename |
mut2-src-1.0.0.1156.tar.gz |
| Filesize |
173.02 KB |
| Downloaded |
276 Time(s) |
| Description |
Binary build, and gui
|

Download |
| Filename |
mut2-bin-1.0.0.1156.tar.gz |
| Filesize |
338.43 KB |
| Downloaded |
334 Time(s) |
|
|
Back to top
|
|
 |
JB4x4
Joined: 30 Jul 2006 Posts: 254
|
Posted: Tue 04 Mar 2008, 21:07 Post_subject:
|
|
Jesse,
I got the following error when clicking the ReScan button. Also, I didn't mention before, the name of the partition almost covers the filesystem type (see circled). Maybe the font for the partition size could be used throughout the gui, as its easy to read.
Keep up the good work,
JB
| Description |
|

Download |
| Filename |
mut2-pic.png |
| Filesize |
71.89 KB |
| Downloaded |
724 Time(s) |
|
|
Back to top
|
|
 |
Jesse
Joined: 08 May 2005 Posts: 462 Location: Auckland, NZ
|
Posted: Tue 04 Mar 2008, 22:05 Post_subject:
|
|
Hi JB,
The content in the message box you got from the ReScan button is the normal indicator for success.
There is no specific "ReScan" function for the MUT2 daemon, as it is constantly keeping track of hardware status, instead the GUI will ask the mut2 daemon to exit, and then it starts it up again, effectively loosing any incorrect status of MUT2.
If the ReScan button actually fixes something (until you cause it again, and can only be fixed by Rescan) then thats a very good indicator of a bug in MUT2 daemon. Let me know if you've spotted a bug?
The font on your system is either different, or its being drawn differently, thats not how mut looks on my system, or most screenshots I've seen, which puppy linux are you using?
Yes the partition label and the fs name are very close together, if you've seen the layout of mut on SHS computer you'll understand why I made them close together.
Now that I've figured out how to do that scroll bar, perhaps it is time to rethink the visual layout.
Jesse
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 11715
|
Posted: Thu 06 Mar 2008, 12:45 Post_subject:
|
|
Looking forward to Dingo Alpha 7
this is the code output in rxvt (GUI did not open)
in Puppy 3.02 Alpha 2 - it recognized the external
USB CD-RW from zip
| Code: | # ./mut
hda: 15GB disk ide0.Master 1 partitions
hdc: cdrom ide1.Master LITE-ON DVDRW SHW-16H5S
sr0: cdrom usb USB Zip CD
# |
both pmount and the earlier MUT recognize the drive but neither can
mount it . . .
_________________ Puppy Lucid 5.1 Please test 506 Now in beta status 
|
|
Back to top
|
|
 |
Jesse
Joined: 08 May 2005 Posts: 462 Location: Auckland, NZ
|
Posted: Thu 06 Mar 2008, 17:10 Post_subject:
|
|
Hello Lobster, | Code: | | sr0: cdrom usb USB Zip CD | No mounting? Hmmm, thats odd.
What happens when you try to mount the drive manually? like this: | Code: | | mount /dev/sr0 /mnt/cdrom | Can Mut eject the tray? Can Mut/pmount do an unmount of it?
Jesse
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 11715
|
Posted: Thu 06 Mar 2008, 18:28 Post_subject:
|
|
the drive could be faulty - obtained today second hand
Will check on other equipment
| Description |
|
| Filesize |
23.52 KB |
| Viewed |
565 Time(s) |

|
_________________ Puppy Lucid 5.1 Please test 506 Now in beta status 
|
|
Back to top
|
|
 |
Jesse
Joined: 08 May 2005 Posts: 462 Location: Auckland, NZ
|
Posted: Fri 07 Mar 2008, 01:17 Post_subject:
|
|
Hmmm, I think you might be out of luck there.
I once had a usb cdrom, and it somehow managed to lose its drive belt, such that the motor could not spin the cdrom media, even though the motor was still working, when it did that, it incorrectly reported no media.
I think there is some design oversight with those external usb cdrom drives, the drive is usually an internal pc drive, but in a case with a usb chip. I recall that my speculation at the time was that the enclosure lets the drive get too warm, as there is no pc with 101 internal fans attached to keep it cool, till the drive belt stretches, and then it stops working. So my advice for external cdrom/dvd drives would be always switch them off when they are not in active use.
Jesse
|
|
Back to top
|
|
 |
dinky

Joined: 19 Jan 2008 Posts: 699
|
Posted: Mon 17 Mar 2008, 21:06 Post_subject:
Bug report |
|
Nice piece of work. I particularly like the scrollbar, my ony complaint with the previous version of MUT in puppy 3.01 is that it doesn't have one.
Just ran Mut2, and it hung on my floppy drive. Everything else was fine, but kept trying to read my floppy drive with no success. There was no floppy disk in there. Also couldn't mount anything else, assuming this was becuase it was busy with the floppy. I'd like to use this in a pupplet I'm creating. Any chance of this being fixed soon? Thanks for the great work.
|
|
Back to top
|
|
 |
Jesse
Joined: 08 May 2005 Posts: 462 Location: Auckland, NZ
|
Posted: Tue 18 Mar 2008, 07:40 Post_subject:
|
|
Hello dinky,
I havn't tried, but it should be fairly easy to put the scroll bar into MUT 0.1.1, a few "copy and paste" and a few little tweaks would do it.
There are actually a few design flaws in MUT 0.1.1, and it'd be a whole heap more work to fix it all, than would really be worth doing, some of its bugs can't be fixed, or if you like, mut2 is the only way I can think of for fixing those issues. Mut2 is a big bunch better, but hasn't quite reached all the features in MUT 0.1.1, even though it might look it, Mut2's bugs are getting sorted out 'properly'.
I'm not sure what mut2 is doing on your system, that the floppy drive can make it hang??
I designed mut2 so that each hardware drive is scanned with a seperate thread, so that even if there is a permanent blocking state with a buggy device driver or breaking drive, that it only prevents access to that one drive.
Can you describe this hung state of yours a bit more?
I'm currently aware of several bugs in MUT2 (the version on this page) that I've since fixed up on my system, they are mostly fairly obscure, I'll have to post another update sometime.
If you can accurately and precisely state the problem I'm usually fairly good at finding and properly fixing the cause.
Theres a few debugging tips that can help, I posted those in the other fairly recent (last month?) thread, if you're clutching at straws.
Jesse
|
|
Back to top
|
|
 |
Jesse
Joined: 08 May 2005 Posts: 462 Location: Auckland, NZ
|
Posted: Tue 18 Mar 2008, 08:04 Post_subject:
|
|
My current development for MUT2 is figuring out how to read the temperature sensor in the hard drives, and report it in the device name, yes they have one! its an optional(?) part of S.M.A.R.T.
My IDE and SATA drives both have the sensor, 36C if you were curious, and thats after I put in a cooling fan for them, previously at 46C.
I also noted theres a few S.M.A.R.T. values that indicate a spinning drive platter ("3 Spin_Up_Time","5 Reallocated_Sector_Ct","7 Seek_Error_Rate","10 Spin_Retry_Count"), so perhaps this is a way to detect if an IDE drive is a Flash disk or a real disk? I don't have an IDE Flash drive to try it, but if theres anyone curious out there to find out, run "smartctrl --all [device]" and post the result please
Jesse
|
|
Back to top
|
|
 |
dinky

Joined: 19 Jan 2008 Posts: 699
|
Posted: Wed 19 Mar 2008, 04:07 Post_subject:
floppy issue in Mut |
|
Hi Jesse, thanks for being so responsive. What happens is pretty basic. I start Mut2, and as the GUI comes up I hear the clunking noise from my floppy drive which tells me the computer is trying to search for a disk in it. It keeps searching, with the scanning light on, until I kill Mut2. While this is happening I can't mount/unmount any other drives, or do anything else. I'll look at your debugging threads later. Any thoughts on this? I'm happy using either Mut 0.1.1 or Mut2, though preferably of course the most recent release. While there may be many problems I'm unaware of, for my purposes mut 0.1.1 works for the moment. I look forward to finding a bug fix for Mut2, and to that release being finalised. It's a great project you're doing. Can I remove pmount from my system incidentally, or does Mut depend on it? Trying to minimize all the tools that aren't needed, and I much prefer Mut. Also re scroll bar, would love to hack into 0.1.1 for now, what do I need to change?
Cheers~
|
|
Back to top
|
|
 |
Jesse
Joined: 08 May 2005 Posts: 462 Location: Auckland, NZ
|
Posted: Wed 19 Mar 2008, 06:57 Post_subject:
|
|
Hi Dinky,
Theres a few quirks with scrollbars and canvas and window size, in the particular setup that is in the mut gui, they all have to be 'just right' so that things still look ok and are functional without being annoying.
I had a hack at it, and I seem to have done it, but I've edited my mut.tcl file lots of times, and have a fading memory as to which version is which, you might want to diff the attached one and the one in 3.01?
The functions I've changed/added to make the scroll bar work are:
mut1rc_save mut1rc_load Create_Display moveity show_icons.
and added global variable "saved_window_geometry"
There could be other changes floating about like color and font that are not relevant, um, up to you I guess.
The file is traditionally found in Puppy at location /usr/lib/mut/mut.tcl
you might want to change the version number, maybe add an 's' for scrollbar
set Version "0.1.1s";
Pmount is seperate to Mut, although it has been known to work in some instances that mut doesn't, I'd say keep it just in case for an iso distro, and up to you for your own project.
I did come across an issue with the scrollbar, if it is not at the top, clicks are not sent to the right button (oops!!!), is your issue still present when scrollbar is at the top? and it does list drive icons/mount options but clicking does nothing, is that right?
I havn't had a chance to look at mut2 & floppy yet, maybe tomorrow.
Or maybe while I am munching choc on Chocolate Friday
Jesse
 |
| Description |
just the mut 0.1.1 tcl gui file, with some changes to make it have the vertical scrollbar.
|

Download |
| Filename |
mut011tcl_with_scroll.tar.gz |
| Filesize |
12.31 KB |
| Downloaded |
257 Time(s) |
|
|
Back to top
|
|
 |
Jesse
Joined: 08 May 2005 Posts: 462 Location: Auckland, NZ
|
Posted: Wed 19 Mar 2008, 19:51 Post_subject:
|
|
Here is the command line way to get a full mut2 debug logging, if anyone has an issue the mut2 and would like to get it resolved.
From command line: | Code: | ./mut --noserv --debug --nothreads > log.txt 2>&1
gzip log.txt | Then post or email me the log.txt.gz file.
Jesse
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 6790 Location: Arizona USA
|
Posted: Wed 19 Mar 2008, 23:57 Post_subject:
|
|
Jesse, I unpacked the tar.gz file into /tmp, then opened the resulting mut2 folder and dragged the gear icon I found there to the desktop. When I click the gear icon the light on my floppy comes on then goes out but nothing else happens.
_________________ OS
4.31 run from a multisession DVD+RW (burned with burniso2cd)
Hardware
Gigabyte GA-MA69GM-S2H mobo
2.5 GHz Athlon 64 X2 4800+ CPU
4GB RAM
(No HDD, no swap)
AOC 1440 x 900 19" LCD
ISP
1.5 Mb/s cable; Motorola SBG900 modem
|
|
Back to top
|
|
 |
dinky

Joined: 19 Jan 2008 Posts: 699
|
Posted: Thu 20 Mar 2008, 06:03 Post_subject:
|
|
Thanks so much Jesse, I really appreciate that! I'll have a look at it the next chance I get and let you know how I go. Cheers!
|
|
Back to top
|
|
 |
|
|
Page 1 of 2 Posts_count |
Goto page: 1, 2 Next |
|
|
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|