16
Zaurus - pdaXrom / Can Someone Compile The Last Aircrack?
« on: February 06, 2006, 07:46:16 am »
they seem to work ... didn't have time to test them all btw ...
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Quote/usr/bin/usbfunction.py line 21:Code: [Select]STORAGE_OPTS = ["/dec/mmdca1", "/dev/hda1"]
I guess what the second item of array have wrong value. The right string is "/dec/hdc1" (for CF).
/usb/bin/looknfeel.py lines from 1014 to 1018:Code: [Select]if self.PANEL_LEFT_MARGIN != "" and int(self.PANEL_LEFT_MARGIN) >= 1 and int(self.PANEL_LEFT_MARGIN) <= 600:
If you try to ask the matchbox-panel for help ("matchbox-panel --help") you can see what it havn't "--margin-start" or "--margin-end" options. So when you set panel margins in "Look-n-Feel" dialog you will be confused with startx script result.
write_str = write_str + " --margin-start \"" + str(self.PANEL_LEFT_MARGIN)+ "\""
if self.PANEL_RIGHT_MARGIN != "" and int(self.PANEL_RIGHT_MARGIN) >= 1 and int(self.PANEL_RIGHT_MARGIN) <= 600:
write_str = write_str + " --margin-end \"" + str(self.PANEL_RIGHT_MARGIN)+ "\""
/etc/fstab line 1:Code: [Select]/dev/hda1 /mnt/cf auto noauto,owner 0 0
It's the same problem as in 'usbfunction.py'. /dev/hda1 is not a compact flash device. I have replaced "hda1" to "hdc1".
That's all, folks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110719\"][{POST_SNAPBACK}][/a][/div]
actually, it depends. the external cf can be either /dev/hda or /dev/hdc. this is dynamically mapped depending on how you booted, ie with the cf inserted or not.
the first disk detected is always hda and the second disk hdc
when u boot without a cf inserted, the internal microdrive will be hda and your cf will be hdc
if you boot with the cf inserted, your removable cf will be hda and the internal disk will be hdc
thus hardcoding hda or hdc is not a good idea. the script should check which one is the internal drive dynamically, thus adding an entry in fstab is a bad idea unless you also write a script to dynamically update fstab during bootup.
given that the pivot boot pivots to the internal disk and in order for it to be booted, the cf card has to be removed during boot, but this feature might and probably will change.
i personally think that it is a good idea to allow the pivot to either boot from the internal disk and ignore the inserted cf, or boot off the cf instead for dual booting. this should be a configurable parameter.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110781\"][{POST_SNAPBACK}][/a][/div]