Re: [gentoo-user] How to set udev rule?

2009-08-31 Thread Mick
On Monday 31 August 2009, Dirk Heinrichs wrote: > > I see Windows users do this all the time, without any problem > > yet. Of course, the wait a little after writing to it, but a few seconds > > after the blinking stops seem to be enough. > > Usually it is, but you never know. Windows users don't h

Re: [gentoo-user] How to set udev rule?

2009-08-31 Thread Dirk Heinrichs
Am Sonntag 30 August 2009 23:26:52 schrieb Alex Schuster: > Jesús Guerrero writes: > > On Sun, August 30, 2009 21:38, Dirk Heinrichs wrote: > > > Am Sonntag 30 August 2009 19:29:39 schrieb Alex Schuster: > > >> I have to change the bus from usb to scsi, then it works. But what > > >> about unmounti

Re: [gentoo-user] How to set udev rule?

2009-08-31 Thread Stroller
On 31 Aug 2009, at 06:38, Jesús Guerrero wrote: ... I see Windows users do this all the time, without any problem yet. Of course, the wait a little after writing to it, but a few seconds after the blinking stops seem to be enough. Lucky guys. That, or when the file is not on the drive they

Re: [gentoo-user] How to set udev rule?

2009-08-30 Thread Jesús Guerrero
On Sun, August 30, 2009 23:26, Alex Schuster wrote: > Jesús Guerrero writes: > > >> Then they wonder why the heck >> the file is not where it should be. I guess they never heard of cached >> writes. >> >> The correct thing to do is of course to umount it before, >> and then unplug it or whatever.

Re: [gentoo-user] How to set udev rule?

2009-08-30 Thread Alex Schuster
Jesús Guerrero writes: > On Sun, August 30, 2009 21:38, Dirk Heinrichs wrote: > > Am Sonntag 30 August 2009 19:29:39 schrieb Alex Schuster: > >> I have to change the bus from usb to scsi, then it works. But what > >> about unmounting? Is is possible to have it unmounted after I pull the > >> memor

Re: [gentoo-user] How to set udev rule?

2009-08-30 Thread Dale
Jesús Guerrero wrote: > On Sun, August 30, 2009 21:38, Dirk Heinrichs wrote: > >> Am Sonntag 30 August 2009 19:29:39 schrieb Alex Schuster: >> >> >> >>> I have to change the bus from usb to scsi, then it works. But what >>> about unmounting? Is is possible to have it unmounted after I pull

Re: [gentoo-user] How to set udev rule?

2009-08-30 Thread Jesús Guerrero
On Sun, August 30, 2009 21:38, Dirk Heinrichs wrote: > Am Sonntag 30 August 2009 19:29:39 schrieb Alex Schuster: > > >> I have to change the bus from usb to scsi, then it works. But what >> about unmounting? Is is possible to have it unmounted after I pull the >> memory stick? > > How do want to u

Re: [gentoo-user] How to set udev rule?

2009-08-30 Thread Dirk Heinrichs
Am Sonntag 30 August 2009 19:29:39 schrieb Alex Schuster: > I have to change the bus from usb to scsi, then it works. But what about > unmounting? Is is possible to have it unmounted after I pull the memory > stick? How do want to umount something that's not there anymore? You have to umount _be

Re: [gentoo-user] How to set udev rule?

2009-08-30 Thread Alex Schuster
David Relson writes: > Don't know if the following will help, but it's a rule that I > successfully use to mount a USB memory stick: > > BUS=="usb", SYSFS{manufacturer}=="STECH", SYMLINK+="STECH", > run+="/bin/mount -a" I have to change the bus from usb to scsi, then it works. But what about un

Re: [gentoo-user] How to set udev rule?

2009-08-27 Thread David Relson
Don't know if the following will help, but it's a rule that I successfully use to mount a USB memory stick: BUS=="usb", SYSFS{manufacturer}=="STECH", SYMLINK+="STECH", run+="/bin/mount -a"

Re: [gentoo-user] How to set udev rule?

2009-08-27 Thread Song Zhiwei
Actually, I have read the guilds and tried, but it didnot work. So I asked here. Two devices related with "can usb" were found when I used the udevadm: #udevadm info -a -p /sys/devices/pci\:00/\:00\:0f.4/usb2/2- 2/2-2\:1.0 looking at device '/devices/pci:00/:00:0f.4/usb2/2-2/2-2

Re: [gentoo-user] How to set udev rule?

2009-08-27 Thread KH
Song Zhiwei schrieb: > Hi all, > > I complied a driver esdcan_usb331.so. I'd like use udev to create > character devices /dev/can0 and /dev/can1 with major 50 and minor 0/1 > for the driver. How to write the udev rule for it? > > The dmesg is: > esd CAN driver: CAN_USB331 > esd CAN driver: baudra

[gentoo-user] How to set udev rule?

2009-08-27 Thread Song Zhiwei
Hi all, I complied a driver esdcan_usb331.so. I'd like use udev to create character devices /dev/can0 and /dev/can1 with major 50 and minor 0/1 for the driver. How to write the udev rule for it? The dmesg is: esd CAN driver: CAN_USB331 esd CAN driver: baudrate not set esd CAN driver: mode = 0x000