You are not logged in.
i did
pacman -S ivman
changed the .default.xml to just .xml
then i in /etc/rc.conf daemons, in this order, it's:
(syslog-ng hotplug !pmcia network netfs crond dbus hal ivman)
i then mkdir /media
but the device is not coming up in media (or anywhere else i can find...)... do i need to change a udev file or something?
thanks
Offline
maybe look at lsusb?
what device you trying to mount ?
Mr Green
Offline
I'm in the same case. When I plug my mp3 player or my camera (for pictures, I don't know the right word in English ), I see nothing in /media but pmount /dev/sda1 /blabla it works very well.
I was on KDE and Gnome last week and no problem, mounted before I say "cool"
Offline
emmm maybe this may help
Mr Green
Offline
When you get tired of automounters take a look at pure udev/mount solution for automounting storage devices (sd*) in /mnt and /media :-)
Offline
good call
Mr Green
Offline
yeah- this looks perfect and easy to follow... except! when I type in
udevinfo -a -p `udevinfo -q path -n /dev/sda`
or
udevinfo -a -p `udevinfo -q path -n /dev/sda1' (just to be sure!)
it comes up with :
Couldn't find class device
... yet when i rummage around in /dev/disk/by-id I can see the device sitting there...
am i missing a step?
thanks!
EDIT: after fdisk -l , I find it's on /dev/sda1, but udevinfo still ain't working...
Offline
I have not yet got udevinfo to work for me either so your not aone there ...
I'll give udev lines a go ... see what happens ... ;-)
Mr Green
Offline
any luck?! - more than interested to know how it turns out...
Offline
Hmm. Looks like something is broken in udevinfo. But you can just use udevinfo -a -p /sys/block/sda and it will return the info. You can also just browse the /sys/block directory and view the files (every parameter is a file). udevinfo -q path -n /dev/sda just remaps /dev/sda to /sys subdirectory. BTW what do you need udevinfo for ?
Offline
emmm something I read on wiki thats all ...
Using udev to map multiple entries to a device ... :?
Mr Green
Offline
Ok. Use udevinfo like I mentioned above (with /sys/block). The setup on wiki page is different than mine.
Offline
yeah that works fine ...
/me reads up on rules creation
thanks for your help ;-)
Mr Green
Offline
sorry been away from me' computer... did you manage to get it working Mr Green? Please, If so, how?! why am I getting 'couldn't find device'?
thanks!
Offline
Take a look at mounter (adesklet) ;-) or deskicon.....
Should show you on desktop if device is mounted or not ....
Not that up on xfce4 (may be a plugin you need!)
HTH
Mr Green
Offline
i need to be able to add the 'device' to some list somewhere... after trawling the forum, etc i couldn't find any clear path on how to do this...
basically, i want to be able to use udev to map multipe devices, but when i start this process by typing
udevinfo -a -p `udevinfo -q path -n /dev/sda`
or
udevinfo -a -p `udevinfo -q path -n /dev/sda2`
it comes up with:
'couldn't get the class device'
... how do i add the class device to the necessay list (whereever that is??)
thanks!
Offline
udevinfo -a -p /sys/block/sda
udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.
device '/sys/block/sda' has major:minor 8:0
looking at class device '/sys/block/sda':
SUBSYSTEM=="block"
SYSFS{dev}=="8:0"
SYSFS{range}=="16"
SYSFS{removable}=="1"
SYSFS{size}=="511488"
SYSFS{stat}==" 15 210 407 32 0 0 0 0 0 32 32"
follow the "device"-link to the physical device:
looking at the device chain at '/sys/devices/pci0000:00/0000:00:02.2/usb1/1-8/ 1-8:1.0/host4/target4:0:0/4:0:0:0':
BUS=="scsi"
ID=="4:0:0:0"
DRIVER=="sd"
SYSFS{device_blocked}=="0"
SYSFS{iocounterbits}=="32"
SYSFS{iodone_cnt}=="0x42"
SYSFS{ioerr_cnt}=="0x4"
SYSFS{iorequest_cnt}=="0x42"
SYSFS{max_sectors}=="240"
SYSFS{model}=="USB Flash Disk "
SYSFS{queue_depth}=="1"
SYSFS{queue_type}=="none"
SYSFS{rev}=="2.00"
SYSFS{scsi_level}=="3"
SYSFS{state}=="running"
SYSFS{timeout}=="30"
SYSFS{type}=="0"
SYSFS{vendor}=="Generic "
gives you all you need ....
then look up making udev rules ....
its not as hard as it looks ....
hal dbus pmount ivman does what I need as for auto icon thing you need to check with xfce4 forums (if they have one) or repost ....
Cannot help more than that ...
Mr Green
Offline
AH-HA! it works - superb!
thanks Mr Green! it was the
udevinfo -a -p /sys/block/sda
that i was looking for... why's this one different from the one in the wiki? anyway after i got that the rest was a breeze! phew!
thanks all!
Offline
o7 Welcome to Arch
Mr Green
Offline