maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [Announce] USB hostmode beta release (https://talk.maemo.org/showthread.php?t=65232)

WhiteWolf 2010-11-12 10:37

Re: [Announce] USB hostmode beta release
 
The latest update of "hen" has caused me not detect or activate any USB device.

sophocha 2010-11-12 10:41

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by WhiteWolf (Post 871349)
The latest update of "hen" has caused me not detect or activate any USB device.

while I`m waiting for my new female adapter to come, I said, why not test the new version, it might work....end result?Whenever I click mount the application hangs...I don`t even see the unmount button, and I have to force the app close....and while I was booting up in Maemo, the device said 'charging' while I didn`t have the charging cable in the device!.....that`s what happens when we test beta software....ahaha

WhiteWolf 2010-11-12 11:16

Re: [Announce] USB hostmode beta release
 
I am also experiencing application hangs and I only open it if I do it from xterm

debernardis 2010-11-12 11:25

Re: [Announce] USB hostmode beta release
 
The following version of the /opt/mount.sh script seems to mount correctly also multipartition devices. I am not convinced of the unmounting, it seems not to work, or at least unmounting should be confirmed before you proceed quitting hostmode.
For now it's true that it's better to mount and umount by hand so that you have feedback in xterm of what you do

Code:

#!/bin/sh


monta() {
echo mounting
lista=`awk '$4~"[0-9]$"{print $4}' /proc/partitions | grep -v "mmcblk*" | grep -v "loop*"`
for partitions in $lista
    do echo mkdir -p $partitions
    mkdir -p /media/$partitions
    echo mount /dev/$partitions /media/$partitions
    mount /dev/$partitions /media/$partitions
done
}

unmount() {
echo unmounting
lista=`awk '$4~"[0-9]$"{print $4}' /proc/partitions | grep -v "mmcblk*" | grep -v "loop*"`
for partitions in $lista
        do echo umount /media/$partitions
    umount /media/$partitions
done
}   

if [ "$1" = "--mount" ]
    then
        monta
fi

if [ "$1" = "--unmount" ]
    then
        unmount
fi
   
exit

Of course should you should be root to copy it in /opt/mount.sh and chmod 755

fw190 2010-11-12 12:27

Re: [Announce] USB hostmode beta release
 
Funny thing. Yesterday I've managed to mount 2 usb sticks for the first time but I had to mount them from x-term. Today I can't mount them anymore. After enumeration the led is lightened bud trying to mount it from x-term gives na error.

CormacB 2010-11-12 12:33

Re: [Announce] USB hostmode beta release
 
I am getting "Forced hostmode error: no device attached" with anything I try.

kolos 2010-11-12 13:14

Re: [Announce] USB hostmode beta release
 
Now with power kernel 45 I don't have rebooting issue anymore when I close h-e-n (0.2-4) if the battery module is loaded (bq27x00_battery). Also I was able to mount for the first time 3.5" external hard disk and 16GB & 8GB USB sticks, that I wasn't able with previous kernel and h-e-n. For all of them I had to use x-terminal mounting.

CormacB 2010-11-12 13:21

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by CormacB (Post 871445)
I am getting "Forced hostmode error: no device attached" with anything I try.

My mistake: i2c-tools failed to install because it conflicted with linux-kernel-headers. Sorted that out and I was able to use a keyboard and a couple of mice that I tried.

But after using a mouse kinetic scrolling seems to be messed up.

sophocha 2010-11-12 14:00

Re: [Announce] USB hostmode beta release
 
0.2-5

Any comments on this version?Mine hangs when I click mount

lifenexus 2010-11-12 14:18

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by CormacB (Post 871482)
My mistake: i2c-tools failed to install because it conflicted with linux-kernel-headers. Sorted that out and I was able to use a keyboard and a couple of mice that I tried.

But after using a mouse kinetic scrolling seems to be messed up.

same here.. kinetic scrolling is messed up in browser.. any solution for this?


All times are GMT. The time now is 01:28.

vBulletin® Version 3.8.8