Ticket #399 (closed defect: fixed)
wrong device for usb leading to m
| Reported by: | misc | Owned by: | daniel |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Frameworkd / FSO | Version: | SHR-unstable |
| Keywords: | patch | Cc: |
Description
according to http://wiki.openmoko.org/wiki/USB_host, for latest kernel, the device that control usb in sysfs is /sys/bus/platform/devices/s3c-ohci, and not /sys/bus/platform/devices/s3c2410-ohci.
It seems that frameworkd still use the old name. I do not know the policy of the project regarding this kind of compatiblity issue, so here is a patch to support old and newer kernel.
A simple way to check if the patch work or not is to take a look at shr-settings / connectivity , and see that the usb part is missing.
Attachments
Change History
Changed 4 years ago by misc
-
attachment
frameworkd.usb_fix.diff
added
Note: See
TracTickets for help on using
tickets.

Patch to support both sysfs name for controling usb