-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 17 Sep 2002 23:03, Jan Keirse wrote: > Hello, > > I was just wondering: If you have a laptop, and you have acces to a windows > pc, would it be possible to make the laptop running linux pretend to be a > usb mass storage device (making one directory in your filesystem look like > the root of a harddrive to the windows pc). So in other words: Connect the > notebook to the pc with a usb cable so that the notebook looks like a usb > HD to windows. Does a driver for this exist (I've searched on the internet > but couldn't find anything) and if not, would it be hard to create and what > cable would be needed? This can't be done without a special device, for a whole stack of electrical and protocol reasons. USB is a master-slave arrangement - Hosts can't talk to hosts. You need a lot more than just a cable with two A-type connectors on it!
There are special devices for connecting two PCs together, but they are normally designed as networking devices (see usbnet driver for "host-to-host" driver support) or to plug into parallel port or PCI buses (for development of other devices). > In case you're wondering why this could possibly be usefull: if you have > acces to a pc where you can't change the network configuration (because you > don't have admin rights) plip and ethernet won't help you. So if you want > to transfer data to and from this pc to the laptop I think this would be an > easy sollution (the question is off course, is it possible to implement, my > knowledge of usb and kernel development at the moment is very small, but > I'm willing to learn a lot if I know there is a reasonable chance on > succes). Even if you had a suitable device, you still wouldn't get around the admin rights problem. If you are interested in a solution using those fairly cheap "host-to-host" device cables, I'd suggest trying to work the hotplug scripts to automatically establish a network connection between the two hosts, and then running rsync on both ends with a pre-configured "exchange" directory. I'm willing to provide some architectural guidance. If you want to follow this up, we should take it to [EMAIL PROTECTED] - -- http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9hy6KW6pHgIdAuOMRApwEAJ9lCMdG+2MexSyN/rOvHM1wUKpYiQCeNyXE fBAkj/sILwaa++ZjKw6HU9Y= =O7Ya -----END PGP SIGNATURE----- ------------------------------------------------------- Sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel