toastcfh / cm-kernel

CyanogenMod Linux Kernel
http://cyanogenmod.com
Other
23 stars 11 forks source link

usb in sense builds #9

Closed toastcfh closed 14 years ago

toastcfh commented 14 years ago

usb in sense builds is borked. it works fine in aosp and cm. just sense wants htc's driver nodes to be able to give usb notification and use the htc usb app. not so much an issue here for me but for those wanting to use this in sense this is a kicker. no mounting usb as mas storage with the current setup in sense. like i said though this is only an issue for those using this in sense

toastcfh commented 14 years ago

with usb in aosp i have found an issue, but have resolved it for the most part. regulator and i2c were failing bad but this has been fixed. still i see an issue when the phone is sleeping and usb gets conneted. i2c fails and and usb switch mode freaks out for a second. the resulting errors are due to switch mode not happening fast enough or timing out. i say that this really isnt a important issue because it only happens when u connect the phone while its sleeping to usb. and as soon as the display comes one and the phone comes out of sleep the issue is resolved. all usb function works after that connect whether the device is sleeping or not. this little issue comes down to the fact i havent implemented usb_register_notifier. in which is tied into htc's usb driver, which i have no desire to port over. tbo this issue in aosp is so small that unless u were trying to find it u wouldnt, that said... it doesnt seem to physically effect anything at all.

this is really just a note to those who are on the look out for possibly an issue that could be related to this. i personally havent seen any issues come from this. but if u do please comment here and ill look into this more. till then i then i think usb is finished for aosp builds.

toastcfh commented 14 years ago

not in my interest. netarchy has began doing this and has made great progress