On Thu, Jan 26, 2006 at 06:55:07PM +0100, Olivier Galibert wrote:
> > I believe that if you added Linux 2.6 support code in libscg/cdrecord,
> > that'd simply accept the device name as an argument and didn't use *any*
> > scanning code at all, you'd make a lot of people happy (*). Quite possibly
> > everyone minus one man. Which would be a great achievement.
>
> Since Jens does not seem available anymore do you know how one is
> supposed to do the cdrom-ish device enumeration at that point? Is HAL
> the official kernel interface to that now?
The kernel interface is sysfs and hotplug.
Udev interfaces that and can be set up so that it assigns
/dev/cdrecorder0, 1, ... to evey recorder in the system, implementing
the userspace interface.
HAL interfaces the above and implements the desktop interface.
So for a GUI application it's appropriate to use HAL, while a command
line program doesn't need any enumeration, as 'ls /dev/cdrecorder*'
should be enough for an experienced user.
--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]