LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
LinkBack Search this Thread
Old 11-26-2008, 01:57 PM   #1
Ian Stuart
LQ Newbie
 
Registered: Nov 2008
Posts: 10

Rep: Reputation: 0
eeepc running eeebuntu not recognising usb DVD drive


Hi there.

I have a 701 loaded with eeebuntu (Hardy) and it does not recognise my usb DVD drive which is a Samsung Super-writemaster SE-S224.

Boot from usb is enabled - any ideas?

Thanjks
 
Old 11-26-2008, 02:07 PM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Can you access the DVD drive when you are in Linux ?
is it only a boot time issue you are having with it ?
 
Old 11-26-2008, 02:39 PM   #3
Ian Stuart
LQ Newbie
 
Registered: Nov 2008
Posts: 10

Original Poster
Rep: Reputation: 0
no I cannot see it at all in Linux
 
Old 11-26-2008, 03:39 PM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
In Linux open a terminal and type lsusb that should show your USB ports and anything connected to them..

for example..
Code:
Here is a listing before I attach a USB to Sata adapter with a DVD drive attached

it-etch:~$lsusb
Bus 004 Device 001: ID 0000:0000  
Bus 002 Device 007: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 002 Device 005: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 002 Device 004: ID 0557:7000 ATEN International Co., Ltd Hub
Bus 002 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  
Bus 005 Device 001: ID 0000:0000  
Bus 006 Device 001: ID 0000:0000  

Here is the listing after I connect it to the USB port.. 
it-etch:~$ lsusb
Bus 004 Device 001: ID 0000:0000  
Bus 002 Device 007: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 002 Device 005: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 002 Device 004: ID 0557:7000 ATEN International Co., Ltd Hub
Bus 002 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  
Bus 005 Device 001: ID 0000:0000  
Bus 006 Device 007: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
Bus 006 Device 001: ID 0000:0000
This should at least tell you if the system can see the drive at all..

you can also view the message log to see the connection information of the device.

Code:
it-etch:~ #tail /var/log/messages
Nov 26 16:02:59 it-etch -- MARK --
Nov 26 16:23:00 it-etch -- MARK --
Nov 26 16:36:33 it-etch kernel: usb 6-7: new high speed USB device using ehci_hcd and address 7
Nov 26 16:36:33 it-etch kernel: usb 6-7: configuration #1 chosen from 1 choice
Nov 26 16:36:33 it-etch kernel: scsi7 : SCSI emulation for USB Mass Storage devices
Nov 26 16:36:38 it-etch kernel:   Vendor: HL-DT-ST  Model: DVD-ROM GDRH10N   Rev: 0D04
Nov 26 16:36:38 it-etch kernel:   Type:   CD-ROM                             ANSI SCSI revision: 00
Nov 26 16:36:38 it-etch kernel: sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
Nov 26 16:36:38 it-etch kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Nov 26 16:36:38 it-etch kernel: sr 7:0:0:0: Attached scsi generic sg1 type 5
Please post your output from these two commands.

Last edited by farslayer; 11-26-2008 at 03:43 PM.
 
Old 11-26-2008, 03:54 PM   #5
Ian Stuart
LQ Newbie
 
Registered: Nov 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks very much...

With drive plugged in I get:

ian@ian-laptop:~$ lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0951:1606 Kingston Technology
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 004: ID 13fd:2040
Bus 002 Device 003: ID 03f0:0024 Hewlett-Packard
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 1241:1177 Belkin F8E842-DL Mouse
Bus 001 Device 001: ID 0000:0000

Without I get the same :-( There are three ports though and one has a mouse, the other an HP keyboard but what is the Kingston if it is not the usb DVD drive - nothing else plugged in?

ian@ian-laptop:~$ tail /var/log/messages
Nov 26 21:49:53 ian-laptop kernel: [ 870.360691] usb 2-1: configuration #1 chosen from 1 choice
Nov 26 21:49:53 ian-laptop kernel: [ 870.375595] scsi5 : SCSI emulation for USB Mass Storage devices
Nov 26 21:49:58 ian-laptop kernel: [ 871.905505] scsi 5:0:0:0: CD-ROM TSSTcorp CDDVDW SE-S224Q TS00 PQ: 0 ANSI: 0
Nov 26 21:49:58 ian-laptop kernel: [ 871.906817] scsi 5:0:0:0: Attached scsi generic sg1 type 5
Nov 26 21:50:56 ian-laptop kernel: [ 890.740008] usb 2-1: USB disconnect, address 5
Nov 26 21:51:47 ian-laptop kernel: [ 911.553875] usb 2-1: new full speed USB device using uhci_hcd and address 6
Nov 26 21:51:48 ian-laptop kernel: [ 911.601073] usb 2-1: configuration #1 chosen from 1 choice
Nov 26 21:51:48 ian-laptop kernel: [ 911.664107] scsi6 : SCSI emulation for USB Mass Storage devices
Nov 26 21:51:53 ian-laptop kernel: [ 913.489570] scsi 6:0:0:0: CD-ROM TSSTcorp CDDVDW SE-S224Q TS00 PQ: 0 ANSI: 0
Nov 26 21:51:53 ian-laptop kernel: [ 913.490892] scsi 6:0:0:0: Attached scsi generic sg1 type 5

This looks promising :-)

Ian
 
Old 11-26-2008, 09:02 PM   #6
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
OK first mystery..

Quote:
Internal USB SD card reader on Asus eee PC 701 (SD support only, but
advertised as supported a limited set range of SDHC cards):
ID 0951:1606 Kingston Technology
So the Kingston device is your SD card reader that is built into your EeePC


You are right the message log looks good.. but how odd that the DVD drive is showing up there, but not in the lsusb list..

Ah I see it in the lsusb output now, it's a device ID showing up with no description.
A Google search of the device descriptor found the following, so we have a match.
Quote:
Bus 001 Device 002: ID 13fd:2040 Initio Corporation
Device Descriptor:
idVendor 0x13fd Initio Corporation
idProduct 0x2040
iManufacturer 1 TSSTcorp
iProduct 2 USB Mass Storage Device
you can try the following command to update your usb.ids file so that device may gain a description in the lsusb output.
update-usbids

could you post the output of lsmod | grep usb ?
trying to get a grip on why it's not showing up or automatically mounting in Linux..

Now we also know the system can see the drive.. I wonder why the EeePC is ignoring it as a boot device..

You did have a boot able CD in it when you tried choosing it to boot from right ?

I had to put the CD in and close the drive let the CD spin up for a moment then boot my Netbook while the drive was already spun up, in order to get mine to boot from the External DVD Drive.

If I put the CD in and let the drive go to rest, it didn't want to boot from it, or the drive wouldn't spin up fast enough for it to boot from. I though it was the crusty old drive I pulled off the shelf that caused the issue though.
 
Old 11-27-2008, 12:55 PM   #7
Ian Stuart
LQ Newbie
 
Registered: Nov 2008
Posts: 10

Original Poster
Rep: Reputation: 0
ha, success on the update-usbids:

ian@ian-laptop:~$ lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0951:1606 Kingston Technology
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 004: ID 13fd:2040 Initio Corporation
Bus 002 Device 003: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 1241:1177 Belkin F8E842-DL Mouse
Bus 001 Device 001: ID 0000:0000

Still not mounting though:

ian@ian-laptop:~$ lsmod | grep usb
usb_storage 72256 0
libusual 18208 1 usb_storage
usbhid 30976 0
hid 36608 1 usbhid
scsi_mod 151180 4 usb_storage,sg,sd_mod,libata
usbcore 143980 5 usb_storage,libusual,usbhid,uhci_hcd


Forget the booting - bit of a red herring - another chap in another thread said I should enable boot from usb which is why I put it in the first post

