[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-08 Thread Martin Pitt
** Package changed: linux (Ubuntu) => udev (Ubuntu)

** Summary changed:

- HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
+ Does not recognize blank rewritable DVDs

** Summary changed:

- Does not recognize blank rewritable DVDs
+ cdrom_id: Does not recognize blank rewritable DVDs

-- 
cdrom_id: Does not recognize blank rewritable DVDs
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-05 Thread jonie
This is likely a problem with Brasero when there is more than one
optical drive, and the first to go is actually not the recorder with a
blank cd inside. I'll try to recreate the problem on an old computer
where the dvd-rom is the first target for cdrecord and will report
results. In the meantime look at bug 181703 (people reported the same
issue when using the second optical drive) and at bug 502143, when
someone observed disc detection issue with an old drive.

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-05 Thread Martin Smat
I think this output provides better information:

cdrecord -dev=1,0,0 -minfo
Cdrecord-ProDVD-ProBD-Clone 3.00 (i686-pc-linux-gnu) Copyright (C) 1995-2010 
J�rg Schilling
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
Device type: Removable CD-ROM
Version: 5
Response Format: 2
Capabilities   : 
Vendor_info: 'TEAC'
Identifikation : 'CD-W54E '
Revision   : '1.1B'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO 
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.
Disk Is not erasable
data type:standard
disk status:  empty
session status:   empty
BG format status: none
first track:  1
number of sessions:   1
first track in last sess: 1
last track in last sess:  1
Disk Is not unrestricted
Disk type: undefined
last start of lead in: -11619
last start of lead out: 359847

Track  Sess Type   Start Addr End Addr   Size
==
1 1 Blank  0  359844 359845

Next writable address:  0
Remaining writable size:359845

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-05 Thread Martin Smat
After installing all 3 utilities from
https://launchpad.net/~brandonsnider/+archive/cdrtools Brasero still
reports "Not enough space on the empty CD".

Output of "cdrecord -minfo"
cdrecord -minfo
Cdrecord-ProDVD-ProBD-Clone 3.00 (i686-pc-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...
cdrecord: Too many CD/DVD/BD-Recorder targets found.
scsibus0:
0,0,0 0) 'ATA ' 'ST3160815A  ' '3.AA' Disk
0,1,0 1) 'SAMSUNG ' 'DVD-ROM SD-616T ' 'F303' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0   100) 'TEAC' 'CD-W54E ' '1.1B' Removable CD-ROM
1,1,0   101) 'IOMEGA  ' 'ZIP 100 ' '14.A' Removable Disk
1,2,0   102) *
1,3,0   103) *
1,4,0   104) *
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *
cdrecord: Select a target from the list above and use 'cdrecord dev=b,t,l'.

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-05 Thread jonie
I forgot to add that you have to enable Brandon Snider ppa to install
the Schilly utils:

https://launchpad.net/~brandonsnider/+archive/ppa

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-05 Thread jonie
Well, that's good news for the patch. The function of cdrom_id is to set
those ID_CDROM variables and it's working fine, the output is exactly
the same as you would get using a newer recorder. The problem is Brasero
related I think, or perhaps is related to the cdrkit fork of cdrtools.
You can make an additional step to try to resolve the issue:

Replace cdrkit with the original utils from Jorg Schilling, using
Synaptic choose to install cdrecord, mkisofs and cdda2wav. It should
prompt you to remove wodim, genisoimage and icedax respectively, that's
ok. For those using dvd writers it will be neccessary to create a
symlink from genisoimage to mkisofs because Ubuntu version of growisofs
depends on this name.

Then, if you can, please paste the output of

cdrecord -minfo

with a blank cd inside the drive.

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-08-05 Thread Martin Smat
jonie: after using your patched udev I got a partial success:
1. Inserting blank CD-R into my drive
2. Popup dialog appears letting me choose what I want to do with the empty CD 
and blank CD icon appears on the desktop (this is a good progress comparing my 
original situation)
3. Opening Brasero and choose to burn a data CD.
4. Brasero immediately reports that the CD does not have enough space and does 
not let me continue with burning process.

Do you think this is still related to udev or is it now Brasero issue? I
tried with more CDs to make sure it is not CD problem.

Output of "cdrom_id" command after inserting blank CD:

/lib/udev/cdrom_id --debug /dev/sr1
main: probing: '/dev/sr1'
cd_inquiry: INQUIRY: [TEAC][CD-W54E ][1.1B]
info_scsi_cmd_err: GET CONFIGURATION failed with SK=5h/ASC=20h/ACQ=00h
cd_profiles: drive is pre-MMC2 and does not support 46h get configuration 
command
cd_profiles: trying to work around the problem
cd_profiles_old_mmc: profile 0x09 media_cd_r
cd_media_info: disk type ff
info_scsi_cmd_err: READ TOC failed with SK=5h/ASC=24h/ACQ=00h
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD_R=1
ID_CDROM_MEDIA_STATE=blank
ID_CDROM_MEDIA_SESSION_NEXT=1
ID_CDROM_MEDIA_SESSION_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT=1

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-17 Thread jonie
So the drive is MMC... If you don't mind that you might run into accidental 
breakage (be warned) install udev package from my ppa 
https://launchpad.net/~jonie/+archive/ppa and paste the output of 
/lib/udev/cdrom_id --debug /dev/sr1 having a blank cd inside (if it goes well 
the system should detect the disc and display a dialog message after 
insertion). If it still doesn't work you can always downgrade the package to 
original version using synaptic. Please report your results.
Note: my package doesn't contain any fixes for any other problem than DVD+RW 
detection and old first gen MMC drives (before ca. 2000).

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-17 Thread Martin Smat
Here is sdparm output for my drive:
sudo sdparm --page=0x2a /dev/sr1
/dev/sr1: TEAC  CD-W54E   1.1B  [cd/dvd]
CD/DVD (MM) capabilities and mechanical status (MMC) mode page:
  D_RAM_R 0  [cha: n, def:  0]
  D_R_R   0  [cha: n, def:  0]
  D_ROM_R 0  [cha: n, def:  0]
  METH2   1  [cha: n, def:  1]
  CD_RW_R 1  [cha: n, def:  1]
  CD_R_R  1  [cha: n, def:  1]
  D_RAM_W 0  [cha: n, def:  0]
  D_R_W   0  [cha: n, def:  0]
  TST_WR  1  [cha: n, def:  1]
  CD_RW_W 1  [cha: n, def:  1]
  CD_R_W  1  [cha: n, def:  1]
  BUF 0  [cha: n, def:  0]
  MULT_S  1  [cha: n, def:  1]
  M2F21  [cha: n, def:  1]
  M2F11  [cha: n, def:  1]
  DP_20  [cha: n, def:  0]
  DP_10  [cha: n, def:  0]
  COMP0  [cha: n, def:  0]
  AUDIO_P 1  [cha: n, def:  1]
  RBC 0  [cha: n, def:  0]
  UPC 1  [cha: n, def:  1]
  ISRC1  [cha: n, def:  1]
  C2PS1  [cha: n, def:  1]
  RW_DC   1  [cha: n, def:  1]
  RW_S1  [cha: n, def:  1]
  CDDA_SA 1  [cha: n, def:  1]
  CDDA_CS 1  [cha: n, def:  1]
  LMT 1  [cha: n, def:  1]
  EJECT   1  [cha: n, def:  1]
  PJ  0  [cha: n, def:  0]
  LS  0  [cha: n, def:  0]
  LOCK1  [cha: n, def:  1]
  RWILI   1  [cha: n, def:  1]
  SCC 0  [cha: n, def:  0]
  SSS 0  [cha: n, def:  0]
  CSDP0  [cha: n, def:  0]
  SCM 1  [cha: n, def:  1]
  SVL 1  [cha: n, def:  1]
  NVLS  256  [cha: n, def:256]
  BSS   1280  [cha: n, def:1280]
  LENGTH  0  [cha: n, def:  0]
  LSBF0  [cha: n, def:  0]
  RCK 0  [cha: n, def:  0]
  BCKF0  [cha: n, def:  0]

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-14 Thread Martin Smat
jonie: Thanks for your idea. I will post the result of sdparam on Saturday when 
I'm back in front of that computer.
Anyway this drive was working well in Jaunty (I don't know if in Karmic as I 
skipped this release) so from my point of view it is a regression in Lucid.

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-14 Thread jonie
Martin Smat: It's a different problem. It looks like your drive doesn't support 
MMC-2 GET CONFIGURATION command, hence the error.
Pre MMC-2 drive will report its MM capabilities through MODE SENSE 2a page, but 
cdrom_id supports only MMC-2.

Can you install sdparm

sudo apt-get install sdparm

and paste the output of

sdparm --page=0x2a /dev/sr1

BTW, you can always use cdrecord and (perhaps) k3b to burn

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-12 Thread jonie
tastyracer: I think bug 578640 better describes what we are`observing so
I'm going to make any future comments there

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-10 Thread jonie
Since DVD+RWs are always complete hardware-wise (neither command 52h
read track info will show any difference) we have to check if ISO9660
PVD and UDF PVD anchor are physically blank (sectors 16 and 256). I
patched function cd_media_info so that it checks for zeroed sectors 16
and 256 and if so, sets the status to blank. As a base I used the Lucid
udev source package. Now I can mount empty DVD+RW and use the media in
GNOME.

** Attachment added: "Patched cdrom_id.c"
   http://launchpadlibrarian.net/51682485/cdrom_id.c

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-09 Thread jonie
DVD+RW's are just overwritten, we have to read further into toc to check
if the track is empty and if so, set the status to blank, otherwise it
will always be complete

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-09 Thread jonie
scsi commands run by cdrom_id return identical values for blank and
complete dvd+rw, except for media profile (this might be just garbage)

** Attachment added: "scsi.txt"
   http://launchpadlibrarian.net/51624243/scsi.txt

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-09 Thread jonie
The problem lies definitely in  cdrom_id – it cannot tell a blank dvd+rw from a 
complete dvd+rw, it shows the media having TOC and a data session. 
The function cd_media_info in cdrom_id should provide additional check if 
cd_media_dvd_plus_rw is set and get cd_media_state in a different way I guess.
Problem persists with upstream version 158, there is merely some code cleaup in 
the function in question.
I tested different media brands, checked the issue on another computer with 
Matshita UJ-841S, the bug is still present.
The scsi errors in kernel are normal, system tries to mount "complete" dvd+rw 
as reported by udev and fails, thus this is no kernel problem.
I wonder if we should refile this bug against udev with a more specific 
description that relates just to dvd+rw

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-08 Thread tastyracer
AhaI too now can mount blank CD-RW, must have snuck without me noticing, 
thanks jonie.
Still no luck with blank DVD+RW though - now up to 2.6.32-23.

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-08 Thread jonie
Unlike tastyracer I can mount empty CD-RW. DVD+RW also produces another
error: when dvd-video on +rw disc is inserted Totem crashes telling
about insufficient permissions but I can play the content using vlc or
in totem by double clicking a vob file.

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-08 Thread jonie
Same problems with 2.6.35-rc1, -RW is ok, +RW is not recognized.

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-08 Thread jonie
And dmesg output:

dmesg | tail
[  759.530413] Info fld=0x0
[  759.530419] sr 6:0:0:0: [sr0] Add. Sense: Logical block address out of range
[  759.530434] sr 6:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[  759.530478] end_request: I/O error, dev sr0, sector 0
[  759.533476] sr 6:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  759.533484] sr 6:0:0:0: [sr0] Sense Key : Illegal Request [current] 
[  759.533492] Info fld=0x0
[  759.533496] sr 6:0:0:0: [sr0] Add. Sense: Logical block address out of range
[  759.533505] sr 6:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
[  759.533520] end_request: I/O error, dev sr0, sector 0

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-08 Thread jonie
I see similar problems as tastyracer in Lucid with HL-DT-ST DVD-RAM GSA-
H10N.

I can't mount blank DVD+RW (but DVD-RW is fine). Of course command line
utils like growisofs or dvd+rw-format do work. I can see my cairo-dock
flashing dvd drive is mounted/umounted as if it was being notified by
dbus.

The drive worked fine in previous versions of Ubuntu.

sudo /lib/udev/cdrom_id --debug /dev/sr0
main: probing: '/dev/sr0'
cd_inquiry: INQUIRY: [HL-DT-ST][DVDRAM GSA-H10N ][JL12]
cd_profiles: GET CONFIGURATION: size of features buffer 0x0160
cd_profiles: GET CONFIGURATION: feature 'profiles', with 14 entries
feature_profiles: profile 0x12 dvd_ram
feature_profiles: profile 0x11 
feature_profiles: profile 0x15 
feature_profiles: profile 0x16 
feature_profiles: profile 0x14 dvd_rw
feature_profiles: profile 0x13 dvd_rw
feature_profiles: profile 0x1a dvd_plus_rw
feature_profiles: profile 0x1b dvd_plus_r
feature_profiles: profile 0x2b dvd_plus_r_dl
feature_profiles: profile 0x10 dvd_rom
feature_profiles: profile 0x09 
feature_profiles: profile 0x0a 
feature_profiles: profile 0x08 
feature_profiles: profile 0x02 
cd_profiles: GET CONFIGURATION: feature 0x0001 , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0002 , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0003 , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0004 , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0010 , with 0x08 bytes
cd_profiles: GET CONFIGURATION: feature 0x001d , with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x001e , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x001f , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0020 , with 0x0c bytes
cd_profiles: GET CONFIGURATION: feature 0x0021 , with 0x08 bytes
cd_profiles: GET CONFIGURATION: feature 0x0023 , with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0024 , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0026 , with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x002a , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002b , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002c , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002d , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002e , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x002f , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0033 , with 0x08 bytes
cd_profiles: GET CONFIGURATION: feature 0x0037 , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x003b , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0100 , with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0101 , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0103 , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0104 , with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0105 , with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0106 , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0107 , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0108 , with 0x0c bytes
cd_profiles: GET CONFIGURATION: feature 0x010a , with 0x0c bytes
cd_profiles: GET CONFIGURATION: feature 0x010b , with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x010c , with 0x10 bytes
cd_profiles: current profile 0x1a
cd_profiles: profile 0x1a media_dvd_plus_rw
cd_media_info: disk type ff
cd_media_toc: READ TOC: len: 20
cd_media_toc: track=1 info=0x4(data) start_block=0
cd_media_toc: last track 1 starts at block 0
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_RAM=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_DVD_PLUS_RW=1
ID_CDROM_MEDIA_STATE=complete
ID_CDROM_MEDIA_SESSION_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-04 Thread Martin Smat
Using kernel 2.6.32-23 and blank CD are not recognized by my CD writer.

sudo /lib/udev/cdrom_id --debug /dev/sr1
[sudo] password for msmat: 
main: probing: '/dev/sr1'
cd_inquiry: INQUIRY: [TEAC][CD-W54E ][1.1B]
info_scsi_cmd_err: GET CONFIGURATION failed with SK=5h/ASC=20h/ACQ=00h
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_MEDIA=1

When I burn the disc in another burner then it is recognized.

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-07-01 Thread R33D3M33R
My feedback again: it worked for like a week or two, but now it is
broken even more than before, this time I get this bug:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/501950

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-14 Thread Chase Douglas
** Tags removed: kernel-candidate

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-07 Thread Chase Douglas
Amatriain,

We do have a bug in our daily build kernels that will hopefully be fixed
within a day or two. In the meantime, please try the kernel at
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.35-rc1-lucid/.

Thanks

** Tags added: kernel-candidate kernel-reviewed
** Tags removed: kernel-needs-review

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-06 Thread Amatriain
I've updated to kernel 2.6.32-22-generic and I'm experiencing the same
problems: after a reboot I'm able to mount DVDs and CDs and burn DVDs
for a few minutes, then they stop working until the next reboot.

I've looked at the instructions to test a mainline kernel build:

https://wiki.ubuntu.com/KernelTeam/MainlineBuilds

but I'm a bit confused. Those instructions say I should install an
*image*.deb file. However, when I look at

http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/

There is no *image*.deb file, only *headers*.deb and *sources*.deb
files. I'm not sure if I should simply install them, in what order, or
what. Also, there's some mention in the wiki that those kernels probably
won't work if I use restricted drivers; I use Nvidia propietary drivers,
should I try that kernel anyway?

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-06 Thread tastyracer
Still not working for blank DVD-RW for me, everything else ok. I'm using
the standard kernel release 2.6.32-22 but according to possibly related
bug #562092 newer PPA kernels could be ok.

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-05 Thread R33D3M33R
After most recent kernel updates in the repositories, my problem seems
to be gone. I tried to mount and use a music CD and data DVD -> it
worked without problems. The DRDY error is also gone from the dmesg
output. I will report back if the trouble appears again.

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-04 Thread Andy Whitcroft
** Tags added: kernel-core
** Tags removed: kernel-uncat

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-03 Thread Jeremy Foshee
Please test the most current round of updates and let me know the
results of you testing. Additionally, please test the mainline build
https://wiki.ubuntu.com/KernelTeam/MainlineBuilds to see if this
behavior is the same in the latest upstream kernel.

Thanks!

~JFo

** Tags added: kernel-needs-review kernel-uncat

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-03 Thread Martin Pitt
Amatriain [2010-06-02 17:47 -]:
> Also, to answer Martin, I don't see in dmesg any messages about CDROM at
> any moment. Should I attach my dmesg?

Sure, can't hurt for the kernel guys.

Thanks!

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-02 Thread Amatriain
Also, to answer Martin, I don't see in dmesg any messages about CDROM at
any moment. Should I attach my dmesg?

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-02 Thread Amatriain
(continues previous post)

However, if I wait a little time (about a couple minutes) after reboot,
with the blank DVD inserted and recognized, the DVD "disappears"; it no
longer appears in Deskop or in Brasero. To be absolutely clear, this
happens without me doing anything:

- reboot computer
- insert blank DVD immediately. 
- blank DVD is recognized
- wait a couple minutes without doing anything
- blank DVD disappears from desktop and from Brasero

At this point, I'm unable to mount data DVDs or CDs, and the system does
not recognize when I insert a bland DVD, no matter what I do.

I attach the result of running "sudo /lib/udev/cdrom_id --debug
/dev/sr0" at this point, with the optical drives not working.


** Attachment added: "blank_dvd_not_recognized.txt"
   http://launchpadlibrarian.net/49565375/blank_dvd_not_recognized.txt

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-02 Thread Amatriain
I've made some further testing, without much progress.

I've rebooted with an ubuntu 9.10 liveCD. While running 9.10, I was able
to mount CDs in my CD drive (I have two optical drives, a CD writer and
a DVD writer, none is working under Lucid). I've not been able to test
the DVD drive while running 9.10, because the liveCD was in the DVD
drive and I couldn't unmount it.

I've realized that if I reboot the machine and immediately after reboot
I insert a data DVD or a blank DVD, it works as expected (data DVD is
mounted, blank DVD is recognized, appears in Desktop and in Brasero). I
attach the results of running

sudo /lib/udev/cdrom_id --debug /dev/sr0

while a blank DVD is inserted and recognized.

** Attachment added: "blank_dvd_recognized_after_reboot.txt"
   http://launchpadlibrarian.net/49565097/blank_dvd_recognized_after_reboot.txt

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-02 Thread R33D3M33R
Sorry, i just redirected the output and didn't see what it wrote. Here
is the full log, with medium mounted.

** Attachment added: "cdrom_debug.txt"
   http://launchpadlibrarian.net/49560141/cdrom_debug.txt

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-02 Thread Martin Pitt
R33D3M33R [2010-06-02 14:02 -]:
> sudo /lib/udev/cdrom_id --debug /dev/sr0
> 
> worked now (output in attachment).

This didn't include the debug parts, though. Also, it still shows that
it didn't detect any medium.

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 581925] Re: HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD

2010-06-02 Thread R33D3M33R
After three reboots I was finally able to mount a DVD and the command:

sudo /lib/udev/cdrom_id --debug /dev/sr0

worked now (output in attachment). But before the reboots the mount and
the debug command didn't work at all.

** Attachment added: "cdrom_id.txt"
   http://launchpadlibrarian.net/49556350/cdrom_id.txt

-- 
HL-DT-ST DVD-RAM GH22NP20: Does not recognize any CD
https://bugs.launchpad.net/bugs/581925
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs