Opened 9 years ago

Closed 9 years ago

#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 (1)

frameworkd.usb_fix.diff (689 bytes) - added by misc 9 years ago.
Patch to support both sysfs name for controling usb

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by misc

Patch to support both sysfs name for controling usb

comment:1 Changed 9 years ago by dos

  • Resolution set to fixed
  • Status changed from new to closed

It was fixed some time ago in FSO. opkg upgrade it ;)

Note: See TracTickets for help on using tickets.