Thanks for all your help so far
 
Old 11-27-2008, 10:03 PM   #8
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
This is interesting, and it looks like the exact problem you are having.

http://www.eeebuntu.org/forum/viewtopic.php?f=14&t=337
 
Old 11-28-2008, 12:28 PM   #9
Ian Stuart
LQ Newbie
 
Registered: Nov 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks again for finding this.

I think that I need to change:

SCSI CDROM support (BLK_DEV_SR) [N/m/?]

to:

SCSI CDROM support (BLK_DEV_SR) [M/m/?]

In a file somewhere!!?? And then perhaps run some compilation routines? That thread seems to have died a death and the eebuntu forums don't appear to be very active.

Any further guidance would be much appreciated.

Ian
 
Old 11-28-2008, 12:54 PM   #10
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
That line is in the kernel configuration. You would need to change it then compile and install your custom configured kernel.

https://help.ubuntu.com/community/Kernel/Compile
Quote:
Reasons for compiling a custom kernel

* You are a kernel developer.
* You need the kernel compiled in a special way, that the official kernel is not compiled in (for example, with some experimental feature enabled).
* You are attempting to debug a problem in the stock Ubuntu kernel for which you have filed or will file a bug report.
* You have hardware the stock Ubuntu kernel does not support.
basically you would be telling the kernel to allow SCSI CDROM drive support using a Module. In it's curent configuration of N it's telling the kernel to not allow SCSI CDROM Drives at all. (USB CDROM Drives emulate SCSI devices that's why you would add that support)

I'm kind of surprised that isn't enabled by default on a Distro that is aimed at netbooks, when none of the netbooks I have seen have Opticalkk drives.. Must have been an oversight.
 
Old 11-28-2008, 02:48 PM   #11
Ian Stuart
LQ Newbie
 
Registered: Nov 2008
Posts: 10

Original Poster
Rep: Reputation: 0
hmmm

Beyond my level of expertise at the moment and a bit scary! :-) I am reading the link that you sent and thinking that it seems like a lot of effort and risk...

I thought I would change an "N" to an "M" in a file somewhere and then insmod that file? Not as easy as that?

I will persevere if this is what is needed, it will do me good, just impatient to watch a DVD! :-)
 
Old 11-28-2008, 05:31 PM   #12
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
That how-to is a bit daunting, and I think it makes it look more complicate a process than it really is.. I'll look around a little for a more succinct how-to that just hits on the bare necessities.

Trouble is you can't insmod or modprobe that module until this recompile is done. I wonder if you can grab just a regular Ubuntu kernel and get this working. I don't know what changes they have made. hmmm.


Ubuntu is based off Debian so the Debian Kernel Compile how-to should work just fine. I don't know why Ubuntu made that page look so intimidating.
http://www.debian.org/releases/stabl...h08s06.html.en
or
http://kernel-handbook.alioth.debian...ommon-building

and of course you will install the Ubuntu kernel source of the Ubuntu kernel you are currently running (uname -r)


Once you have compiled and installed your kernel you will have multiple options in your Grub boot menu, so if your custom compiled kernel doesn't work for some reason, no harm has been done, you can always boot using the original kernel, and try again..
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora 7: autofs is not mounting USB flash drive or DVD ROM drive Hewson Linux - General 3 05-12-2008 08:58 AM
LXer: 9-inch EeePC named EeePC 900 and gets detailed specs LXer Syndicated Linux News 1 03-11-2008 07:11 AM
Dell d610 : recognising CD/DVD-R/W drive in 2.6.15 andywest Linux - Laptop and Netbook 3 03-23-2006 10:42 AM
USB 2.0 DVD Drive running at usb 1.1 speed.. redsmoke Linux - Hardware 1 01-17-2005 04:19 AM
read encrypted dvd - usb dvd drive wastingtime Linux - Hardware 8 12-26-2004 01:28 PM


All times are GMT -5. The time now is 10:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration