Help - Search - Members - Calendar
Full Version: Cd Players And C3000
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 Hardware
John Galt
Is it possible to play CDs by connecting a CD player to the SL C3000? 」 have seen in Meanie's Zbook that you one can connect a DVD/CD through USB, but when I tried to mount the devise I got the following error message:

"mount: Mounting /dev/scd0 on /mnt/cdrom failed: Invalid argument ".

Thanks
InSearchOf
what was the full mount command you used?

Late
John Galt
QUOTE(InSearchOf @ Sep 9 2006, 07:11 PM)
what was the full mount command you used?

Late
*


This is what I used:

su
mkdir -p /mnt/cdrom
mount -o ro /dev/scd0 /mnt/cdrom
Da_Blitz
you dont need the -o ro, its implied automatically

it looks like the device node is there and the usb driver has attached to it but i would check it, first do a ls -l /dev/scd0 then check your dmesg logs when you attach/detach the device (try with the cd in)

if you have mplayer try mplayer cdda://1 or mplayer cddb://1 and see if any sound comes out, note that the cdrom drive dosent have to be mounted for it to play music or DVDs as it reads from the raw device (and enforces 1x mode so its quite)
John Galt
QUOTE(Da_Blitz @ Sep 10 2006, 03:22 AM)
you dont need the -o ro, its implied automatically

it looks like the device node is there and the usb driver has attached to it but i would check it, first do a ls -l /dev/scd0 then check your dmesg logs when you attach/detach the device (try with the cd in)

if you have mplayer try mplayer cdda://1 or mplayer cddb://1 and see if any sound comes out, note that the cdrom drive dosent have to be mounted for it to play music or DVDs as it reads from the raw device (and enforces 1x mode so its quite)
*


That's great, thank you!. Not using -o ro seemed to work. At least the device mounts without a problem when there is an mp3 CD in. The message I get is:

mount: /dev/scd0 is write-protected, mounting read-only

After that I am able to find the mp3s by using zplayer, adding them to a playlist and enjoy them.

If I have a non-mp3 CD in the drive I get this:
a series of the above message and then,

Mounting /dev/scd0 on /mnt/cdrom failed: Invalid argument.

Also, the mplayer commands returned errors:

MPlayer 1.0pre7-3.4.2 © 2000-2005 MPlayer Team
for Zaurus 1.1.5 © 2004-2005 AGAWA Koji (atty)
CPU: ARM
CPUflags: iWMMXt

85 audio & 196 video codecs
CommandLine: 'cdda://1'
Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.)
Playing cdda://1.
Option stream url: This URL doesn't have a hostname part.
[file] No filename
Failed to open cdda://1

Exiting... (End of file)

I suppose if i had more familiarity with Linux I may be able to determine why I get that error.
Da_Blitz
the failed to open cdda device might be because there isnt a symlink from /dev/cdrom to /dev/scd0 (ln -s /dev/cdrom /dev/scd0)

if this still dosent work, specify the cd by -dvd-device=/dev/scd0 ar try cddb://1
John Galt
cddb://1 unfortunately returned the same error as cdda, even after symlinking the cdrom. How do I specify the cd using your command Da_Blitz? When I try it in the terminal I get:

# -dvd-device=dev/scd0
-dvd-device=dev/scd0: not found
#
adf
QUOTE(John Galt @ Sep 12 2006, 03:18 AM)
cddb://1 unfortunately returned the same error as cdda, even after symlinking the cdrom. How do I specify the cd using your command Da_Blitz? When I try it in the terminal I get:

# -dvd-device=dev/scd0
-dvd-device=dev/scd0: not found
#
*

er... is it as simple as putting a slash before dev?--/dev/scd0
Da_Blitz
yeah, if you forget to put the / its reletive to the current dir, if you add the slash, it starts from the root dirictorey (which is what you want)
John Galt
QUOTE(Da_Blitz @ Sep 12 2006, 04:42 AM)
yeah, if you forget to put the / its reletive to the current dir, if you add the slash, it starts from the root dirictorey (which is what you want)
*



OK. I undestand the / . I had missed initially. But when I try this command from the terminal, I still get

-dvd-device=/dev/scd0: not found

I do appreciate your patience. Here's what I've tried so far and nothing seems to be working in terms of playing music CDs. I can play mp3 CDs without a problem, maybe because the Z recognizes the mp3 CD as a usb storage device.

Anyway:

1. I created a symlink from /dev/cdrom to /dev/scd0
2. I tried the following commands,
mkdir -p /mnt/cdrom
mount /dev/scd0 /mnt/cdrom
This works for an mp3 CD but when I tried it without a music CD, I got the following error message: "mount: Mounting /dev/scd0 on /mnt/cdrom failed: No medium found" and with a CD: "mount: Mounting /dev/scd0 on /mnt/cdrom failed: invalid argument"

3. I tried mplayer cdda://1 and mplayer cddb://1 and I got the same message as posted previously.

Any ideas?

Thanks!
Da_Blitz
it seems to me that scd0 is not in fact the cdrom and most likly dosent exsist, i know on some older distros and those with older udev rules that a scusi cdrom somtimes comes up as sr0 or simmilar however it seems wierd that you can mount it to /mnt/cdrom sad.gif

perhaps change dvd-device to cdrom-device

anyway, from the mplayer manual:
mplayer [cdda|cddb]://track[-endtrack][:speed][/device] [options]

so perhaps mplayer cdda://1/dev/cdrom

and make sure that /dev/scd0 or whatever device node you use has actually been created, if unsure try cat <device node> if there is no driver attached to it it should print an error otherwise it will emit garbage
John Galt
QUOTE(Da_Blitz @ Sep 18 2006, 12:46 AM)
it seems to me that scd0 is not in fact the cdrom and most likly dosent exsist, i know on some older distros and those with older udev rules that a scusi cdrom somtimes comes up as sr0 or simmilar  however it seems wierd that you can mount it to /mnt/cdrom sad.gif

perhaps change dvd-device to cdrom-device

anyway, from the mplayer manual:
mplayer [cdda|cddb]://track[-endtrack][:speed][/device] [options]

so perhaps mplayer cdda://1/dev/cdrom

and make sure that /dev/scd0 or whatever device node you use has actually been created, if unsure try cat <device node> if there is no driver attached to it it should print an error otherwise it will emit garbage
*



Thank you for the suggestions. I will try them and post back.
neo_com_3
Hi m8s...

Did you do anything finally?

I play mp3, but no audio cd so far...

I tried mplayer & xmms...
John Galt
QUOTE(neo_com_3 @ Nov 25 2006, 02:44 AM)
Hi m8s...

Did you do anything finally?

I play mp3, but no audio cd so far...

I tried mplayer & xmms...
*


Same thing. The USB CDROM loads without a problem, but Zaurus sees it only as another storage device - in my case. I can play mp3s and I can play mpgs only because the CDROM is recognized as a storage - no CDs or DVDs.

Maybe someone has luck and could share their findings.


N.
neo_com_3
QUOTE(John Galt @ Nov 27 2006, 09:04 PM)
QUOTE(neo_com_3 @ Nov 25 2006, 02:44 AM)
Hi m8s...

Did you do anything finally?

I play mp3, but no audio cd so far...

I tried mplayer & xmms...
*


Same thing. The USB CDROM loads without a problem, but Zaurus sees it only as another storage device - in my case. I can play mp3s and I can play mpgs only because the CDROM is recognized as a storage - no CDs or DVDs.

Maybe someone has luck and could share their findings.


N.
*


I know it is an old matter, but I found solution. I install Goobox - full, all packages - for pdaxrom. Well it is not working, but afterwards I try xmms and then It was possible for xmms to mount and recognize Audio CD!!! Well, when I insert an Audio CD and I inport it to my playlist, xmms goes on line and update all titles and plays like a charm...
Good luck!!!
John Galt
that's really interesting. I just flashed my C3000 to the latest version of pdaXii13 but haven't tried to see if the XMMS Player would recognize the audio CD. I'll give it a try.


QUOTE(neo_com_3 @ May 4 2007, 11:07 AM)
QUOTE(John Galt @ Nov 27 2006, 09:04 PM)
QUOTE(neo_com_3 @ Nov 25 2006, 02:44 AM)
Hi m8s...

Did you do anything finally?

I play mp3, but no audio cd so far...

I tried mplayer & xmms...
*


Same thing. The USB CDROM loads without a problem, but Zaurus sees it only as another storage device - in my case. I can play mp3s and I can play mpgs only because the CDROM is recognized as a storage - no CDs or DVDs.

Maybe someone has luck and could share their findings.


N.
*


I know it is an old matter, but I found solution. I install Goobox - full, all packages - for pdaxrom. Well it is not working, but afterwards I try xmms and then It was possible for xmms to mount and recognize Audio CD!!! Well, when I insert an Audio CD and I inport it to my playlist, xmms goes on line and update all titles and plays like a charm...
Good luck!!!
*

Antikx
I tired a while back too and couldn't get it working under goobox or xmms. Might have been my external DVD-burner, or a missing dependency that was the problem.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.