On Thu, 06 Mar 2008 19:02:31 +0100 Johannes Berg <[EMAIL PROTECTED]> wrote:
> > > Do you think D-Bus is better solution for async communication between > > process of > > different user levels? I'm not very familiar to dbus yet. But I can change > > the IPC > > interface easily. > > Tying it completely into dbus/hal would be neat. When you plug in the > N810 when in flash mode, hal would pick up the USB event from the kernel > and automatically run an 0xffff daemon. That daemon would connect to the > device (it'd have to be told which one since you can have multiple in > theory, or it just is single-instance and handles all) and connects to > dbus as well. Then, it broadcasts some sort of "device available" > message that the GUI flasher could catch to display the device in the > list. Of course, the flasher daemon needs to take queries too for when > the gui has just started up. Heheh, yup, I was thinking on a similar design, but I'm a newbye on the DBus world (I understand the concepts, but I have not played much with it), but it will be the standard way, and will be easily integrated with startup and desktop system. > If you really want to make it independent of the device used (Nokia, > Neo, HTC, ...) then you should probably write a d-bus/hal spec for this > that flashers can use to define everything the gui needs... Yes, doing it in the 'standard' way is much more harder to do. At the moment I will release 0.4 with the current implementation and will think on porting it to dbus on further releases. > Overall though, it sounds like a lot of work. I'm quite content using > the command line and, while I'm writing this anyway, thanks for that :) Well..maybe when I have learned more about dbus I'll spend some time doing the port, but actually I want to finish a mostly working and usable GUI, not only for flashing, also for packing/unpacking and dumping nand from the device, which is much easier to do clicking widgets than typing a command in the shell using the virtual keyboard :) I was thinking about creating a "Wizard" mode like the NokiaUpdate for w32. > Oh and finally a shameless plug: I'm working on figuring out the > wireless chip so we can run a mac80211-based driver on the device, I > have already written an SPI frontend for the p54 driver but the p54 > common code can't handle this chip yet. Help would be welcome, contact > me privately. Links, so far, are: > * http://cx3110x.sipsolutions.net/ > * http://johannes.sipsolutions.net/N810 > * http://article.gmane.org/gmane.linux.kernel.wireless.general/11997 Wow! Nice work :) I have no time to get involved in more projects, but looks promising! Looks like a hard task I'm not very handy with hardware reversing. Feel free to comment your updates in this mailing list (as offtopic ;) --pancake _______________________________________________ 0xffff mailing list 0xffff@lists.nopcode.org https://lists.nopcode.org/mailman/listinfo/0xffff