From: Ian B. <ib...@gm...> - 2005-01-24 13:30:42
|
Hmm.. again, I'm not the expert, and I'm only stating what I know from gleaming information from the code, or what I hear on the IRC chat lines. If the device driver in windows presents the iPod as a removable disk drive, it might be possible to associate that with a /dev/cobd device and then mount it. But, the only way I know how to do that is through the \Devices\HardDiskX\PartitionY syntax, and I doubt the device driver would go to that amount of granularity, if it shows up at all. Otherwise, the cobd devices are associated with files on the host side, and thats not what you want. There is one more solution that I thought up while writing this. Its to associate your drive letter with a cofs device. I've done this before with a flash USB device, and it seems to work OK. COFS is highly experimental though, and is prone to lots of problems. The way to use it is this: 1. Get the latest snapshot from monotone or Henry Nestler's website. 2. Install the binaries, and use a configuration option as such: colinux-daemon <options> cofs0=<drive letter>: <other options> (Where <drive letter> is the drive letter of your iPod device) 3. Boot up coLinux 4. Attempt to mount as such: # mount -t cofs cofs0:/ /mnt -o uid=,gid= (Where uid=,gid= has the proper uid and gid of your user respectively) 5. Browse /mnt. This should work, as cofs allows you to take any drive from the host system and see it pretty much unaltered in coLinux. There are issues with it transferring large amounts of data, though, and will often give an I/O error with it, so use with extreme caution. Lastly, I just realized that if cofs works, SMB will probably work too. Share out your iPod drive as a share in SMB from your Host system, then mount it in coLinux to access the files therein. SMB is extremely reliable in situations like this, and I've used it tons of times where cofs fails miserably (due to large files, or whatever). I hope this helps, Ian On Sun, 23 Jan 2005 17:33:04 -0600, Andrew Kruse <and...@gm...> wrote: > It appears on my computer (when connected) as a removable disk drive. > gtkpod, in native Linux, just needs to be pointed to a device (usually > /dev/sdXn - generic scsi device, same way my flash drive works) and it > can handle mounting and unmounting of the ipod through the > application. > > Device locking - I presume this is a safeguard to prevent a device > from being accessed by Windows and coLinux at the same time? Would > being careful about not running iTunes and gtkpod at the same time be > enough or is there a real need for coLinux to have a "lock" on this > device? > > I looked around for some sample configs that show how to mount/use a > removable disk (such as a flash drive or zip) in coLinux but was > unsuccessful. I presume the same might work here since the iPod > appears as a (mounted) removable disk drive in Windows. > > Any more thoughts? I appreciate the insights..... > > > On Sun, 23 Jan 2005 14:29:23 -0500, Ian Bonnycastle <ib...@gm...> wrote: > > I'm not sure if this is possible. What type of driver does your iPod > > interface use? If its USB, then there is no current system to link USB > > from the host to internal USB support in coLinux. But, I haven't used > > any of those internal type things very often. I also would doubt it > > woudl be a /dev/cobd device that it links to. It would probably be a > > software-emulated USB port in coLinux thats linked to a real device on > > the host. There are issues with that too, since device locking between > > coLinux and the host becomes more difficult (from what I understand). > > > > Ian > > > > On Sun, 23 Jan 2005 00:24:17 -0600, Andrew Kruse <and...@gm...> wrote: > > > Hi, > > > > > > I use gtkpod to sync my iPod in a full Gentoo Linux installation - I have since > > > set up coLinux on my system and want to sync the iPod using gtkpod in colinux. > > > Using an X app with a remote X server is no problem. I can handle that. > > > > > > How would I go about setting up colinux's xml config file so that I can map the > > > iPod to a /dev/cobd/X device in coLinux? So long as I can do that, I think I > > > can take it from there.... > > > > > > If it makes a difference, I am running the 20041024 snapshot with the > > > Gentoo-2.6.7-colinux-0.6.2 image. > > > > > > Thanks, > > > Andrew Kruse > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > > Tool for open source databases. Create drag-&-drop reports. Save time > > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > > _______________________________________________ > > > coLinux-users mailing list > > > coL...@li... > > > https://lists.sourceforge.net/lists/listinfo/colinux-users > > > > > > |