bantammenace2012
Posts: 122
Joined: Mon May 28, 2012 12:18 pm

Re: Jessie Q&A

Mon Jan 25, 2016 11:49 am

How do I get my USB sound card to appear in the Preferences/Audio Device Settings ?
This morning (25 January 2015) I have updated, up-graded and dist-upgraded this morning. I have a Zoom H1 Sound recorder connected by USB which I am using as a mic for Jasper. It is a very common digital recorder.
This is listed in lsusb as:
Bus 001 device 021: ID 1686:0045 ZOOM CORPORATION H4 Digital Recorder
When I type arecord-l I get:
card 1: H1 [H1], device 0: USB AUDIO [USB Audio]
Subdevices: 1/1
Subdevice#0: subdevice #0
Unfortunately when I go to the Preferences/Audio Device settings on the desktop the only device listed is bcm2835.

CaptSpify
Posts: 1
Joined: Mon Jan 25, 2016 7:00 am

Re: Jessie Q&A

Thu Jan 28, 2016 3:03 pm

Has anyone gotten pocketsphinx_continuous working on jessie? I've searched the forums, but I couldn't find anything.

Here's my issue:

When I run it with:

Code: Select all

/usr/local/bin/pocketsphinx_continuous -inmic yes -hmm /usr/local/share/pocketsphinx/model/en-us/en-us/ -dict /etc/voice/8909.dic -samprate 16000/8000/48000 -keyphrase "rapsberry"
I get this as the result:

Code: Select all

INFO: pocketsphinx.c(145): Parsed model-specific feature parameters from /usr/local/share/pocketsphinx/model/en-us/en-us//feat.params
ad_oss.c(115): Failed to open audio device(/dev/dsp): No such file or directory
FATAL: "continuous.c", line 245: Failed to open audio device
So, I looked around, and found that I need to wrap it in "padsp". So I tried this:

Code: Select all

padsp -d /usr/local/bin/pocketsphinx_continuous -inmic yes -hmm /usr/local/share/pocketsphinx/model/en-us/en-us/ -dict /etc/voice/8909. dic -samprate 16000/8000/48000 -keyphrase "raspberry"
and got:

Code: Select all

INFO: pocketsphinx.c(145): Parsed model-specific feature parameters from /usr/local/share/pocketsphinx/model/en-us/en-us//feat.params
INFO: continuous.c(305): /usr/local/bin/pocketsphinx_continuous COMPILED ON: Jan 19 2016, AT: 11:31:55

utils/padsp.c: dsp_open()
utils/padsp.c: fd_info_new()
utils/padsp.c: atfork_prepare() enter
utils/padsp.c: atfork_prepare() exit
utils/padsp.c: atfork_parent() enter
utils/padsp.c: atfork_parent() exit
utils/padsp.c: atfork_child() enter
utils/padsp.c: atfork_child() exit
And it just sits there, waiting for input. No matter what I say though, it doesn't seem to hear me. I've tried changing my keyword and everything, to no avail. I can confirm that it records with:

Code: Select all

timeout 3 arecord -d 3 -f cd --channels=1 -t wav -D sysdefault -r 16000 /dev/shm/noise.wav
and

Code: Select all

/usr/local/bin/pocketsphinx_continuous -infile /dev/shm/noise.wav -hmm /usr/local/share/pocketsphinx/model/en-us/en-us/ -lm /etc/voice/8909.lm -dict /etc/voice/8909.dic -samprate 16000/8000/48000
works as well, so I know the mic works.

LMK if any other info is needed

mabrown
Posts: 5
Joined: Sat Jan 23, 2016 1:21 am

Re: Jessie Q&A

Tue Feb 02, 2016 1:22 am

After a clean install of Jessie on a Pi Zero, followed by expanding the filesystem and enabling SPI and I2C, followed by apt-get update/apt-get upgrade, followed by rpi-update, I'm unable to get a clean boot of the device.
The boot process begins, then hangs for 10 seconds at
[time index] uart-pl011 20201000.uart: no DMA platform data
10 seconds later, I get:
[time index] mmc0: timeout waiting for hardware interrupt.
[time index] mmc0: cmd op <some number> arg <some hex number> flags 0xb5 - resp 00000900 00000000 00000000 00000000, err 0
[time index] mmc0: data blocks 8 blksz 200 - err 0
[time index] =========== REGISTER DUMP ============
<register values>
[time index] ======================================
[time index] mmcblk0: error -110 transferring data, sector <some number> nr 8, cmd response 0x900, card status 0xb00

