OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Usb Power Budget, Is powering usb peripherals unsafe?
Armagon
post Nov 18 2006, 08:09 AM
Post #1





Group: Members
Posts: 106
Joined: 19-October 05
From: Cardston, AB, Canada
Member No.: 8,348



I'm running OZ on my C1000, but I think this is a fairly general question.


In kernel 2.16 and newer, if a USB device requires too much power, it is not enabled. 'dmesg' output might look like:

QUOTE
usb 1-2: no configuration chosen from 1 choice


To find out how much power a USB device wants, one can invoke:

QUOTE
lsusb -v | grep MaxPower


My card reader wants up to 250 mA, and my USB to serial converter says it might use up to 500 mA!

Post #3 on this ubuntu forum thread describes a work-around.

So my question is, is it safe to do this? [Also, I assume that people who are using kernels before 2.16 could well ask the same question, even if the device isn't automatically disabled.] Are the manufacturers of these USB products giving a high margin of error? Can a high-current device damage a Zaurus, or will it simply shorten battery life or just plain not work?

Thank you,
Armagon

[Edit]. PS. Does it make any difference if the Z is plugged in or not?
Go to the top of the page
 
+Quote Post
Da_Blitz
post Nov 18 2006, 07:36 PM
Post #2





Group: Members
Posts: 1,565
Joined: 7-April 05
From: Sydney, Australia
Member No.: 6,806



there was a recent bug fix that turns off devices that will draw more power than is avalible. this affected many people as they had been running devices off unpowered ports without relising that the device wanted a powered one

there is somthing in the /sys tree to turn off this feature but i cant remeber where, it should be fine to turn off but its not recommended, if i remeber correctly the Z can do about 200mah and there is the chance that the power requirements were overstated or reflecta milisceond power spike to power up the device (in which case the capaitors will take care of the spike without loading the Z's power supply
Go to the top of the page
 
+Quote Post
speculatrix
post Nov 20 2006, 03:56 PM
Post #3





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



the guy who put usb wifi and bluetooth inside a C1000 found he could increase the power available to the usb port using a resistor... the risk is as much from heating and/or burning a track on the PCB as anything else.

personally, I'd use a battery-powered hub (hmmm, really, you just need one with rechargeable battery or ultracapacitor than recharges from usb bus, so it will handle peaks of current?). I see figlabs have a nice usb external hard drive which is rechargeable, and probably ideal for many people.

on the subject of external hard drives, I note that Asus (used to) do a usb/wifi hard drive which runs samba... ideal to put in the car, sync your MP3's to it when you get home, and stream audio from it using your Z!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st December 2014 - 07:07 AM