LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-06-2004, 03:19 PM   #1
Karvalho
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Rep: Reputation: 0
how get cdrom-rw usb external drive working on redhat 9?


Hello all,

My Redhat 9 works ok with cdrom-r internal drive.
But it seems not to recognize the presence of a cdrom-rw (external drive) connected through usb (BTC USB 2.0).

I have NOT rehdat 9 fully installed.

Thanks in advance for any help to get the device working.

Karvalho
 
Old 02-06-2004, 03:24 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,319

Rep: Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596
What do you mean by " I have NOT Redhat 9 fully installed"?

The device for the USB CDRW will be /dev/scd0. Does such a device exist?
Check the output of the console command dmesg for messages relating to the CDRW.

Try the following console commands:
cat /proc/scsi/scsi
cdrecord --scanbus

Any output messages pertaining to the CDRW?
 
Old 02-06-2004, 03:27 PM   #3
CoolAJ86
Member
 
Registered: Jan 2004
Location: VT, USA
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125

Rep: Reputation: 15
usbview

I'm a n00b here, but in the past 5 days I've learned a few things trying to solve my own problem (with success). One of which is this utility called usbview. If you get that installed and use some of the information it provides you, you might be able to do a search for a driver that suppors whatever chip is in your burner.

http://www.kroah.com/linux-usb/

hope that starts you in the right direction.
 
Old 02-06-2004, 04:50 PM   #4
Karvalho
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks a lot Michaelk,

Redhat 9 not fully installed means that I did a + - 1.4G installation, instead of the full 5G.
I don't know if I missed any file pertinent for the cdrom-rw drive.

Following your tips:
- cat /proc/scsi/scsi
- cdrecord -scanbus

both show only a installed usb scanner, not the cdrom.

command dmesg refers hdc: IDE/ATAPI CD-ROM CD-ROM 50xs, ATAPI CD/DVD-ROM drive;

The first one refers to the internal cdrom reader; I don't know ifthe second refrs to the cdrom-rw.

Command ls on /dev gives me a long list. I can find there scd0 under the word "scanner".


As a newbie I can't help you more to help me

Do these informations provide any clue?

Many thanks!
Karvalho
 
Old 02-06-2004, 04:54 PM   #5
Karvalho
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Hi CoolAJ86,

Thanks !
That really can be useful.
Cheers!
Karvalho
 
Old 02-06-2004, 09:31 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,319

Rep: Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596
Lets see what modules are loading.

Post the output of the command lsmod
 
Old 02-07-2004, 05:51 AM   #7
Karvalho
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
lsmod gives command not found!

both under root and user.

maybe I must install some libraries from my redhad discs, but I don't know which libraries

I also tried /proc/modules as I saw in man, but it get permission denied.

again, thanks a lot!
karvalho
 
Old 02-08-2004, 09:18 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,319

Rep: Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596
/sbin/lsmod
 
Old 02-08-2004, 09:37 AM   #9
Karvalho
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Hi Michaelk, this is what get with /sbin/lsmod.

Thanx a lot for your precious help. Shortly I'll be able to write a book "How is it like to be a newbie in linux"; and you will preface it

Module Size Used by Not tainted
ide-cd 35708 0 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
parport_pc 19076 1 (autoclean)
lp 8996 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13268 0 (autoclean) (unused)
sis900 16812 1
ipt_REJECT 3928 6 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 15096 2 [ipt_REJECT iptable_filter]
hpusbscsi 8612 0 (unused)
scsi_mod 107160 1 [hpusbscsi]
keybdev 2944 0 (unused)
mousedev 5492 1
hid 22148 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-uhci 26348 0 (unused)
usb-ohci 21480 0 (unused)
usbcore 78784 1 [hpusbscsi hid usb-uhci usb-ohci]
ext3 70784 2
jbd 51892 2 [ext3]
 
Old 02-08-2004, 09:53 AM   #10
Karvalho
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Michaelk,

I'm posting below the output of commands you asked me before :

cdrecord --scanbus
cat /proc/scsi/scsi
dmesg

just in case they can help. Sorry for being such a nuisance...

