Alexander Turcic
02-02-2007, 06:02 PM
Thanks to eagle-eyed Vienna01 (http://www.mobileread.com/forums/member.php?u=6815) for informing us that Sony has quietly updated the Linux sources (http://www.sony.net/Products/Linux/Download/category3.html#1) for their Reader. The only visible difference:
old: USBTG_EBOOK4_20060801.tgz
new_ USBTG_EBOOK4_20061205.tgz
I invite you to compare the two packages and to tell us exactly what has changed.
Related: Sony Reader GPL sources download link (http://www.mobileread.com/forums/showthread.php?t=7739)
igorsk
02-02-2007, 08:06 PM
Nice! I guess that means we can expect a firmware update pretty soon.
scotty1024
02-03-2007, 05:33 PM
When I went there it said "PRS-500/U update (20070131)" so maybe its a few days late already.
RWood
02-03-2007, 07:31 PM
Still nothing posted at the Sony Support Site (http://esupport.sony.com/US/perl/model-swu.pl?mdl=PRS500)
scotty1024
02-03-2007, 07:31 PM
*** USBTG_EBOOK4_20060801/usbtarget/dbmx1/dbmx1_usbtg.c Fri May 12 23:48:50 2006
--- USBTG_EBOOK4_20061205/usbtarget/dbmx1/dbmx1_usbtg.c Tue Dec 5 20:18:28 2006
***************
*** 3029,3035 ****
--- 3029,3038 ----
switch (rqst) {
case PM_RESUME: /* USB ON */
+ //printk("PM RESUME\n");
+ /* PRS-500 device is not require this 2006.11.01
if (dev->pm_status != USBTG_PM_ON) {
+ dev->pm_status = USBTG_PM_ON;
if (usbtg_init_device() < 0) {
ERROR("error - failed to initialize device!");
return -1;
***************
*** 3044,3054 ****
dev->pm_status = USBTG_PM_ON;
INFO(1, "[PM] On");
}
! dragonball_gpio_set_bit(PORT_A, 20, 1); // test
//printk("usb resume!\n");
break;
case PM_SUSPEND:
usbtg_stop_monitor_vbus();
if (dev->pm_status == USBTG_PM_ON) {
usbtg_shutdown_device();
--- 3047,3063 ----
dev->pm_status = USBTG_PM_ON;
INFO(1, "[PM] On");
}
! */
! //dragonball_gpio_set_bit(PORT_A, 20, 1); // test -> comment out 061101
//printk("usb resume!\n");
break;
case PM_SUSPEND:
+ //printk("PM SUSPEND\n");
+ if( IS_VBUS_ACTIVE(dev->is_vbus) ) {
+ //printk("PM SUSPEND with vbus active!!\n");
+ return -1; // add 2006.12.05
+ }
usbtg_stop_monitor_vbus();
if (dev->pm_status == USBTG_PM_ON) {
usbtg_shutdown_device();
***************
*** 3078,3084 ****
break;
}
usbtg_suspend();
! dragonball_gpio_set_bit(PORT_A, 20, 0); // test
break;
#ifdef CONFIG_SNSC
--- 3087,3093 ----
break;
}
usbtg_suspend();
! //dragonball_gpio_set_bit(PORT_A, 20, 0); // test -> comment out 061101
break;
#ifdef CONFIG_SNSC
THe USBTG code is the target driver that handles the USB port when the Portable Reader is communicating with a PC. The change is to optimize out code that isn't needed on the PRS (but was possibly needed on the LIbrie.)
Hopefully the proprietary software got some modifications as well. :)
I certainly appreciate Sony releasing the GPL source in *advance* of the firmware release, rather than months/years/never like some firms.