On 3/9/10, Jim Jackson <> wrote:
>
>
>
> On Mon, 8 Mar 2010, Joel Morgan wrote:
>>>> I am currently using the TS7260 USB port to power on my slave
>>>> device(radio card). I will very like to the power off the USB when I am
>>>> not talking to the slave device. After messing with Jim Jackson's cctl
>>>> command line program, I couldnt quite get that to work, this is what I
>>>> did:
>>>>
>>>> $cctl -w USB=off
>>>> USB=off
>>>>
>>>> I still see USB port supply power to the slave device......
>>>
>>> That only turns off the USB sub-system on the cpu chip, saving you a bit
>>> of
>>> power consumption. I believe TS provide programmable control of the
>>> 5V USB power on the TS7260, so it should be possible. However I don't
>>> have
>>> a TS7260, so didn't add that to cctl.
>>>
>>> If someone lets me know the bit details, I could add it to cctl, but
>>> would
>>> need someone with a ts7260 to do testing for me.
>>
>> power management register: 0x1200_0000
>> USB 5V power: bit 1
>
> Joel, can you give me the name of the TS doc that this is in please?
> I thought it might be in the ts7260 user manual but I couldn't see
> anything. It was late last night so I might have just missed it.
>
> Jim
> p.s. is that counting from 0 or 1? i.e. is it 0x01 or 0x02
ts7260 hardware manual
http://www.embeddedarm.com/documentation/ts-7260-manual.pdf
page 40
bit 0 RS232 level converter power
bit 1 USB 5V power
bit 2 LCD header 5V power
...
I can help with testing if needed, but I'm running the stock kernel if
it matters.
--
Joel R. Morgan
Morgan Millwright Services, Inc.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|