cd record --scanbus:

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
cdrecord: Warning: using inofficial libscg transport code version (schily - Red
Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright
1997 J. Schilling').
scsibus0:
0,0,0 0) 'HP ' 'ScanJet 5300C ' '6.00' Removable Scanner
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

cat /proc/scsi/scsi:

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: ScanJet 5300C Rev: 6.00
Type: Scanner ANSI SCSI revision: 02


dmesg:

sorry, I couldn't paste it here; I'll try in a next post
 
Old 02-08-2004, 10:09 AM   #11
Karvalho
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Hi Michaelk, parts of dmesg, that can be of interest:

hda: WDC WD84AA, ATA DISK drive
blk: queue c03c9f40, I/O limit 4095Mb (mask 0xffffffff)
hdc: IDE/ATAPI CD-ROM 50XS, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 16514064 sectors (8455 MB) w/2048KiB Cache, CHS=1027/255/63, UDMA(66)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3 < hda5 hda6 > hda4

(......)

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 10 for device 00:08.0
usb-ohci.c: USB OHCI at membase 0xc884a000, IRQ 10
usb-ohci.c: usb-00:08.0, OPTi Inc. 82C861
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: $Revision: 1.275 $ time 17:59:01 Mar 13 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:07.2
PCI: Sharing IRQ 11 with 00:0b.0
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
hub.c: new USB device 00:08.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x46e/0x300a) is not claimed by any active driver
.
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,4), internal journal
Adding Swap: 136480k swap-space (priority -1)
hub.c: new USB device 00:08.0-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x3f0/0x701) is not claimed by any active driver.SCSI subsystem driver Revision: 1.00
hpusbscsi.c: [hpusbscsi_init:247] driver loaded, DebugLvel=0
usb.c: registered new driver hpusbscsi
scsi0 : hpusbscsi
Vendor: HP Model: ScanJet 5300C Rev: 6.00
Type: Scanner ANSI SCSI revision: 02
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout

(.............)

ide-floppy driver 0.99.newide
hdc: ATAPI 11X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
cdrom: This disc doesn't have any tracks I recognize!
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 6


THANKX !
 
Old 02-08-2004, 11:07 AM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,319

Rep: Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596
I can not tell if the timeout messages are related to the CDRW drive or not. All of the modules appear to be loading.

You have two different USB controllers. How is the computer configured? Have you tried plugging the drive into another port?

Does the drive work with windows?
 
Old 02-09-2004, 05:47 AM   #13
Karvalho
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Hi Michaelk,

Switching ports seem to have resulted. The system recognizes the presence of cdrw.

Sorry for all the fuss. I should have tried it if first place.

Nevertheless I still canīt write to the cdwr disk. Message: read-only device.
But this is not a hadrware question anymore.

Anyway if you know what I must do (I donīt even know if I must install a softwre like Nero (in windows) for linux... please let me know. Newbies.... arrrrgghhhh!

Thanks , and thanks again!
k
 
Old 02-09-2004, 06:49 AM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,319

Rep: Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596Reputation: 2596
You still might have a problem with the modules loading for a particular port.

CD writing software doesn't use /etc/fstab to write. You need to configure it for your CDRW. You can't drag and drop like windows yet.

There are several apps for cd writing like k3b and xcdrecord. These are frontends GUIs for cdrecord which is already installed on your system.
 
Old 02-09-2004, 04:44 PM   #15
Karvalho
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Ok. Thanks a lot. Iĺl try to get things sorted out, following your tips.

Many, many thanks.
k
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount external USB cdrom drive rickenbacherus Linux - Hardware 3 05-29-2006 07:12 PM
Problems with getting external USB hard drive working pwaring Linux - Hardware 10 12-08-2005 07:53 AM
USB Thumbdrive and/or External CD Drive on Redhat 6.2..and maybe some other questions pantner Red Hat 0 10-30-2004 10:30 PM
2 questions about external cdrom drive for compaq armada 1130T w/o mjewell Linux - Laptop and Netbook 0 01-19-2004 11:19 AM
Hitachi external cdrom drive Kevin_Thompson Linux - Newbie 1 05-28-2001 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration