[gentoo-user] Ejecting an IPod

2005-10-19 Thread Ryan Viljoen
Ok here is what I am wanting to do:

I windows when you connect your IPod it autodetects it and brings up
itunes, then you can do the whole safely remove hardware blah blah.
After you have done that you no longer have the DO NOT DISCONNECT
screen on the IPod but it continues to charge. I would like to do the
same in linux. My IPod isnt currently mounted but when you connect it
creates a node in /dev. No how do I disconnect it so that it still
remains to charge and no longer has the DO NOT DISCONNECT screen?-- When
you say I wrote a program that crashed Windows, people just stare at
you blankly and say Hey, I got those with the system, for free. -
Linus Torvalds, 1995


Re: [gentoo-user] Ejecting an IPod

2005-10-19 Thread David D. Rea
On Wed, 2005-10-19 at 11:16 +0200, Ryan Viljoen wrote:
 Ok here is what I am wanting to do:
 
 I windows when you connect your IPod it autodetects it and brings up
 itunes, then you can do the whole safely remove hardware blah blah.
 After you have done that you no longer have the DO NOT DISCONNECT
 screen on the IPod but it continues to charge. I would like to do the
 same in linux. My IPod isnt currently mounted but when you connect it
 creates a node in /dev. No how do I disconnect it so that it still
 remains to charge and no longer has the DO NOT DISCONNECT screen?

I use:

`eject /dev/hd[a|b|c]` - sub in whatever letter your USB driver has
assigned to your ipod.

It probably won't work if you use /dev/hda2 (which is the device file
for the *partition* on which your music resides). You'll need to
actually use the device, /dev/hda. It usually takes a few seconds,
then the command returns and my iPod mini's screen goes back to normal
mode as it continues to charge.

All of this as root, of course...

Good luck,
Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ejecting an IPod

2005-10-19 Thread Ryan Viljoen
The eject doenst work unfortunately, the IPod is detected as /dev/uba.On 10/19/05, David D. Rea [EMAIL PROTECTED]
 wrote:On Wed, 2005-10-19 at 11:16 +0200, Ryan Viljoen wrote: Ok here is what I am wanting to do:
 I windows when you connect your IPod it autodetects it and brings up itunes, then you can do the whole safely remove hardware blah blah. After you have done that you no longer have the DO NOT DISCONNECT
 screen on the IPod but it continues to charge. I would like to do the same in linux. My IPod isnt currently mounted but when you connect it creates a node in /dev. No how do I disconnect it so that it still
 remains to charge and no longer has the DO NOT DISCONNECT screen?I use:`eject /dev/hd[a|b|c]` - sub in whatever letter your USB driver hasassigned to your ipod.It probably won't work if you use /dev/hda2 (which is the device file
for the *partition* on which your music resides). You'll need toactually use the device, /dev/hda. It usually takes a few seconds,then the command returns and my iPod mini's screen goes back to normal
mode as it continues to charge.All of this as root, of course...Good luck,Dave--gentoo-user@gentoo.org mailing list
-- When
you say I wrote a program that crashed Windows, people just stare at
you blankly and say Hey, I got those with the system, for free. -
Linus Torvalds, 1995


Re: [gentoo-user] Ejecting an IPod

2005-10-19 Thread Hans-Werner Hilse
Hi,

On Wed, 19 Oct 2005 13:02:34 +0200
Ryan Viljoen [EMAIL PROTECTED] wrote:

 The eject doenst work unfortunately, the IPod is detected as /dev/uba.

Revisit your kernel's configuration and disable the Slow USB Block
Device support (under Device Drivers/Block Devices, AFAIK). Instead,
enable usb-storage if you didn't yet (in the USB config section). This
provides a SCSI emulation for accessing USB devices and is probably
more completely implemented than with UBD's.

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ejecting an IPod

2005-10-19 Thread Matan Peled
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ryan Viljoen wrote:
 The eject doenst work unfortunately, the IPod is detected as /dev/uba.

First of all, top posting is bad. Even if you use gmail.

Secondly, if you got /dev/uba, your kernel isn't configured properly. Namely,
you have enabled the Low Performance USB Block driver - this isn't good.
Notice the help for that option states Warning: Enabling this cripples the
usb-storage driver.. You're going to have to disable it...

'make menuconfig' your kernel, and disable Device Drivers-Block devices-Low
Performance USB Block driver.

Also, while you're at it, make sure Device Drivers-USB support-USB Mass
Storage support is enabled, and also Device Drivers-SCSI device support-SCSI
disk support.

Then, your iPod should show up as /dev/sda (or /dev/sdb, if you have another
SCSI disk or a SATA disk), and you should hopefully should be able to eject 
it...
- --
[Name  ]   ::  [Matan I. Peled]
[Location  ]   ::  [Israel]
[Public Key]   ::  [0xD6F42CA5]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDVizYA7Qvptb0LKURAtG9AJ45W2kyX7BrPD5LXtiF5FsNZZdkFQCdEgGh
wbqa5SckNcNXfyHV4/pfQas=
=BLm7
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list