Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. --- /usr/local/lib/calibre/calibre/devices/usbms/device.py.original 2014-12-28 23:50:05.000000000 +0100
  2. +++ /usr/local/lib/calibre/calibre/devices/usbms/device.py  2014-12-29 19:03:30.000000000 +0100
  3. @@ -725,6 +725,12 @@
  4.                          d.manufacturer == objif.GetProperty('usb.vendor') and \
  5.                          d.product == objif.GetProperty('usb.product') and \
  6.                          d.serial == objif.GetProperty('usb.serial'):
  7. +           #######################################
  8. +           #jjjesss at gmail.common
  9. +           #29/12/2014
  10. +           #hack for freebsd to mount Sony PRS-T3
  11. +           path = path + '_scsi_host'
  12. +           #######################################
  13.                      dpaths = manager.FindDeviceStringMatch('storage.originating_device', path)
  14.                      for dpath in dpaths:
  15.                          # devif = dbus.Interface(bus.get_object('org.freedesktop.Hal', dpath), 'org.freedesktop.Hal.Device')