USB port non functional


jmslocum

Still Fresh
Joined
Jun 7, 2012
Messages
4
Hello all,


I recently received my pandora unit. a 600Mhz black case unit running the newest firmware (flashed myself). I was trying to plug in a usb keyboard to make using the terminal simpler while at my desk, but the unit would not detect it. non of the lights lit up, and it just seemed dead. I tried two other keyboards (different brands) and a usb mouse. All did not work, nothing moved on screen. I enabled syslog (sudo /etc/init.d/syslog-ng start) so I could see what the kernel was doing when i plugged in the devices. I tailed both /var/log/messages and /var/log/syslog and saw NO activity when i plugged or unplugged the devices. I can see activity when inserting and removing sd cards (as expected) so i know the logging is enabled. I am convinced that this USB is bad.


A) is there a "bios" or other hardware configuration that might be disabled?


B) am I using the usb correctly? is the usb port meant for a keyboard and mouse? I have read people plugging in joysticks, but my usb joystick does nothing either!


C) if the port is bad, how do I get another unit. (this thing is expensive and I expect it to work!)


Thanks for any help anyone can offer!
 
I had this problem. The normal usb reqs a hub to use mouse and keyboard.


The micro usb will work with a mouse or keyboard but you wii need an adaptor( about £2 on ebay)
 
1) Keyboards and most other HIDs are USB 1.1, the host port only supports USB 2.0. You need a USB 2.0 hub inbetween for it to work. After you've plugged in a USB 1.1 device, the USB host crashes, so you'll need shut it down, replug the battery and then power it on.


2) The USB-host is turned off by default due to power management issues in the USB host driver. You need to enable this. There's a menu option in SuperZaxxon beta >=4 iirc. It can also be done by running "sudo modprobe ehci-hc" in the terminal.


EDIT: In Beta 5, you can use the tray icon to enable the USB-host.
 
Last edited by a moderator:
also you need to enable the usb on startup settings/startup/enable services on boot...tick enable usb host on bootup
 
<--- Removed --->


I got :ph34r: Ninja'd by a ton of other people by the time I finished typing.

the USB host crashes, so you'll need shut it down, replug the battery and then power it on.

Most of the time I never have to take out the Battery, a full shutdown seems to work for the most part. Still a good precaution though.
 
Last edited by a moderator:
If you want to use a hub, make sure it's a USB 2.0 hub, and it's bought from a brand-name manufacturer. I bought a "USB 2.0 hub" from a questionable source, and it turned out to be a USB 1.1 hub.
 
EDIT: In Beta 5, you can use the tray icon to enable the USB-host.
So with the new Firmware (I'm still on Hotfix 6) we have to enable USB per hand? Or is this still only for Host Mode required? Is there a way to do this automaticly when plugin in a USB device or at least when enabling USB Host mode? Otherwise it would be a little bit uncomfortable to first enable USB, then enabloe USB Host mode for using the USB port. (Yes, I'm that lazy :D )
 
Last edited by a moderator:
No, the USB-host is enabled directly.


It is possible to have the USB-host autoenable on boot, but this will give you battery life like on kernel 2.6.
 
Last edited by a moderator:
Confirmed.


I shutdown the unit, disconnected the batt, and powered back up. When the unit came back up i ran `sudo modprobe ehci-hcd` and plugged in a USB 2.0 harddrive. The unit was detected and mounted without issue. Strange! I would not expect a USB 1.1 device to crash a 2.0 controller. I assume is this on the bug list?


Thanks for all of the help everyone!
 
There is both a USB 1.1 and 2.0 controller on the smaller OTG USB port.. but obviously you need to get an adapter to plug in a regular sized USB cable.
 
I see, thanks all! Will keep that in mind. I will look for an adapter for the smaller usb port.
 
No, the USB-host is enabled directly.


It is possible to have the USB-host autoenable on boot, but this will give you battery life like on kernel 2.6.
Ah, OK. So there nothing changes.


But with the new kernel, I have to enable USB too, when for example plugin in a USB Stick or want to use USB devices. Well OK, I can live with that when It helps to increase battery life. :)
 
>I see, thanks all! Will keep that in mind. I will look for an adapter for the smaller usb port


For OTG port to be master (host) cable


MUST be miniA, most (99%) are miniB


Also.... sudo modprobe g_multi ... (3.2)


dave
 
Back
Top