Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)  (Read 9618 times)

Offline evilnick

  • Rockbox Expert
  • Member
  • *
  • Posts: 431
Re: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« Reply #15 on: March 12, 2010, 12:07:39 PM »
Depending on your version of Ubuntu, you might need to read this page: http://www.rockbox.org/wiki/LibGphoto2Bug
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« Reply #16 on: March 12, 2010, 12:20:34 PM »
Quote from: evilnick on March 12, 2010, 12:07:39 PM
Depending on your version of Ubuntu, you might need to read this page: http://www.rockbox.org/wiki/LibGphoto2Bug

I don't think this is related -- that page deals with Sansa and Gigabeat players, but he uses an Ipod. You might want to disable the HID feature, however. Just check the menus.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline l3lackEyedAngels

  • Member
  • *
  • Posts: 8
Re: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« Reply #17 on: March 13, 2010, 12:49:46 PM »
The iPod shows in the disk utility, but I can't mount it. When I try in terminal I get
Quote
kurt@El-Savior:~$ sudo mount /dev/sdc2
[sudo] password for kurt:
mount: can't find /dev/sdc2 in /etc/fstab or /etc/mtab
kurt@El-Savior:~$ sudo mount /dev/sdc
mount: can't find /dev/sdc in /etc/fstab or /etc/mtab
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« Reply #18 on: March 13, 2010, 01:53:19 PM »
(Edited to fix some code issues)

You need to tell it where to mount (Or add it to fstab)

Code: [Select]
sudo mkdir /media/ipod
sudo mount /dev/sdc /media/ipod

Or better yet add this to your /etc/fstab:
Code: [Select]
/dev/sdc	/media/ipod	vfat	rw,user,noauto,exec		0	0

(That was copied from my fstab. I don't think you will need to modify it but who knows)

When you add it to your fstab, you can then do this:
Code: [Select]
mount /media/ipod

Which is a bit easier, especially the lack of sudo (and password)

*EDIT*
Actually, it will probably auto-mount. I'm no Linux Expert but my ipod auto mounts when I plug it in and I didn't do anything special to make it do so.

Also, remember you CANNOT SIMPLY UNPLUG YOUR IPOD when it's mounted. You must at LEAST unmount it. I prefer to eject it as that makes the ipod screen display a checkmark saying it's okay to disconnect.

Code: [Select]
eject /media/ipod
or (with no fstab changes)
Code: [Select]
sudo eject /dev/sdc
« Last Edit: March 13, 2010, 02:02:59 PM by Yotto »
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline l3lackEyedAngels

  • Member
  • *
  • Posts: 8
Re: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« Reply #19 on: March 13, 2010, 04:01:20 PM »
Yeah, no dice. I installed 3.5.1, and it mounts fine on my wifes MacBook Pro, but it won't mount properly in Ubuntu, even though it used to just fine prior to my experience with a current build. For the record, I was on a Windows box when I installed the current build.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« Reply #20 on: March 13, 2010, 04:30:44 PM »
This sounds pretty much like an issue with your Linux installation. You can try disabling the USB HID feature, but if you have a release build it should reboot into Apples diskmode anyway. And that is nothing Rockbox has to do with.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline l3lackEyedAngels

  • Member
  • *
  • Posts: 8
Re: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« Reply #21 on: March 13, 2010, 05:30:32 PM »
Quote from: bluebrother on March 13, 2010, 04:30:44 PM
This sounds pretty much like an issue with your Linux installation. You can try disabling the USB HID feature, but if you have a release build it should reboot into Apples diskmode anyway. And that is nothing Rockbox has to do with.
I see your point. I'll take it over to the Ubuntu forums and see how far I get. It's just odd that prior to installing a current build, everything worked fine. Thanks though!
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« Reply #22 on: March 13, 2010, 06:10:41 PM »
You might want to open a terminal and type in the command "dmesg | tail" just after connecting your iPod and see if any errors are shown in the resulting output, if so, that might help you figure out why it isn't automatically detected and shown as a connected device.

Assuming everything was working properly, it should show up as a connected device, and depending on your settings, an icon should appear on the desktop that would open (and mount if not previously mounted) the device.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« Reply #23 on: March 13, 2010, 06:42:02 PM »
Quote from: l3lackEyedAngels on March 13, 2010, 05:30:32 PM
I see your point. I'll take it over to the Ubuntu forums and see how far I get. It's just odd that prior to installing a current build, everything worked fine. Thanks though!

Now I'm confused. Are you running a release (3.5.1 as you said earlier) or a current build? Release versions use Apples disk mode while current builds do not. If you have a problem with a current build try disabling the USB HID feature (it's known to cause problems at least in some cases on OS X). If you have problems with a release version it's definitely not a Rockbox issue (assuming that it reboots into Apples disk mode correctly).
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline l3lackEyedAngels

  • Member
  • *
  • Posts: 8
