Results 1 to 14 of 14

Thread: no /dev/discs on own compiled 1.9.2.7-4

  1. #1
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195

    no /dev/discs on own compiled 1.9.2.7-4

    Humm.
    I tried recompile 1.9.2.7-4 for my wlhdd but after flashing it, I lost /dev/discs.

    Compile operation was :
    src/wl500g-1.9.2.7-4/make kernel
    src/wl500g-1.9.2.7-4/make
    src/gateway/make
    src/gateway/make package-WLHDD

    any idea why my firmware lacks /dev/discs ?

  2. #2
    Join Date
    Sep 2004
    Posts
    123
    Hi,
    I wish you success with your special WL.HDD Edition of Olegs Firmware.
    I also use a WL-HDD with the latest Oleg Firmware...the only things I miss: Formatting via WebGui, hdparm and a save shutdown. Do you have plans to implement that in a future version?

    cu,
    peter

  3. #3
    Quote Originally Posted by petgun
    Hi,
    I wish you success with your special WL.HDD Edition of Olegs Firmware.
    I also use a WL-HDD with the latest Oleg Firmware...the only things I miss: Formatting via WebGui, hdparm and a save shutdown. Do you have plans to implement that in a future version?

    cu,
    peter
    Save shutdown ? USB => Eject unmounts the harddisk => you can switch the device off after....

    BTW: Does anybody have a recompiled version with r/wsize 32768 for NFS server ?
    BTW2: is there something i should know when i try to recompile with SUSE 9.2 ?

    Ciao Gerd

  4. #4
    Join Date
    Sep 2004
    Posts
    123
    Quote Originally Posted by gerd
    Save shutdown ? USB => Eject unmounts the harddisk => you can switch the device off after....
    thank you for the hint.

    BTW: Does anybody have a recompiled version with r/wsize 32768 for NFS server ?
    ..I hope it will be in the final version

  5. #5
    Join Date
    Jan 2005
    Location
    konstanz, germany
    Posts
    90

    Question ... some options i want in a custom compile of oleg's version / original firmware ...

    Hi :-)

    I have some ideas for a custom version of oleg's or original ASUS firmware ...

    --------------------------
    - I'm searching one version in which I'm able to modify the default setting inside the .trx and do not have to change them after upgrading ...
    * set my custom IPs / DHCP setting
    * store my custom WEP keys / settings
    * WLAN status default to off
    * ...

    - I want to have the keypress of button press modified ... to have easy access to some basic functions ...
    * switch WLAN on / off (short button press toggles wlan)
    * shutdown device (press button 5 sec.)
    * reboot device (press button longer than 15 sec.)
    * restore factory setting (press button on power on only!)
    ... this will be only possible examples for the new function of that button :-)
    --------------------------

    Posted also in my post on this thread ...

    http://wl500g.info/showthread.php?t=1675

    Any ideas how to realize this ?

    Any chance to get anywhere the new ASUS firmware sources V1.2.3.4?

    Thanks
    Martin

  6. #6
    Join Date
    Feb 2005
    Location
    Russia, Moscow
    Posts
    29
    Quote Originally Posted by Martin1802
    I have some ideas for a custom version of oleg's or original ASUS firmware ...
    * ...

    - I want to have the keypress of button press modified ... to have easy access to some basic functions ...
    * switch WLAN on / off (short button press toggles wlan)
    * shutdown device (press button 5 sec.)
    * reboot device (press button longer than 15 sec.)
    * restore factory setting (press button on power on only!)
    ... this will be only possible examples for the new function of that button :-)
    --------------------------
    I change button keypress in Oleg's firmware 1.9.2.7-3 (file rc/watchdog.c) with some other functionality:
    - reboot 3 sec, power led flashs shortly
    - power down 5 sec, power led flashs longly
    - reset to factory settings 15 sec, power led flashs too longly
    - and super feathure - short press (0.25-2 sec) watchdog counting short keypresses, power led flashs too quickly, and than run script
    Code:
    /usr/local/sbin/button-pressed <count>
    where <count> - counts of press, and you can change button processing at any time and add any counts of functions ;
    I write in script on one press WLAN ON/OFF:
    Code:
    /usr/local/sbin/button-pressed 
    
    #!/bin/sh
    buttonlog() {
            echo "`date`: $1" >> /tmp/button.log
    }
    
    wlupdown() {
            CHECK=`wl isup 2>&1| grep on`
            if [ -z "$CHECK" ]; then
                    insmod wl && wl up && buttonlog "WiFi started up"
            else
                    rmmod wl && buttonlog "WiFi shutdowned"
            fi
    }
    
    
    buttonlog "Button pressed count $1"
    
    case "$1" in
    1)
            wlupdown;;
    *)
            buttonlog "No handlers for count $1";;
    esac
    und if you want to WLAN OFF on boot - write in /usr/local/sbin/post-boot script
    Code:
    wl down
    Last edited by undead; 18-04-2005 at 23:13.

  7. #7
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by undead
    - power down 5 sec, power led flashs longly
    Have you managed to turn off WL-HDD?

  8. #8
    Join Date
    Feb 2005
    Location
    Russia, Moscow
    Posts
    29
    Quote Originally Posted by Oleg
    Have you managed to turn off WL-HDD?
    Yes, but "emulated" - i use execution this sequence:
    Code:
    wl down
    /usr/local/sbin/pre-shutdown
    sync
    # call power led off (in watchdog.c)
    halt
    and device now in "shutdowned mode"

    P.S.
    in script /usr/local/sbin/pre-shutdown can add some more
    Last edited by undead; 19-04-2005 at 10:13. Reason: P.S. add

  9. #9
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by undead
    Yes, but "emulated" - i use execution this sequence:
    Code:
    wl down
    /usr/local/sbin/pre-shutdown
    sync
    # call power led off (in watchdog.c)
    halt
    and device now in "shutdowned mode"

    P.S.
    in script /usr/local/sbin/pre-shutdown can add some more
    well, in fact I'm interested on how stock firmware turns it off...

  10. #10
    Join Date
    Feb 2005
    Location
    Russia, Moscow
    Posts
    29
    Quote Originally Posted by Oleg
    well, in fact I'm interested on how stock firmware turns it off...
    Your can view sources of original WL-HDD firmware (router/rc/services.c, void call_shutdown) - in original sources used this sequence:

    1. unmount usb disks
    2. stop services
    3. rmmod usb
    4. leds off
    5. park hdd (ioctl)
    6. set nvram shutdown_hit = 1
    7. rmmod ide

    and no really turn-off calls

    call_shutdown used on call to linked as "stophd" rc, and on 10 sec key press.
    Last edited by undead; 19-04-2005 at 12:18.

  11. #11
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    yes, just checked this. so, it's also a fake.

  12. #12
    Join Date
    Sep 2004
    Posts
    123
    Quote Originally Posted by Oleg
    yes, just checked this. so, it's also a fake.
    ...but it's a usefull 'fake' and a little bit more than only a psychovisual power saving

  13. #13

    Year later same problem, as Jean-Fabrice....

    After some mods to fw, /dev/discs, /dev/ide gone...
    but unresolved symbols appear in all ide modules.....
    I have been playing with BT and HID...

  14. #14
    Hi undead,

    Quote Originally Posted by undead View Post
    I change button keypress in Oleg's firmware 1.9.2.7-3 (file rc/watchdog.c) with some other functionality:
    - reboot 3 sec, power led flashs shortly
    - power down 5 sec, power led flashs longly
    - reset to factory settings 15 sec, power led flashs too longly
    - and super feathure - short press (0.25-2 sec) watchdog counting short keypresses, power led flashs too quickly, and than run script
    Great idea, I was thinking of something similar but if you've already done it, could you post the diff to watchdog.c please?

    Also, does anybody have a link to wlextract to change some of the files without recompiling everything? I could only find an unreachable host in Czech republic...

    CU!

    Frederik.

Similar Threads

  1. compiled 1950
    By alien433 in forum WL-500g Q&A
    Replies: 0
    Last Post: 23-09-2005, 22:00
  2. Need this compiled properly.
    By Mr.EoniX in forum WL-500g Custom Development
    Replies: 2
    Last Post: 04-09-2005, 08:08
  3. WL500gx and no /dev/discs/... when disabling FTP
    By ikke_ook in forum WL-500g Q&A
    Replies: 0
    Last Post: 19-05-2005, 22:03
  4. Some packages I compiled
    By Jean-Fabrice in forum WL-500g Custom Development
    Replies: 7
    Last Post: 23-03-2005, 12:29
  5. Anyone have perl compiled for wh-hdd ?
    By ezhikov in forum WL-HDD Q&A
    Replies: 0
    Last Post: 08-02-2005, 10:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •