maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   How to mount USB CDROM on 2008 OS (https://talk.maemo.org/showthread.php?t=12491)

penguinbait 2007-11-30 01:14

How to mount USB CDROM on 2008 OS
 
UPDATE USE THE DEB INSTEAD, thats it no reboot or anything
CDVD-TOOLS.DEB


sudo gainroot
echo host > /sys/devices/platform/musb_hdrc/mode

plug in usb CDROM

use (or where ever you want to mount it)
mount /dev/scd0 /root/mnt -t iso9660
mount /dev/scd0 /root/mnt -t udf

penguinbait 2007-11-30 14:36

Re: How to mount USB CDROM on 2008 OS
 
Anyone else got it working?

RipTorn 2007-11-30 14:48

Re: How to mount USB CDROM on 2008 OS
 
pretty cool :) I don't have a USB drive to test it though :(
I love all the little tricks people are able to do on the N8x0's

fpp 2007-11-30 15:03

Re: How to mount USB CDROM on 2008 OS
 
Neat hack, but what sort of practical use ? :-)

Mara 2007-11-30 15:10

Re: How to mount USB CDROM on 2008 OS
 
Quote:

Originally Posted by fpp (Post 102608)
Neat hack, but what sort of practical use ? :-)

How about using USB DVD-ROM and watch DVD on N8x0? :D

anidel 2007-11-30 15:28

Re: How to mount USB CDROM on 2008 OS
 
Oh come on! :)
DVD on the tablet ? It can't be that powerful, can it ?

I would actually use it to burn files on a CD/DVD, but I have a PC for that (and the tablet as a USB drive).. on the move it can be useful some times...

penguinbait 2007-11-30 16:35

Re: How to mount USB CDROM on 2008 OS
 
I am working on a cdburning app, as this would make backups nice and easy. As for the DVD movies?? Not sure, I will try to play unencrypted DVD when I get home. Seems like it should work, I'm not thinking encrypted DVD's have a chance in hell.

I keep all my music and pictures on DVD, which now makes copying to n800 a little faster. :D

fpp 2007-11-30 16:39

Re: How to mount USB CDROM on 2008 OS
 
Really ? Faster than copying from DVD to SD card on the PC ?...

aflegg 2007-11-30 17:41

Re: How to mount USB CDROM on 2008 OS
 
DVD playback has no chance. (Although I admit I always like to be stunned when technology exceeds expectations)

penguinbait 2007-11-30 20:55

Re: How to mount USB CDROM on 2008 OS
 
Quote:

Originally Posted by fpp (Post 102671)
Really ? Faster than copying from DVD to SD card on the PC ?...

Well, yes faster for me. But your scenario is not really applying to me, because I can not do that.

When I can plugin my n800 into a DVD and copy away.

I have a IBM Tablet PC (Dual boot windows and linux) also which accepts the SD card, and I have a USB DVD burner that I could plugin. (same one I use with n800)

Here are some of my problems though:

Ubuntu 6.1xx has the same SD corruption bug that was fixed by kernel patch on 2007 OS. If I try to copy large amounts of data, it corrupts the card. ( Is this fixed in 7.1) maybe I should upgrade

Additionally I am booting from SD and do not like to USB transfer, I have had problems in the past, with rebooting

I have read access to my ext2 partitions under windows, but no write access. So often I would transfer using SCP over the network, the encryption slows the data transfer down.



In short: YES its faster (For Me)

wazd 2007-11-30 21:02

Re: How to mount USB CDROM on 2008 OS
 
well, you can bring a DL DVD with MPEG4 movies and a ROM with u in some trip =) Neat hack!

dblank 2007-11-30 21:09

Re: How to mount USB CDROM on 2008 OS
 
so... has anyone compiled mplayer with dvd support and tried playing a dvd yet? :)

I wouldn't expect it to work well, but the geek in me wants to see anyway.

fpp 2007-11-30 22:03

Re: How to mount USB CDROM on 2008 OS
 
Quote:

Originally Posted by penguinbait (Post 102829)
In short: YES its faster (For Me)

I wasn't doubting you, but I don't think I could ever have guessed what your actual use case was :-)

xPAKxMaster 2007-11-30 22:49

Re: How to mount USB CDROM on 2008 OS
 
...man... DVDs and CDs on the n8x0s... wow what will be next...
im so exited
im getting mine on xmas!!!
ps: cant wait.

wazd 2007-11-30 22:49

Re: How to mount USB CDROM on 2008 OS
 
Maybe u also want to play HD-DVD?)

wazd 2007-11-30 22:52

Re: How to mount USB CDROM on 2008 OS
 
The main exciting thing for me is the ability to carry and play my collection of music and .avi's with me everywhere. This is really great. Why the hell do u need DVD-playback - really dunno ))

xPAKxMaster 2007-11-30 22:53

Re: How to mount USB CDROM on 2008 OS
 
Quote:

Originally Posted by wazd (Post 102894)
Maybe u also want to play HD-DVD?)

that would be nice but
1st - n8x0 has a small screen
2nd - i highly doubt it could ever work.
3rd - without a video out HDDVD is useless

unless you are using it for DATA....
now there's a good idea lol

penguinbait 2007-11-30 23:28

Re: How to mount USB CDROM on 2008 OS
 
Quote:

Originally Posted by fpp (Post 102881)
I wasn't doubting you, but I don't think I could ever have guessed what your actual use case was :-)


What my setup is not intuitive? :D

fpp 2007-11-30 23:31

Re: How to mount USB CDROM on 2008 OS
 
Most certainly for a penguin it must be -- but I'm a seagull :-)

penguinbait 2007-12-01 01:59

Re: How to mount USB CDROM on 2008 OS
 
Never feed the seagulls, damn rats with wings ;)


OK, so I got home and loaded up the DVD in the player. I have a DVD that is unencrypted. (Grateful Dead - New Years Eve, the closing of winterland 12/31/73)

Great show by the way,but I digress.

OK, so I mounted the DVD, udf fs

used mplayer and picked a vob file and hit play. It played, well sort of :)

It played the audio well enough to listen the concert, but the video appears to be at 1 or less frames per second.

BTW: Mplayer ran at 100% :) I think it could be possible to make a optimized player for unencrypted dvd's, but prolly not likely to be done.

Still CD and DVD access is pretty cool

ranasing 2007-12-01 02:13

Re: How to mount USB CDROM on 2008 OS
 
Just curious, does the DVD/CDROM you use have to be powered separately, or will this power off the N800?

penguinbait 2007-12-01 02:14

Re: How to mount USB CDROM on 2008 OS
 
My usb dvd player requires 110v power

dblank 2007-12-01 02:34

Re: How to mount USB CDROM on 2008 OS
 
Quote:

Originally Posted by ranasing (Post 102969)
Just curious, does the DVD/CDROM you use have to be powered separately, or will this power off the N800?

I don't think the N800 would have enough power for any DVD/CDROM drive, most of them use quite a bit of power.

TheGogmagog 2007-12-01 02:53

Re: How to mount USB CDROM on 2008 OS
 
Very cool, thanks fo figuring this out and posting the how to.
I got a Mini usb to 'female' USB with a recent digital picture frame purchase. I tried a flash drive, but forgot to mount it and gave up. I feel dumb now.

Any guess for required modules or command line for the mount?

nrune 2007-12-08 13:33

Re: How to mount USB CDROM on 2008 OS
 
Would someone please check the wiki to make sure it is right.
http://internettablettalk.com/wiki/i...SB_CDROM_Drive

Penguinbait, hope you don't mind me just coping your post.

thanks
Nrune

penguinbait 2007-12-08 15:07

Re: How to mount USB CDROM on 2008 OS
 
Quote:

Originally Posted by nrune (Post 106006)
Would someone please check the wiki to make sure it is right.
http://internettablettalk.com/wiki/i...SB_CDROM_Drive

Penguinbait, hope you don't mind me just coping your post.

thanks
Nrune

Absolutely Not, Good Job

Perhaps someone wants to turn them into a deb, with a script to load them on boot. I will happily make the script and tarball,if someone will volunteer to turn it into a deb, and even perhaps put it in the repo?

Let me know, someone PM me if you want to help out with this

XooH 2007-12-08 16:56

Re: How to mount USB CDROM on 2008 OS
 
[QUOTE=penguinbait;102277]Download the modules
http://penguinbait.com/modules.tar

Hi. This is great. But... what about an USB hard drive ?
Is there any chance the trick could be similar ?
XooH

nrune 2007-12-08 17:00

Re: How to mount USB CDROM on 2008 OS
 
Quote:

Hi. This is great. But... what about an USB hard drive ?
Is there any chance the trick could be similar ?
XooH
Check out the wiki. ;) [http://www.internettablettalk.com/wi...using_OS_2008]

nrune

BOFH 2007-12-08 17:48

Re: How to mount USB CDROM on 2008 OS
 
Quote:

Originally Posted by dblank (Post 102842)
so... has anyone compiled mplayer with dvd support and tried playing a dvd yet? :)

I wouldn't expect it to work well, but the geek in me wants to see anyway.

Add in libcaca to enable ASCII output of the DVD playback for the true geek setup

XooH 2007-12-08 19:02

Re: How to mount USB CDROM on 2008 OS
 
Quote:

Originally Posted by nrune (Post 106050)

It says :
"In order for the n800 to enter into host mode you need to flash the N800 to OS 2008 and obtain the correct adapter. What is required is a USB A (Female) to USB Mini-B (Male) OTG cable (sometimes called a OTG convertor cable)."

Is it really all ? (on n800)
Do someone cheked it on n810 ?
If yes, it really rocks !

nrune 2007-12-08 19:07

Re: How to mount USB CDROM on 2008 OS
 
That is my understanding from this thread. http://www.internettablettalk.com/fo...light=usb+host

bad news is that the n810 has a diffrent usb port and may not work.

nrune

Master of Gizmo 2007-12-08 19:26

Re: How to mount USB CDROM on 2008 OS
 
Quote:

Originally Posted by XooH (Post 106098)
It says :
... and obtain the correct adapter. What is required is a USB A (Female) to USB Mini-B (Male) OTG cable (sometimes called a OTG convertor cable)."

Is it really all ? (on n800)

I don't think that this Wiki page is correct. It e.g. links to an adapter at amazon which has a mini-usb-a plug while the n800 only accepts the mini-usb-b style plug. This is an important difference as this prevents proper usb otg operation as explained here: https://www.muru.com/linux/n800-usb-host/

Ciao, MoG

penguinbait 2007-12-09 20:15

Re: How to mount USB CDROM on 2008 OS
 
1 Attachment(s)
UPDATE USE THE DEB INSTEAD, thats it no reboot or anything
Attachment 634
Penguinbait actually made a deb, what is the world coming to?

pipeline 2007-12-23 20:21

Re: How to mount USB CDROM on 2008 OS
 
Thanks, just had a need for this so i searched and found this and works perfect.

I'm not using cdrom but I built a program called isomaster which creates/extracts iso and nero nrg images, but mount didnt know how to read iso9660... now it does :)

If anyone else has a need for this you can download the isomaster build from :
http://wardenclyffetower.com/MaemoFi...er-1.3.all.deb

I guess time will tell if having iso image capabilites is of any use for me, but if you do something like offline wikipedia (1-4 gb) it would take forever to copy as thousands of files, so packaging into a single iso image would be much faster and manageable.

Thanks for the driver!

ustunozgur 2008-01-13 18:49

Re: How to mount USB CDROM on 2008 OS
 
Edit : Wrong post.

dan 2008-01-27 17:56

Re: How to mount USB CDROM on 2008 OS
 
Penguinbait,

Awesome!
I have USB Host mode through osso status bar.
This little app makes that app even more powerful.
Way to go Penguinbait. :)

Dan

smman 2008-02-07 14:48

Re: How to mount USB CDROM on 2008 OS
 
this dont work for me :-(
I have old DVD-Rom from IBM x21. (sorry, for my bad english)

/home/user # mount /dev/scd0 /root/mnt -t iso9660
mount: mounting /dev/scd0 on /root/mnt failed
/home/user # mount /dev/scd0 /root/mnt -t udf
mount: mounting /dev/scd0 on /root/mnt failed

tz1 2008-02-07 20:41

Re: How to mount USB CDROM on 2008 OS
 
smman - did you load all the modules? cdrom.ko, sr_mod.ko, isofs.ko, etc.? Does the directory /root/mnt exist? What does "dmesg" say when typed at the terminal? Are you in host mode?

smman 2008-02-09 10:18

Re: How to mount USB CDROM on 2008 OS
 
Quote:

Originally Posted by tz1 (Post 139525)
smman - did you load all the modules? cdrom.ko, sr_mod.ko, isofs.ko, etc.? Does the directory /root/mnt exist? What does "dmesg" say when typed at the terminal? Are you in host mode?

I install cdrom.deb from first post and type "mount /dev/scd0 /root/mnt -t iso9660" and "mount /dev/scd0 /root/mnt -t udf" in xterm. It's not enough? :-( Please, help me. :-(
The HostMode is activate ( the usb-stick work fine)

tz1 2008-02-09 21:41

Re: How to mount USB CDROM on 2008 OS
 
You need to reset after installing the deb. I have no idea what else might be wrong, or if they are already mounted, which is why I asked what the output of dmesg was since that will give me more information. You need to have the drive attached with a CD already in it when you type the mount commands. If the CD takes too much power, you also need a powered hub. There are other possibilities, but generally dmesg will say if the device is recognized (it will either say something about power or found CD/DVD rom drive or something similar).


All times are GMT. The time now is 15:12.

vBulletin® Version 3.8.8