Le 22.01.2005 19:06:12, Sjoerd Simons a �crit�:
On Sat, Jan 22, 2005 at 05:22:55PM +0000, Jean-Luc Coulon (f5ibh)
wrote:

[ ... ]

Can you run:  strace -eopen,ioctl,close hald --daemon=no

After hal startup this should show you someting like every few seconds:

open("/dev/hdc", O_RDONLY|O_NONBLOCK|O_EXCL|O_LARGEFILE) = 0
ioctl(0, 0x5326, 0x7fffffff)            = 1
close(0)                                = 0

Which is hal polling my /dev/hdc for volumes..

This is what I get (a volume is inserted in each drive)

open("/dev/hda", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 0
ioctl(0, CDROM_DRIVE_STATUS, 0x7fffffff) = 1
close(0)                                = 0
open("/dev/hdc", O_RDONLY|O_NONBLOCK|O_EXCL|O_LARGEFILE) = 0
ioctl(0, CDROM_DRIVE_STATUS, 0x7fffffff) = 1
close(0)                                = 0
open("/dev/sdc", O_RDONLY|O_LARGEFILE)  = -1 ENOMEDIUM (No medium found)

/dev/hdc is an USB compact flash reader witohut a card inside.


Sjoerd


J-L

Attachment: pgpmaqvOS0KJL.pgp
Description: PGP signature



Reply via email to