Re: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« Reply #24 on: March 13, 2010, 11:00:34 PM »
Quote from: karashata on March 13, 2010, 06:10:41 PM
You might want to open a terminal and type in the command "dmesg | tail" just after connecting your iPod and see if any errors are shown in the resulting output, if so, that might help you figure out why it isn't automatically detected and shown as a connected device.

Assuming everything was working properly, it should show up as a connected device, and depending on your settings, an icon should appear on the desktop that would open (and mount if not previously mounted) the device.
Code: [Select]
kurt@El-Savior:~$ dmesg | tail
[23609.952904] sd 4:0:0:0: [sdc] 39063023 512-byte logical blocks: (20.0 GB/18.6 GiB)
[23609.957625] sd 4:0:0:0: [sdc] Write Protect is off
[23609.957635] sd 4:0:0:0: [sdc] Mode Sense: 64 00 00 08
[23609.957640] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[23609.962501] sd 4:0:0:0: [sdc] Adjusting the sector count from its reported value: 39063024
[23609.966229] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[23609.966243]  sdc: sdc1 sdc2
[23610.406207] sd 4:0:0:0: [sdc] Adjusting the sector count from its reported value: 39063024
[23610.413621] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[23610.413634] sd 4:0:0:0: [sdc] Attached SCSI removable disk
sdc is my iPod. I don't see any errors.

Quote from: bluebrother on March 13, 2010, 06:42:02 PM
Now I'm confused. Are you running a release (3.5.1 as you said earlier) or a current build? Release versions use Apples disk mode while current builds do not. If you have a problem with a current build try disabling the USB HID feature (it's known to cause problems at least in some cases on OS X). If you have problems with a release version it's definitely not a Rockbox issue (assuming that it reboots into Apples disk mode correctly).
Prior to a couple of days ago, when I still had Rockbox 3.4, the iPod would pop up when I plugged it in via USB. Then, I got bored at work and decided to upgrade. I accidentally did so to a current build instead of the latest release (3.5.1). Later on, when I tried to connect the iPod via USB to my Ubuntu laptop, it did not mount. However, it showed up as a connected drive in the Palimpsest Disk Utility with the option to mount disabled. Also, the Rockbox installer could not find the iPod. Today, I connected the iPod to my wife's MacBook Pro where it mounted fine and I was able to install the latest release, 3.5.1. The situation has not changed when I connect it to my Ubuntu laptop. I've disabled USB HID to no effect. After connecting via USB, the iPod reboots into Apple's disk mode. Like you said, it's probably an issue with my Ubuntu laptop.

Anyone who's interested can check out the thread I created at the Ubuntu forums.
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« Reply #25 on: March 14, 2010, 08:16:56 AM »
Oh! I think I know your problem.

It's not /dev/sdc

It's /dev/sdc2

sdc is your iPod. sdc1 is one of the two drives on it (which you don't care about). sdc2 is the drive that has rockbox, your music, etc on it.

I apologize. I should have seen that right away. Seeing the output of dmesg kicked me in the brain.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline l3lackEyedAngels

  • Member
  • *
  • Posts: 8
Re: Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
« Reply #26 on: March 14, 2010, 06:00:22 PM »
Quote from: Yotto on March 14, 2010, 08:16:56 AM
Oh! I think I know your problem.

It's not /dev/sdc

It's /dev/sdc2

sdc is your iPod. sdc1 is one of the two drives on it (which you don't care about). sdc2 is the drive that has rockbox, your music, etc on it.

I apologize. I should have seen that right away. Seeing the output of dmesg kicked me in the brain.
I edited /etc/fstab like you said, except with sdc2 instead of just sdc this time. I can now mount the iPod manually with "mount /media/ipod" and safely disconnect with with Palimpsest Disk Utility. Right-click unmount doesn't give me the check-mark. This arrangement is good enough for now, but I miss the way it used to be.

Thanks!
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Plugging into computer restarts Rockbox and loads disk mode (Ipod 80G)
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.096 seconds with 14 queries.