Re: SCSI scanner & permission problem on hdc CD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bob Taylor wrote:
> I'm running FC3. :# udevinfo -q path -n /dev/sg0 returns "couldn't get
> the class device". I then searched /sys and found the scanner
> in /sys/devices/pci0000:00/0000:00:0e.0/host0/0:0:3:0 & sg.ko is not
> loaded. I have in /etc/udev/rules.d/10-custom.rules the line:
> KERNEL="sg0", BUS="scsi", SYSFS{vendor}="HP*", SYSFS{model}="C5110A*",
> SYMLINK="scanner%n", MODE="0666" (one line). The kernel properly finds
> the scanner. What do I need to do to fix this?
> 
I don't have FC3, so thins may not work. But if you have a file
/etc/modprobe.preload, add sg to it. I would also change your rule
to something like:
KERNEL="sg*", BUS="scsi", SYSFS{vendor}="HP*",
SYSFS{model}="C5110A*", SYMLINK="scanner%n", MODE="0666" (one line).

That way, if the scanner is ever anything besides sg0, the rule will
still work.

> Whenever I reboot the permissions on my CD change back to g+rw. I need
> this to be o+rw. What magic do I need to do to fix this?
> 
There should be a udev rule for this. It may also change when you
log into the console. You may need to change
/etc/security/console.perms instead.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux