PDA

View Full Version : Kernel 2.6.21: berry_charge


rivviepop
06-11-2007, 10:16 PM
The 2.6.21 kernel now includes a module 'berry_charge' that should properly charge your 8700 and older devices at 500mA. The newer SD-card enabled devices (8100/8300/8800/etc.) are not yet supported due to a conflict with USB mass storage - they'll figure something out I'm sure.

Linux Headquarters - Kernel v2.6.21 /drivers/usb/misc/berry_charge.c (http://www.linuxhq.com/kernel/v2.6/21/drivers/usb/misc/berry_charge.c)

Notice it takes a param 'debug' in boolean; use:


rmmod berry_charge
modprobe berry_charge debug=1


...to load it and get debugging messages on your rig. I do not have an 8700 or older device to test myself, unfortunately.

davs
07-02-2007, 02:10 PM
i've used this on debian for my 8100. works perfectly. i also added a rule to load berry-charge when i plug in the 8100.

blakeatl
07-08-2007, 11:41 AM
i've used this on debian for my 8100. works perfectly. i also added a rule to load berry-charge when i plug in the 8100.

Please post the rule.

MarkARichards
07-10-2007, 08:22 AM
The 2.6.21 kernel now includes a module 'berry_charge' that should properly charge your 8700 and older devices at 500mA. The newer SD-card enabled devices (8100/8300/8800/etc.) are not yet supported due to a conflict with USB mass storage - they'll figure something out I'm sure.

Linux Headquarters - Kernel v2.6.21 /drivers/usb/misc/berry_charge.c (http://www.linuxhq.com/kernel/v2.6/21/drivers/usb/misc/berry_charge.c)

Notice it takes a param 'debug' in boolean; use:


rmmod berry_charge
modprobe berry_charge debug=1


...to load it and get debugging messages on your rig. I do not have an 8700 or older device to test myself, unfortunately.

This all works just fine in SUSE Enterprise Linux Desktop 10 SP1 (SLED) running kernel 2.6.16.46-0.xx and above.
Mass storage work as well.
This will all be included in openSUSE 10.3 as well.