Reboot with charger plugged in
Hi, I just observed that the reboot of N810 or N800 is not a perfect reboot if you have charger plugged in during the switch off - switch on - sequence. At least manually loaded (insmod) kernel modules remain loaded and the ssh connections to the device does not result in connection lost if the charger is plugged in. The reboot time seems to be shorter as well.. This behavior was a bit confusing at first... :| - Juuso Räsänen _ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-ussource=wlmailtagline ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
USB hotplug mechanism?
What is the mechanism in OS2008 that automatically mounts memory drives and launches File manager when a USB memory stick is connected? Well, it seems that this is somehow based on UDEV and HAL. Right? I found the following interesting files... /usr/lib/hal/hald-addon-usb-cable /usr/lib/hal/hald-addon-mmc /usr/lib/hal/hal-storage-mount /usr/lib/hal/hal-unmount.sh ... is there anyone who could clarify this mechanism a bit? And what is the best way if I would like to change that behaviour? - e.g. to lauch some other program instead of File manager when a certain USB stick is connected... - Juuso Räsänen _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: USB Host mode and OS2008
How is it supposed to work? I flashed my N800 with OS2008 for N800 Beta and plugged in an USB keyword (as I've read it would work without a powered HUB) but nothing happened. Are there some settings which must be activated? The following commands helped for me: ~ $ sudo gainroot /home/user # echo host /sys/devices/platform/musb_hdrc/mode Or alternatively you can use a cable which has USB ID pin grounded. I had a keyboard connected through an unpowered USB hub, and it worked. :) When I first connect the hub (after the previous commands), N800 says that USB hub not supported and then few seconds later also Unable to connect. Device not supported.. Again when connecting keyboard I get a message USB device not supported. However, the keyboard seems to be working! I also tried with a recompiled kernel with CONFIG_USB_OTG_WHITELIST disabled. It removed some of the above warnings but otherwise I didn't notice any difference in the behaviour. What does this whitelist actually mean?? Memory stick seems to work as well. It is also automatically mounted and the File manager pops up too. :) Juuso Räsänen _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: N800 experimental host mode patches updated
OK, my attempt is here http://fanoush.wz.cz/maemo/4.2007-usbhost-kernel.tar.gz http://fanoush.wz.cz/maemo/4.2007-usbhost-modules.tar.gz Thank you! What is the role of this latter file? Should I copy the files of this modules directory into somewhere at N800? Currently I just flashed the kernel with following command: ./flasher-3.0 -f -k zImage-usbhost --enable-usb-host-mode --enable-rd-mode -R and totally ignored the latter modules file... It seems that the devices are now somehow detected but they don't get any drivers allocated. This was verifyid with the usbtree (http://www.linux-usb.org/usbtree) script... /home/user # /usr/sbin/osso-usb-mass-storage-enable.sh /dev/mmcblk0 /dev/mmcblk1 /home/user # echo otg /sys/devices/platform/musb_hdrc/mode /home/user # echo host /sys/devices/platform/musb_hdrc/mode /home/user # mount -t usbfs procbususb /proc/bus/usb /home/user # usbtree /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=musb-hcd/1p, 480M |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/4p, 480M |__ Port 2: Dev 3, If 0, Class=HID, Driver=none, 1.5M |__ Port 2: Dev 3, If 1, Class=HID, Driver=none, 1.5M |__ Port 3: Dev 4, If 0, Class=stor., Driver=none, 480M And the devices (a keyboard and a mass storage stick) are not working either... :( Only the powered usb hub seems to be fine. So, what could be of help there?? Juuso Räsänen _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
MPlayer compilation problem (armv5te)
I have been trying to compile MPlayer myself under Maemo 3.1. I've used patches from: https://garage.maemo.org/frs/?group_id=54 However, commands... [sbox-SDK_ARMEL: ~/MPlayer-1.0rc1-maemo.16] ./configure [sbox-SDK_ARMEL: ~/MPlayer-1.0rc1-maemo.16] make ...results after a while in errors like: cc -c -I. -I../libvo -I.. -Wdeclaration-after-statement -O4 -pipe -ffast-math -fomit-frame-pointer -I/usr/include -D_REENTRANT -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -DMPG12PLAY -o idct_armv5te.o idct_armv5te.c idct_armv5te.c: In function `idct_row': idct_armv5te.c:125: warning: ISO C90 forbids mixed declarations and code {standard input}: Assembler messages: {standard input}:107: Error: selected processor does not support `smulbb fp,lr,r9' {standard input}:109: Error: selected processor does not support `smlabb r5,r0,ip,fp' {standard input}:111: Error: selected processor does not support `smulbb r3,lr,ip' {standard input}:113: Error: selected processor does not support `smlatb r6,r0,r9,r3' {standard input}:132: Error: selected processor does not support `smultb lr,r1,ip' {standard input}:134: Error: selected processor does not support `smlabb fp,r0,r9,lr' {standard input}:136: Error: selected processor does not support `smultb r3,r1,r9' {standard input}:138: Error: selected processor does not support `smlatb r9,r0,ip,r3' {standard input}:145: Error: selected processor does not support `smulbb r2,r1,r6' {standard input}:147: Error: selected processor does not support `smlabb lr,r0,r5,r2' {standard input}:149: Error: selected processor does not support `smulbb r3,r1,r5' {standard input}:151: Error: selected processor does not support `smlatb r5,r0,r6,r3' Using configure-switches --enable-armv5te and --enable-armv6 fixed only some of those errors. - Juuso Räsänen _ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
N800 experimental host mode patches available - UVC?
Hi, is USB Video Class (UVC) supported by the usb-host-mode patches? If not - is there any information if it will be supported in the future? Juuso Räsänen _ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vistamkt=en-USform=QBRE ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers