Go to advanced search

by rkanton
Tue Dec 20, 2016 10:54 pm
Forum: Official Foundation Display
Topic: Rotate to 90 or 270 degrees
Replies: 14
Views: 9173

Re: Rotate to 90 or 270 degrees

I'm running Jessie logging in as "pi" user. Edit "/home/pi/.config/lxsession/LXDE/autostart" and add the following line: @/home/pi/ts_input.sh Edit "/home/pi/ts_input.sh" and add the "xinput" lines corresponding to your "display_rotate" value For display_rotate=1 add in ts_input.sh: #!/bin/bash /usr...
by rkanton
Tue Oct 18, 2016 6:03 pm
Forum: General discussion
Topic: raspberrypi-sys-mods install failure
Replies: 2
Views: 2323

raspberrypi-sys-mods install failure

I just did a apt-get upgrade today (20161018) and it looks like there is a issue with the raspberrypi-sys-mods post install script. I think there is a missing "fi" before line 45 in the raspberrypi-sys-mods.postinst script. Here's the console output: Setting up raspberrypi-sys-mods (20161018+1) ... ...
by rkanton
Mon May 16, 2016 5:44 pm
Forum: Troubleshooting
Topic: Bluetooth not working after update - need info [obsolete]
Replies: 178
Views: 179697

Re: Bluetooth not working after update - information needed!

After the 5/13/16 upgrade (incl. new 4.4.9 kernel) my pi3 Bluetooth stopped working. I narrowed it down to /dev/serial0 and /dev/serial1 were missing and hence the /lib/systemd/system/hciuart.service failed since it now uses "serial1" instead of "ttyAMA0" in previous releases. This is the script sni...
by rkanton
Sun May 15, 2016 7:08 pm
Forum: Troubleshooting
Topic: Devices /dev/serial0 and /dev/serial1 are not being created
Replies: 4
Views: 6843

Re: Devices /dev/serial0 and /dev/serial1 are not being crea

Thanks for the hint DirkS I did a apt-file search to find the package: > apt-file search 99-com.rules raspberrypi-sys-mods: /etc/udev/rules.d/99-com.rules then installed the package: > apt-get install raspberrypi-sys-mods Now I have the 99-com.rules, which indeed does create the /dev/serial0 and /de...
by rkanton
Sun May 15, 2016 4:54 pm
Forum: Troubleshooting
Topic: Devices /dev/serial0 and /dev/serial1 are not being created
Replies: 4
Views: 6843

Re: Devices /dev/serial0 and /dev/serial1 are not being crea

No I don't have the /etc/udev/rules.d/99-com.rules udev file on my system. If you don't mind could you reply with the contents of the file. That way I can recreate it.

DirkS, do you know what apt package the file should have been included in?
by rkanton
Sun May 15, 2016 11:27 am
Forum: Troubleshooting
Topic: Devices /dev/serial0 and /dev/serial1 are not being created
Replies: 4
Views: 6843

Devices /dev/serial0 and /dev/serial1 are not being created

I am running latest software as of 5/13/16: - Linux rts1 4.4.9-v7+ #884 SMP Fri May 6 17:28:59 BST 2016 armv7l GNU/Linux running. - Latest 5/13/16 release via: apt-get dist-upgrade It appears that /lib/systemd/system/hciuart.service file now uses "serial1" instead of "ttyAMA0" in previous releases. ...
by rkanton
Wed May 06, 2015 4:33 pm
Forum: C/C++
Topic: /dev/ACM0 long turnaround time waiting on EAGAIN
Replies: 7
Views: 3119

Re: /dev/ACM0 long turnaround time waiting on EAGAIN

ijeffsc, I use a select() call to block if there is no read data. Below code is just a snippet. The code is enclosed in a while loop which tries to read up to the expected receive data. At some point it gives up and returns if the expected len is less then received length. The bug I had earlier is t...
by rkanton
Mon Apr 27, 2015 10:57 pm
Forum: C/C++
Topic: /dev/ACM0 long turnaround time waiting on EAGAIN
Replies: 7
Views: 3119

Re: /dev/ACM0 long turnaround time waiting on EAGAIN

A followup to my previous post. Turns out that I had a bug in my read() code that was uncovered when using the rPi 2 and not the B+. I have a multi-threaded app and maybe the issue was exposed because of the quad core architecture in the rPi 2 - it ended being a timing related problem. Anyway, /dev/...
by rkanton
Mon Apr 27, 2015 5:54 pm
Forum: C/C++
Topic: /dev/ACM0 long turnaround time waiting on EAGAIN
Replies: 7
Views: 3119

Re: /dev/ACM0 long turnaround time waiting on EAGAIN

Just want to let you know that I've been experiencing some similar issues with /dev/ttyACM devices. Unlike you however, I'm only seeing the issue with Raspberry Pi 2 and not the B+. I'm running the same kernel version number on both rPi 2 and B+. Linux rp1 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GM...

Go to advanced search