Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Jul 21, 2018 8:53 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Fri Dec 21, 2007 11:09 pm 
Offline
Newbie

Joined: Wed Nov 07, 2007 12:43 pm
Posts: 21
Hi, (Sorry, I can not speak english)

I'm testing the new gentoo image on a kurobox HG. USB support of compact flash cards work, but i can not use my
usb dvd / cdrom device, because missing the special device /dev/scd*.

dmesg shows
Code:
usb 1-2: new high speed USB device using ehci_hcd and address 7
usb 1-2: configuration #1 chosen from 1 choice
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
scsi 5:0:0:0: CD-ROM            PLEXTOR  DVDR    PX-608CU 1.44 PQ: 0 ANSI: 0
scsi 5:0:0:0: Attached scsi generic sg1 type 5
usb-storage: device scan complete


The /dev/sg1 exists, but no cd dev.

What is wrong?

Thanks for a help!
Torsten


Top
   
PostPosted: Sat Dec 22, 2007 2:03 am 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
lier99,

I can tell you that there is good cdrom support for audio cd's, as I have used it extensively. This was under Debian/FreeLink, with udev. Unless there is some inherent problem with udev in GenLink, the same should be possible in Gentoo/Genlink.

I also used a data CD once or twice, and from what I remember it worked. This was just an automated program to sift mp3 and image files from a CD. http://buffalo.nas-central.org/index.php/Mediar ... Ds_to_MP3s

good luck!

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Sat Dec 22, 2007 7:12 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
What's wrong with /dev/sg1? Have you tried it?


Top
   
PostPosted: Sat Dec 22, 2007 11:36 am 
Offline
Betatester
User avatar

Joined: Thu Jul 14, 2005 4:38 pm
Posts: 941
Location: England
Always shown up as /dev/sg on my freelink box (with a usb to ide convertor)


Top
   
PostPosted: Tue Jan 01, 2008 8:22 am 
Offline
Newbie
User avatar

Joined: Sat Sep 29, 2007 1:50 am
Posts: 46
Location: Virginia, USA
The kernel in the gentoo image unfortunately does not include support for SCSI CD-ROM device. You will have to rebuild the kernel with support for SCSI cdrom (see the file /boot/config has # CONFIG_BLK_DEV_SR is not set). You will need to:

# emerge gentoo-sources #(which is still currently 2.6.22-r5, same as your uname -r I think)
# cp /boot/config /usr/src/linux/.config
# cd /usr/src/linux
# make oldconfig #(accept defaults)
# make menuconfig #(enable support for SCSI CD-ROM, as module should work)
# make modules && make modules_install

Retry attaching USB CDROM. I believe CD-ROM should then be /dev/sr0.

I hope I haven't missed anything.

Good luck :)


Top
   
PostPosted: Tue Jan 01, 2008 10:32 am 
Offline
Newbie
User avatar

Joined: Sat Sep 29, 2007 1:50 am
Posts: 46
Location: Virginia, USA
Well I just tried the steps above and it did not work with my USB CDROM. But I have another box with a different kernel that sets up /dev/sr0 for the USB CDROM so I should be able to figure out the difference.


Top
   
PostPosted: Tue Jan 01, 2008 5:33 pm 
Offline
Site Admin
User avatar

Joined: Tue Mar 21, 2006 9:11 pm
Posts: 658
I believe you need to define the device in your udev rules.

_________________
My completely scratch built 832 push-pull tube amplifier with Padauk frame. It matches my custom mini-ITX machine.


Top
   
PostPosted: Tue Jan 01, 2008 6:46 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
however this all shakes out... whoever gets it reliably working, could you please post for us :

1) what you needed configured in kernel to support it (the specific lines in the config that pertained to it would be great)... and

2) a copy of your udev rules (and whether or not you had to modify them)

thanks!

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Tue Jan 01, 2008 9:02 pm 
Offline
Newbie
User avatar

Joined: Sat Sep 29, 2007 1:50 am
Posts: 46
Location: Virginia, USA
To the steps I posted above, I guess I should have added:

# depmod

After I did this, the device showed up at /dev/sr0.
No udev rules fiddling required.

So the only real change to the kernel .config was:
Code:
CONFIG_BLK_DEV_SR=m


Top
   
PostPosted: Wed Jan 02, 2008 4:14 am 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
thanks russK!

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited