only "????" for non-english dir/files when a usb stick is auto mounted
#16
timbao Wrote:Actually I already checked your website. Havn't got a chance to try that although do have a plan. Does the OpenELEC version supports the following?
- compilation tools: I have an USB wireless network adaptor (realtek chip) and need to compile kernel module. It's not supported by default. Does this version allow compilation, gcc, kernel headers,etc?

thats not an problem, we can include this. adding support for wlan is on my todo the next days.

the complete distro must be compiled (except you using prebuild images), so all tools we need for compilation we have

timbao Wrote:- dependencies of my desired services: samba, vsftpd, transmission-daemon, aMule. Your website says samba is ok and I guess vsftpd won't be a problem. How about the other p2p serivces?

samba is included, also SSH. dont know if there is a need vor FTP, but this would be also not an problem. because of the others, we can also include this, if there is an need. but it must be userfriendly to setup (without using the commandline).
greetings, Stephan

Image

Image
Reply
#17
Yes, it's more user friendly. And back to my initiation question, xbmc does change a little comparing with the stable release . Here's the code from xbmc/linux/HALManager.cpp in stable 9.11 release(r26018).

Code:
if (connection)
{
  msg = dbus_message_new_method_call("org.freedesktop.Hal", volume->UDI.c_str(), "org.freedesktop.Hal.Device.Volume", "Mount";
  dbus_message_iter_init_append(msg, &args);
  s = mountpath.c_str();
  if (!dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &s))
  CLog:og(LOGERROR, "DBus: Failed to append arguments";
  s = ""; //FileSystem
  if (!dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &s))
  CLog:og(LOGERROR, "DBus: Failed to append arguments";
  DBusMessageIter sub;
  dbus_message_iter_open_container(&args, DBUS_TYPE_ARRAY, DBUS_TYPE_STRING_AS_STRING, ?);

  CStdString temporaryString;
  if (volume->FileSystem.Equals("vfat")
{
  temporaryString.Format("uid=%u", getuid());
  s = temporaryString.c_str();
  dbus_message_iter_append_basic(?, DBUS_TYPE_STRING, &s);
  }
  s = "sync";
  dbus_message_iter_append_basic(?, DBUS_TYPE_STRING, &s);

  if (volume->FileSystem.Equals("vfat")
  {
  int mask = umask (0);
  temporaryString.Format("umask=%#o", mask);
  s = temporaryString.c_str();
  dbus_message_iter_append_basic(?, DBUS_TYPE_STRING, &s);
  }
  dbus_message_iter_close_container(&args, ?);

  if (msg == NULL)
  CLog:og(LOGERROR, "DBus: Create Mount Message failed";
  else
  {
  DBusMessage *reply;
reply = dbus_connection_send_with_reply_and_block(connection, msg, -1, &error); //The reply timout might be bad to have as -1
However, a recent checkout from svn (should be around r29xxx) has the following code:
Code:
if (volume->FileSystem.Equals("vfat"))
  {
  int mask = umask (0);
  temporaryString.Format("umask=%#o", mask);
  s = temporaryString.c_str();
  dbus_message_iter_append_basic(&sub, DBUS_TYPE_STRING, &s);
  temporaryString.Format("uid=%u", getuid());
  s = temporaryString.c_str();
  dbus_message_iter_append_basic(&sub, DBUS_TYPE_STRING, &s);
  s = "shortname=mixed";
  dbus_message_iter_append_basic(&sub, DBUS_TYPE_STRING, &s);
  s = "utf8";
  dbus_message_iter_append_basic(&sub, DBUS_TYPE_STRING, &s);
  // 'sync' option will slow down transfer speed significantly for FAT filesystems. We prefer 'flush' instead.
  s = "flush";
  dbus_message_iter_append_basic(&sub, DBUS_TYPE_STRING, &s);

New code adds "utf8" as an mount option , so , seems I can expect the coming 10.x will fix the problem
Reply

Logout Mark Read Team Forum Stats Members Help
only "????" for non-english dir/files when a usb stick is auto mounted0