Re: IDEA: make N800 emulate a USB CD-ROM, possible? yes/no?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux