rogerdahl
Posts: 11
Joined: Thu Sep 06, 2012 10:19 pm

Re: USB redux

Mon Jun 24, 2013 3:19 pm

@feverish, it should be:

Code: Select all

$ sudo apt-get install git-core
$ sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update
$ sudo BRANCH=fiq_split rpi-update
Btw, don't type the $ -- it just indicates that you should type the commands in a shell, as a regular user.

MaxK1
Posts: 1043
Joined: Sun Aug 26, 2012 11:34 pm

Re: USB redux

Mon Jun 24, 2013 3:29 pm

Before or after installing it? ;-)

apt-get install rpi-update
You are in a maze of twisty little passages, all alike.
When General Failure and Major Disaster get together, Private Parts usually suffers.

feverish
Posts: 486
Joined: Wed Jun 27, 2012 2:29 pm

Re: USB redux

Tue Jun 25, 2013 2:38 pm

Thanks, guys, for all the valiant efforts to be helpful, but after spending hours trying to get alternative combinations of the '1BOfJ -O' bit working, shuffling 'l's for ' '1's and 'O's for '0's and 'f's for 'F's and 'j's for 'J's because Raspi says the port is wrong, I'm going to have to wait until this becomes part of the mainstream update/upgrade. My eyesight is no longer the best and having my PC downstairs and my Raspi upstairs mucho yards away but with a smaller display, so it can use the HDMI, on which I can't easily read text, is wearing out my creaking knee joints and not getting me anywhere useful. Anyone know how to come back as an eagle with good eyesight in the next life?
If discrimination is not challenged then we are effectively in collusion with the perpetrators of such behaviour:-Oxford dictionaries

jimsp
Posts: 1
Joined: Tue Jun 25, 2013 4:48 pm

Re: USB redux

Tue Jun 25, 2013 4:57 pm

Hi feverish,
feverish wrote:<snip>... PC downstairs and my Raspi upstairs mucho yards away but with a smaller display, so it can use the HDMI, on which I can't easily read text, is wearing out my creaking knee joints ... <snip>
Just a suggestion: you could install tightvncserver on the Pi, put $(vncclient) on your PC, and enjoy the big screen experience with n'er so much as a tingle from the knee-joints!
Works for me...

--
jim

rogerdahl
Posts: 11
Joined: Thu Sep 06, 2012 10:19 pm

Re: USB redux

Tue Jun 25, 2013 5:08 pm

You are welcome. Those commands only work when the Pi is able to access the internet, so I'm guessing that is already the case? So, what you'd normally do is go online from the Pi and just copy/paste the commands from the web page to the console. The other option is to ssh into your Pi from another computer on your network that is online, and copy/paste that way. Yet another option is to look for a complete image that already contains the new kernel or have someone copy the image that is on their Pi.

thradtke
Posts: 492
Joined: Wed May 16, 2012 5:16 am
Location: Germany / EL

Re: USB redux

Tue Jun 25, 2013 10:01 pm

One silly question: Is this 'FIQ-branch' contained in the Github firmare ZIP-archive? If so, how to choose it? Just the kernel-parameter?

Edit: I surely use the 'regular' branch as, while keyboard & mouse now work, the Behringer audio device (USB1.1) still messes up keyboard entries when connected. Not that important, but I'd like to try the FIQ-code.
Rocket Scientist.

whocares_ido
Posts: 60
Joined: Wed Sep 26, 2012 5:47 pm

Re: USB redux

Sun Jun 30, 2013 1:49 pm

gsh wrote:Have you tried the fiq_split branch to test the dequeueing patch?

sudo BRANCH=fiq_split rpi-update

Gordon
I have switched to fiq_split and so far the system has not crashed. I occasionally get these messages in /var/log/messages

Code: Select all

[832807.460432] net_ratelimit: 23204 callbacks suppressed
[832807.460540] smsc95xx 1-1.1:1.0 eth0: kevent 2 may have been dropped
What is the meaning of those messages?

Thanks!

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1452
Joined: Sat Sep 10, 2011 11:43 am

Re: USB redux

Sun Jun 30, 2013 4:41 pm

Not sure,

We've seen the second one quite a bit but I've not had enough time (or a body on a desk) to go investigate...

Gordon
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

jjplano
Posts: 11
Joined: Tue Mar 19, 2013 6:40 pm

Re: USB redux

Sun Jun 30, 2013 9:11 pm

hi guys

I have made this last update

and I cannot connect to the wifi anymore

any ideas?

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1452
Joined: Sat Sep 10, 2011 11:43 am

Re: USB redux

Mon Jul 01, 2013 5:23 am

Does your WiFi device still appear in lsusb? Are there any relevant messages in dmesg?

Gordon
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

jjplano
Posts: 11
Joined: Tue Mar 19, 2013 6:40 pm

Re: USB redux

Mon Jul 01, 2013 5:47 am

thanks for your reply gsh, I already fixed it

yes the device did appeared in lsusb, but it didn't connected and didn't show me any networks

I got tired and tried a $ sudo apt-get upgrade, and then it worked again

my question is, doing that got rid of this update or something like that? I did this update to see if my webcam could work a little better

I'm doing some tests to see if I can do a little project, that I think it's too big for me. is there a place in the forum where I can get some advice about projects?

kalehrl
Posts: 350
Joined: Tue Jul 24, 2012 10:49 am

Re: USB redux

Mon Jul 01, 2013 6:38 am

my question is, doing that got rid of this update or something like that?
Yes, you no longer use this fix after sudo apt-get upgrade.

MaxK1
Posts: 1043
Joined: Sun Aug 26, 2012 11:34 pm

Re: USB redux

Mon Jul 01, 2013 8:17 am

jjplano wrote:thanks for your reply gsh, I already fixed it

yes the device did appeared in lsusb, but it didn't connected and didn't show me any networks

I got tired and tried a $ sudo apt-get upgrade, and then it worked again

my question is, doing that got rid of this update or something like that? I did this update to see if my webcam could work a little better

I'm doing some tests to see if I can do a little project, that I think it's too big for me. is there a place in the forum where I can get some advice about projects?
You could try Projects or Hardware and peripherals. You might find someone in the same boat to brainstorm with.
You are in a maze of twisty little passages, all alike.
When General Failure and Major Disaster get together, Private Parts usually suffers.

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1452
Joined: Sat Sep 10, 2011 11:43 am

Re: USB redux

Mon Jul 01, 2013 9:14 am

jjplano wrote:thanks for your reply gsh, I already fixed it

yes the device did appeared in lsusb, but it didn't connected and didn't show me any networks
Yes, updating has removed the FIQ code...

Which wifi dongle is it?

Can you post any relevant dmesg output?

Thanks

Gordon
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

jjplano
Posts: 11
Joined: Tue Mar 19, 2013 6:40 pm

Re: USB redux

Mon Jul 01, 2013 8:29 pm

gsh wrote:Yes, updating has removed the FIQ code...

Which wifi dongle is it?
it's a tenda one, and it works really great comparing to others I have tried on the pi
http://www.tenda.cn/tendacn/product/sho ... ductid=375

I tried to do the update once more, and this time, wifi still works

how can I check that the update it's really on?

thanks

arm2
Posts: 253
Joined: Thu Dec 15, 2011 3:46 pm

Re: USB redux

Tue Jul 02, 2013 10:52 am

How much if any of the USB code is in start.elf?
I didn't think any! But here we are using RISC OS and using a start.elf from last week we now get much fewer 'repeating keys'
AIUI the low level USB drivers for RISC OS are based on the debian versions and haven't been update to the FIQ version yet.

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1452
Joined: Sat Sep 10, 2011 11:43 am

Re: USB redux

Tue Jul 02, 2013 11:53 am

None...

The issue is due to clashing periodic endpoints, so depending on how the endpoints get enabled and in what order and at what timing will effect how much the periodic endpoints clash...

Gordon
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5378
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: USB redux

Tue Jul 02, 2013 12:32 pm

gsh wrote:The issue is due to clashing periodic endpoints, so depending on how the endpoints get enabled and in what order and at what timing will effect how much the periodic endpoints clash...
If the keys are repeating more than usual, then unplugging and replugging the keyboard may help (it may get scheduled in a better slot).

arm2
Posts: 253
Joined: Thu Dec 15, 2011 3:46 pm

Re: USB redux

Tue Jul 02, 2013 3:37 pm

Thanks for the reply Gordon. Yes we have been unplugging and replugging the keyboard. That is the same 'fix' we used to use on another ARM based system (a9home).

camelator
Posts: 5
Joined: Sat Oct 27, 2012 8:53 am

Re: USB redux

Wed Jul 03, 2013 12:22 am

hi,
I just updated my raspberry as described:
sudo apt-get install git-core
sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update
sudo BRANCH=fiq_split rpi-update

and with a new reboot, my fstab does not work.
sudo mount -a:
mount error(22):invalid argument

my fstab:
//myip/directory /media/music cifs _netdev,guest,directio,uid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

any suggestions?

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1452
Joined: Sat Sep 10, 2011 11:43 am

Re: USB redux

Wed Jul 03, 2013 6:06 am

What's it say in dmesg?
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

camelator
Posts: 5
Joined: Sat Oct 27, 2012 8:53 am

Re: USB redux

Wed Jul 03, 2013 9:01 am

followed my previous post I tried some changes in my fstab, but I have to admit I am not an expert with this file:
/etc/fstab:

proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
//192.168.1.1/my_passport/Musiques/Albums /media/Musiques/Albums cifs uid=root,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

sudo mount -a:
mount error(13): Permission denied


dmesg:

[ 250.463673] CIFS: Unknown mount option "directio"
[ 284.879143] CIFS VFS: Send error in SessSetup = -13
[ 284.879413] CIFS VFS: cifs_mount failed w/return code = -13
[ 396.163603] CIFS VFS: Send error in SessSetup = -13
[ 396.165621] CIFS VFS: cifs_mount failed w/return code = -13
[ 587.374313] CIFS VFS: Send error in SessSetup = -13
[ 587.374585] CIFS VFS: cifs_mount failed w/return code = -13
[ 7045.109018] CIFS VFS: Send error in SessSetup = -13
[ 7045.109296] CIFS VFS: cifs_mount failed w/return code = -13

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1452
Joined: Sat Sep 10, 2011 11:43 am

Re: USB redux

Wed Jul 03, 2013 9:07 am

OK,

Can have a look later, never used cifs before... But it doesn't look like there are any USB issues there, if it was dropping packets and falling over significantly then I'd expect to see some errors in dmesg...

What distribution are you using, latest Raspbian?

Gordon
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

camelator
Posts: 5
Joined: Sat Oct 27, 2012 8:53 am

Re: USB redux

Wed Jul 03, 2013 6:19 pm

Yes,
here is what I've done, and I did it a second time:
install the last raspbian image
extends partition
then sudo apt-get update
sudo apt-get upgrade
then I install the last rpi-update as described
and then I add my mount drive in fstab

sudo mount -a results errors

of course this is completly new, as I never had this issue before

gsh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1452
Joined: Sat Sep 10, 2011 11:43 am

Re: USB redux

Wed Jul 03, 2013 8:45 pm

Can you open this in github as an issue, add any reproduction information including setup of the server as well as the setup of the Raspberry Pi and I'll see if we can get someone onto it soon.

Gordon
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering

Return to “Troubleshooting”