Problem with the USB


It menas hte the mini USB DOES NOT WORK AT ALL  ( I dont know what for you put that since you could have saved some space


to make a decent usb one)
Small correction, it maybe does not work at all on your device. To further investigate that matter:


- do you have another cable to connect it to the OTG Port ? There are several reports on the boards that not all cables work.


- did you try connecting the Pandora to a host via the OTG Port ? If so does the Pandora start charging after you plugged it in ? Does mass storage mode work ?


Please do these test using the stock firmware to eliminate possible problems with your Pandebian installation.


Regarding the ARM build of Debian squeeze: There is a high possiblity that I mix things up here, but afaik Yes, but the sgx driver won't work as Debian ARm is built with Hardfloat support while there is only a SGX driver with softloat support available right now => see here.

Having no graphics is not that much problem for me since all my apps are cli for pim on ncurses. 

X11 might be on sgx, but why not installing SDL. Actually lot of machines ARM run simply SDL.I have to look at this maybe.

For me, the most important, is to code and to have an USB that is working with ANY possible keyboards. So the Debian image kernel might be the best of the best for that, since they had all possible into it.

However, would you have a better pandora kernel than the one delivered with the machine? I would like to use it as boot/uImage-4 and to create a /lib/modules/3.x.x... ?

Yours Sincerely
 
Last edited by a moderator:
Having no graphics is not that much problem for me since all my apps are cli for pim on ncurses. 

X11 might be on sgx, but why not installing SDL. Actually lot of machines ARM run simply SDL.I have to look at this maybe.
For me, the most important, is to code and to have an USB that is working with ANY possible keyboards. So the Debian image kernel might be the best of the best for that, since they had all possible into it.
Why do you insist on using debian for this, if it looks like debian needs a lot of work to run properly on the Pandora ? Can't image your tools aren't available for other distributions.

However, would you have a better pandora kernel than the one delivered with the machine? I would like to use it as boot/uImage-4 and to create a /lib/modules/3.x.x... ?
As I'm using 90% of the time angstom, and 10% Slackware I'm afraid can't help you in that regard.

Did you test charging / mass storage mode via the OTG Port ?

I found this kernel:

http://packages.debian.org/squeeze/linux-image-2.6-versatile

shoudl it be this one from debian that would be compatible with pandora? 

there is no kernesl for ARM but only for ARMEL
You can try, as ARMEL is for the Arm plattform but takes the endianness of the plattform into account (..el = little-endian)
 
Having no graphics is not that much problem for me since all my apps are cli for pim on ncurses. 

X11 might be on sgx, but why not installing SDL. Actually lot of machines ARM run simply SDL.I have to look at this maybe.
>>>For me, the most important, is to code and to have an USB that is working with ANY possible keyboards. So the Debian image kernel might be the best of the best for that, since they had all possible into it.
Why do you insist on using debian for this, if it looks like debian needs a lot of work to run properly on the Pandora ? Can't image your tools aren't available for other distributions.

However, would you have a better pandora kernel than the one delivered with the machine? I would like to use it as boot/uImage-4 and to create a /lib/modules/3.x.x... ?
As I'm using 90% of the time angstom, and 10% Slackware I'm afraid can't help you in that regard.

Did you test charging / mass storage mode via the OTG Port ?

I found this kernel:

http://packages.debian.org/squeeze/linux-image-2.6-versatile

shoudl it be this one from debian that would be compatible with pandora? 

there is no kernesl for ARM but only for ARMEL
You can try, as ARMEL is for the Arm plattform but takes the endianness of the plattform into account (..el = little-endian)
thank you.

Why I would like Debian kernel? - Simply because my keyboard does not work under Angstrom. I suspect that the kernel that OpenPandora made is not completed. 

This is why...  I found out that some usb devices are not supported by the kernel provided by angstrom.

But when I look onto debian package sthere is both armel and arm packaages.

It is kinda confusing arm and armel... I must wikipedia

what about adding the SGX into the slack/debian kernel as you would do it normally with drivers (extra modules that you should compile) (eg. driver webcam)?

You have everything. So why not to use full slack or debian regular kernel. They are probably much better, no? 

++ edit ++

found this : 

http://www.debian.org/ports/arm/

Compatilitbily is a question

like this one for instance : http://packages.debian.org/squeeze/armel/linux-image-2.6-versatile/download
 
Last edited by a moderator:
For using/installing debian or Slackware you should look into Software->Other OS here in the boards. There are some tutorials which are very useful.
 
Why I would like Debian kernel? - Simply because my keyboard does not work under Angstrom. I suspect that the kernel that OpenPandora made is not completed. 
It doesn't work like that in ARM world, every device needs separate kernel here. Only recently an effort has been started to make distribution-friendly multiplatform kernels, but that work is not complete yet.
It would be easier if you could find out what driver is needed for your keyboard, then in could be added. Alternatively you can compile your own kernel from sources at http://git.openpandora.org .
 
Last edited by a moderator:
Wow. Haven't posted here in ages!

Just adding this here because I seemed to be having very similar problems to the thread starter here. The full sized USB on my pandora (I have an old 1st batch one) didn't seem to be 100% -- wouldn't see USB devices correctly but would see an old 1GB Kingston USB stick. Seemed to be tempormental. Note I'm meaning the full sized USB connector, the first connector closest to the power connector - not the USB OTG. Also tried upgrading to the latest superzaxxon, same problems nothing changed.

After reading through this thread I tried using a USB 2 hub with my pandora and nothing would get detected at all. Nothing, nada, zip, nill, nout. Disable and re-enable USB host, no joy at all, no life. Fearing that I'd somehow fried the (full sized) USB port on my pandora I decided to try the only other hub I have which is a USB 3 hub (though I used the same USB 2 cable with it -- not a USB 3 cable!). Oddly, that USB hub works fine - works a USB mouse plugged in, along with the forementioned USB memory stick and even a USB sound card!

The motto of the story in my case? Not all USB hubs apper to be made equal!

The USB 3 hub that worked is one made by anker and is powered. Example -- http://www.amazon.co.uk/Anker%C2%AE-Uspeed-4-Port-Adapter-Chipset/dp/B007ZW1TYW/ref=sr_1_1?ie=UTF8&qid=1367797107&sr=8-1&keywords=4+port+anker+usb+3

ljones
 
Last edited by a moderator:
Have you considered that:

  • The full-size port can only be used directly with <corrected> high-speed (USB2.0) devices
  • The controlling software crashes if you connect a hub with nothing downstream of it.


To test,

  • Get a USB mouse (probably USB1.1)
  • Plug it into a hub
  • Plug the hub into your pandora
 
Last edited by a moderator:
Well....the USB 2 hub in question is powered and I did power off 'tween using the USB 2 and 3 Hub. 

Wasn't the crashing caused by plugging a USB 1 device into the USB port  btw?

Ok this is what I tried: Rebooted pandora (no usb devices attached), plugged a USB sound card and 1GB Kingston USB stick into hub (powered on). Enabled USB host  then plugged it into the pandora. Opened a command line and typed "dmesg". No sign of the USB stick (would appear on the desktop as an icon) nor the USB sound card (appears in volume control) appears.

Powered off, unplugged USB 2 hub and connected up (powered off along with the pandora) the USB 3 hub but with a USB 2 cable going from the hub to the pandora (same one as I used above!). Powered on pandora with no USB devices attached, enabled usb host. Plugged in USB cable from the hub to the pandora. USB  (1GB) stick seen first, icon appears on desktop. The volume control now shows two audio devices, omap3pandora (alsa mixer) and USB Sound device (Alsa mixer).

Here's a picture of all the devices (less the pandora) in question.

usb-hubs.jpg


At the top that's the USB 2 hub with its power supply. Not a very expensive device and quite often found on ebay; appears to work ok on a normal desktop PC. The larger hub below, that's the USB 3 hub and I've found they cost a fair bit more about x2 the price depending on where you look. And to the right, the USB stick and USB sound card (off ebay, but works well! (detected by the USB 3 hub on pandora, on a normal desktop PC no problems).

ljones
 
Last edited by a moderator:
thanks for the elaborate response, just wanted to know wether the USB Host of the Pandora can be picky every now and then or not
 
