Good day, I'm having trouble getting my HP cd-writer cd4e series to work.
I'm new to linux. If this I'm sending this email to the wrong place please let me know. This device is an external usb cd-writer. I am using Ubuntu 5.10 with 2.6.12-10 kernel. When I plug it in, /dev/sda gets created but I get some error msgs from dmesg. [4304160.827000] SCSI device sda: 4294967295 512-byte hdwr sectors (2199023 MB) [4304160.828000] sda: test WP failed, assume Write Enabled [4304160.828000] sda: assuming drive cache: write through [4304160.828000] /dev/scsi/host1/bus0/target0/lun0:<4>printk: 110 messages suppressed. [4304160.828000] Buffer I/O error on device sda, logical block 0 [4304160.829000] unable to read partition table [4304162.851000] sda: Unit Not Ready, sense: [4304162.851000] : Current: sense key: Illegal Request [4304162.851000] Additional sense: Invalid command operation code [4304162.851000] Info fld=0x0 I tried to mount it anyways. $ sudo mount -t auto /dev/sda /media/usb-cdrom mount: you must specify the filesystem type I put the cd in my other drive to figure out the fs. $ mount -l ... /dev/hdc on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev,user=myuser) ... I try to mount again now with iso9660 as fs. $ sudo mount -t iso9660 /dev/sda /media/usb-cdrom mount: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so I follow the instruction and look at dmesg: $ dmesg | tail [4304575.289000] sda: test WP failed, assume Write Enabled [4304575.289000] sda: assuming drive cache: write through [4304575.289000] /dev/scsi/host1/bus0/target0/lun0: unable to read partition table [4304577.321000] sda: Unit Not Ready, sense: [4304577.321000] : Current: sense key: Illegal Request [4304577.321000] Additional sense: Invalid command operation code [4304577.321000] Info fld=0x0 [4304577.465000] SCSI device sda: 4294967295 512-byte hdwr sectors (2199023 MB) [4304577.469000] sda: test WP failed, assume Write Enabled [4304577.469000] sda: assuming drive cache: write through Looks the same as the first msgs I got. I turned to the web and found out that the device has to be in unusual_devs.h. So I checked and found that it is. From unusual_devs.h: #ifdef CONFIG_USB_STORAGE_USBAT ... UNUSUAL_DEV( 0x03f0, 0x0307, 0x0001, 0x0001, "HP", "CD-Writer+ CD-4e", US_SC_8070, US_PR_USBAT, init_usbat_cd, 0), #endif And from /proc/bus/usb/devices: T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1 P: Vendor=03f0 ProdID=0307 Rev= 0.01 S: Product=HP USB CD-Writer Plus C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=ff Driver=usb-storage E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=5ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms So everything looks good. Next I was curious if my kernel had been compiled with CONFIG_USB_STORAGE_USBAT defined. I checked my /boot/config and found out that it was. Does anybody have an idea as to how I can mount cds put in this drive? Thanks in advance for your help, Pierre ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users