Re: Some testing notes for OS10 for the XO-1

2010-01-03 Thread Tomeu Vizoso
Hi James,

happy to know you want to work on this. See this thread:

http://lists.laptop.org/pipermail/devel/2009-December/thread.html#26938

Regards,

Tomeu

On Sun, Jan 3, 2010 at 02:40, James Smith metal.lunch...@gmail.com wrote:
 All seems to work pretty well. except powermanagement. I'm running os10 
 updated today with kernel, modules, firmware from 12/28 . the default setup 
 with powerd gives the previously described problem, losing keyboard and mouse 
 upon wakeup. ohmd gives similar results. pm-suspend ends immediately prior to 
 actually suspending to ram after blanking screen and disconnecting wireless. 
 The keyboard but not the mouse is almost always lost when using pm-suspend. 
 Suspend with hal directly from the command line gives the same results:
 dbus-send --system --print-reply --dest=org.freedesktop.Hal \
  /org/freedesktop/Hal/devices/computer \
  org.freedesktop.Hal.Device.SystemPowerManagement.Suspend \
  int32:0
 Why does this command not work? More importantly, why does powerd work 
 (except for the wakeup problems)? I'm guessing it doesn't use hal or dbus at 
 all. I'd like to help work on this problem but I don't know much about 
 power-management and I don't really know how to test it further. Is there a 
 place where os10 development issues are tracked or is it just this mailing 
 list?

 james
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel




-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Some testing notes for OS10 for the XO-1

2010-01-03 Thread Paul Fox
  On Sun, Jan 3, 2010 at 02:40, James Smith metal.lunch...@gmail.com wrote:
   All seems to work pretty well. except powermanagement. I'm running os10 
  updated today with kernel, modules, firmware from 12/28 . the default setup 
  with powerd gives the previously described problem, losing keyboard and 
  mouse 
  upon wakeup. ohmd gives similar results.

if i have a suitable XO-1 here at home, i'm going to fix this
keyboard/touchpad loss issue today.  it'll give me something to do
before having to shovel out of our fresh snowstorm.

  pm-suspend ends immediately prior to 
  actually suspending to ram after blanking screen and disconnecting wireless. 
  The keyboard but not the mouse is almost always lost when using pm-suspend. 
  Suspend with hal directly from the command line gives the same results:
   dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer \
org.freedesktop.Hal.Device.SystemPowerManagement.Suspend \
int32:0
   Why does this command not work?

we've never used, nor supported, pm-suspend on either XO-1 or
XO-1.5.  it's likely that in its default configuration it won't
do the right things vis-a-vis our display.  (i.e., sleep, by
itself, won't turn off our display.)

  More importantly, why does powerd work 
  (except for the wakeup problems)? I'm guessing it doesn't use hal or dbus at 

correct.  ohmd doesn't use hal either (i don't think), but it
does make extensive use of (mostly private) dbus messages for
configuration and control.

  all.  I'd like to help work on this problem but I don't know
  much about power-management and I don't really know how to
  test it further.  Is there a place where os10 development
  issues are tracked or is it just this mailing list?

this mailing list is the place, as well as trac for specific bugs.

paul
=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Some testing notes for OS10 for the XO-1

2010-01-03 Thread James Smith
Its quite hackish but you can get your mouse and keyboard back after suspend by 
telling i8042 to unbind and rebind. I haven't tried altering powerd itself but 
you can see for yourself what i am talking about by executing the following 
command before immediately suspending for a few seconds then waking it:

sleep 45 ; sudo sh -c 'echo -n i8042  
/sys/bus/platform/drivers/i8042/unbind' ; sudo sh -c 'echo -n i8042  
/sys/bus/platform/drivers/i8042/bind

even if this isn't a real solution I hope that it can be used to make a some 
alteration to powerd's wake process to get it working for now. My suspicion is 
that a fix to the i8042 driver would be better but I know nothing about that.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Some testing notes for OS10 for the XO-1

2010-01-03 Thread Paul Fox
james wrote:
  Its quite hackish but you can get your mouse and keyboard back after suspend 
  by 
  telling i8042 to unbind and rebind. I haven't tried altering powerd itself 
  but 
  you can see for yourself what i am talking about by executing the following 
  command before immediately suspending for a few seconds then waking it:
  
  sleep 45 ; sudo sh -c 'echo -n i8042  
  /sys/bus/platform/drivers/i8042/unbind' ; sudo sh -c 'echo -n i8042  
  /sys/bus/platform/drivers/i8042/bind
  

thanks for the report that that works -- if you're interested in
turning that into a more permanent (but temporary :-) workaround,
you could add it as a script in /etc/powerd/postresume.d, where
it will be executed as the system resumes.  (search for
post-resume in the powerd script for a bit more information.)

perhaps i should have said earlier that we have a good understanding of
where the bug came from -- see http://dev.laptop.org/ticket/9779#comment:25 .

the obvious fix is to make the code which fixed the bug for
XO-1.5 only apply to that platform, though it's not immediately
clear why it should harm XO-1.

paul

  even if this isn't a real solution I hope that it can be used to make a some 
  alteration to powerd's wake process to get it working for now. My suspicion 
  is 
  that a fix to the i8042 driver would be better but I know nothing about that.
  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel

=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Some testing notes for OS10 for the XO-1

2009-12-15 Thread D. Rodas
Hello Paul,

On Mon, 2009-12-14 at 02:43 -0500, Paul Fox wrote:
 smparrish will correct me if i'm wrong, but i believe the release
 you're testing runs powerd, not ohmd.  the presence of the control
 panel, and its inability to control powerd's behavior, is a bug,
 or an unimplemented feature -- take your pick.
 
 (you can disable powerd if you wish, with initctl stop powerd,
 and move /etc/events.d/powerd elsewhere.  then start ohmd as you
 did below.)

I did it in a XO-1 and it's still having issues with the resume. I've
looked at the /var/log/messages and dmesg and there is nothing weird
there.

Can you please give a clue about what should I do about it?

Regards,

 
 i'm curious about the keyboard/mouse not waking things up properly,
 but i have zero time to look at it currently.
 
 to prevent powerd from suspending the laptop, edit /etc/powerd/powerd.conf,
 and adjust the timeout s to something big, like 9.
 
 paul
 
 philipp wrote:
   Switching off pm doesn't work (with control panel GUI or command):
   [o...@xo-11-08-d6 logs]$ sugar-control-panel -s automatic_pm off
   /usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: 
   the sha module is deprecated; use the hashlib module instead
  import sha
   sugar-control-panel: org.freedesktop.DBus.Error.ServiceUnknown: The name 
   org.freedesktop.ohm was not provided by any .service files
   
   After starting ohmd with sudo service ohmd start (per default service 
   ohmd is off for all runlevels) it is possible to switch off automatic_pm 
   (at least no error anymore), but it still suspends after some time and 
   with resume is the same problem as before.
   
   Is ohmd supposed to be on or off?
   
   On 12/12/2009 01:55 AM, Steven M. Parrish wrote:
If you are going to try out OS10 for the XO-1 here are a few things that 
 need
testing.
   
Does it boot consistently into Sugar?  Gnome?
   
Any strange lockups?  If so what were you doing?
   
Can you upgrade packages using yum update from the command line?
   
Does sound work?
   
Can you suspend?  Does it wake up?
   
   
Please report any issues you have.
   
Steven
   
   
   ___
   Devel mailing list
   Devel@lists.laptop.org
   http://lists.laptop.org/listinfo/devel
 
 =-
  paul fox, p...@laptop.org
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel
 

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Some testing notes for OS10 for the XO-1

2009-12-15 Thread Paul Fox
=?iso-8859-1?q?c=e9sar?= d. rodas wrote:
  Hello Paul,
  
  On Mon, 2009-12-14 at 02:43 -0500, Paul Fox wrote:
   smparrish will correct me if i'm wrong, but i believe the release
   you're testing runs powerd, not ohmd.  the presence of the control
   panel, and its inability to control powerd's behavior, is a bug,
   or an unimplemented feature -- take your pick.
   
   (you can disable powerd if you wish, with initctl stop powerd,
   and move /etc/events.d/powerd elsewhere.  then start ohmd as you
   did below.)
  
  I did it in a XO-1 and it's still having issues with the resume. I've
  looked at the /var/log/messages and dmesg and there is nothing weird
  there.
  
  Can you please give a clue about what should I do about it?

as i said earlier -- i have no time to look at this now.  getting 1.5
working is taking priority at present.

paul

  
  Regards,
  
   
   i'm curious about the keyboard/mouse not waking things up properly,
   but i have zero time to look at it currently.
   
   to prevent powerd from suspending the laptop, edit /etc/powerd/powerd.conf,
   and adjust the timeout s to something big, like 9.
   
   paul
   
   philipp wrote:
 Switching off pm doesn't work (with control panel GUI or command):
 [o...@xo-11-08-d6 logs]$ sugar-control-panel -s automatic_pm off
 /usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: 
 the sha module is deprecated; use the hashlib module instead
import sha
 sugar-control-panel: org.freedesktop.DBus.Error.ServiceUnknown: The 
   name 
 org.freedesktop.ohm was not provided by any .service files
 
 After starting ohmd with sudo service ohmd start (per default service 
 ohmd is off for all runlevels) it is possible to switch off 
   automatic_pm 
 (at least no error anymore), but it still suspends after some time and 
 with resume is the same problem as before.
 
 Is ohmd supposed to be on or off?
 
 On 12/12/2009 01:55 AM, Steven M. Parrish wrote:
  If you are going to try out OS10 for the XO-1 here are a few things 
   that 
  need
  testing.
 
  Does it boot consistently into Sugar?  Gnome?
 
  Any strange lockups?  If so what were you doing?
 
  Can you upgrade packages using yum update from the command line?
 
  Does sound work?
 
  Can you suspend?  Does it wake up?
 
 
  Please report any issues you have.
 
  Steven
 
 
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel
   
   =-
paul fox, p...@laptop.org
   ___
   Devel mailing list
   Devel@lists.laptop.org
   http://lists.laptop.org/listinfo/devel
   

=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Some testing notes for OS10 for the XO-1

2009-12-14 Thread Philipp Kocher

Keyboard/Mouse problem after resume:
- external USB keyboard works fine after resume

- I have attached an extract of the messages file with suspend, wait 5 
min, resume (suspend and resume with power button), but I don't know 
what could be related to keyboard/mouse.


On 12/14/2009 02:43 PM, Paul Fox wrote:

smparrish will correct me if i'm wrong, but i believe the release
you're testing runs powerd, not ohmd.  the presence of the control
panel, and its inability to control powerd's behavior, is a bug,
or an unimplemented feature -- take your pick.

(you can disable powerd if you wish, with initctl stop powerd,
and move /etc/events.d/powerd elsewhere.  then start ohmd as you
did below.)

i'm curious about the keyboard/mouse not waking things up properly,
but i have zero time to look at it currently.

to prevent powerd from suspending the laptop, edit /etc/powerd/powerd.conf,
and adjust the timeout s to something big, like 9.

paul

philipp wrote:
Switching off pm doesn't work (with control panel GUI or command):
[o...@xo-11-08-d6 logs]$ sugar-control-panel -s automatic_pm off
/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning:
the sha module is deprecated; use the hashlib module instead
   import sha
sugar-control-panel: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.ohm was not provided by any .service files
  
After starting ohmd with sudo service ohmd start (per default service
ohmd is off for all runlevels) it is possible to switch off automatic_pm
(at least no error anymore), but it still suspends after some time and
with resume is the same problem as before.
  
Is ohmd supposed to be on or off?
  
On 12/12/2009 01:55 AM, Steven M. Parrish wrote:
  If you are going to try out OS10 for the XO-1 here are a few things 
that need
  testing.

  Does it boot consistently into Sugar?  Gnome?

  Any strange lockups?  If so what were you doing?

  Can you upgrade packages using yum update from the command line?

  Does sound work?

  Can you suspend?  Does it wake up?


  Please report any issues you have.

  Steven


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

=-
  paul fox, p...@laptop.org

Dec 14 09:45:22 xo-11-08-d6 kernel: [ 1133.472876] dcon_freeze_store: 1
Dec 14 09:45:22 xo-11-08-d6 kernel: [ 1133.472935] dcon_source_switch to DCON
Dec 14 09:45:22 xo-11-08-d6 olpc-kbdshim-hal[1618]: idle timers set to 120 130 
240
Dec 14 09:45:22 xo-11-08-d6 kernel: [ 1133.490375] olpc-dcon: The DCON has 
control
Dec 14 09:45:22 xo-11-08-d6 kernel: [ 1133.580215] dcon_freeze_store: 1
Dec 14 09:45:23 xo-11-08-d6 kernel: [ 1134.435189] dcon_freeze_store: 0
Dec 14 09:45:23 xo-11-08-d6 kernel: [ 1134.435235] dcon_source_switch to CPU
Dec 14 09:45:23 xo-11-08-d6 kernel: [ 1134.456591] olpc-dcon: The CPU has 
control
Dec 14 09:45:29 xo-11-08-d6 kernel: [ 1140.549089] usb 1-1: USB disconnect, 
address 8
Dec 14 09:45:29 xo-11-08-d6 avahi-daemon[1510]: Interface eth0.IPv4 no longer 
relevant for mDNS.
Dec 14 09:45:29 xo-11-08-d6 avahi-daemon[1510]: Leaving mDNS multicast group on 
interface eth0.IPv4 with address 192.168.1.144.
Dec 14 09:45:29 xo-11-08-d6 avahi-daemon[1510]: Withdrawing address record for 
fe80::217:c4ff:fe11:8d6 on eth0.
Dec 14 09:45:29 xo-11-08-d6 avahi-daemon[1510]: Withdrawing address record for 
192.168.1.144 on eth0.
Dec 14 09:45:29 xo-11-08-d6 dhclient: receive_packet failed on eth0: Network is 
down
Dec 14 09:45:29 xo-11-08-d6 NetworkManager: info  (eth0): supplicant 
connection state:  completed - disconnected
Dec 14 09:45:29 xo-11-08-d6 NetworkManager: info  (eth0): now unmanaged
Dec 14 09:45:29 xo-11-08-d6 NetworkManager: info  (eth0): device state 
change: 8 - 1 (reason 36)
Dec 14 09:45:29 xo-11-08-d6 NetworkManager: info  (eth0): deactivating device 
(reason: 36).
Dec 14 09:45:29 xo-11-08-d6 NetworkManager: info  eth0: canceled DHCP 
transaction, dhcp client pid 3038



Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1140.63] PM: Syncing filesystems ... 
done.
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1140.640153] Freezing user space 
processes ... (elapsed 0.01 seconds) done.
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1140.658149] Freezing remaining freezable 
tasks ... (elapsed 1.08 seconds) done.
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.746749] Suspending console(s) (use 
no_console_suspend to debug)
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.767021] mmc_suspend_host: turning 
off power on mmc0
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.767047] sdhci_set_ios: power off for 
mmc0 from c05e60d1
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.767155] sdhci-pci :00:0c.1: PME# 
disabled
Dec 14 09:50:51 xo-11-08-d6 kernel: [ 1141.773519] sdhci_pci_probe: Enable PME 
set to 0x1a0c108
Dec 14 09:50:51 xo-11-08-d6 kernel: 

Re: Some testing notes for OS10 for the XO-1

2009-12-14 Thread John Maloney
Good news!

As I recall, that same issue came up in 802 as well -- with a similar  
fix.

-- John


On Dec 13, 2009, at 10:15 PM, Philipp Kocher wrote:

 The Prolific driver gets loaded (see logs at the bottom).
 The problem are the permissions.
 After plugging in the scratch board ll /dev/ttyUSB0 shows:
 crw-rw 1 root dialout 188, 0 2009-12-14 09:52 /dev/ttyUSB0

 User olpc is not in group dialout which means it doesn't have access  
 to ttyUSB0.

 After adding olpc to group dialout the scratch board works fine.

 Regards,
 Philipp

 On 12/13/2009 11:17 PM, John Maloney wrote:
 Hi, Steven.

 The USB-serial cable that comes with the Scratch Sensor board needs a
 driver from Prolifix. That driver used to be included in the  
 builds, but
 perhaps it was accidentally dropped?

 If you use a supported USB-serial adaptor cable, then I think the
 ScratchBoard will work.

 I just got a report that sound playback is rough on XO 1.5:

 http://dev.laptop.org/ticket/9375

 I'm guessing this is caused by a switch from ALSA to PulseAudio.  
 We've
 seen that on Ubuntu; we still working to resolve the problem.  
 PulseAudio
 itself has some buffering issues, although it appears that folks are
 working on those. The problems tend to show up more in applications
 where sounds are triggered dynamically, such as Scratch, EToys, and
 games, vs. playing music.

 -- John

 On Dec 13, 2009, at 4:00 AM, Philipp Kocher wrote:

 Hi Steven

 - The scratch sensor board doesn't work (works with build 802)
 I hoped allow olpc access to ttyUSB nodes (from release notes  
 os10)
 would make it work. I added an extract of /var/log/messages at the
 bottom of the email.

 - timezone can not be changed in gnome since administration menu is
 missing (changing the timezone in sugar control panel has no  
 effect in
 gnome). And talking about time, I think the clock activity is really
 nice and useful.

 - build information OLPC release 11 (Leonidas) in sugar control
 panel is more confusing than helpful. What about 10 (based on  
 Fedora
 11)?

 Does it boot consistently into Sugar? Gnome?
 Worked fine here.
 Does sound work?
 Yes,no problem.
 Can you suspend? Does it wake up?
 Suspend yes, but no proper wake up as mentioned by other testers
 (but the shutdown with the power button is really nice and useful).

 Regards,
 Philipp

 Plug in Scratch Sensor board with build 10 on Fedora 11:
 Dec 12 07:56:16 xo-11-08-d6 kernel: [ 88.687028] usb 1-2: new full
 speed USB device using ohci_hcd and address 2
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 88.908698] usb 1-2: configura
 tion #1 chosen from 1 choice
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.080490] usbcore: registere
 d new interface driver usbserial
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.080490] USB Serial support
 registered for generic
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.080490] usbcore: registere
 d new interface driver usbserial_generic
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.080490] usbserial: USB Ser
 ial Driver core
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.162673] USB Serial support
 registered for pl2303
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.162861] pl2303 1-2:1.0: pl
 2303 converter detected
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.185652] usb 1-2: pl2303 co
 nverter now attached to ttyUSB0
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.185960] usbcore: registere
 d new interface driver pl2303
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.185982] pl2303: Prolific P
 L2303 USB to serial adaptor driver
 Dec 12 07:56:17 xo-11-08-d6 NetworkManager: info (ttyUSB0): ignori
 ng due to lack of mobile broadband capabilties


 Plug in Scratch Sensor board with build 802 on Fedora 9:
 Dec 13 08:48:55 localhost kernel: [ 155.465098] hub_port_wait_reset:
 portstatus=501 portchange=10
 Dec 13 08:48:55 localhost kernel: [ 155.536006] hub_port_wait_reset:
 portstatus=100 portchange=1
 Dec 13 08:48:55 localhost kernel: [ 155.539599] hub_port_wait_reset:
 device went away!
 Dec 13 08:48:55 localhost kernel: [ 155.549596] hub 2-0:1.0:  
 unable to
 enumerate USB device on port 2
 Dec 13 08:48:55 localhost kernel: [ 155.831725] hub_port_wait_reset:
 portstatus=103 portchange=10
 Dec 13 08:48:55 localhost kernel: [ 155.904029] usb 1-2: new full
 speed USB device using ohci_hcd and address 4
 Dec 13 08:48:55 localhost kernel: [ 155.997296] hub_port_wait_reset:
 portstatus=103 portchange=10
 Dec 13 08:48:56 localhost kernel: [ 156.077180] usb 1-2:  
 configuration
 #1 chosen from 1 choice
 Dec 13 08:48:56 localhost kernel: [ 156.413019] usbcore: registered
 new interface driver usbserial
 Dec 13 08:48:56 localhost kernel: [ 156.417722]
 drivers/usb/serial/usb-serial.c: USB Serial support registered for
 generic
 Dec 13 08:48:56 localhost kernel: [ 156.431937] usbcore: registered
 new interface driver usbserial_generic
 Dec 13 08:48:56 localhost kernel: [ 156.439535]
 drivers/usb/serial/usb-serial.c: USB Serial Driver core
 Dec 13 08:48:56 localhost kernel: [ 156.476346]
 

Re: Some testing notes for OS10 for the XO-1

2009-12-13 Thread Philipp Kocher
Hi Steven

- The scratch sensor board doesn't work (works with build 802)
   I hoped allow olpc access to ttyUSB nodes (from release notes os10) 
would make it work. I added an extract of /var/log/messages at the 
bottom of the email.

- timezone can not be changed in gnome since administration menu is 
missing (changing the timezone in sugar control panel has no effect in 
gnome). And talking about time, I think the clock activity is really 
nice and useful.

- build information OLPC release 11 (Leonidas) in sugar control panel 
is more confusing than helpful. What about 10 (based on Fedora 11)?

 Does it boot consistently into Sugar?  Gnome?
Worked fine here.
 Does sound work?
Yes,no problem.
 Can you suspend?  Does it wake up?
Suspend yes, but no proper wake up as mentioned by other testers
(but the shutdown with the power button is really nice and useful).

Regards,
Philipp

Plug in Scratch Sensor board with build 10 on Fedora 11:
Dec 12 07:56:16 xo-11-08-d6 kernel: [   88.687028] usb 1-2: new full
speed USB device using ohci_hcd and address 2
Dec 12 07:56:17 xo-11-08-d6 kernel: [   88.908698] usb 1-2: configura
tion #1 chosen from 1 choice
Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.080490] usbcore: registere
d new interface driver usbserial
Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.080490] USB Serial support
  registered for generic
Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.080490] usbcore: registere
d new interface driver usbserial_generic
Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.080490] usbserial: USB Ser
ial Driver core
Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.162673] USB Serial support
  registered for pl2303
Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.162861] pl2303 1-2:1.0: pl
2303 converter detected
Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.185652] usb 1-2: pl2303 co
nverter now attached to ttyUSB0
Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.185960] usbcore: registere
d new interface driver pl2303
Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.185982] pl2303: Prolific P
L2303 USB to serial adaptor driver
Dec 12 07:56:17 xo-11-08-d6 NetworkManager: info  (ttyUSB0): ignori
ng due to lack of mobile broadband capabilties


Plug in Scratch Sensor board with build 802 on Fedora 9:
Dec 13 08:48:55 localhost kernel: [  155.465098] hub_port_wait_reset: 
portstatus=501 portchange=10
Dec 13 08:48:55 localhost kernel: [  155.536006] hub_port_wait_reset: 
portstatus=100 portchange=1
Dec 13 08:48:55 localhost kernel: [  155.539599] hub_port_wait_reset: 
device went away!
Dec 13 08:48:55 localhost kernel: [  155.549596] hub 2-0:1.0: unable to 
enumerate USB device on port 2
Dec 13 08:48:55 localhost kernel: [  155.831725] hub_port_wait_reset: 
portstatus=103 portchange=10
Dec 13 08:48:55 localhost kernel: [  155.904029] usb 1-2: new full speed 
USB device using ohci_hcd and address 4
Dec 13 08:48:55 localhost kernel: [  155.997296] hub_port_wait_reset: 
portstatus=103 portchange=10
Dec 13 08:48:56 localhost kernel: [  156.077180] usb 1-2: configuration 
#1 chosen from 1 choice
Dec 13 08:48:56 localhost kernel: [  156.413019] usbcore: registered new 
interface driver usbserial
Dec 13 08:48:56 localhost kernel: [  156.417722] 
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Dec 13 08:48:56 localhost kernel: [  156.431937] usbcore: registered new 
interface driver usbserial_generic
Dec 13 08:48:56 localhost kernel: [  156.439535] 
drivers/usb/serial/usb-serial.c: USB Serial Driver core
Dec 13 08:48:56 localhost kernel: [  156.476346] 
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
Dec 13 08:48:56 localhost kernel: [  156.479963] pl2303 1-2:1.0: pl2303 
converter detected
Dec 13 08:48:56 localhost kernel: [  156.516365] usb 1-2: pl2303 
converter now attached to ttyUSB0
Dec 13 08:48:56 localhost kernel: [  156.522309] usbcore: registered new 
interface driver pl2303
Dec 13 08:48:56 localhost kernel: [  156.536892] 
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Some testing notes for OS10 for the XO-1

2009-12-13 Thread John Maloney
Hi, Steven.

The USB-serial cable that comes with the Scratch Sensor board needs a  
driver from Prolifix. That driver used to be included in the builds,  
but perhaps it was accidentally dropped?

If you use a supported USB-serial adaptor cable, then I think the  
ScratchBoard will work.

I just got a report that sound playback is rough on XO 1.5:

   http://dev.laptop.org/ticket/9375

I'm guessing this is caused by a switch from ALSA to PulseAudio. We've  
seen that on Ubuntu;  we still working to resolve the problem.  
PulseAudio itself has some buffering issues, although it appears that  
folks are working on those. The problems tend to show up more in  
applications where sounds are triggered dynamically, such as Scratch,  
EToys, and games, vs. playing music.

-- John

