On Mon, 2004-04-19 at 03:16, Robert Winder wrote: > Mick, > > Oh sorry i totally misread your post .. you already got it working, heh. > > With older version it wasn't needed to use USB_HOTPLUG= and mount the > device with a custom command, it already did it automatically. And i am > fairly sure dischi didn't intended to mount a device semi manually > with the USB_HOTPLUG option.
Dischi, Can you please explain to me how usbtorage.py is meant to funtion with refference to usb.py? I can't see any refference to calling mount or umount.. I'm happy to make this my first contribution, but need your advice as to how its meant to work.. Its such a simple process that I don't see the need to patch a kernel or install another dependancy to get it going.. Mick > > And not sure what happens if one uses multiple usb storage devices > without the use of the USB_ID. This should be easy enough to hack once I know *how* its meant to work ;-) > > But i could be wrong of course, again. ;-) > > > /Robert > > Sunday, April 18, 2004, 5:30:25 PM, Robert wrote: > > > Mick, > > > I used the USB plugin last year with an older version of Freevo with > > succes. Haven't used it since. I saw dischi made some changes in this > > plugin but i shall try again and hookup my digicam and let you know > > if i get it going again. It could be that you need some additional > > usb kernel stuff to get it going. > > > /Robert > > > Sunday, April 18, 2004, 3:44:11 PM, Mick wrote: > > >> Is anyone using the mass storage plugin? I'm getting a little frustrated > >> not being able to work it out.. > > >> I've found now there are automounting services that can be hacked to do the > >> same thing.. Like hotplug on gentoo. > > >> Feel free to offer me some advice on what YOUR doing.. As I'm fairly new to > >> USB storage and don't know what path to take.. > > >> What I really want is for the features that I thought were in usbstorage, to > >> 'add' and 'remove' the given directory when the device is available. > >> Thinking about this, this would be good for network /smb mounts also. > > >> Maybe I should start ot dig around there.. > > >> Mick > > >> -----Original Message----- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] Behalf Of Mick > >> Sent: Sunday, 18 April 2004 12:09 AM > >> To: [EMAIL PROTECTED] > >> Subject: RE: [Freevo-users] usb mass storage help please > > > >> A little further on.. > > >> I can see usb.py is seeing the device.. > >> usb.py: removed device 0402:5621 > >> usb.py: new device 0402:5621 > > >> Is anyone using the mass storage plugin? I guess for now a shortcut is to > >> use usb.py to mount the drives and just hardcode the mount dirs to the video > >> items.. > > >> FYI: This is what my config looks like.. > >> plugin.activate('usb') > >> USB_HOTPLUG = [ ('0402:5621', 'Mounting USB-1', 'mount /mnt/USB-1 > >> /mnt/USB-2') ] > >> plugin.activate('usbstorage', type='video', args=('0402:5621', > >> '/mnt/USB-1')) > > >> reading usbstorage.py, it looks like '0402:5621' is the name given to the > >> menu item, but i left the USB device ID there just in case i'mmissing > >> something.. > > >> Only issue with this is that they don't unmount when they are removed.. > >> Maybe there's sometheing to add to the usb plugin: ie app to call when > >> device x is removed.. OK. Ive done this now. Send to freevo-develif anyone > >> interested. > > >> Mick > > > > >> -----Original Message----- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] Behalf Of Mick > >> Sent: Saturday, 17 April 2004 11:00 AM > >> To: Freevo-Users > >> Subject: [Freevo-users] usb mass storage help please > > > >> I'm strugling with the usb settings in 1.5pre1. > > >> here are the relavent bits from my config.. > > >> plugin.activate('usb') > >> plugin.activate('usbstorage', type='video', args=('USB 1st', '/mnt/USB-1')) > > >> And fstab: > >> /dev/sda1 /mnt/USB-1 vfat noatime,users > >> 0 1 > > >> It mounts fine with: > >> mount -v /mnt/USB-1 > >> /dev/sda1 on /mnt/USB-1 type vfat (rw,noexec,nosuid,nodev,noatime) > > >> However, i'm not sure what to look for in terms of logs to find out what > >> stage i'm getting to in freevo.. > > >> I have 1 40G USB HDD with 2 Parts each set to 20g. I would like to have > >> these both automount when plugged in. > > >> Is this what the automount plugin is for? I'm loathing booting up the > >> laptop to ssh in and mount them manually ATM. > > >> Cheers, > >> Mick > > > > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by: IBM Linux Tutorials > >> Free Linux tutorial presented by Daniel Robbins, President and CEO of > >> GenToo technologies. Learn everything from fundamentals to system > >> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > >> _______________________________________________ > >> Freevo-users mailing list > >> [EMAIL PROTECTED] > >> https://lists.sourceforge.net/lists/listinfo/freevo-users > > > > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by: IBM Linux Tutorials > >> Free Linux tutorial presented by Daniel Robbins, President and CEO of > >> GenToo technologies. Learn everything from fundamentals to system > >> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > >> _______________________________________________ > >> Freevo-users mailing list > >> [EMAIL PROTECTED] > >> https://lists.sourceforge.net/lists/listinfo/freevo-users > > > > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by: IBM Linux Tutorials > >> Free Linux tutorial presented by Daniel Robbins, President and CEO of > >> GenToo technologies. Learn everything from fundamentals to system > >> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > >> _______________________________________________ > >> Freevo-users mailing list > >> [EMAIL PROTECTED] > >> https://lists.sourceforge.net/lists/listinfo/freevo-users > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux Tutorials > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > GenToo technologies. Learn everything from fundamentals to system > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Freevo-users mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/freevo-users > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Freevo-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-users ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
