1 |
On 11/17/05, James <wireless@×××××××××××.com> wrote: |
2 |
> Richard Fish <bigfish <at> asmallpond.org> writes: |
3 |
> |
4 |
> > Does /dev/hdc exist? If so, what are the permissions there? What |
5 |
> > about /dev/cdrom? |
6 |
> Initially: |
7 |
> brw-rw---- 1 cdrom 22, 0 Nov 17 16:41 /dev/hdc |
8 |
> so I change it to 777 |
9 |
> brwxrwxrwx 1 cdrom 22, 0 Nov 17 16:41 /dev/hdc |
10 |
> but that did not fix it. |
11 |
> ls -alg /dev/cdrom |
12 |
> lrwxrwxrwx 1 root root 3 Nov 17 16:41 /dev/cdrom -> hdc |
13 |
|
14 |
Rather than changing the permissions, a better plan is to add any |
15 |
users that should be able to access cdrom/dvd devices to the cdrom |
16 |
group. |
17 |
|
18 |
> |
19 |
> > What does "/sbin/cdrom_id /dev/hdc" report? |
20 |
> ID_CDROM=1 |
21 |
> ID_CDROM_MRW=1 |
22 |
> ID_CDROM_MRW_W=1 |
23 |
> ID_CDROM_RAM=1 |
24 |
> |
25 |
|
26 |
Ok, this is why you have no /dev/dvd device. A DVD reader should also |
27 |
report ID_CDROM_DVD=1, and a burner will report ID_CDROM_DVD_R=1. |
28 |
|
29 |
The /sbin/cdrom_id program is a part of udev, and is used by udev to |
30 |
determine what symlinks to create. So as I see it, you have two |
31 |
choices: |
32 |
|
33 |
1. Try upgrading to a more recent version of udev. The current ~x86 |
34 |
version is 073. |
35 |
|
36 |
2. Write a custom rule for your device, and add it to |
37 |
/etc/udev/rules.d/10-local.rules. Something like this should do the |
38 |
trick: |
39 |
|
40 |
KERNEL=="hdc", NAME="%k", GROUP="cdrom", ACTION=="add", |
41 |
SYMLINK+="_dvd%e", IMPORT="/sbin/cdrom_id --export $tempnode" |
42 |
|
43 |
> Hum, /var/log/messages does not exist. Lots of specific log files |
44 |
> are in /var/log |
45 |
> |
46 |
> Which startup script do I edit to start logging to /var/log/messages? |
47 |
|
48 |
Actually, it depends upon what logger you have merged....I use |
49 |
syslog-ng, configured so that my kernel and other logs go to |
50 |
/var/log/messages. Your messages may go somewhere else... |
51 |
|
52 |
-Richard |
53 |
|
54 |
-- |
55 |
gentoo-user@g.o mailing list |