On Dec 13, 2009, at 4:00 AM, Philipp Kocher wrote:

 Hi Steven

 - The scratch sensor board doesn't work (works with build 802)
  I hoped allow olpc access to ttyUSB nodes (from release notes  
 os10) would make it work. I added an extract of /var/log/messages at  
 the bottom of the email.

 - timezone can not be changed in gnome since administration menu is  
 missing (changing the timezone in sugar control panel has no effect  
 in gnome). And talking about time, I think the clock activity is  
 really nice and useful.

 - build information OLPC release 11 (Leonidas) in sugar control  
 panel is more confusing than helpful. What about 10 (based on  
 Fedora 11)?

 Does it boot consistently into Sugar?  Gnome?
 Worked fine here.
 Does sound work?
 Yes,no problem.
 Can you suspend?  Does it wake up?
 Suspend yes, but no proper wake up as mentioned by other testers
 (but the shutdown with the power button is really nice and useful).

 Regards,
 Philipp

 Plug in Scratch Sensor board with build 10 on Fedora 11:
 Dec 12 07:56:16 xo-11-08-d6 kernel: [   88.687028] usb 1-2: new full
 speed USB device using ohci_hcd and address 2
 Dec 12 07:56:17 xo-11-08-d6 kernel: [   88.908698] usb 1-2: configura
 tion #1 chosen from 1 choice
 Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.080490] usbcore: registere
 d new interface driver usbserial
 Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.080490] USB Serial support
 registered for generic
 Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.080490] usbcore: registere
 d new interface driver usbserial_generic
 Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.080490] usbserial: USB Ser
 ial Driver core
 Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.162673] USB Serial support
 registered for pl2303
 Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.162861] pl2303 1-2:1.0: pl
 2303 converter detected
 Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.185652] usb 1-2: pl2303 co
 nverter now attached to ttyUSB0
 Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.185960] usbcore: registere
 d new interface driver pl2303
 Dec 12 07:56:17 xo-11-08-d6 kernel: [   89.185982] pl2303: Prolific P
 L2303 USB to serial adaptor driver
 Dec 12 07:56:17 xo-11-08-d6 NetworkManager: info  (ttyUSB0): ignori
 ng due to lack of mobile broadband capabilties


 Plug in Scratch Sensor board with build 802 on Fedora 9:
 Dec 13 08:48:55 localhost kernel: [  155.465098]  
 hub_port_wait_reset: portstatus=501 portchange=10
 Dec 13 08:48:55 localhost kernel: [  155.536006]  
 hub_port_wait_reset: portstatus=100 portchange=1
 Dec 13 08:48:55 localhost kernel: [  155.539599]  
 hub_port_wait_reset: device went away!
 Dec 13 08:48:55 localhost kernel: [  155.549596] hub 2-0:1.0: unable  
 to enumerate USB device on port 2
 Dec 13 08:48:55 localhost kernel: [  155.831725]  
 hub_port_wait_reset: portstatus=103 portchange=10
 Dec 13 08:48:55 localhost kernel: [  155.904029] usb 1-2: new full  
 speed USB device using ohci_hcd and address 4
 Dec 13 08:48:55 localhost kernel: [  155.997296]  
 hub_port_wait_reset: portstatus=103 portchange=10
 Dec 13 08:48:56 localhost kernel: [  156.077180] usb 1-2:  
 configuration #1 chosen from 1 choice
 Dec 13 08:48:56 localhost kernel: [  156.413019] usbcore: registered  
 new interface driver usbserial
 Dec 13 08:48:56 localhost kernel: [  156.417722] drivers/usb/serial/ 
 usb-serial.c: USB Serial support registered for generic
 Dec 13 08:48:56 localhost kernel: [  156.431937] usbcore: registered  
 new interface driver usbserial_generic
 Dec 13 08:48:56 localhost kernel: [  156.439535] drivers/usb/serial/ 
 usb-serial.c: USB Serial Driver core
 Dec 13 08:48:56 localhost kernel: [  156.476346] drivers/usb/serial/ 
 usb-serial.c: USB Serial support registered for pl2303
 Dec 13 08:48:56 localhost kernel: [  156.479963] pl2303 1-2:1.0:  
 pl2303 converter detected
 Dec 13 08:48:56 localhost kernel: [  156.516365] usb 1-2: pl2303  
 converter now attached to ttyUSB0
 Dec 13 08:48:56 localhost kernel: [  156.522309] usbcore: registered  
 new interface driver pl2303
 Dec 13 08:48:56 localhost kernel: [  156.536892] drivers/usb/serial/ 
 pl2303.c: Prolific PL2303 USB to serial adaptor driver


Re: Some testing notes for OS10 for the XO-1

2009-12-13 Thread Philipp Kocher
The Prolific driver gets loaded (see logs at the bottom).
The problem are the permissions.
After plugging in the scratch board ll /dev/ttyUSB0 shows:
crw-rw 1 root dialout 188, 0 2009-12-14 09:52 /dev/ttyUSB0

User olpc is not in group dialout which means it doesn't have access to 
ttyUSB0.

After adding olpc to group dialout the scratch board works fine.

Regards,
Philipp

