Adding my CDRW device to k3b
Justin R. Pessa
jstn at sdf.lonestar.org
Thu Apr 21 15:26:26 PDT 2005
Seems like the suggestions below worked like a charm! I'm burning a CD
as we speak, thanks a lot!
On Apr 20 05 06:54PM, Michael Collette wrote:
> Before getting into the CDRW stuff, why K3B wouldn't run. I would bet
> that you're using an X Display Manager, like kdm, gdm, or even xdm.
> You can't just su into root and run stuff like that. You need to
> fully log out, then log into whatever wm you use as root. When you do
> that, k3b should come up just fine.
>
> But it still probably won't pick up the devices :( Oh, if life were
> simpler in FreeBSD land.
>
> First off, check that the following lines exist in your kernel config...
>
> device scbus # SCSI bus (required for SCSI)
> device ch # SCSI media changers
> device da # Direct Access (disks)
> device sa # Sequential Access (tape etc)
> device cd # CD
> device pass # Passthrough device (direct SCSI access)
> device ses # SCSI Environmental Services (and SAF-TE)
> device atapicam
>
> Especially important is that last one, as it ain't in the GENERIC
> kernel last I checked. That's the magical beast that'll get it all
> playing. Get that in there and recompile your kernel. You might get
> away with "kldload cam", but I honestly don't know if that's the same
> thing.
>
> Then you'll want to get permissions and links all setup proper every
> time you boot in. Here you'll need to get /etc/devfs.conf all tweaked
> up proper for normal users.
>
> # /etc/devfs.conf
> perm acd0 0666
> link acd0 cdrom
> link acd0 dvd
> perm pass0 0666
> perm cd0 0666
> perm xpt0 0666
>
> You may want to instead link cd0 to cdrom and dvd, but these settings
> seem to work for me here.
>
> Make sure your /etc/rc.conf has the line...
>
> devd_enable="YES"
>
> This is default in newer versions of FreeBSD. Doesn't hurt to toss it
> in there thought.
>
> The k3b port will have installed cdrdao, but it wouldn't have tweaked
> on it's permissions. This one you'll most likely want to make it suid
> root. Definitely not something you'd want to do on a production
> server box just out of paranoia, but reasonably safe on a desktop.
>
> # As root
> cd /usr/local/bin
> chmod u+s cdrdao
>
> After jumping through all those fun loving hoops, it should work
> shweet. In fact, k3b will automatically add your CD into the device
> list. If k3b didn't put it in there for you, that's a clue that
> something isn't right.
>
> Good luck!
>
> On 4/14/05, Justin R. Pessa <jstn at sdf.lonestar.org> wrote:
> > Allo!
> >
> > I'm having problems trying to get k3b to recognize my CDRW drive. I went
> > to "Settings" > "COnfigure k3b" > "Devices". When I add /dev/acd0 it
> > says "Could not find an additional device at /dev/acd0". Here is the
> > output of dmesg. The system sees the device fine, I folloed the handbook
> > instructions for CDRW setup.
> >
> > acd0: CDRW <TDK CDRW241040X/6.34> at ata1-master PIO4
> > cd0 at ata1 bus 0 target 0 lun 0
> > cd0: <TDK CDRW241040X 6.34> Removable CD-ROM SCSI-0 device
> > cd0: 16.000MB/s transfers
> > cd0: cd present [1 x 2048 byte records]
> >
> > $ ls -al /dev/acd0
> > crw-rw-rw- 1 root jstn 4, 13 Apr 7 22:14 /dev/acd0
> >
> > I realize this is probably more a k3b problem than a FreeBSD problem,
> > but I feel as though there is something specific to FreeBSD I have
> > either missed or am over looking.
> >
> > Any ideas?
> >
> > Thanks!
> >
> > ._____________________
> > | Justin R. Pessa
> > | http://jstn.sdf1.org
> >
> >
> >
>
>
> --
> "When you come to a fork in the road....Take it"
> - Yogi Berra
- j
.__________________________________.
| Justin R. Pessa - BOFH
| www: http://jstn.sdf1.org
| pgp: http://jstn.sdf1.org/pgp.html
| irc: asdf @ irc.freenode.net
'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050421/c7c4d687/attachment.bin
More information about the freebsd-questions
mailing list