Author Topic: Cd Players And C3000  (Read 10377 times)

John Galt

  • Newbie
  • *
  • Posts: 34
    • View Profile
Cd Players And C3000
« on: September 09, 2006, 05:56:36 pm »
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
Zaurus SL-C3000 with pdaXii13
4GB CF, 4GB SD, AmbiCom CF Wireless card

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Cd Players And C3000
« Reply #1 on: September 09, 2006, 07:11:19 pm »
what was the full mount command you used?

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

John Galt

  • Newbie
  • *
  • Posts: 34
    • View Profile
Cd Players And C3000
« Reply #2 on: September 09, 2006, 08:10:53 pm »
Quote
what was the full mount command you used?

Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141039\"][{POST_SNAPBACK}][/a][/div]

This is what I used:

su
mkdir -p /mnt/cdrom
mount -o ro /dev/scd0 /mnt/cdrom
Zaurus SL-C3000 with pdaXii13
4GB CF, 4GB SD, AmbiCom CF Wireless card

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Cd Players And C3000
« Reply #3 on: September 10, 2006, 03:22:10 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)
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

John Galt

  • Newbie
  • *
  • Posts: 34
    • View Profile
Cd Players And C3000
« Reply #4 on: September 10, 2006, 02:26:13 pm »
Quote
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)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141056\"][{POST_SNAPBACK}][/a][/div]

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.
Zaurus SL-C3000 with pdaXii13
4GB CF, 4GB SD, AmbiCom CF Wireless card

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Cd Players And C3000
« Reply #5 on: September 11, 2006, 03:48:29 am »
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
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

John Galt

  • Newbie
  • *
  • Posts: 34
    • View Profile
Cd Players And C3000
« Reply #6 on: September 11, 2006, 11:18:25 pm »
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
#
Zaurus SL-C3000 with pdaXii13
4GB CF, 4GB SD, AmbiCom CF Wireless card

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Cd Players And C3000
« Reply #7 on: September 11, 2006, 11:25:55 pm »
Quote
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
#
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141179\"][{POST_SNAPBACK}][/a][/div]
er... is it as simple as putting a slash before dev?--/dev/scd0
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Cd Players And C3000
« Reply #8 on: September 12, 2006, 04:42:03 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)
« Last Edit: September 12, 2006, 04:54:55 am by Da_Blitz »
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

John Galt

  • Newbie
  • *
  • Posts: 34
    • View Profile
Cd Players And C3000
« Reply #9 on: September 17, 2006, 10:02:06 am »
Quote
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)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141197\"][{POST_SNAPBACK}][/a][/div]


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!
Zaurus SL-C3000 with pdaXii13
4GB CF, 4GB SD, AmbiCom CF Wireless card

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Cd Players And C3000
« Reply #10 on: September 18, 2006, 12:46:32 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

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
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

John Galt

  • Newbie
  • *
  • Posts: 34
    • View Profile
Cd Players And C3000
« Reply #11 on: September 18, 2006, 09:47:29 am »
Quote
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

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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141696\"][{POST_SNAPBACK}][/a][/div]


Thank you for the suggestions. I will try them and post back.
Zaurus SL-C3000 with pdaXii13
4GB CF, 4GB SD, AmbiCom CF Wireless card

neo_com_3

  • Newbie
  • *
  • Posts: 49
    • View Profile
Cd Players And C3000
« Reply #12 on: November 25, 2006, 01:44:07 am »
Hi m8s...

Did you do anything finally?

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

I tried mplayer & xmms...
XDA Flame
Windows Mobile 2005 - 2GB Sandisk MicroSD - PDair case - Plus several extras...
Sharp Zaurus SL-C3200
pdaXrom 1.1.0beta3 & XFCE 4.4.2 & ROX file manager - 80GB External Usb HDD & 4GB TopRam SD & 4GB A-Data SD & 512MB SanDisk SD - DLinkDCF-660W CF WiFi - PDair case - Plus several extras...
Mobile History : Ericsson GA318, Ericsson T28s, Siemens SL45, Nokia 3510i, Nokia 7250i, Siemens S65, Siemens SX1, Nokia 3230, Nokia N70, VPA Compact, SPV M5000, SPV M3100...

John Galt

  • Newbie
  • *
  • Posts: 34
    • View Profile
Cd Players And C3000
« Reply #13 on: November 27, 2006, 02:04:09 pm »
Quote
Hi m8s...

Did you do anything finally?

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

I tried mplayer & xmms...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147207\"][{POST_SNAPBACK}][/a][/div]

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.
Zaurus SL-C3000 with pdaXii13
4GB CF, 4GB SD, AmbiCom CF Wireless card

neo_com_3

  • Newbie
  • *
  • Posts: 49
    • View Profile
Cd Players And C3000
« Reply #14 on: May 04, 2007, 11:07:10 am »
Quote
Quote
Hi m8s...

Did you do anything finally?

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

I tried mplayer & xmms...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147207\"][{POST_SNAPBACK}][/a][/div]

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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147354\"][{POST_SNAPBACK}][/a][/div]
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!!!
XDA Flame
Windows Mobile 2005 - 2GB Sandisk MicroSD - PDair case - Plus several extras...
Sharp Zaurus SL-C3200
pdaXrom 1.1.0beta3 & XFCE 4.4.2 & ROX file manager - 80GB External Usb HDD & 4GB TopRam SD & 4GB A-Data SD & 512MB SanDisk SD - DLinkDCF-660W CF WiFi - PDair case - Plus several extras...
Mobile History : Ericsson GA318, Ericsson T28s, Siemens SL45, Nokia 3510i, Nokia 7250i, Siemens S65, Siemens SX1, Nokia 3230, Nokia N70, VPA Compact, SPV M5000, SPV M3100...