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)

samipower 2010-11-12 21:18

Re: [Announce] USB hostmode beta release
 
hello i flashed my n900 and re-installed pr-1.3 and kernel flasher 45

installed h-e-n 2.6 latest version

and my experience:

1-run hen
2-select hi-speed or full speed
3-select vbus
4-conect pendrive and click in enumerate
5-pendrive light on , but nothing
6-mount and nothing

second experience:

1-xterminal sudo gainroot
mkdir /media/flash

2- run hen
3-full speed or hi-speed
4-vbus
5-conect pendrive and clik in enumerate
6-xterminal mount /dev/sda1 /media/flash
7- pendrive access ok , i can see all files into my pendrive
8- unmount pendrive with umount /dev/sda1


hen not mount i think

and this command mount /dev/sda1 /media/flash

only run with pendrive, with keyboard or mouse nothing , i dont know

i have installed mouse scripts hid for i can see mouse cursor.

but mouse and keyboard or jostick all have energy but hen not mount and in xterminal what commands are neccesary for keyboard or mouse or jostick???????

thanks

MohammadAG 2010-11-12 21:19

Re: [Announce] USB hostmode beta release
 
Install the latest version, it's not 0.2-6

giannoug 2010-11-12 21:38

Re: [Announce] USB hostmode beta release
 
Nice job guys. I've tried a mouse, a 3G modem (worked in idle, didn't test further) and a USB gamepad which I confirmed working with mupen64!

EDIT: Also tried Arduino.

samipower 2010-11-12 21:41

Re: [Announce] USB hostmode beta release
 
ok i will try

http://repository.maemo.org/extras-d....2-8_armel.deb

and giannoug you mount with hen or in xterminal ??

you can look my steps

your steps please???

Sudisk 2010-11-12 21:43

Re: [Announce] USB hostmode beta release
 
Hello,
I installed version 0.2.7 and apparently the mount script is still not working.

The usb key appears as sda and the "list" variable of the mount.sh script is empty.

The sda entry is the last one of the /proc/partitions file.

aligatro 2010-11-12 21:50

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by samipower (Post 871897)
hello i flashed my n900 and re-installed pr-1.3 and kernel flasher 45

installed h-e-n 2.6 latest version

and my experience:

1-run hen
2-select hi-speed or full speed
3-select vbus
4-conect pendrive and click in enumerate
5-pendrive light on , but nothing
6-mount and nothing

second experience:

1-xterminal sudo gainroot
mkdir /media/flash

2- run hen
3-full speed or hi-speed
4-vbus
5-conect pendrive and clik in enumerate
6-xterminal mount /dev/sda1 /media/flash
7- pendrive access ok , i can see all files into my pendrive
8- unmount pendrive with umount /dev/sda1


hen not mount i think

and this command mount /dev/sda1 /media/flash

only run with pendrive, with keyboard or mouse nothing , i dont know

i have installed mouse scripts hid for i can see mouse cursor.

but mouse and keyboard or jostick all have energy but hen not mount and in xterminal what commands are neccesary for keyboard or mouse or jostick???????

thanks

You can't mount devices that are not storage. For mouse(and probably for other hid devices) you just select the "low speed hostmode" -> VBUS -> "Enumerate" and that's it.

MohammadAG 2010-11-12 22:03

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by Sudisk (Post 871916)
Hello,
I installed version 0.2.7 and apparently the mount script is still not working.

The usb key appears as sda and the "list" variable of the mount.sh script is empty.

The sda entry is the last one of the /proc/partitions file.

Sigh... read my post above.
Hint: 0.2-8

laasonen 2010-11-12 22:06

Re: [Announce] USB hostmode beta release
 
After installing this and kernel-power 2.6.28-maemo45 my n900 thought its loading battery from usbstick, when I enabled VBUS boost from hostmode-gui.

It stopped thinking thats its getting loaded after couple seconds after i closed hostmode-gui. Plugging out usbstick, disabling VBUS boost and really trying to load the battery didn't do anything.

Kernel messages

Video (Uploading now, will be ready in about 10 minutes...)

Sudisk 2010-11-12 22:38

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by MohammadAG (Post 871934)
Sigh... read my post above.
Hint: 0.2-8

Versions are changing too fast. It was still 2.7 when I downloaded it.

Mount works the first time, but when unmounting, the directory is not or could not be removed from /media. So when the key is mounted once more, the script fails on directory creation.

My understanding is that two possibilities are to be considered:
- The name resolves to empty directory not matching any active mount point. It can be used to mount the device.
- The name is already used in a mount point. Either signal the issue or create a new moint point using a suffix.

Hope it helps (and that a version 0.2.9 is not already availble ;) )

A very nice job anyway.

aligatro 2010-11-12 23:05

Re: [Announce] USB hostmode beta release
 
Since this project became very popular, I decided it's best to update an old USB-host page on wiki with new information.
http://wiki.maemo.org/N900_Hardware_USB_Host
Feel free to correct any mistakes(esp in the http://wiki.maemo.org/N900_Hardware_USB_Host#Warning: area)


All times are GMT. The time now is 13:02.

vBulletin® Version 3.8.8