After 10 second delays, I see similar messages a total of 9 times before getting what appears to be a stack trace and a halt.

Any advice?
Thanks!

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4690
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Jessie Q&A

Tue Feb 02, 2016 6:21 am

mabrown wrote:After a clean install of Jessie on a Pi Zero, followed by expanding the filesystem and enabling SPI and I2C, followed by apt-get update/apt-get upgrade, followed by rpi-update, I'm unable to get a clean boot of the device.
The boot process begins, then hangs for 10 seconds at
[time index] uart-pl011 20201000.uart: no DMA platform data
10 seconds later, I get:
[time index] mmc0: timeout waiting for hardware interrupt.
[time index] mmc0: cmd op <some number> arg <some hex number> flags 0xb5 - resp 00000900 00000000 00000000 00000000, err 0
[time index] mmc0: data blocks 8 blksz 200 - err 0
[time index] =========== REGISTER DUMP ============
<register values>
[time index] ======================================
[time index] mmcblk0: error -110 transferring data, sector <some number> nr 8, cmd response 0x900, card status 0xb00

After 10 second delays, I see similar messages a total of 9 times before getting what appears to be a stack trace and a halt.

Any advice?
Thanks!
Known problem that's being looked into. For now, you can enable the mmc driver overlay by adding dtoverlay=mmc to /boot/config.txt

mabrown
Posts: 5
Joined: Sat Jan 23, 2016 1:21 am

Re: Jessie Q&A

Wed Feb 03, 2016 12:01 am

ShiftPlusOne wrote:
mabrown wrote:After a clean install of Jessie on a Pi Zero, followed by expanding the filesystem and enabling SPI and I2C, followed by apt-get update/apt-get upgrade, followed by rpi-update, I'm unable to get a clean boot of the device.
The boot process begins, then hangs for 10 seconds at
[time index] uart-pl011 20201000.uart: no DMA platform data
10 seconds later, I get:
[time index] mmc0: timeout waiting for hardware interrupt.
[time index] mmc0: cmd op <some number> arg <some hex number> flags 0xb5 - resp 00000900 00000000 00000000 00000000, err 0
[time index] mmc0: data blocks 8 blksz 200 - err 0
[time index] =========== REGISTER DUMP ============
<register values>
[time index] ======================================
[time index] mmcblk0: error -110 transferring data, sector <some number> nr 8, cmd response 0x900, card status 0xb00

After 10 second delays, I see similar messages a total of 9 times before getting what appears to be a stack trace and a halt.

Any advice?
Thanks!
Known problem that's being looked into. For now, you can enable the mmc driver overlay by adding dtoverlay=mmc to /boot/config.txt
Thanks! That seems to have done the trick!
--mab

stasv
Posts: 1
Joined: Mon Feb 08, 2016 8:19 am

Re: Jessie Q&A

Mon Feb 08, 2016 8:34 am

Hi All,

I have a problem installing logwatch on Jessie. Apt is trying to install ALL packages:

Code: Select all

# apt-get install logwatch
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  abiword-common accountsservice adplug-utils adwaita-icon-theme aglfn aisleriot alacarte alien alsa-base anacron ant ant-doc
  ant-gcj ant-optional antiword apache2 apache2-bin apache2-data apache2-doc apache2-suexec-pristine apache2-utils apel apg apmd

... a lot of output skipped ...

 
  usbmuxd v4l-conf va-driver-all vcdimager vdpau-va-driver vim vim-addon-manager vim-doc vim-migemo vim-runtime vim-scripts
  vinagre vino vm voikko-fi vorbis-tools vpnc vpnc-scripts vprerex w3-recs w3m w3m-el w3m-img wamerican weblint-perl whois wodim
  wv wvdial x11-common x11-utils x11-xkb-utils x11-xserver-utils x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev
  x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev x11proto-xf86vidmode-dev xalan xapm
  xaw3dg xawtv xawtv-plugin-qt xawtv-plugins xbitmaps xboard xbrlapi xdaliclock xdg-user-dirs-gtk xdg-utils xemacs21
  xemacs21-basesupport xemacs21-bin xemacs21-mule xemacs21-mulesupport xemacs21-support xemacs21-supportel xfig xfig-doc xfig-libs
  xfishtank xfonts-75dpi xfonts-base xfonts-cyrillic xfonts-encodings xfonts-mathml xfonts-scalable xfonts-utils xfsdump xfsprogs
  xhtml2ps xindy xindy-rules xine-ui xinput xlhtml xloadimage xml-twig-tools xmp xnest xorg-docs xorg-docs-core xorg-sgml-doctools
  xpdf xpp xsane xsane-common xscreensaver xscreensaver-data xscreensaver-gl xserver-common xserver-xephyr xserver-xorg
  xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-synaptics xserver-xorg-input-wacom
  xserver-xorg-video-all xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-mach64 xserver-xorg-video-modesetting
  xserver-xorg-video-nouveau xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-vesa xsidplay xsltproc xterm
  xtrans-dev xul-ext-adblock-plus xul-ext-gnome-keyring xul-ext-mozvoikko xwayland yelp yelp-xsl zeitgeist zeitgeist-core
  zeitgeist-datahub zenity zenity-common zip zoo
0 upgraded, 2956 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,973 MB/3,081 MB of archives.
After this operation, 8,782 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
Does anybody have seen something like that? 2956 packages installed as dependencies for logwatch can't be ok.

Update: I've found another package with the same issue - postfix.

User avatar
TerryC65
Posts: 57
Joined: Sat May 09, 2015 7:50 am
Location: Wimborne, Dorset, UK

Re: Jessie Q&A

Wed Feb 10, 2016 10:44 am

In the latest blog entry about the upgrades to Jessie, a brief mention is made of the less important changes. Tantalising for me was the statement '.... basic PWM support in the GPIO server, and ....'.

I am currently working through a project using PWM with RPi.GPIO, so would be interested to see more detail. Where can I find the full changelog for this release? I looked, but couldn't find it.

DirkS
Posts: 7619
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Jessie Q&A

Wed Feb 10, 2016 12:09 pm

TerryC65 wrote:In the latest blog entry about the upgrades to Jessie, a brief mention is made of the less important changes. Tantalising for me was the statement '.... basic PWM support in the GPIO server, and ....'.

I am currently working through a project using PWM with RPi.GPIO, so would be interested to see more detail. Where can I find the full changelog for this release? I looked, but couldn't find it.
That paragraph is about changes in Scratch. See viewtopic.php?f=77&t=135720 for a bit more detail

User avatar
TerryC65
Posts: 57
Joined: Sat May 09, 2015 7:50 am
Location: Wimborne, Dorset, UK

Re: Jessie Q&A

Wed Feb 10, 2016 12:17 pm

[/quote]That paragraph is about changes in Scratch. See viewtopic.php?f=77&t=135720 for a bit more detail[/quote]

Thanks. I wasn't sure.

sphonala
Posts: 6
Joined: Thu Jul 23, 2015 6:56 am

jessie not booting to command line after using with 3.5" tft

Thu Feb 11, 2016 11:53 am

hello,
I have downloaded latest raspbian jessie. i have booted it on tinylcd's 3.5 tft using notro's fbtft framebuffer. its working fine. but its not showing any boot messages @ boot time. it directly boots to desktop after some time. i tried same cmdline.txt as hdmi & also with diff loglevel=2,4 etc but not worked. Also, its not booting to command line after changing to boot on command line via raspi-config or not showing command prompt after ctrl+alt+f1,f2,f3 etc. screen goes blank, but its working fine on hdmi?

DirkS
Posts: 7619
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: jessie not booting to command line after using with 3.5"

Thu Feb 11, 2016 11:59 am

sphonala wrote:hello,
I have downloaded latest raspbian jessie. i have booted it on tinylcd's 3.5 tft using notro's fbtft framebuffer. its working fine. but its not showing any boot messages @ boot time. it directly boots to desktop after some time. i tried same cmdline.txt as hdmi & also with diff loglevel=2,4 etc but not worked. Also, its not booting to command line after changing to boot on command line via raspi-config or not showing command prompt after ctrl+alt+f1,f2,f3 etc. screen goes blank, but its working fine on hdmi?
Please start a new topic. This is *not* a Jessie issue...

obx2332xdo
Posts: 1
Joined: Fri Feb 12, 2016 3:21 am

Re: Jessie Q&A

Fri Feb 12, 2016 3:34 am

Hello,
I followed the instructions from viewtopic.php?t=121880 to upgrade from Wheezy to Jessie. Everything upgraded but when I rebooted to complete the upgrade, it prompts me with a login/password. I did not have one before on Wheezy.
I have extensively searched for default login/password combos and have tried the following with no luck:
pi:raspberry
debian:debian
root:root
Anyone have any other suggestions as to what login/password was configured automatically during install?

ppoirier
Posts: 3
Joined: Fri Feb 12, 2016 1:59 pm

Error loading package with new image 2016-02-09

Fri Feb 12, 2016 2:11 pm

Hello ,

I tried to sudo apt-get install v4l2loopback-utils
The installation failed with '' It is likely that 4.1.7-v7+ belongs to a chroot's host''

Here is the Issue: https://github.com/umlaeute/v4l2loopbac ... -548526779

Here is the answer:
This is really an issue of your kernel/headers, and unrelated to v4l2loopback.
I use v4l2loopback with my own compiled kernel 4.4.1 and works flawlessly
please report the bug with the raspbian developers (they should start shipping kernel-headers for their kernels)

Please have the developers aware of this.

Best Regards

Budweiser
Posts: 2
Joined: Mon Feb 15, 2016 9:30 pm

Re: Jessie Q&A

Mon Feb 15, 2016 9:48 pm

Hello,

I just upgraded my RPi 2 from wheezy to jessie. I wanted to try the experimental opengl-driver but it is not available in raspi-config.
According to https://www.raspberrypi.org/blog/anothe ... n-release/
there should be an entry under Advanced->OpenGL which is missing.

I installed all the required packages (xcompmgr libgl1-mesa-dri), purged, reinstalled raspi-config, updated raspi-config using its own gui-ish console and rebooted several times.

Did I miss something? Or is there a way to force hardware acceleration manually?
The hardware accelerated opengl-support was the main reason I updated.

Other than that I'm happy with all the updated packages, so thank you, and keep up the good work! :)

Kind Regards,
Budweiser

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 4111
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Jessie Q&A

Tue Feb 16, 2016 8:52 am

Budweiser wrote:Hello,
I just upgraded my RPi 2 from wheezy to jessie.
...
Budweiser
Did you literally upgrade Wheezy to Jessie or have you downloaded the newest version?
Trev.
Usually running Raspbian Jessie on up to 12 of 13 Pi's (an A, B1, 2xB2, 2xB+, A+, P2B, 3xP0, P0W) and Stretch on my P3B. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

Bosse_B
Posts: 621
Joined: Thu Jan 30, 2014 9:53 am

Re: Jessie Q&A

Tue Feb 16, 2016 9:04 am

From the release page:
If you are running the current Jessie image, it can be updated to the new version by running

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install raspi-gpio
To add the experimental GL driver, you will also need to run

Code: Select all

sudo apt-get install xcompmgr libgl1-mesa-dri
We strongly advise that if you are going to try out the experimental GL driver, that you backup your SD card first.
Notice thta they are talking about how to upgrade to the latest release from a Jessie installation!
I think the by far best way to test a new feature is to use a new SD-card and install from the published image instead.
Bo Berglund
Sweden

davenull
Posts: 1162
Joined: Thu Oct 22, 2015 7:22 am
Location: a small planet close to Betelgeuze

Re: Jessie Q&A

Tue Feb 16, 2016 9:10 am

