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)

teamer 2011-01-20 11:14

Re: [Announce] USB hostmode beta release
 
I wonder why there is a "permission denied" when trying to create a folder or copy anything to the USB stick attached via hen ??

joerg_rw 2011-01-20 19:17

Re: [Announce] USB hostmode beta release
 
I'm rather sure that's unrelated to h-e-n and especially to physical hostmode.
I don't even see how to copy or create folders with h-e-n GUI. Please check post #9! Thanks
/j

dazars1 2011-01-20 20:16

Re: [Announce] USB hostmode beta release
 
Online translation

When you uninstall the application and restart, my n900 and it did not work, only saw the Nokia logo and white background, and re-boot.
I had to reinstall with flasher ...


sudo flasher-3.5-F RX-51_2009SE_20.2010.36-2.002_PR_COMBINED_002_ARM.bin-f

MohammadAG 2011-01-20 20:39

Re: [Announce] USB hostmode beta release
 
I'm not sure how you uninstalled it, but that would never happen when uninstaling h-e-n alone, you probably removed kernel-power and just had to reflash the kernel, not the whole image.

titan, seriously, add system-update and reboot to the package flags, they help a lot.

joerg_rw 2011-01-20 20:45

Re: [Announce] USB hostmode beta release
 
"the application" ?
uninstalling h-e-n hostmode GUI for sure shall not cause any problems with boot.
h-e-n however rdepends on a feature that's provided e.g by kernel-power, which means you need to install kernel-power to be able to install h-e-n.
*)
Kernel-power is a linux kernel and uninstalling it obviously will leave your system in a broken state. Please refer to kernel-power howto, readme, FAQ, threads in this forum, etc. Basically "uninstalling" kernel-pwer means you are going to install the stock kernel. Never UNINSTALL a kernel!

This isn't related to h-e-n though


*) [edit] Depending on method to install hostmode GUI, this installation of kernel-power may happen automatically, and I heard a few minutes ago that fapman might also do a BAD thing and try to uninstall the kernel automatically on uninstalling hostmode GUI.
My take on this is: I introduced kernel hostmode API version, so GUI can check at runtime if the kernel has h-e-n patches or not. So I think the already implemented check for this version in hostmode GUI is sufficient and we should NOT rdepend on kernel-feature-hostmode. This would result in users getting a notifier "no compatible kernel found. Please install kernel-power!" (OWTTE) when starting h-e-n hostmode GUI.

Mohammad kinda disagrees on that, and has concerns about users getting even more confused if kernel-power doesn't get auto-installed on installing GUI.
So maybe it's up to you, users of h-e-n, to state clearly what you prefer.

/j

5spdvl 2011-01-20 22:10

Re: [Announce] USB hostmode beta release
 
Maybe a bit of read-learn-post is in order...

peterleinchen 2011-01-21 20:32

Re: [Announce] USB hostmode beta release
 
I kinda do not mind either way,.

But would not prefer to get another (even better) engine installed in my BMW on servicing e.g. winter tires or bulb replacement.

No seriously, h-e-n is a very special app, so a little knowledge about system, especially kernel and power kernel, should be present.
Installation order of power-kernel and then h-e-n is sufficient, right?

sblotskyy 2011-01-21 22:35

Re: [Announce] USB hostmode beta release
 
1 Attachment(s)
Quote:

Originally Posted by MohammadAG (Post 924928)
I'm not sure how you uninstalled it, but that would never happen when uninstaling h-e-n alone, you probably removed kernel-power and just had to reflash the kernel, not the whole image.

titan, seriously, add system-update and reboot to the package flags, they help a lot.

I need Your help! KernelPower 2.6.28.10power46 and later h-e-n were successfully installed. Nokia CA101 cable and female-to-female USB adapter used to connect flash drive. But on running h-e-n it seems that hostmode is enabled, flash device attached but not mounted because of the errors which I do not understand. I don't know, maybe I had to do something manually exept the aboveinstallation procedures? Here I give ending part of the dump of Kernel Messages (because the full one is too long). Suppose You shall know the answer after taking a look on it. The full text You can find in the attached file.

................
[ 1919.932128] usb 1-1: device not accepting address 43, error -71
[ 1920.057159] usb 1-1: new high speed USB device using musb_hdrc and address 44
[ 1920.479095] usb 1-1: device not accepting address 44, error -71
[ 1920.479217] hub 1-0:1.0: unable to enumerate USB device on port 1
[ 1920.479278] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 1920.479339] hub 1-0:1.0: port 1 enable change, status 00000501
[ 1923.197845] hub 1-0:1.0: hub_suspend
[ 1923.197937] usb usb1: bus auto-suspend
[ 1934.969451] twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 1
[ 1954.068634] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2
[ 1955.553680] usb usb1: usb resume
[ 1955.573089] hub 1-0:1.0: hub_resume
[ 1955.573211] hub 1-0:1.0: port 1: status 0101 change 0001
[ 1955.682189] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
[ 1955.682281] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
[ 1955.807281] usb 1-1: new high speed USB device using musb_hdrc and address 45
[ 1955.956329] usb 1-1: default language 0x0409
[ 1955.957641] usb 1-1: uevent
[ 1955.957824] usb 1-1: usb_probe_device
[ 1955.957855] usb 1-1: configuration #1 chosen from 1 choice
[ 1955.961608] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[ 1955.961944] usb 1-1:1.0: uevent
[ 1955.962188] libusual 1-1:1.0: usb_probe_interface
[ 1955.962280] libusual 1-1:1.0: usb_probe_interface - got id
[ 1955.962432] usb-storage 1-1:1.0: usb_probe_interface
[ 1955.962524] usb-storage 1-1:1.0: usb_probe_interface - got id
[ 1956.059661] scsi6 : SCSI emulation for USB Mass Storage devices
[ 1956.065734] /home/builder2/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/core/inode.c: creating file '045'
[ 1956.066436] usb 1-1: New USB device found, idVendor=0781, idProduct=5406
[ 1956.066467] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1956.066497] usb 1-1: Product: U3 Cruzer Micro
[ 1956.066528] usb 1-1: Manufacturer: SanDisk Corporation
[ 1956.066558] usb 1-1: SerialNumber: 000017F9AC652EB4
[ 1956.066619] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 1956.066711] hub 1-0:1.0: port 1 enable change, status 00000503
[ 1956.090637] usb-storage: device found at 45
[ 1956.090667] usb-storage: waiting for device to settle before scanning
[ 1961.090209] usb-storage: device scan complete
[ 1961.091674] scsi 6:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 3.27 PQ: 0 ANSI: 2
[ 1961.092407] scsi 6:0:0:1: CD-ROM SanDisk U3 Cruzer Micro 3.27 PQ: 0 ANSI: 2
[ 1961.113677] sd 6:0:0:0: [sda] 8015502 512-byte hardware sectors: (4.10 GB/3.82 GiB)
[ 1961.114196] sd 6:0:0:0: [sda] Write Protect is off
[ 1961.114227] sd 6:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 1961.114257] sd 6:0:0:0: [sda] Assuming drive cache: write through
[ 1961.122314] sd 6:0:0:0: [sda] 8015502 512-byte hardware sectors: (4.10 GB/3.82 GiB)
[ 1961.122802] sd 6:0:0:0: [sda] Write Protect is off
[ 1961.122833] sd 6:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 1961.122863] sd 6:0:0:0: [sda] Assuming drive cache: write through
[ 1961.122924] sda: sda1
[ 1961.143615] sd 6:0:0:0: [sda] Attached SCSI removable disk

MohammadAG 2011-01-21 23:02

Re: [Announce] USB hostmode beta release
 
Can't see any problems, just mount it.

Have "open in file manager" unticked, will fix soon.

sblotskyy 2011-01-22 01:46

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by MohammadAG (Post 925734)
Can't see any problems, just mount it.

Have "open in file manager" unticked, will fix soon.

Thank You for the help. I am the beginner in LINUX, but now the flash drive is visible! Please tell me, whether it's possible to connect the printer via USB in order to print out from OpenOffice ?
If it is, le me know where to search for further information.


All times are GMT. The time now is 16:54.

vBulletin® Version 3.8.8