LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-06-2003, 10:01 AM   #1
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Rep: Reputation: 15
USB CD-RW drive


I have Iomega CD-RW ZIP 650 connected via USB port. It seems to be detected during booting (SLack 9), I can see it in "messages" (as scsi1 or something similar).
Questions :
1. What do I have to insert to fstab to mount this drive (I have also IDE DVD drive which works correctly and is already in fstab)?
2. Do I have to "modprobe" any additional modules to have my Iomega burning CD?
3. Maybe some additional options should be included in lilo.conf?
4. How to find out what is device name for it (in /dev directory)?

Any help would be appreciated as I never played with CD-RW drives under Linux.
 
Old 06-06-2003, 05:57 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
1. What do I have to insert to fstab to mount this drive (I have also IDE DVD drive which works correctly and is already in fstab)?
You'd quite likely have to put /dev/scd0 as the writer,
but it depends whether it's actually being grabbed by
the ide-scsi-thing ... check
/proc/scsi/scsi
to see whether it's been picked up.

Quote:
2. Do I have to "modprobe" any additional modules to have my Iomega burning CD?
Which modules are loaded? :)

Quote:
3. Maybe some additional options should be included in lilo.conf?
append = "hdx=ide-scsi"
should be enough.

Quote:
4. How to find out what is device name for it (in /dev directory)?
I think that scdX or srX would be good starting points.

Cheers,
Tink
 
Old 06-07-2003, 04:05 PM   #3
mdoerner
LQ Newbie
 
Registered: Jun 2003
Posts: 16

Rep: Reputation: 0
I'm having the same problem with a Cendyne CD-RW drive. Initially it was locking up the startup, but I unplugged it and after booting was completed, plugged it back in. I think it might be trying to set my HP IDE CD-RW and the Cendyne USB CD-RW to the same device. Here's the output.

Adding Swap: 128516k swap-space (priority -1)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Assigned IRQ 5 for device 00:09.0
usb-ohci.c: USB OHCI at membase 0xc90e5000, IRQ 5
usb-ohci.c: usb-00:09.0, NEC Corporation USB
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Assigned IRQ 10 for device 00:09.1
usb-ohci.c: USB OHCI at membase 0xc90e7000, IRQ 10
usb-ohci.c: usb-00:09.1, NEC Corporation USB (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
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
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
isapnp: Scanning for PnP cards...
isapnp: SB audio device quirk - increasing port range
isapnp: Card 'Creative ViBRA16X PnP'
isapnp: Card '3Com 3C509B EtherLink III'
isapnp: 2 Plug & Play cards detected total
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: Creative ViBRA16X PnP detected
sb: ISAPnP reports 'Creative ViBRA16X PnP' at i/o 0x220, irq 7, dma 1, 3
SB 4.16 detected OK (220)
SB16: Bad or missing 16 bit DMA channel
sb: 1 Soundblaster PnP card(s) found.
eth0: 3c5x9 at 0x230, 10baseT port, address 00 a0 24 56 ef bb, IRQ 11.
3c509.c:1.19 16Oct2002 becker@scyld.com
http://www.scyld.com/network/3c509.html
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HP Model: CD-Writer+ 7200 Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
Intel PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
ds: no socket drivers loaded!
PCI: Assigned IRQ 11 for device 00:09.2
hcd.c: ehci-hcd @ 00:09.2, NEC Corporation USB 2.0
hcd.c: irq 11, pci mem c9151000
usb.c: new USB bus registered, assigned bus number 3
ehci-hcd.c: USB 2.0 support enabled, EHCI rev 0.95
hub.c: USB hub found
hub.c: 5 ports detected
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 Mar 11 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
uhci.c: USB Universal Host Controller Interface driver v1.1
hub.c: new USB device 00:09.2-4, assigned address 2
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=2 (error=-110)
hub.c: new USB device 00:09.2-4, assigned address 3
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=3 (error=-110)
cdrom: This disc doesn't have any tracks I recognize!


How do I determine the device ID of the USB CD-RW? I looked in /proc/scsi/scsi, and only found my HP CD-RW there. Any ideas? Thanks in advance....

Mike Doerner
 
Old 06-08-2003, 02:21 AM   #4
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
ok, so you have the HP Burner and another one in USB drive? Strange :P

first are you SURE it's detected and loaded? try :
cdrecord -scanbus

it should give you a list of thing detected as scsi.
If you see you burner then, look at dmesg, there should be a line about his device somewhere (or try every scsi device... not sure about scsi but I think it goes like ide : scda, scdb, scdc ...)

if it's not detected, you may have to add something to your kernel (or to load module)
Make sure usb-SOMETHING (your usb drivers, as example usb-uhci, usb-ohci... look in kernel, it's all about chipset) is loaded... type lsmod to see what module is loaded (but it'll not be showed if it's included in kernel)

oh and about lilo.conf... since usb is already emulated like scsi, I don't think you've to add something

Last edited by Half_Elf; 06-08-2003 at 02:23 AM.
 
  


Reply



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
Linux on a USB hard drive without USB-FDD BIOS option jaro Linux - Hardware 1 07-15-2005 02:12 AM
Creating/restoring drive image on USB drive OneSeventeen Linux - Newbie 9 07-06-2005 05:08 AM
USB drive using different partitions (usb key thumb drive) Arodef Linux - Hardware 0 08-04-2004 06:36 PM
Linux on a USB hard drive without USB-FDD BIOS option jaro Linux - Hardware 6 05-27-2004 11:49 AM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:40 AM.

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
Open Source Consulting | Domain Registration