Rockbox Technical Forums

Support and General Use => Hardware => Topic started by: michael.conner on July 31, 2006, 03:22:42 AM

Title: usb charging for X5 in Rockbox?
Post by: michael.conner on July 31, 2006, 03:22:42 AM
Hi, I'm thinking about getting an X5.

Does it charge via the subpack's USB connector in Rockbox?  Or do you have to have the AC adapter plugged in at the same time?

Thanks.
Title: Re: usb charging for X5 in Rockbox?
Post by: RaeNye on July 31, 2006, 09:34:32 AM
It is able to charge via USB or AC connections in the subpack (not the OTG-USB connection).

Note that the code that controls charging while the device is on is not yet present in RB, so it's only safe to charge it while off (the OF Charging... screen).
Title: Re: usb charging for X5 in Rockbox?
Post by: bk on July 31, 2006, 05:03:18 PM
Dangerous as in overcharging?
Title: Re: usb charging for X5 in Rockbox?
Post by: RaeNye on August 02, 2006, 05:00:19 PM
I'm not sure, but there are several charge 'modes': fast charge, precharge, normal... ???

It's all controlled by PCF50606's MBCC1-MBCC3 regs, so it's best to understand the datasheet before saying anything :)
Title: Re: usb charging for X5 in Rockbox?
Post by: afruff23 on August 13, 2006, 02:41:04 PM
Is it possible to implement USB charging while still using the X5? Kinda like iPods.
Title: Re: usb charging for X5 in Rockbox?
Post by: RaeNye on August 13, 2006, 04:35:11 PM
X5 can charge the battery from AC/USB, it just needs to be implemented.
There's a similar patch for H300 (which uses PCF50606 as well) so it should be adapted when committed.
Title: Re: usb charging for X5 in Rockbox?
Post by: LinusN on August 13, 2006, 07:00:22 PM
There's a similar patch for H300 (which uses PCF50606 as well) so it should be adapted when committed.
The H300 doesn't use the PCF50606 for charging.
Title: Re: usb charging for X5 in Rockbox?
Post by: RaeNye on August 14, 2006, 05:50:38 PM
I saw that later, it just enables GPOOD1  :(
Title: Re: usb charging for X5 in Rockbox?
Post by: paddlaren on August 19, 2006, 03:29:33 PM
I found a post in this matter for the Archos: http://forums.rockbox.org/index.php?topic=5917.0 (http://forums.rockbox.org/index.php?topic=5917.0).

It seems that the Archos have a F1-key and if pressed while connecting to USB it will enter the charging-mode and can be used as player meanwhile.

There are only a few keys on the X5 and I tried most of them and noone seems to work like the F1-key.

Anyone knows if this can be applied to the X5 as well?

Chort battery lifetime is keeping me from useing Rockbox for the moment. I cannot risk the busstime home from work without the audiobooks......  ::)


// Erik
Title: Re: usb charging for X5 in Rockbox?
Post by: bk on August 19, 2006, 03:40:53 PM
Rockbox battery life is now on par with the official Cowon firmware.
Title: Re: usb charging for X5 in Rockbox?
Post by: paddlaren on August 19, 2006, 03:55:41 PM
To be honest, on the X5 I would gladly offer the possibility in Rockbox to connect to USB in favor for letting it charge my X5 using USB.

If I need to connect to USB I can use the firmware for that since it works fine in my opinion.

Do I have to try to make this patch myself or is there anyone who actually knows how it should be done  ;)
Title: Re: usb charging for X5 in Rockbox?
Post by: paddlaren on August 19, 2006, 04:05:04 PM
.... and combine the USB-charging with the Car Adapter Mode so that the X5 can be connected to a USB-charger all day at work!!!!!


This would be a nice feature!  ;D ;D ;D ;D

// Erik
Title: Re: usb charging for X5 in Rockbox?
Post by: paddlaren on August 19, 2006, 05:31:04 PM
Rockbox battery life is now on par with the official Cowon firmware.

This is great news!

I installed the dailybuild for today (rockbox-iaudiox5-20060819.zip). I allowed it to switch of the HDD insteade of powersafe.

Do I have do trim the settings on any other way in order to get the Rockbox in parity with the Cowon firmware?

The USB charging while useing the X5 is still important since I use it for quite some hours a day and I have the 60GB version.... Much disk, no impressive battery  :'(

I would like a X5-60L, a 60GB disk and a long-life battery but I gues it would be big as a house  ::)

// Erik
Title: Re: usb charging for X5 in Rockbox?
Post by: bk on August 19, 2006, 07:43:12 PM
Quote
Do I have do trim the settings on any other way in order to get the Rockbox in parity with the Cowon firmware?

Set the backlight off to something reasonable, I use 5 seconds. Set the brightness as low as you can tolerate. Turn on dircache and set the harddrive spin-down time to something short, maybe 2-3 seconds. Try turning on LCD sleep when backlight is off, but there's not a lot of data yet on how much it helps.

edit: oh, and don't pay any attention to the estimated battery time left. It's completely inaccurate (I don't know why, but someone will probably fix it someday).
Title: Re: usb charging for X5 in Rockbox?
Post by: paddlaren on August 20, 2006, 03:35:48 AM
Thanx!  :D

I supose that the incorrect batery lifetime is the reason why we can use the batery-plugin and post the resultfil to the wikki. The resultfile will show statistcs that I suppose can be used as feedback to the algorithm of remaning batery lifetime.


One thing.... Maby this should be an own thread, and the tips you sent should be in the Wiki.-FAQ (My opinion).
Title: Re: usb charging for X5 in Rockbox?
Post by: Bagder on August 20, 2006, 02:15:47 PM
I supose that the incorrect batery lifetime is the reason why we can use the batery-plugin and post the resultfil to the wikki. The resultfile will show statistcs that I suppose can be used as feedback to the algorithm of remaning batery lifetime.

Exactly!