Mettbrot

Community Developer
  • Posts

    418
  • Joined

  • Last visited

Everything posted by Mettbrot

  1. /proc/acpi/sleep is not used anymore. Try echo -n mem > /sys/power/state
  2. Hi I have a question for the real linux gurus around here. I want to reset an usb device in my go script. I compiled usbreset.c and it works quite well. Now I need to know the Bus and Device Number of the usb device to feed into the usbreset script. I have lsusb installed so there is no problem to manually get that information. But I think this can be done automatically? lsusb: Bus 001 Device 002: ID 8564:1000 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 003: ID 0ccd:0097 TerraTec Electronic GmbH Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub How can I extract the Bus and Device from the first "TerraTec Electronic GmbH" device and feed it into the second one? /boot/usbreset /dev/bus/usb/002/003 Thanks in advance! edit: I got to this point: lsusb | awk '{print "/dev/bus/usb/"$2"/"$4}' (with later exchanging print with /boot/usbreset) But this gives me every usb device and I still have the colon at the end :-(
  3. Some (rather old) but yet interesting info on the plugin manager http://download.lime-technology.com/develop/news.php :-P This would solve all of the problems.
  4. sadly for 10 posts you are the first one (excluding Joe - he is always damn fast :) ) to realy elaborate on the (serious) problem. I had never a problem with the webGUI beeing visible to everyone in the LAN, but the plugin manager kind of removes the barrier between the safe local network atmosphere and the wiki place where just everyone can insert their crap ;-) And seriously guys, if you want to brag about your system or be mad at each other for their oppinion take it to irc or something
  5. Not just to get back on the topic but also something I am curious about: Since the plugin manager gets the information from the Plugin wiki site, how is it guaranteed that no one edits the site to include malware? (I was updating the ts3server plugin thats when I realized...) The same thing leeds me to another question. Since the plugin manager works in the browser and executes system commands (cmd=...) couldn't someone on the internet send bad commands if he knew the ip? Or at least someone on your network?
  6. I like the clean design of your proposal. Althought you should consider waiting for 5.0 to arrive, because Tom stated that he will move to lighty (or something similar) after 5.0 himself...
  7. actually: no setting is persistent between reboots. Not only the "show Welcome screen" setting but also the banner and the number format settings are back to default when I reboot.
  8. Will this work on RC15? There is no RC16 build with enabled mediatree yet
  9. Some people also have problems with ACPI stuff since RC12a, see here: http://lime-technology.com/forum/index.php?topic=28055.msg248671#msg248671 I know sleep is not supported but still... It seems that something related has changed from 12a on :-(
  10. VERY interesting in deed! Thanks for your reply in my other thread, it seems we're on the same side
  11. Hey, I just tried to suspend my system and wake it back up. I typed "echo -n mem > /sys/power/state" and the system went to sleep, with the power button blinking. When I tried to wake it via WOL it did not work, although it works from poweroff state. Pressing the power button manually powers on the system but I don't know what to do with it: - screen stays black - not reachable via web interface/Telnet/ping S3 is enabled in BIOS. Is there anything I have to do prior to suspending?
  12. Thank you. But the problem is not the same. My system actually switches to standby but it is not responding when i turn it back on (resume it). I had the blinking curser yesturday until I figured out the right BIOS options (can be tricky on old hardware )
  13. Hey, I just tried to suspend my system and wake it back up. I typed "echo -n mem > /sys/power/state" and the system went sleeping, with the power button blinking. When I tried to wake it via WOL it did not work, although it works from poweroff state. Pressing the power button manually powers on the system but I don't know what to do with it: - screen stays black - not reachable via web interface/Telnet/ping S3 is enabled in BIOS. Is there anything I have to do prior to suspending?
  14. I would have to try it several times until it eventually failes. But I can do that - ahtough it takes a veeery long time What could I do about it when it was the card? Is the syslog okay? When the start failes - Can I try anything while the system is on? Some commands or something?
  15. I registered for the pro version. The USB Port is on a PCI USB 2 controller card since the computer only has USB 1. I just bought the drive 3 months ago, its a "4 GB Transcend JetFlash 300 black USB 2.0". Do you realy think a brand new USB drive fails that often?
  16. Hi there, sometimes I get those weird messages on the screen about unraid not finding the actual USB key it booted from. The only thing to to is to "powerdown" and turn it on again. The USB is labeled UNRAID, this happens maybe 1 out of 5 times. syslog_label_mount.txt
  17. Sorry, I was out of my mind. unRaid RC14, sabnzbd, sickbeard, teamspeak3 and the powerdown pack from unmenu. I will provide a log as soon as I get home. It worked before I changed my setup. Thanks
  18. Hi there, i recently transferred all the unraid files from my HDD to an usb drive and boot it up with a floppy with plop bootmanager on it (since bios doens't like usb :-P ). After a few tweaks it works quite nicely... The problem is: When I select powerdown in unraid GUI the system is shutting down all services and stuff correctly and the last thing I can see on the console is "system halted" but it does not actually power off the computer. I can do so by pressing the power button once. Any ideas about that? Maybe it could have something to do with plop (something like unraid thinking "I wasn't the first to boot up, so when I am finished I cannot power off the whole thing" I don't know :-D ) Very much appreciate your help, thanks!
  19. I stuck it into my windows machine, it in deed detected an error and repaired it. But I still get the errors. Why is it mounted read only? You can see the mount-commands in my last post...
  20. My motherboard can only boot from HDD, so for unraid to accept my licence, i performed these steps: http://lime-technology.com/forum/index.php?topic=3846.15 appearently, the /boot/ device is mounted incorrectly. because it is not wirtable anymore. I can not tell why this happened, beauce it worked with RC12 I also can't install unmenu packeges. here's the go file from the USB (labeled UNRAID) #!/bin/bash mkdir /licflash mkdir /flash mount -o noatime,nodiratime,umask=0,shortname=mixed -t vfat /dev/disk/by-label/FLASH /flash cd /flash/config /flash/config/go & and here the one from the HDD (labeled FLASH): #!/bin/bash mount --move /boot /licflash mount -o noatime,nodiratime,umask=0,shortname=mixed -t vfat /dev/disk/by-label/FLASH /boot # Start the Management Utility /usr/local/sbin/emhttp & cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c /boot/unmenu/uu /boot/cache_dirs -w sleep 10 && sudo -u root tvheadend -c /mnt/disk1/.apps/tvheadend -u root -g video -f 2>&1 >/dev/null
  21. Hi, after I upgraded to rc13 (incl. media tree), I have parity checkt every boot, so I investigated and found out that when I just stop the array, there is a red indicator below the HDDs saying "Stopped. Unclean shutdown detected." Here are the loglines:
  22. Tank you very much! You guys have been a great help!!
  23. Thanks, I know. I started with this old system, knowing that it would some day reach its capacity. But I am realy impressed how much unraid can make out of such an old system - it runs very smoothly :-) When the third drive is filled I will eventually invest in a completely new system but until that day I am happy with it (hoping it was the sata cable, not the PSU :-P )