Re: [gentoo-user] undetected DVD r/w device SOLVED

2010-09-12 Thread alain . didierjean
Selon alain.didierj...@free.fr:

 Selon Mick michaelkintz...@gmail.com:

  On Saturday 11 September 2010 17:01:29 alain.didierj...@free.fr wrote:
   Selon Stéphane Guedon steph...@22decembre.eu:
Le Monday 06 September 2010 17:11:17, alain.didierj...@free.fr a écrit
 :
 Selon Stroller strol...@stellar.eclipse.co.uk:
  On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote:
   For some unknown reason, my DVD r/w device is not detected as
 such
snip
So, you're not using the latest drivers (scsi emultation of ata hdd)...

  
   I use * ATA/ATAPI/MFM/RLL support (DEPRECATED)  --- in Device Drivers
 as
   I've done in the past, and it used to work fine
 
  Deselect that which is deprecated and will be removed soon and select the
  appropriate SCSI drivers for your drives.  There's been a few messages on
  this
  list explaining how to go about it.

 Done. Works both for cdrom unit and old IDE disk, whch now are know as sr0
 (ex hda) and sdc (wax hdc). cdrecord --checkdrive says


 But that silly k3b returns
 No optical drive found.
 K3b did not find any optical device in your system.
 Solution : Make sure HAL daemon is running, it is used by K3b for finding
 devices.
  and on the terminal

Finally solved, a matter of permissions for cdrecord and cdrdao, as explained in
/usr/share/doc/k3b-2.0.0/PERMISSIONS.bz2. I've been fooled by this stupid error
message. Thanks to all who helped,

--
~adj~



Re: [gentoo-user] undetected DVD r/w device SOLVED

2010-09-12 Thread Mick
On Sunday 12 September 2010 17:27:36 alain.didierj...@free.fr wrote:
 Selon alain.didierj...@free.fr:
  Selon Mick michaelkintz...@gmail.com:
   On Saturday 11 September 2010 17:01:29 alain.didierj...@free.fr wrote:
Selon Stéphane Guedon steph...@22decembre.eu:
 Le Monday 06 September 2010 17:11:17, alain.didierj...@free.fr a
 écrit
 
  Selon Stroller strol...@stellar.eclipse.co.uk:
   On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote:
For some unknown reason, my DVD r/w device is not detected as
  
  such
 
 snip
 
 So, you're not using the latest drivers (scsi emultation of ata
 hdd)...

I use * ATA/ATAPI/MFM/RLL support (DEPRECATED)  --- in Device
Drivers
  
  as
  
I've done in the past, and it used to work fine
   
   Deselect that which is deprecated and will be removed soon and select
   the appropriate SCSI drivers for your drives.  There's been a few
   messages on this
   list explaining how to go about it.
  
  Done. Works both for cdrom unit and old IDE disk, whch now are know as
  sr0 (ex hda) and sdc (wax hdc). cdrecord --checkdrive says
  
  
  But that silly k3b returns
  No optical drive found.
  K3b did not find any optical device in your system.
  Solution : Make sure HAL daemon is running, it is used by K3b for finding
  devices.
  
   and on the terminal
 
 Finally solved, a matter of permissions for cdrecord and cdrdao, as
 explained in /usr/share/doc/k3b-2.0.0/PERMISSIONS.bz2. I've been fooled by
 this stupid error message. Thanks to all who helped,

Glad you solved it!

My permissions are:

$ ls -la /usr/bin/cdrecord 
-rws--x--x 1 root root 314352 Jul 22 16:51 /usr/bin/cdrecord

$ ls -la /usr/bin/cdrdao
-rwxr-xr-x 1 root root 569352 Jul 22 16:55 /usr/bin/cdrdao

and I had to add my user to the cdrom group, but both of the above binaries 
are not in the cdrom group.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] undetected DVD r/w device SOLVED

2010-09-12 Thread Joerg Schilling
alain.didierj...@free.fr wrote:

  But that silly k3b returns
  No optical drive found.
  K3b did not find any optical device in your system.
  Solution : Make sure HAL daemon is running, it is used by K3b for finding
  devices.
   and on the terminal

 Finally solved, a matter of permissions for cdrecord and cdrdao, as explained 
 in
 /usr/share/doc/k3b-2.0.0/PERMISSIONS.bz2. I've been fooled by this stupid 
 error
 message. Thanks to all who helped,

Not needed for cdrecord as you noticed with your test already.



Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] undetected DVD r/w device

2010-09-11 Thread Stéphane Guedon
Le Monday 06 September 2010 17:11:17, alain.didierj...@free.fr a écrit :
 Selon Stroller strol...@stellar.eclipse.co.uk:
  On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote:
   For some unknown reason, my DVD r/w device is not detected as such
   by udev:
   I can mount /dev/hda and read a data CD, ...
  
  Current kernels usually call optical drives /dev/sr0 (/dev/sr1, c).
 
 There's no sr* device on my system !!! Only way to reach the drive:
 /dev/hda. Help

So, you're not using the latest drivers (scsi emultation of ata hdd)...

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] undetected DVD r/w device

2010-09-11 Thread alain . didierjean
Selon Joerg Schilling joerg.schill...@fokus.fraunhofer.de:

 alain.didierj...@free.fr wrote:

 
  For some unknown reason, my DVD r/w device is not detected as such by udev:
  I can mount /dev/hda and read a data CD, but /dev/cdrom is not created at
 boot
  time and k3b returns
   No optical drive found.
  K3b did not find any optical device in your system.
  Solution : Make sure HAL daemon is running, it is used by K3b for finding
  devices.

 If you call cdrecord (release 3.00):

   cdrecord -scanbus

 or
   cdrecord -checkdrive

 and it finds a drive, then there is a bug in k3b.


al...@isba ~ $ cdrecord --checkdrive
Cdrecord-ProDVD-ProBD-Clone 3.00 (x86_64-unknown-linux-gnu) Copyright (C)
1995-2010 Jörg Schilling
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
Using dev=1000,0,0.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'TSSTcorp'
Identifikation : 'CD/DVDW SH-W162C'
Revision   : 'TS10'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.


al...@isba ~ $ dmesg | grep hda
hda: TSSTcorpCD/DVDW SH-W162C, ATAPI CD/DVD-ROM drive
hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/33 mode selected
ide-cd: hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache

--
~adj~



Re: [gentoo-user] undetected DVD r/w device

2010-09-11 Thread alain . didierjean
Selon Stéphane Guedon steph...@22decembre.eu:

 Le Monday 06 September 2010 17:11:17, alain.didierj...@free.fr a écrit :
  Selon Stroller strol...@stellar.eclipse.co.uk:
   On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote:
For some unknown reason, my DVD r/w device is not detected as such
by udev:
I can mount /dev/hda and read a data CD, ...
  
   Current kernels usually call optical drives /dev/sr0 (/dev/sr1, c).
 
  There's no sr* device on my system !!! Only way to reach the drive:
  /dev/hda. Help

 So, you're not using the latest drivers (scsi emultation of ata hdd)...

 --
 Stéphane Guedon
 page web : http://www.22decembre.eu/
 carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
 clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


I use * ATA/ATAPI/MFM/RLL support (DEPRECATED)  --- in Device Drivers as I've
done in the past, and it used to work fine

||
~adj~



Re: [gentoo-user] undetected DVD r/w device

2010-09-11 Thread Mick
On Saturday 11 September 2010 16:57:18 alain.didierj...@free.fr wrote:
 Selon Joerg Schilling joerg.schill...@fokus.fraunhofer.de:
  alain.didierj...@free.fr wrote:
   For some unknown reason, my DVD r/w device is not detected as such by
   udev: I can mount /dev/hda and read a data CD, but /dev/cdrom is not
   created at
  
  boot
  
   time and k3b returns
No optical drive found.
   K3b did not find any optical device in your system.
   Solution : Make sure HAL daemon is running, it is used by K3b for
   finding devices.
  
  If you call cdrecord (release 3.00):
  cdrecord -scanbus
  
  or
  
  cdrecord -checkdrive
  
  and it finds a drive, then there is a bug in k3b.
 
 al...@isba ~ $ cdrecord --checkdrive
 Cdrecord-ProDVD-ProBD-Clone 3.00 (x86_64-unknown-linux-gnu) Copyright (C)
 1995-2010 Jörg Schilling
 Linux sg driver version: 3.5.27
 Using libscg version 'schily-0.9'.
 No target specified, trying to find one...
 Using dev=1000,0,0.

This looks fishy ...

On mine it is:  Using dev=1,0,0.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] undetected DVD r/w device

2010-09-11 Thread Mick
On Saturday 11 September 2010 17:01:29 alain.didierj...@free.fr wrote:
 Selon Stéphane Guedon steph...@22decembre.eu:
  Le Monday 06 September 2010 17:11:17, alain.didierj...@free.fr a écrit :
   Selon Stroller strol...@stellar.eclipse.co.uk:
On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote:
 For some unknown reason, my DVD r/w device is not detected as such
 by udev:
 I can mount /dev/hda and read a data CD, ...

Current kernels usually call optical drives /dev/sr0 (/dev/sr1, c).
   
   There's no sr* device on my system !!! Only way to reach the drive:
   /dev/hda. Help
  
  So, you're not using the latest drivers (scsi emultation of ata hdd)...
  
  --
  Stéphane Guedon
  page web : http://www.22decembre.eu/
  carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
  clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
 
 I use * ATA/ATAPI/MFM/RLL support (DEPRECATED)  --- in Device Drivers as
 I've done in the past, and it used to work fine

Deselect that which is deprecated and will be removed soon and select the 
appropriate SCSI drivers for your drives.  There's been a few messages on this 
list explaining how to go about it.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] undetected DVD r/w device

2010-09-11 Thread Joerg Schilling
Mick michaelkintz...@gmail.com wrote:

   If you call cdrecord (release 3.00):
 cdrecord -scanbus
   
   or
   
 cdrecord -checkdrive
   
   and it finds a drive, then there is a bug in k3b.
  
  al...@isba ~ $ cdrecord --checkdrive
  Cdrecord-ProDVD-ProBD-Clone 3.00 (x86_64-unknown-linux-gnu) Copyright (C)
  1995-2010 Jörg Schilling
  Linux sg driver version: 3.5.27
  Using libscg version 'schily-0.9'.
  No target specified, trying to find one...
  Using dev=1000,0,0.

 This looks fishy ...

 On mine it is:  Using dev=1,0,0.

This is the result of having a non-orthogonal driver model for SCSI devices in 
Linux.

Some drivers are fully integrated into the SCSI sub-system and receive low SCSI 
bus numbers from libscg and other drivers are separated and are mapped to high 
SCSI bus numbers. Some drivers are even accessible from two or more competing 
drivers.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] undetected DVD r/w device

2010-09-11 Thread alain . didierjean
Selon Mick michaelkintz...@gmail.com:

 On Saturday 11 September 2010 17:01:29 alain.didierj...@free.fr wrote:
  Selon Stéphane Guedon steph...@22decembre.eu:
   Le Monday 06 September 2010 17:11:17, alain.didierj...@free.fr a écrit :
Selon Stroller strol...@stellar.eclipse.co.uk:
 On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote:
  For some unknown reason, my DVD r/w device is not detected as such
  by udev:
  I can mount /dev/hda and read a data CD, ...

 Current kernels usually call optical drives /dev/sr0 (/dev/sr1, c).
   
There's no sr* device on my system !!! Only way to reach the drive:
/dev/hda. Help
  
   So, you're not using the latest drivers (scsi emultation of ata hdd)...

 
  I use * ATA/ATAPI/MFM/RLL support (DEPRECATED)  --- in Device Drivers as
  I've done in the past, and it used to work fine

 Deselect that which is deprecated and will be removed soon and select the
 appropriate SCSI drivers for your drives.  There's been a few messages on
 this
 list explaining how to go about it.

Done. Works both for cdrom unit and old IDE disk, whch now are know as sr0 (ex
hda) and sdc (wax hdc). cdrecord --checkdrive says
Cdrecord-ProDVD-ProBD-Clone 3.00 (x86_64-unknown-linux-gnu) Copyright (C)
1995-2010 Jörg Schilling
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
Using dev=4,0,0.
Device type: Removable CD-ROM
Version: 5
Response Format: 2
Capabilities   :
Vendor_info: 'TSSTcorp'
Identifikation : 'CD/DVDW SH-W162C'
Revision   : 'TS10'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.

But that silly k3b returns
No optical drive found.
K3b did not find any optical device in your system.
Solution : Make sure HAL daemon is running, it is used by K3b for finding
devices.
 and on the terminal
QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const
Solid::DeviceInterface::Type)  error: 
org.freedesktop.DBus.Error.AccessDenied

QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const
Solid::DeviceInterface::Type)  error: 
org.freedesktop.DBus.Error.AccessDenied

QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const
Solid::DeviceInterface::Type)  error: 
org.freedesktop.DBus.Error.AccessDenied

QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const
Solid::DeviceInterface::Type)  error: 
org.freedesktop.DBus.Error.AccessDenied

QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const
Solid::DeviceInterface::Type)  error: 
org.freedesktop.DBus.Error.AccessDenied

QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const
Solid::DeviceInterface::Type)  error: 
org.freedesktop.DBus.Error.AccessDenied

QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const
Solid::DeviceInterface::Type)  error: 
org.freedesktop.DBus.Error.AccessDenied

QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const
Solid::DeviceInterface::Type)  error: 
org.freedesktop.DBus.Error.AccessDenied

k3b(5361)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing 
/usr/share/mime/magic

I'm lost !

--
~adj~






Re: [gentoo-user] undetected DVD r/w device

2010-09-11 Thread Peter Humphrey
On Saturday 11 September 2010 18:50:04 Mick wrote:

 Deselect that which is deprecated and will be removed soon

I hope it won't. I have one box whose drives the new drivers cannot 
detect - at least, nothing I've tried has worked so far.

 and select the appropriate SCSI drivers for your drives.  There's been
 a few messages on this list explaining how to go about it.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] undetected DVD r/w device

2010-09-11 Thread Alan McKinnon
Apparently, though unproven, at 20:24 on Saturday 11 September 2010, Peter 
Humphrey did opine thusly:

 On Saturday 11 September 2010 18:50:04 Mick wrote:
  Deselect that which is deprecated and will be removed soon
 
 I hope it won't. I have one box whose drives the new drivers cannot
 detect - at least, nothing I've tried has worked so far.


That's the beauty of Linux. When Linus decides he's had enough keeping old 
stuff hanging around and rips it out, you just put it right back in your own 
copies.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] undetected DVD r/w device

2010-09-11 Thread Peter Humphrey
On Saturday 11 September 2010 21:15:12 Alan McKinnon wrote:
 Apparently, though unproven, at 20:24 on Saturday 11 September 2010,
 Peter Humphrey did opine thus:
  On Saturday 11 September 2010 18:50:04 Mick wrote:
   Deselect that which is deprecated and will be removed soon
  
  I hope it won't. I have one box whose drives the new drivers cannot
  detect - at least, nothing I've tried has worked so far.
 
 That's the beauty of Linux. When Linus decides he's had enough
 keeping old stuff hanging around and rips it out, you just put it
 right back in your own copies.

Hmm. Not sure how I'd do that. I'd just assumed that I'd stick with a 
kernel version that worked. You know: mask anything later than version 
99.94. And yes, I do remember that version, but in the 1.n.n series.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] undetected DVD r/w device

2010-09-11 Thread Mick
On Saturday 11 September 2010 22:57:12 Peter Humphrey wrote:
 On Saturday 11 September 2010 21:15:12 Alan McKinnon wrote:
  Apparently, though unproven, at 20:24 on Saturday 11 September 2010,
  
  Peter Humphrey did opine thus:
   On Saturday 11 September 2010 18:50:04 Mick wrote:
Deselect that which is deprecated and will be removed soon
   
   I hope it won't. I have one box whose drives the new drivers cannot
   detect - at least, nothing I've tried has worked so far.
  
  That's the beauty of Linux. When Linus decides he's had enough
  keeping old stuff hanging around and rips it out, you just put it
  right back in your own copies.
 
 Hmm. Not sure how I'd do that. I'd just assumed that I'd stick with a
 kernel version that worked. You know: mask anything later than version
 99.94. And yes, I do remember that version, but in the 1.n.n series.

Is it possible to create one's own patch for drivers from old kernel(s) and 
use that to patch later versions?!  O_O
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] undetected DVD r/w device

2010-09-10 Thread alain . didierjean
Selon alain.didierj...@free.fr:

 Selon Stroller strol...@stellar.eclipse.co.uk:

 
  On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote:
 
  
   For some unknown reason, my DVD r/w device is not detected as such
   by udev:
   I can mount /dev/hda and read a data CD, ...
 
  Current kernels usually call optical drives /dev/sr0 (/dev/sr1, c).
 

 There's no sr* device on my system !!! Only way to reach the drive: /dev/hda.
 Help

FOLLOW-Up
I now use the following udev rules (70-persistent-cd.rules)

# TSSTcorpCD_DVDW_SH-W162C (pci-:00:06.0)
SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:06.0,
SYMLINK+=cdrom, ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:06.0,
SYMLINK+=cdrw, ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:06.0,
SYMLINK+=dvd, ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:06.0,
SYMLINK+=dvdrw, ENV{GENERATED}=1
# ~adj~ added
SUBSYSTEM==block, KERNEL==hda, SYMLINK+=cdrom, GROUP=cdrom
SUBSYSTEM==block, KERNEL==hda, SYMLINK+=cdrw, GROUP=cdrom
SUBSYSTEM==block, KERNEL==hda, SYMLINK+=dvd, GROUP=cdrom
SUBSYSTEM==block, KERNEL==hda, SYMLINK+=dvdrw, GROUP=cdrom

symbolic links get created, no /dev/sr0. k3b still refuses to work.
BUT
when I
# mount --bind / temporary
I do get a /temporary/dev/sr0 !!
What give ? I'm reluctant to add a NAME=sr0 rule as it should be the default;
What's going on ?

--
~adj~






Re: [gentoo-user] undetected DVD r/w device

2010-09-06 Thread Jake Moe
 On 09/06/10 18:55, alain.didierj...@free.fr wrote:
 For some unknown reason, my DVD r/w device is not detected as such by udev:
 I can mount /dev/hda and read a data CD, but /dev/cdrom is not created at boot
 time and k3b returns
  No optical drive found.
 K3b did not find any optical device in your system.
 Solution : Make sure HAL daemon is running, it is used by K3b for finding
 devices.
 Well, hald IS running on my hardened amd64 system and /etc/udev/rules.d 
 contains
  70-persistent-cd.rules. Where should I look now to fix the problem ?

 --
 ~adj~
What's the contents of 70-persistent-cd.rules?  I recently had the same
problem on a HP laptop; the DVD drive worked in most things, but not in
K3B, and I tracked the root down to the fact that while I could see
/dev/sr0, the symlinks for /dev/[cdrom,cdrw,dvd,dvdrw] weren't there.  I
could mount /dev/sr0 and the drive worked, but K3B never found the
drive.  I believe I fixed it by editing that rules file somehow.  I
can't remember while laptop it was on, but here's the two
70-persistent-cd.rules files I have:

(I think this one was the one that worked)

# This file was automatically generated by the /lib/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.