On 12/13/2009 11:17 PM, John Maloney wrote:
 Hi, Steven.

 The USB-serial cable that comes with the Scratch Sensor board needs a
 driver from Prolifix. That driver used to be included in the builds, but
 perhaps it was accidentally dropped?

 If you use a supported USB-serial adaptor cable, then I think the
 ScratchBoard will work.

 I just got a report that sound playback is rough on XO 1.5:

 http://dev.laptop.org/ticket/9375

 I'm guessing this is caused by a switch from ALSA to PulseAudio. We've
 seen that on Ubuntu; we still working to resolve the problem. PulseAudio
 itself has some buffering issues, although it appears that folks are
 working on those. The problems tend to show up more in applications
 where sounds are triggered dynamically, such as Scratch, EToys, and
 games, vs. playing music.

 -- John

 On Dec 13, 2009, at 4:00 AM, Philipp Kocher wrote:

 Hi Steven

 - The scratch sensor board doesn't work (works with build 802)
 I hoped allow olpc access to ttyUSB nodes (from release notes os10)
 would make it work. I added an extract of /var/log/messages at the
 bottom of the email.

 - timezone can not be changed in gnome since administration menu is
 missing (changing the timezone in sugar control panel has no effect in
 gnome). And talking about time, I think the clock activity is really
 nice and useful.

 - build information OLPC release 11 (Leonidas) in sugar control
 panel is more confusing than helpful. What about 10 (based on Fedora
 11)?

 Does it boot consistently into Sugar? Gnome?
 Worked fine here.
 Does sound work?
 Yes,no problem.
 Can you suspend? Does it wake up?
 Suspend yes, but no proper wake up as mentioned by other testers
 (but the shutdown with the power button is really nice and useful).

 Regards,
 Philipp

 Plug in Scratch Sensor board with build 10 on Fedora 11:
 Dec 12 07:56:16 xo-11-08-d6 kernel: [ 88.687028] usb 1-2: new full
 speed USB device using ohci_hcd and address 2
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 88.908698] usb 1-2: configura
 tion #1 chosen from 1 choice
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.080490] usbcore: registere
 d new interface driver usbserial
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.080490] USB Serial support
 registered for generic
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.080490] usbcore: registere
 d new interface driver usbserial_generic
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.080490] usbserial: USB Ser
 ial Driver core
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.162673] USB Serial support
 registered for pl2303
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.162861] pl2303 1-2:1.0: pl
 2303 converter detected
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.185652] usb 1-2: pl2303 co
 nverter now attached to ttyUSB0
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.185960] usbcore: registere
 d new interface driver pl2303
 Dec 12 07:56:17 xo-11-08-d6 kernel: [ 89.185982] pl2303: Prolific P
 L2303 USB to serial adaptor driver
 Dec 12 07:56:17 xo-11-08-d6 NetworkManager: info (ttyUSB0): ignori
 ng due to lack of mobile broadband capabilties


 Plug in Scratch Sensor board with build 802 on Fedora 9:
 Dec 13 08:48:55 localhost kernel: [ 155.465098] hub_port_wait_reset:
 portstatus=501 portchange=10
 Dec 13 08:48:55 localhost kernel: [ 155.536006] hub_port_wait_reset:
 portstatus=100 portchange=1
 Dec 13 08:48:55 localhost kernel: [ 155.539599] hub_port_wait_reset:
 device went away!
 Dec 13 08:48:55 localhost kernel: [ 155.549596] hub 2-0:1.0: unable to
 enumerate USB device on port 2
 Dec 13 08:48:55 localhost kernel: [ 155.831725] hub_port_wait_reset:
 portstatus=103 portchange=10
 Dec 13 08:48:55 localhost kernel: [ 155.904029] usb 1-2: new full
 speed USB device using ohci_hcd and address 4
 Dec 13 08:48:55 localhost kernel: [ 155.997296] hub_port_wait_reset:
 portstatus=103 portchange=10
 Dec 13 08:48:56 localhost kernel: [ 156.077180] usb 1-2: configuration
 #1 chosen from 1 choice
 Dec 13 08:48:56 localhost kernel: [ 156.413019] usbcore: registered
 new interface driver usbserial
 Dec 13 08:48:56 localhost kernel: [ 156.417722]
 drivers/usb/serial/usb-serial.c: USB Serial support registered for
 generic
 Dec 13 08:48:56 localhost kernel: [ 156.431937] usbcore: registered
 new interface driver usbserial_generic
 Dec 13 08:48:56 localhost kernel: [ 156.439535]
 drivers/usb/serial/usb-serial.c: USB Serial Driver core
 Dec 13 08:48:56 localhost kernel: [ 156.476346]
 drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
 Dec 13 08:48:56 localhost kernel: [ 156.479963] pl2303 1-2:1.0: pl2303
 converter detected
 Dec 13 08:48:56 localhost kernel: [ 

Re: Some testing notes for OS10 for the XO-1

2009-12-13 Thread Philipp Kocher
Switching off pm doesn't work (with control panel GUI or command):
[o...@xo-11-08-d6 logs]$ sugar-control-panel -s automatic_pm off
/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: 
the sha module is deprecated; use the hashlib module instead
   import sha
sugar-control-panel: org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.freedesktop.ohm was not provided by any .service files

After starting ohmd with sudo service ohmd start (per default service 
ohmd is off for all runlevels) it is possible to switch off automatic_pm 
(at least no error anymore), but it still suspends after some time and 
with resume is the same problem as before.

Is ohmd supposed to be on or off?

On 12/12/2009 01:55 AM, Steven M. Parrish wrote:
 If you are going to try out OS10 for the XO-1 here are a few things that need
 testing.

 Does it boot consistently into Sugar?  Gnome?

 Any strange lockups?  If so what were you doing?

 Can you upgrade packages using yum update from the command line?

 Does sound work?

 Can you suspend?  Does it wake up?


 Please report any issues you have.

 Steven


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Some testing notes for OS10 for the XO-1

2009-12-13 Thread Paul Fox
smparrish will correct me if i'm wrong, but i believe the release
you're testing runs powerd, not ohmd.  the presence of the control
panel, and its inability to control powerd's behavior, is a bug,
or an unimplemented feature -- take your pick.

(you can disable powerd if you wish, with initctl stop powerd,
and move /etc/events.d/powerd elsewhere.  then start ohmd as you
did below.)

i'm curious about the keyboard/mouse not waking things up properly,
but i have zero time to look at it currently.

to prevent powerd from suspending the laptop, edit /etc/powerd/powerd.conf,
and adjust the timeout s to something big, like 9.

paul

philipp wrote:
  Switching off pm doesn't work (with control panel GUI or command):
  [o...@xo-11-08-d6 logs]$ sugar-control-panel -s automatic_pm off
  /usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: 
  the sha module is deprecated; use the hashlib module instead
 import sha
  sugar-control-panel: org.freedesktop.DBus.Error.ServiceUnknown: The name 
  org.freedesktop.ohm was not provided by any .service files
  
  After starting ohmd with sudo service ohmd start (per default service 
  ohmd is off for all runlevels) it is possible to switch off automatic_pm 
  (at least no error anymore), but it still suspends after some time and 
  with resume is the same problem as before.
  
  Is ohmd supposed to be on or off?
  
  On 12/12/2009 01:55 AM, Steven M. Parrish wrote:
   If you are going to try out OS10 for the XO-1 here are a few things that 
   need
   testing.
  
   Does it boot consistently into Sugar?  Gnome?
  
   Any strange lockups?  If so what were you doing?
  
   Can you upgrade packages using yum update from the command line?
  
   Does sound work?
  
   Can you suspend?  Does it wake up?
  
  
   Please report any issues you have.
  
   Steven
  
  
  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel

=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Some testing notes for OS10 for the XO-1

2009-12-12 Thread Hal Murray
The display startup quirk in OS9 has been fixed.


 Can you suspend?  Does it wake up?

No.  Something in that area is broken.

What's the simplest/cleanest way to disable suspend so we can look for other 
quirks?  (and have a useful machine)



-- 
These are my opinions, not necessarily my employer's.  I hate spam.



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Some testing notes for OS10 for the XO-1

2009-12-11 Thread Gary C Martin
Hi Steven,

Testing on XO-1 CL1.

On 11 Dec 2009, at 18:55, Steven M. Parrish wrote:

 If you are going to try out OS10 for the XO-1 here are a few things that need 
 testing.
 
 Does it boot consistently into Sugar?  Gnome?

Yes, but only tested over a few reboot cycles for each.

 Any strange lockups?  If so what were you doing?

- Trackpad and keyboard stop working after letting XO to go into sleep. Power 
button wakes machine, backlight on, interface redraws, but no keyboard or 
mouse. Used power button to cycle sleeping/waking several times but no change. 
2 presses of power button to switch off and try again.

- Manually putting to sleep with the power button, same result. Interestingly, 
when the machine is asleep, moving the mouse or pressing keys does make the 
power led light up, but once machine is awake mouse and keys are dead again.

- Seemed to break after dcon freeze (you can usually see the screen briefly 
jump/glitch), wiggling the mouse right after the screen glitch but before the 
screen blanked still lost keyboard and mouse input (at least on two occasions).

 Can you upgrade packages using yum update from the command line?

- Yes, tested both an install of vim, then a general update.

 Does sound work?

- Yes, tested in TamTam, Speak, Pippy, Memorize, Record.

 Can you suspend?  Does it wake up?

- Yes, but with loss of keyboard and mouse as noted above.

 Please report any issues you have.

- For the majority of Activities I checked (Speak, Turtle Art, Moon, Memorize, 
Pippy, Read, Calculate, Labyrinth, Chat, Record, anything with the default 
Activity toolbar name/share/keep/stop), the Activity toolbar content now a tiny 
bit longer so that the Stop button is being pushed (by only a few pixels) into 
an overflow drop down menu :-( Did the gtk theme or widgets get tweaked, font 
size looks about right. Oddly enough I'm sure I disable the Share with widget 
in my Moon and Labyrinth activity code (as they don't yet support sharing), but 
they are now both showing the Share with widget in the toolbar, h

- Record Activity only showing an audio tab, so can't test video or photo 
taking ability.

- Booting into Gnome does not recognise the XO battery and shows a battery may 
be broken broken or very low charge warning (I was originally running the XO 
from battery at about 50% charge remaining, but you get the same warning if on 
mains power).

- Still seeing two network device icons in bottom of the Sugar frame.

Regards,
--Gary
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Some testing notes for OS10 for the XO-1

2009-12-11 Thread Yioryos Asprobounitis
Connect on WEP wifi.OK 
Yum update (updated to the newer kernel).   OK
In spite the alsactl complains during boot sound in/out (record, tam-tam, 
speak)is OK

Suspends on lid but on resume the screen comes up but no keyboard or mouse.
On timeouts, dims and sleeps but does not blank. Blanks on keyboard input. 
Wakes up on power button but no keyboard mouse again.
(Un-)checking the power management in the control panel does not change things.

Toolbar does not fit! The stop button does not show in many activities for 
example.

Terminal has huge fonts (2x) 
Typing quotes (“) in Write results in loosing cursor focus.
Touchpad feels more jumpy than usual bat  this can be subjective or incidental

I had all these issues after the last yum update of the unofficial os10 where 
it updated sugar/suagr-toolkit and unfortunately too many other packages to 
remember

--- On Fri, 12/11/09, Steven M. Parrish smparr...@gmail.com wrote:

 From: Steven M. Parrish smparr...@gmail.com
 Subject: Some testing notes for OS10 for the XO-1
 To: fedora-olpc-list fedora-olpc-l...@redhat.com, OLPC Devel 
 devel@lists.laptop.org, Sugar Development 
 sugar-de...@lists.sugarlabs.org, devel-annou...@lists.laptop.org, 
 test...@lists.laptop.org
 Date: Friday, December 11, 2009, 1:55 PM
 If you are going to try out OS10 for
 the XO-1 here are a few things that need 
 testing.
 
 Does it boot consistently into Sugar?  Gnome?
 
 Any strange lockups?  If so what were you doing?
 
 Can you upgrade packages using yum update from the
 command line?
 
 Does sound work?
 
 Can you suspend?  Does it wake up?
 
 
 Please report any issues you have.
 
 Steven
 
 
 -- 
  =
  Steven M. Parrish
 
 -
  gpg fingerprint: 4B6C 8357 059E B7ED 8095 0FD6 1F4B EDA0
 A9A6 13C0
  http://tuxbrewr.fedorapeople.org/
  irc.freenode.net: 
 Nickname: SMParrish 
 Channels: #fedora-kde, #fedora-olpc, #fedora-edu, #sugar,
 #packagekit
 
 ___
 Fedora-olpc-list mailing list
 fedora-olpc-l...@redhat.com
 https://www.redhat.com/mailman/listinfo/fedora-olpc-list
 


  
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel