Some testing notes for OS10 for the XO-1

Philipp Kocher philipp.kocher at gmx.net
Sun Dec 13 22:15:13 EST 2009


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: [ 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
>



More information about the Devel mailing list