# CDDVDW_TS-L633N (pci-:00:1f.2-scsi-1:0:0:0)
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1f.2-scsi-1:0:0:0, SYMLINK+=cdrom,
ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1f.2-scsi-1:0:0:0, SYMLINK+=cdrw,
ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1f.2-scsi-1:0:0:0, SYMLINK+=dvd,
ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1f.2-scsi-1:0:0:0, SYMLINK+=dvdrw,
ENV{GENERATED}=1

(I think this one was the one that I had to rewrite myself)

SUBSYSTEM==block, KERNEL==hdb, SYMLINK+=cdrom, GROUP=cdrom
SUBSYSTEM==block, KERNEL==hdb, SYMLINK+=cdrw, GROUP=cdrom
SUBSYSTEM==block, KERNEL==hdb, SYMLINK+=dvd, GROUP=cdrom
SUBSYSTEM==block, KERNEL==hdb, SYMLINK+=dvdrw, GROUP=cdrom

HTH,

Jake Moe



Re: [gentoo-user] undetected DVD r/w device

2010-09-06 Thread Stroller


On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote:



For some unknown reason, my DVD r/w device is not detected as such  
by udev:

I can mount /dev/hda and read a data CD, ...


Current kernels usually call optical drives /dev/sr0 (/dev/sr1, c).

See last months DVD borked: SysFS removed thread:
http://www.gossamer-threads.com/lists/gentoo/user/216290

My advice in that thread applies also to you.

Stroller.




Re: [gentoo-user] undetected DVD r/w device

2010-09-06 Thread Joerg Schilling
alain.didierj...@free.fr wrote:


 For some unknown reason, my DVD r/w device is not detected as such by udev:
 I can mount /dev/hda and read a data CD, but /dev/cdrom is not created at boot
 time and k3b returns
  No optical drive found.
 K3b did not find any optical device in your system.
 Solution : Make sure HAL daemon is running, it is used by K3b for finding
 devices.

If you call cdrecord (release 3.00):

cdrecord -scanbus

or
cdrecord -checkdrive

and it finds a drive, then there is a bug in k3b.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] undetected DVD r/w device

2010-09-06 Thread alain . didierjean
Selon Stroller strol...@stellar.eclipse.co.uk:


 On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote:

 
  For some unknown reason, my DVD r/w device is not detected as such
  by udev:
  I can mount /dev/hda and read a data CD, ...

 Current kernels usually call optical drives /dev/sr0 (/dev/sr1, c).


There's no sr* device on my system !!! Only way to reach the drive: /dev/hda.
Help



Re: [gentoo-user] undetected DVD r/w device

2010-09-06 Thread alain . didierjean
Selon Stroller strol...@stellar.eclipse.co.uk:


 On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote:

 
  For some unknown reason, my DVD r/w device is not detected as such
  by udev:
  I can mount /dev/hda and read a data CD, ...

 Current kernels usually call optical drives /dev/sr0 (/dev/sr1, c).


There's no sr* device on my system !!! Only way to reach the drive: /dev/hda.
Help








Re: [gentoo-user] undetected DVD r/w device

2010-09-06 Thread alain . didierjean
Selon Stroller strol...@stellar.eclipse.co.uk:


 On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote:

 
  For some unknown reason, my DVD r/w device is not detected as such
  by udev:
  I can mount /dev/hda and read a data CD, ...

 Current kernels usually call optical drives /dev/sr0 (/dev/sr1, c).


There's no sr* device on my system !!! Only way to reach the drive: /dev/hda.
Help










Re: [gentoo-user] undetected DVD r/w device

2010-09-06 Thread alain . didierjean
Selon alain.didierj...@free.fr:

 Selon Stroller strol...@stellar.eclipse.co.uk:

 
  On 6 Sep 2010, at 09:55, alain.didierj...@free.fr wrote:
 
  
   For some unknown reason, my DVD r/w device is not detected as such
   by udev:
   I can mount /dev/hda and read a data CD, ...
 
  Current kernels usually call optical drives /dev/sr0 (/dev/sr1, c).
 

 There's no sr* device on my system !!! Only way to reach the drive: /dev/hda.
 Help

Apologies for the triple post. The blame goes to my ISP