Last edited by a moderator:
Have you considered that:

  • The full-size port can only be used directly with full-speed High Speed (USB2.0) devices
  • The controlling software crashes if you connect a hub with nothing downstream of it.


To test,

  • Get a USB mouse (probably USB1.1)
  • Plug it into a hub
  • Plug the hub into your pandora
The full sized port only works with high speed devices, it does not work with full speed devices (USB to serial, GPS etc.) or low speed devices (keyboards, mice, etc) unless a high speed hub is used.

Do not ever use the term "USB 2.0" when you mean High Speed, the terms are not interchangeable. USB 2.0 means any low speed, full speed, or high speed device, USB 1.1 means most low speed and full speed devices.
 
Well....the USB 2 hub in question is powered and I did power off 'tween using the USB 2 and 3 Hub. 

Wasn't the crashing caused by plugging a USB 1 device into the USB port  btw?

Ok this is what I tried: Rebooted pandora (no usb devices attached), plugged a USB sound card and 1GB Kingston USB stick into hub (powered on). Enabled USB host  then plugged it into the pandora. Opened a command line and typed "dmesg". No sign of the USB stick (would appear on the desktop as an icon) nor the USB sound card (appears in volume control) appears.

Powered off, unplugged USB 2 hub and connected up (powered off along with the pandora) the USB 3 hub but with a USB 2 cable going from the hub to the pandora (same one as I used above!). Powered on pandora with no USB devices attached, enabled usb host. Plugged in USB cable from the hub to the pandora. USB  (1GB) stick seen first, icon appears on desktop. The volume control now shows two audio devices, omap3pandora (alsa mixer) and USB Sound device (Alsa mixer).

Here's a picture of all the devices (less the pandora) in question.

usb-hubs.jpg


At the top that's the USB 2 hub with its power supply. Not a very expensive device and quite often found on ebay; appears to work ok on a normal desktop PC. The larger hub below, that's the USB 3 hub and I've found they cost a fair bit more about x2 the price depending on where you look. And to the right, the USB stick and USB sound card (off ebay, but works well! (detected by the USB 3 hub on pandora, on a normal desktop PC no problems).

ljones
Some cheap 7 port USB hubs are implemented with two 4 port hub chips. If the Pandora USB port crashes when a hub with nothing plugged in is connected, you will need to have at least two devices plugged into that hub, one connected to each hub chip to avoid crashing the port.
 
Are there any slave devices marked "USB2.0" that operate at 'full' or 'low' speeds?

There obviously can't be any "USB1.x" devices at 'high' speeds

Although technically wrong, the 1.1 / 1.1 / 2.0 / 3.0 makes far more sense than the low / full / hi / super

 "Hi-speed (USB2.0)" (which is what I meant!) Is more generally helpful than saying "Hi-speed"

<goes into rant about the whole naming system>
 
Are there any slave devices marked "USB2.0" that operate at 'full' or 'low' speeds?
Yes and this is why you should not specify "USB 2.0" when you mean "USB High Speed". They don't mean the same thing, and you can get burned if you use the wrong one.
 
I knew they weren't the same thing, but assumed (incorrectly) that slave devices would only implement USB2.0 if they needed "Hi-Speed" (or high-speed) communication.

Because of this, I was using the numbering system (which makes sense), rather than the naming system (which doesn't).

Would it be OK with you if I referred to them as 1.5Mb/s, 12Mb/s, 480Mb/s and 5Gb/s ?
 
That would only serve to confuse matters further.   Seriously,   just stick with low speed, full speed, high speed and super speed to identify the different standards,  especially since that is how they will be identified in kernel message logs.

- Neelix

Edit:  perhaps it may help to make yourself a cheat sheet showing which is which and attach it to your monitor for easy reference.  :)
 
Last edited by a moderator:
That would only serve to confuse matters further.  
It would?

How about I call them:

Low-speed (1.5Mb/s)

Full-speed (12Mb/s)

Hi(high)-speed (480Mb/s)

Super-speed (5Gb/s)

That's accurate and completely unambiguous.

Also, since I've spent all this time discussing it, I can now remember which way round "high" and "Full" are supposed to be B)
 
Back
Top