maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [HOWTO] Compiling new kernels on Harmattan device (https://talk.maemo.org/showthread.php?t=89507)

Ancelad 2013-08-28 18:30

Re: [HOWTO] Compiling new kernels on Harmattan device
 
Quote:

Originally Posted by jackburton (Post 1370192)
Making the changes to /etc/usb-moded/usb-moded.ini should work on the stock kernel as well. I did not enable anything special for this in my config.

OMG. Is my config right?

jackburton 2013-08-28 19:58

Re: [HOWTO] Compiling new kernels on Harmattan device
 
Quote:

Originally Posted by Ancelad (Post 1370194)
OMG. Is my config right?

I'll do some testing.

jackburton 2013-08-28 22:05

Re: [HOWTO] Compiling new kernels on Harmattan device
 
Quote:

Originally Posted by jackburton (Post 1370231)
I'll do some testing.

It should work:

http://farm8.staticflickr.com/7429/9...1d9c790588.jpg
N950-two-fats-one-usb by brander snaxe, on Flickr

I created two dd'd images and pointed to them in the usb-moded.ini file. Now, these weren't mounted before I connected, so not sure if that's causing you an issue. If *any* of the devices are in use before you try to export, it may fail.

I'm not exporting MyDocs directly in this test, only the dd images.

You may want to check /var/log/syslog for errors.

Ancelad 2013-08-29 05:45

Re: [HOWTO] Compiling new kernels on Harmattan device
 
Hmm... Still doesn't work for me... syslog doesn't contain mount errors. Could you show me your usb-moded.ini?

peterleinchen 2013-08-29 06:58

Re: [HOWTO] Compiling new kernels on Harmattan device
 
Quote:

Originally Posted by Ancelad (Post 1370185)
My file looks like that. But Windows mounts only one partition.

Code:

[mountpoints]
mount = /dev/mmcblk0p1, /dev/mmcblk0p4

[sync]
nofua = 1

[altmount]
mount = /home/uset/MyDocs, /home/user/BackupMenu
#mount = /home/user/MyDocs

[cdrom]
path = /usr/share/aceso/aceso.iso
timeout = 1


First: you have a typo in config (see above)
Second: afaik Windoze only recognizes/mounts the first partition on a flash pen/sd ... (try with a Linux live CD or VM)

Ancelad 2013-08-29 08:03

Re: [HOWTO] Compiling new kernels on Harmattan device
 
Hmm, it's bad... Windows is a total sh*t. Okay, I'll make icons to toggle partitions :D

jackburton 2013-08-29 11:21

Re: [HOWTO] Compiling new kernels on Harmattan device
 
Quote:

Originally Posted by Ancelad (Post 1370298)
Hmm... Still doesn't work for me... syslog doesn't contain mount errors. Could you show me your usb-moded.ini?

Remove the space in your mounts line between commas. Either usbmoded or the driver is treating the blank character as a file/device and then your second partition is treated as another argument to the driver's insmod/modprobe and ignoring it.

Do modinfo g_file_storage and you'll see the proper syntax for the driver itself. You'll see what I mean. I inserted a space in my usb-moded.ini and got two disks detected by Windows. The first disk had a partition while the second one was just empty (due to Linux exposing a device with name ' ' to Windows I assume.

Here is how it looks with the space between the arguments to the mounts directive in usb-moded.ini:

http://farm4.staticflickr.com/3765/9...a4196a75fc.jpg
N950-space-in-mounts-usb by brander snaxe, on Flickr

Thus, it appears there is a second device and it is the ' ' empty device.

Ancelad 2013-09-02 04:41

Re: [HOWTO] Compiling new kernels on Harmattan device
 
Quote:

Originally Posted by Ancelad (Post 1370324)
Hmm, it's bad... Windows is a total sh*t. Okay, I'll make icons to toggle partitions :D

I've made icon to switch between partitions. It changes it's name according mounted partition. ;)

http://i.piccy.info/i7/d955524081487..._32_08_500.jpghttp://i.piccy.info/a3/2013-09-02-04...81x500-r/i.gif http://i.piccy.info/i7/22ca866c050e1..._32_20_500.jpghttp://i.piccy.info/a3/2013-09-02-04...81x500-r/i.gif

coderus 2013-09-02 05:32

Re: [HOWTO] Compiling new kernels on Harmattan device
 
@jackburton @juiceme

what about exFAT patches to your kernels?
https://gist.github.com/sourenaraya/6402692

juiceme 2013-09-02 06:32

Re: [HOWTO] Compiling new kernels on Harmattan device
 
Quote:

Originally Posted by coderus (Post 1371216)
@jackburton @juiceme

what about exFAT patches to your kernels?
https://gist.github.com/sourenaraya/6402692

Seems to be marked unstable by the patch submitter :D
What are the main advantages? It looks like ExFAT can at least support larger filesize than vfat.


All times are GMT. The time now is 19:42.

vBulletin® Version 3.8.8