You are not logged in.

#1 2008-04-29 23:46:36

11010010110
Member
Registered: 2008-01-14
Posts: 284

cd-rw not recognized [solved]

Installed arch on thinkpad T60 (12 / 2006 model with i945 ich7 chipset)

There is a cdrw + dvdrom drive in it

In gentoo there are problems with support of the drive too. It works with the lagacy ATA driver (and seen as /dev/hda) and does not work with the newer combined sata + ide driver (the one that recognizes ide drives as /dev/sda and not hda)

How do I make it work here in arch ?

Work = as burner. It allways works normally as cdrom and I did not test it as dvd




The stuff in /dev beginning with cd is

bash-3.2$ cat /dev/cd
cd/     cdrom   cdrom0  cdrw    cdrw0
bash-3.2$ cat /dev/cd/
cdrom-sr0  cdrw-sr0   dvd-sr0

When I add any of them to K3B it does not find a cd writing device there

When I open K3B there is an error of no burners found

Last edited by 11010010110 (2008-05-03 10:19:54)

Offline

#2 2008-05-03 06:57:55

keratos
Member
Registered: 2008-04-27
Posts: 138

Re: cd-rw not recognized [solved]

Post output of the following commands:

$ ls -l /dev/cd* /dev/sr*
$ groups

Offline

#3 2008-05-03 10:17:52

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: cd-rw not recognized [solved]

thanks. problem understood and fixed

solution : edit /etc/group and add the user to optical

Offline

#4 2008-05-03 10:37:08

keratos
Member
Registered: 2008-04-27
Posts: 138

Re: cd-rw not recognized [solved]

11010010110 wrote:

thanks. problem understood and fixed

solution : edit /etc/group and add the user to optical

NO!

do not add the ine in /etc/group.

use

# usermod -aG optical <user-login-name>

e.g.
usermod -aG optical fred

You will need to logout and back in from X (kde or whatever). Closing and opening another terminal whilst still in the same kdesession, will not work.

Last edited by keratos (2008-05-03 10:39:53)

Offline

#5 2008-05-03 19:51:00

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: cd-rw not recognized [solved]

Of course all instances of the user should log off




Does this command do anything other than updating the group file ?

I allways manage groups this way and did not find any problems

Offline

#6 2008-05-04 07:52:10

keratos
Member
Registered: 2008-04-27
Posts: 138

Re: cd-rw not recognized [solved]

Thats a good question.

In the old unix days, it was the only way to add someone to a group. Linux takes a different view and provides command interfaces to do the job (usermod, groupmod etc). All distros take this strategy, and with possibly different commands to do the job, but quite what the ratioanle for this is - HA!, I dont bloody know!!!

Good question.

Offline

#7 2008-05-05 17:48:26

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: cd-rw not recognized [solved]

Having a command to do something allows you to automate stuff (scripts etc)

Offline

#8 2008-05-05 20:08:31

keratos
Member
Registered: 2008-04-27
Posts: 138

Re: cd-rw not recognized [solved]

yes, but its not hard to automate the addition of a line in /etc/group ,

is it!

Offline

Board footer

Powered by FluxBB