![]() |
hey thoughtfix, what about the contents of /etc/fstab ?
I have another question... did you plugged a usb-hub into your usb-injector in order to mount the nano and use the keyboard at the same time? was the battery-pack supplying enough power to both of them at the same time? that looks good... |
/etc/fstab is pretty boring - just a single rootfs and then a memory card which is mounted noexec nosuid. Other than that - I hadn't tested power draw on that device. I'm going to make a new one this weekend out of a 9V battery and see if that works better. It'd certainly be more compact.
|
yep, but is the mmc mounted with an "auto" option? You might test mounting the nano similarly, but as I said in your blog (posted as anonymous) it might be dangerous.
|
Hi,
I've been watching thoughtfix's blog for a while, and I've ventured deep into the 770. A couple of months ago I became root, and managed to get the swap file going. Then I bought a usb adapter that came with a Y cable, which I used to connect my iPod to the 770 with power coming from a gear4 pocket power device. In the terminal, [sudo gainroot], I switched USB host mode ON with: echo host > /sys/devices/platform/tahvo-usb/otg_mode The iPod responded correctly by switching into "do not disconnect" mode. I then did a 'ls' in the /dev/ directory and found the new 'sda' which wasn't there before. I created a directory as suggested by thoughtfix: mkdir /home/user/MyDocs/iPod Finally, I tried to mount the iPod, after two weeks of research and preparation, with the following command: mount /dev/sda /home/user/MyDocs/iPod The reply I get is: mount: Mounting /dev/sda on /home/user/MyDocs/iPod failed: Invalid Argument Please Help!? Many thanks in advance. Luis. |
Quote:
The contents of /proc/partitions on the N770 side should tell you whether there is a partition table on the device (iPod connected as a USB Mass-Storage peripheral), or if it's being used raw. |
Hi JMills,
cat /proc/partitions shows the following: major minor #blocks name 31 0 128 mtdblock0 31 1 384 mtdblock1 31 2 2048 mtdblock2 31 3 2048 mtdblock3 31 4 126464 mtdblock4 254 0 1003264 mmcblk0 254 1 1002928 mmcblk0pl 8 0 58605119 sda Does this mean it's being used raw - and if so, what does this mean, and what can I do to get this to work? Again, many thanks in advance for any further insight. Update - I tried this with a 1GB USB key and it worked (it was using sda1). - so my problem looks like it's down to the iPod, and the issue of partitions, which I'm not sure how to resolve. Luis. |
Try and mount the iPod using the normal mode (i.e., enabling USB-Host mode using the flasher. Then both type
#mount and also see the contents of /etc/mtab. Then you will possibly gather info about how the iPod is mounted. I will try this myself, once I build my "5V injector". The eletronic stuff is ready, I just need a suitable case and am I also looking for a 4xAAA holder. Is it a nano? AFAIK, the music partition is sdx2. There is more info at the ipodlinux site. |
The iPod is partitioned. I got it to mount with sda3 if memory serves correctly.
Also if it's a Mac iPod it probably won't be supported. |
Hi,
it's an iPod Photo, 60GB, but Mac formatted... I have a mac & pc. I believe there is a way to format it for use on a PC. I would then be able to test it. But in the long run, if the Mac format is not supported, it will be a shame, as all my music is managed on my Mac, and I'll have to keep the iPod formated as such... It would be nice if the iPod used one standard format between the platforms... Unless there's a way to mount the Mac volume, since Mac OS X is built on Linux and that's what's running on the 770... ...anyone? Luis. |
I don't think the Nokia 770 has the right filesystem in the kernel for the Mac formatted iPod. The problem I had when I had my music collection on my Mac and wanted to use the iPod with the PC was that I had to wipe and reinstall my iPod every time I did a firmware upgrade.
My suggestion: Use the PC to manage your library ;) |
All times are GMT. The time now is 17:00. |
vBulletin® Version 3.8.8