yesterday evening I installed jessie anew from the NOOBS SD, but even as I definitely chose "language: German" and "keyboard: German" the installation again installed the English language and the English keyboard!

What is that kind of mess?!? :evil:
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;int main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PointOut(x,y);}}}for(;;);}

Bosse_B
Posts: 621
Joined: Thu Jan 30, 2014 9:53 am

Re: Jessie Q&A

Tue Feb 16, 2016 9:48 am

Why do you use the Noobs disk image if you know you are going for Jessie?
Go here instead and select the full or lite version.
Bo Berglund
Sweden

davenull
Posts: 1162
Joined: Thu Oct 22, 2015 7:22 am
Location: a small planet close to Betelgeuze

Re: Jessie Q&A

Tue Feb 16, 2016 10:06 am

Because I have the Noobs SD and it works easy self-extracting from the scratch.
But my question was not about another installation ressource but why the country settings are not complied as they should (and eventually hoping that the bug will be fixed).
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;int main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PointOut(x,y);}}}for(;;);}

Bosse_B
Posts: 621
Joined: Thu Jan 30, 2014 9:53 am

Re: Jessie Q&A

Tue Feb 16, 2016 10:14 am

Well,
using the Jessie image several times now I have no problems setting the Swedish keyboard for example...
But that is from sudo raspi-config after it was installed since this installation does not show the config screen, it goes straight into the GUI...
That might be your problem maybe?
Bo Berglund
Sweden

DirkS
Posts: 7619
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Jessie Q&A

Tue Feb 16, 2016 10:17 am

davenull wrote:Because I have the Noobs SD and it works easy self-extracting from the scratch.
But my question was not about another installation ressource but why the country settings are not complied as they should (and eventually hoping that the bug will be fixed).
Is it the latest Noobs or a previous version?
The Raspbian in earlier versions have an older version of the configuration program that did not save the changes to the keyboard setup.
Updating / upgrading Raspbian or starting with the current Noobs should (in theory at least) fix that.

davenull
Posts: 1162
Joined: Thu Oct 22, 2015 7:22 am
Location: a small planet close to Betelgeuze

Re: Jessie Q&A

Tue Feb 16, 2016 10:43 am

hey,
it's from last December. But if the issue is known and meanwhile already fixed it's ok of course!
Thank you!
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;int main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PointOut(x,y);}}}for(;;);}

Bosse_B
Posts: 621
Joined: Thu Jan 30, 2014 9:53 am

Re: Jessie Q&A

Tue Feb 16, 2016 11:34 am

The opengl support was added in the Feb 2016 release AFAIK...
Bo Berglund
Sweden

Budweiser
Posts: 2
Joined: Mon Feb 15, 2016 9:30 pm

Re: Jessie Q&A

Tue Feb 16, 2016 5:05 pm

Bosse_B wrote:From the release page:
If you are running the current Jessie image, it can be updated to the new version by running

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install raspi-gpio
To add the experimental GL driver, you will also need to run

Code: Select all

sudo apt-get install xcompmgr libgl1-mesa-dri
We strongly advise that if you are going to try out the experimental GL driver, that you backup your SD card first.
Notice thta they are talking about how to upgrade to the latest release from a Jessie installation!
I think the by far best way to test a new feature is to use a new SD-card and install from the published image instead.
Well I upgraded from wheezy to jessie and then ran another dist-upgrade on top of that. I would have expected this to be more or less equivalent to a fresh install in terms of packages/features. But I'll try a fresh install then.

Thanks for all the replies.

Cheers,
Budweiser

beenum
Posts: 2
Joined: Fri Feb 19, 2016 2:55 pm

Re: Jessie Q&A

Sat Feb 20, 2016 5:59 am

Hi guys! I'm quite new to the Raspberry Pi world. I'm going to get my Raspberry Pi 2 soon and I'm planning to run lxc containers on it. Found some guides about lxc containers where they had to make some changes to the kernel in a Raspberry Pi using wheezy. I'm planning on trying Raspbian jessie on it, do I still need to play around with the kernel in order to run the lxc containers? And how about if I try debian jessie instead of raspbian?

Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 30 guests