maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Diablo less tolerant of OTG + USB thumbdrives? (https://talk.maemo.org/showthread.php?t=21551)

terrencegf 2008-07-03 04:24

Diablo less tolerant of OTG + USB thumbdrives?
 
Over the weekend I took the plunge and installed diablo on my N800. I managed to get just about everything working again; screen rotation, cloning to flash and booting from memory card, tons of applications... And then I decided to try my USB OTG adapter with my thumb (flash) drives. NONE of them worked. They ALL worked fine with chinook, even those with flashing LEDs. So I tried a powered USB hub. No luck. Granted it's a cheap hub, so maybe that's the problem.

Then I thought that perhaps all the extra stuff I installed was causing problems. So I reflashed diablo and tried with a fresh system. Still no luck. It took me a couple of hours to get everything back to normal (external boot menu, mainly). I can boot to my cloned diablo partition AND also my old cloned chinook system. The results are the same regardless of which partition/OS I boot to. "/sys/devices/platform/musb_hdrc/mode" shows "a_host", so it's definitely seeing the device, and "lsusb" shows a couple of the thumb drives (but not all).

As a last ditch effort, I tried my external USB HDD (self-powered). SUCCESS!!! So the thing works after all, wow!

But this makes me wonder why the flash drives that worked just fine with chinook fail to work in diablo. And why don't those flash drives work when I boot into the chinook partition? Is it something to do with the initfs bootmenu stuff? I'm curious if other people have seen something similar with their chinook-to-diablo upgrade experience.

Thanks for reading my plaint.

kudos1uk 2008-07-03 07:50

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
No problems here?

deluxe 2008-07-03 14:09

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Also no problems, using diablo on a n810 with USB-Control.

wartstew 2008-07-03 14:21

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
After reading your post, I tried one of my thumb drives that did work under chinook and sure enough, it did NOT work in Diablo.

My USB keyboard still works however, as I am using it now. So USB host mode is at least working.

After poking around in an xterm shell, I noticed that no related kernel modules were being loaded. I seem to remember that some sort of USB-storage module used to load under Chinook and was displayed when you did an "lsmod" as root. Can someone double check me on this? If so, then I also could not find any related modules in either under /lib/modules or /mnt/initfs/lib/modules to load. This could be that either the driver was built into the new kernel, or they forgot about it completely.

I did notice that at least the USB subsystem is seeing the device and found all the stats for it in the /sys/bus/usb/devices section.

I also noticed that the "dmesg" list showed that the kernel was trying to put the whole thing to sleep right away. That said, I did notice that it was powering the drive the whole time because mine actually gets a little warm to the touch when powered up.

So who at Nokia needs to know about this?

drizek 2008-07-03 15:52

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
2/2 work for me.

hordeman 2008-07-03 18:26

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Hmmm... I installed that maemo-control-usb extra, but it does not see my thumb drive. Just to make sure we're on the same page, I go to Control Panel > USB Networking. Or, how do I turn on host mode with this plugin?

terrencegf 2008-07-04 04:37

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Okay, I think I'm a little closer to resolving the issue. I reflashed with chinook and realized that not all of my flash drives worked correctly. So apparently I tried some "new" flash drives under diablo and incorrectly figured that they had worked with chinook.

Then I reflashed with diablo, and eventually managed to get all of the flash drives which worked with chinook to also work with diablo. I say "eventually" because I had to plug/unplug the flash drives a couple of times before diablo recognized them. This was not the case with chinook.

So I think the title of the thread should be "Diablo SLIGHTLY less tolerant" since I managed to get the same drives working under diablo (with a little fiddling).

As to the wired network issue, I also cannot get my ethernet adapter to work. But as stated in other posts, until the DUMMY interface issue can be hacked around, I don't think I can effectively debug it.

gemniii42 2008-07-04 15:18

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Quote:

Originally Posted by terrencegf (Post 199204)
Okay, I think I'm a little closer to resolving the issue. I reflashed with chinook and realized that not all of my flash drives worked correctly. So apparently I tried some "new" flash drives under diablo and incorrectly figured that they had worked with chinook.

Then I reflashed with diablo, and eventually managed to get all of the flash drives which worked with chinook to also work with diablo. I say "eventually" because I had to plug/unplug the flash drives a couple of times before diablo recognized them. This was not the case with chinook.

So I think the title of the thread should be "Diablo SLIGHTLY less tolerant" since I managed to get the same drives working under diablo (with a little fiddling).

As to the wired network issue, I also cannot get my ethernet adapter to work. But as stated in other posts, until the DUMMY interface issue can be hacked around, I don't think I can effectively debug it.

Just for info could you provide models etc of flash drives that work and don't, for those of us who have not bought them yet?

tia

Bard 2008-07-07 15:09

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
To whom can make USB Control runs on N810 Diablo, can you give clue how make it installed on N810?

I have N810 runs Diablo, I don't restore any backup from previous OS due I flash my N810 to Diablo as soon as my N810 on my hand when I bought it.

USB Control incompatible with Diablo, so do USB Host + Becomroot package.

terrencegf 2008-07-08 00:36

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Quote:

Originally Posted by gemniii42 (Post 199329)
Just for info could you provide models etc of flash drives that work and don't, for those of us who have not bought them yet?

Sure, but I'm not sure how to best list the drives. There are so many thumbdrives out there. So, here's a table showing the output from "lsusb". The part in parenthesis is my attempt at describing the drive.
Code:

ID 04e8:1a23 Samsung Electronics Co., Ltd  (2G Black Samsung)
ID 090c:1000 Feiya Technology Corp. Memory Bar (2G A-Data MyFlash)
ID 0204:6025 Chipsbank Microelectronics Co., Ltd CBM2080 Flash drive controller (256M Generic)

ID 0d7d:1300 Phison Electronics Corp. Flash Disk (128M PNY Attache)
ID 0ea0:2168 Ours Technology, Inc. Transcend JetFlash 2.0 / Astone USB Drive (64mb Micro Advantange QuickDrive)
ID 1370:2168 Swissbit (512M Swissbit)

Only the first three (in green) worked on my N800 with a USB/OTG adapter.

I also tried 4 different SD card readers. Two were SDHC, one was SD, and one was MicroSD. None of them worked.
Code:

ID 058f:6331 Alcor Micro Corp. (Rosewill SDHC card reader)
ID 0781:a7a8 SanDisk Corp. (SanDisk SDHC card reader)
ID 058f:6369 Alcor Micro Corp. (Black generic SD card reader)
ID 14cd:6700 Super Top (Generic T-Flash/MicroSD card reader)


wartstew 2008-07-08 03:48

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Quote:

Originally Posted by Bard (Post 200244)
USB Control incompatible with Diablo, so do USB Host + Becomroot package.

I don't uderstand this line. Was this an error message or instructions of what to use instead of USB Control?

I have USB Control running under Diablo in that it enables my USB keyboard to work, but not the thumb drive that did work in Chinook. Yes, and I did try itterations of plugging and unplugging the thing.

Bard 2008-07-08 07:43

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Sorry about my last post.. I just realize that USB control already installed on my Diablo when I use app manager - bowse installable app menu to install many app once I flash my N810 to Diablo.

The only problem I can't get USB Control enable is I'm lack of installing USB OTG Plugin. When I found it yesterday at garage.maemo, build by Kate Alhola, I install it, now the USB Control activated.

krisse 2008-07-16 15:35

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Quote:

Originally Posted by hordeman (Post 199028)
Hmmm... I installed that maemo-control-usb extra, but it does not see my thumb drive. Just to make sure we're on the same page, I go to Control Panel > USB Networking. Or, how do I turn on host mode with this plugin?

Yes, I installed maemo-control-usb, but it keeps saying "module insertion has failed" when I try keyboards and USB drives that worked with USB Control.

The description of maemo-control-usb says it allows you to switch the tablet to host mode, but I can't see any way of actually doing it.

Can anyone help?

qwerty12 2008-07-16 15:39

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
maemo-control-usb is for setting usb networking mode. While it will trip the tablet into host mode, it will also remove the g_file_storage module and replace it with g_ether which means usb drives will not show up naturally.

I can compile and modify the source of maemo-control-usb to just set the tablet into host mode and not do anything else but in reality, would that be of any use?

krisse 2008-07-16 15:43

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Quote:

Originally Posted by qwerty12 (Post 203602)
maemo-control-usb is for setting usb networking mode. While it will trip the tablet into host mode, it will also remove the g_file_storage module and replace it with g_ether which means usb drives will not show up naturally.

It gives me exactly the same error message with keyboards though.

All I really want host mode for is access to a USB keyboard which I presumed would just need host mode.

qwerty12 2008-07-16 15:47

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Dunno, but having g_ether in memory doesn't seem to be working well for you, keyboard or usb drive.

If you cannot find a program that seems to install for you, just run as root in the x-terminal:
echo host > /sys/devices/platform/musb_hdrc/mode

krisse 2008-07-16 15:53

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Quote:

Originally Posted by qwerty12 (Post 203609)
Dunno, but having g_ether in memory doesn't seem to be working well for you, keyboard or usb drive.

USB Control worked for me on Chinook, but that no longer installs for me on Diablo presumably because of the extras debacle.


Quote:

If you cannot find a program that seems to install for you, just run as root in the x-terminal:
echo host > /sys/devices/platform/musb_hdrc/mode
This is probably going to come as a shock but I don't actually understand any of that except "x-terminal".

I assume that's a command to manually put it in host mode, which I'd have to type in every time I want to put the tablet into host mode?

qwerty12 2008-07-16 15:59

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
1 Attachment(s)
Quote:

Originally Posted by krisse (Post 203610)
USB Control worked for me on Chinook, but that no longer installs for me on Diablo presumably because of the extras debacle.

Try this package, I've edited the control file to have python-runtime instead of python2.5-runtime as it's dependency (python2.5-runtime does not exist in diablo extras).

You may have to install python-runtime manually using application manager in red pill mode. After that, this will install.

krisse 2008-07-16 16:13

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Thanks very much for that, but this is far more trouble than I'd bargained for. I'm trying to stick to methods that casual users could cope with.

I've just been looking at maemo-control-usb again in the app manager, and the description talks about it supporting "switching between file storage, ethernet networking device and USB host mode" and "contains control panel applet for selecting USB device or host modes". To me that sounds like USB host mode and ethernet networking are two separate things, but the applet doesn't actually seem to offer anything but ethernet stuff.

qwerty12 2008-07-16 16:19

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Hmm, you may be able to push konttori to update this package for diablo.

Basically, it sets the tablet into host mode but it then unloads the g_file_storage module which it seems quite a few devices depend on. Trying to use this to set it into host mode and reversing the changes while keeping it in host mode sounds more complicated then trying to install the package above.

krisse 2008-07-16 16:23

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Quote:

Originally Posted by qwerty12 (Post 203619)
Hmm, you may be able to push konttori to update this package for diablo.

Yeah, that's what I thought too, I send him a message earlier today.

This is SUCH a useful tool even for non-techie users, I hope he does find the time to do this. It was so simple to install from maemo.org, and so simple to switch to host mode.


Quote:

Basically, it sets the tablet into host mode but it then unloads the g_file_storage module which it seems quite a few devices depend on. Trying to use this to set it into host mode and reversing the changes while keeping it in host mode sounds more complicated then trying to install the package above.
I'm wondering how the tablet sees keyboards, because when I did use USB Control on Chinook I would get error messages when I plugged the keyboard in that talked about memory storage. The keyboards worked fine though so I didn't think too much about it.

Do modern keyboards have some kind of USB flash memory built into them that is causing the tablets to think they're storage devices?

Twinkletoes 2008-07-17 08:49

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Hi - Perhaps a related issue. I have a N800 running Diablo. I reinstalled from the backup with very few issues. I decided that I would try wired networking to use in Hotel rooms etc. I followed the Wiki - "HOWTO: Wired Networking using USB host mode and OS 2008" by installing the USBlan app and scripting direct from the links in the article. Then using the USB OTG adapter and Linksys USB100M Network adapter I followed the instructions for connection.Tablet showed the "unsupported" and "no file system" dialogues as stated. I then tried to access the internet from my router (wireless disabled to avoid conflicts). No Go - The WIRED connection was not listed in the Select Connection dialogue. I went to the Control Panel and looked at the connections there and WIRED is listed so the tablet is seeing the connection but doesn't present it for selection!!!! I don't know whether it would work in Chinook as I didn't have the adapters then.

olidel 2008-07-17 11:01

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Hello,

I have exactly the same issue than in the above post :( with the new Diablo version. Does somebody has an idea to have the WIRED connection listed in the connection list of available connection. I have had the same setup with Chinook and I could see the WIRED entry in the connection list.

Thanks.

O.D.

Benson 2008-07-17 17:15

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Wired networking relies on dummy connections; the icd was rewritten for Diablo, and they left that out (apparently accidentally), so BT-PAN and USB-networking aren't doing so well. They've indicated a fix is in progress.

TokyoDan 2008-09-21 23:07

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
I installed this and when I select `Host` the status changes to @USB CONTROLLER MODE: a_wait_vrise`. Is this correct? I had USBControl installed before and if I remember correctly it used to show `USB CONTROLLER MODE: Host`

Quote:

Originally Posted by qwerty12 (Post 203614)
Try this package, I've edited the control file to have python-runtime instead of python2.5-runtime as it's dependency (python2.5-runtime does not exist in diablo extras).

You may have to install python-runtime manually using application manager in red pill mode. After that, this will install.


Thesandlord 2008-09-21 23:49

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Quote:

Originally Posted by TokyoDan (Post 225907)
I installed this and when I select `Host` the status changes to @USB CONTROLLER MODE: a_wait_vrise`. Is this correct? I had USBControl installed before and if I remember correctly it used to show `USB CONTROLLER MODE: Host`

It still works

TokyoDan 2008-09-22 00:32

Re: Diablo less tolerant of OTG + USB thumbdrives?
 
Actually I installed USBControl because I read that it is a requirement for maemo-control-usb. Details of what I'm trying to do and my problems are in this similar post:
http://www.internettablettalk.com/fo...ad.php?t=23781


All times are GMT. The time now is 00:31.

vBulletin® Version 3.8.8