Sorry been at work
Wilberforce wrote:what is the output of :
when its working/not working?
If you can run the reset_usb.py script when you would normally unplug, that will give a good indictation of whether or not it will help pre start up.
WaveIO running
Joggler Gui Settings>Audio Settings>Digital Out shows "Status Running"
ls /proc/asound
card0 card1 cards devices hwdep L20 MID modules oss pcm seq timers version
Reboot
WaveIO status stopped forlowing reboot
Squeezeplay reports "DAC not Connected"
Joggler Gui Settings>Audio Settings>Digital Out show WaveIO is not on the list
ls /proc/asound
card0 cards devices hwdep MID modules oss pcm seq timers version
Replug
WaveIO unplugged and then replugged
Joggler Gui Settings>Audio Settings>Digital Out shows "Status Stopped"
ls /proc/asound
card0 card1 cards devices hwdep L20 MID modules oss pcm seq timers version
Relaunch
WaveIO running
Joggler Gui Settings>Audio Settings>Digital Out shows "Status Running"
ls /proc/asound
card0 card1 cards devices hwdep L20 MID modules oss pcm seq timers version
sudo apt-get update
Code: Select all
Get:1 http://old-releases.ubuntu.com maverick Release.gpg [198B]
Get:2 http://uk.archive.ubuntu.com lucid Release.gpg [189B]
Get:3 http://uk.archive.ubuntu.com lucid-security Release.gpg [198B]
Get:4 http://archive.canonical.com lucid Release.gpg [198B]
Get:5 http://uk.archive.ubuntu.com lucid-updates Release.gpg [198B]
Get:6 http://old-releases.ubuntu.com maverick Release [39.8kB]
Get:7 http://uk.archive.ubuntu.com lucid-backports Release.gpg [198B]
Get:8 http://archive.canonical.com lucid Release [8,215B]
Get:9 http://uk.archive.ubuntu.com lucid Release [57.2kB]
Get:10 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:11 http://uk.archive.ubuntu.com lucid-security Release [57.3kB]
Get:12 http://uk.archive.ubuntu.com lucid-updates Release [58.3kB]
Get:13 http://old-releases.ubuntu.com maverick/main Packages [1,492kB]
Get:14 http://archive.canonical.com lucid/partner Packages [13.6kB]
Get:15 http://uk.archive.ubuntu.com lucid-backports Release [57.3kB]
Get:16 http://archive.canonical.com lucid/partner Sources [6,717B]
Get:17 http://uk.archive.ubuntu.com lucid/main Packages [1,386kB]
Get:18 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:19 http://ppa.launchpad.net lucid Release [13.9kB]
Get:20 http://ppa.launchpad.net lucid Release [13.9kB]
Get:21 http://ppa.launchpad.net lucid/main Packages [13.1kB]
Get:22 http://ppa.launchpad.net lucid/main Sources [7,630B]
Get:23 http://ppa.launchpad.net lucid/main Packages [3,057B]
Get:24 http://ppa.launchpad.net lucid/main Sources [2,244B]
Get:25 http://uk.archive.ubuntu.com lucid/restricted Packages [6,208B]
Get:26 http://uk.archive.ubuntu.com lucid/universe Packages [5,448kB]
Get:27 http://uk.archive.ubuntu.com lucid/multiverse Packages [180kB]
Get:28 http://uk.archive.ubuntu.com lucid/main Sources [659kB]
Get:29 http://uk.archive.ubuntu.com lucid/restricted Sources [3,775B]
Get:30 http://uk.archive.ubuntu.com lucid/universe Sources [3,165kB]
Get:31 http://uk.archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:32 http://uk.archive.ubuntu.com lucid-security/main Packages [470kB]
Get:33 http://uk.archive.ubuntu.com lucid-security/restricted Packages [2,867B]
Get:34 http://uk.archive.ubuntu.com lucid-security/universe Packages [141kB]
Get:35 http://uk.archive.ubuntu.com lucid-security/multiverse Packages [5,360B]
Get:36 http://uk.archive.ubuntu.com lucid-security/main Sources [133kB]
Get:37 http://uk.archive.ubuntu.com lucid-security/restricted Sources [1,267B]
Get:38 http://uk.archive.ubuntu.com lucid-security/universe Sources [43.8kB]
Get:39 http://uk.archive.ubuntu.com lucid-security/multiverse Sources [2,337B]
Get:40 http://uk.archive.ubuntu.com lucid-updates/main Packages [664kB]
Get:41 http://uk.archive.ubuntu.com lucid-updates/restricted Packages [4,630B]
Get:42 http://uk.archive.ubuntu.com lucid-updates/universe Packages [288kB]
Get:43 http://uk.archive.ubuntu.com lucid-updates/multiverse Packages [11.5kB]
Get:44 http://uk.archive.ubuntu.com lucid-updates/main Sources [233kB]
Get:45 http://uk.archive.ubuntu.com lucid-updates/restricted Sources [2,196B]
Get:46 http://uk.archive.ubuntu.com lucid-updates/universe Sources [106kB]
Get:47 http://uk.archive.ubuntu.com lucid-updates/multiverse Sources [5,823B]
Get:48 http://uk.archive.ubuntu.com lucid-backports/main Packages [19.0kB]
Get:49 http://uk.archive.ubuntu.com lucid-backports/restricted Packages [14B]
Get:50 http://uk.archive.ubuntu.com lucid-backports/universe Packages [56.0kB]
Get:51 http://uk.archive.ubuntu.com lucid-backports/multiverse Packages [1,378B]
Get:52 http://uk.archive.ubuntu.com lucid-backports/main Sources [9,423B]
Get:53 http://uk.archive.ubuntu.com lucid-backports/restricted Sources [14B]
Get:54 http://uk.archive.ubuntu.com lucid-backports/universe Sources [24.2kB]
Get:55 http://uk.archive.ubuntu.com lucid-backports/multiverse Sources [1,633B]
Fetched 15.0MB in 1min 46s (141kB/s)
Reading package lists... Done
sudo apt-get install python-usb
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
python-support
The following NEW packages will be installed:
python-support python-usb
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 49.1kB of archives.
After this operation, 315kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://uk.archive.ubuntu.com/ubuntu/ lucid/main python-support 1.0.4ubuntu1 [32.0kB]
Get:2 http://uk.archive.ubuntu.com/ubuntu/ lucid/universe python-usb 0.4.2-2 [17.1kB]
Fetched 49.1kB in 0s (111kB/s)
Selecting previously deselected package python-support.
(Reading database ... 21745 files and directories currently installed.)
Unpacking python-support (from .../python-support_1.0.4ubuntu1_all.deb) ...
Selecting previously deselected package python-usb.
Unpacking python-usb (from .../python-usb_0.4.2-2_i386.deb) ...
Setting up python-support (1.0.4ubuntu1) ...
Setting up python-usb (0.4.2-2) ...
Processing triggers for python-support ...
cd ~
wget
http://www.jogglerwiki.com/forum/downlo ... php?id=393 -O reset_usb.py
Code: Select all
--2013-01-16 16:17:57-- http://www.jogglerwiki.com/forum/download/file.php?id=393
Resolving www.jogglerwiki.com... 93.93.128.49, 2a00:1098:0:80:1000:f:0:1
Connecting to www.jogglerwiki.com|93.93.128.49|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 977 [application/octet-stream]
Saving to: `reset_usb.py'
100%[=======================================================================================================================>] 977 --.-K/s in 0s
2013-01-16 16:17:57 (35.6 MB/s) - `reset_usb.py' saved [977/977]
WaveIO connected and running
lsusb
Code: Select all
Bus 004 Device 002: ID 04b4:1974 Cypress Semiconductor Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 20a0:4143
Bus 001 Device 003: ID 148f:2770 Ralink Technology, Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
WaveIO unplugged
lsusb
Code: Select all
Bus 004 Device 002: ID 04b4:1974 Cypress Semiconductor Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 148f:2770 Ralink Technology, Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
WaveIO connected
lsusb
Code: Select all
Bus 004 Device 002: ID 04b4:1974 Cypress Semiconductor Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 148f:2770 Ralink Technology, Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sudo python /home/joggler/reset_usb.py 20a0 4143
I have output
No WaveIO listed in Joggler Gui Settings>Audio Settings>Digital Out
Code: Select all
Traceback (most recent call last):
File "/home/joggler/reset_usb.py", line 3, in <module>
import usb.core
ImportError: No module named core
WaveIO IS listed in Joggler Gui Settings>Audio Settings>Digital Out>Status Stopped
lsusb
Code: Select all
Bus 004 Device 002: ID 04b4:1974 Cypress Semiconductor Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 20a0:4143
Bus 001 Device 003: ID 148f:2770 Ralink Technology, Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sudo python /home/joggler/reset_usb.py 20a0 4143
Code: Select all
Traceback (most recent call last):
File "/home/joggler/reset_usb.py", line 3, in <module>
import usb.core
ImportError: No module named core