[maemo-users] IDEA: make N800 emulate a USB CD-ROM, possible? yes/no?

From: Frantisek Dufka dufkaf at seznam.cz
Date: Tue Sep 15 16:27:24 EEST 2009
Fernando Cassia wrote:
> How difficult would it be to implement this?

In latest linux kernel it is already done. See
http://lxr.linux.no/#linux+v2.6.31/drivers/usb/gadget/file_storage.c

There is cdrom module parameter you need to pass when inserting the module.

Looks like it was added in 2.6.29, see
http://kernelnewbies.org/Linux_2_6_29#head-8efb0e8f60f71278b6d23e94d0a161891729543b

It shouldn't be too hard to backport it to 2.6.21 (OS2008) or .18 
(OS2007) kernel. The specific diff is here http://tinyurl.com/nn92vn

Frantisek
More information about the maemo-users mailing list