Re: [Dorset] Kubuntu 14.10 not seeing USB device properly

2015-02-06 Thread Ralph Corderoy
Hi Terry,

 Feb  6 15:53:14 BEIGE kernel: [22184.524114] usb 5-2: new full-speed USB 
 device number 9 using ohci-pci
 Feb  6 15:53:14 BEIGE kernel: [22184.702208] usb 5-2: New USB device found, 
 idVendor=0403, idProduct=6001
 Feb  6 15:53:14 BEIGE kernel: [22184.702221] usb 5-2: New USB device strings: 
 Mfr=1, Product=2, SerialNumber=3
 Feb  6 15:53:14 BEIGE kernel: [22184.702228] usb 5-2: Product: FT232R USB UART
 Feb  6 15:53:14 BEIGE kernel: [22184.702234] usb 5-2: Manufacturer: FTDI
 Feb  6 15:53:14 BEIGE kernel: [22184.702239] usb 5-2: SerialNumber: A700f3DB
 Feb  6 15:53:14 BEIGE kernel: [22184.708420] ftdi_sio 5-2:1.0: FTDI USB 
 Serial Device converter detected
 Feb  6 15:53:14 BEIGE kernel: [22184.708655] usb 5-2: Detected FT232RL
 Feb  6 15:53:14 BEIGE kernel: [22184.708661] usb 5-2: Number of endpoints 2
 Feb  6 15:53:14 BEIGE kernel: [22184.708666] usb 5-2: Endpoint 1 
 MaxPacketSize 64
 Feb  6 15:53:14 BEIGE kernel: [22184.708671] usb 5-2: Endpoint 2 
 MaxPacketSize 64
 Feb  6 15:53:14 BEIGE kernel: [22184.708676] usb 5-2: Setting MaxPacketSize 64
 Feb  6 15:53:14 BEIGE kernel: [22184.713003] usb 5-2: FTDI USB Serial Device 
 converter now attached to ttyUSB0

All looks fine.  The USB device uses a common Scottish UART-to-USB
interface chip.  https://en.wikipedia.org/wiki/FTDI

 Feb  6 15:53:14 BEIGE mtp-probe: checking bus 5, device 9: 
 /sys/devices/pci:00/:00:13.0/usb5/5-2
 Feb  6 15:53:14 BEIGE mtp-probe: bus: 5, device: 9 was not an MTP device
 Feb  6 15:53:18 BEIGE colord-sane: io/hpmud/pp.c 627: unable to read 
 device-id ret=-1

I just take this to mean a couple of things have a poke of the new
serial device to see if it's something that understand.  Neither do.
`lsusb' should list the `Bus 005 Device 009: ID 0403:6001' device.

Have you tried Googling for your efergy's device name and `linux' to see
what progress others have made?  I think the normal route they take, if
this kind of interface is undocumented, is run it under Windows and
snoop on the USB traffic.  I found 
http://jdesbonnet.blogspot.co.uk/2010/09/smart-electricity-meter-based-on-efergy.html
which looks interesting, though probably not directly relevant.

Cheers, Ralph.

-- 
Next meeting:  Bournemouth, Tuesday, 2015-03-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


[Dorset] Am I missing something obvious in gnome-boxes

2015-02-06 Thread Terry Coles
Hi,

At the Meeting, Tim mentioned that he was having great success using gnome-
boxes and thought that it should work fine as a replacement for hosting Win XP 
in 
VirtualBox (VirtualBox is a pain because every update breaks USB support).

So I installed it on my machine here (Caveat: this computer is running Kubuntu 
14.10 and no Gnome desktop).

It launched OK and I first of all tried importing my VirtualBox image to save a 
bit of 
time.  That seemed to work OK and Windows started to open, but then flagged up 
a message saying that there had been a problem, ( I presume because Windows 
Activation wants to see the old platform, not the new one that the image is now 
sitting on).   I therefore assumed that I'd have to reinstall from scratch and 
reactivate.

I don't have the original Windows ISO at the moment, so I thought I'd try 
grabbing 
the Fedora 21 ISO off the latest Linux Format DVD.  That seemed to work, but 
then 
I just got a grey screen, when I tried to launch it.  I was never asked to go 
though 
the Installation process, so presumably, Boxes has laid down the CD image 
without 
try to boot into it.

I then tried to pick up the installation from a CD in my DVD Drive.  The Help 
says:

 1. At the wizard's Source Selection screen, choose a source to determine 
the 
type of box you want to create.
  screenshot here 
 1. Create a local virtual machine using one of the following:
 *  select from the list of isos found by /Boxes/.
 *  insert installation media in your CD/DVD drive or USB port.
 *  provide a filename or location for an iso file.
 *  provide a URL to connect locally as you would for a remote 
connection[1].

Whatever I do, I can't seem to get the thing to 'see' something on the CD that 
it 
can load.  It just keeps opening the folders on the CD.

What is going on?

-- 

Terry Coles




[1] xref:connect
-- 
Next meeting:  Bournemouth, Tuesday, 2015-03-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Am I missing something obvious in gnome-boxes

2015-02-06 Thread Terry Coles
On Friday 06 Feb 2015 14:58:43 Tim Waugh wrote:
 On Fri, 2015-02-06 at 11:01 +, Terry Coles wrote:
  I don't have the original Windows ISO at the moment, so I thought I'd try
  grabbing the Fedora 21 ISO off the latest Linux Format DVD.  That seemed
  to work, but then I just got a grey screen, when I tried to launch it.  I
  was never asked to go though the Installation process, so presumably,
  Boxes has laid down the CD image without try to boot into it.
 
 Did you choose the 'Install to Hard Drive' option when the ISO booted?
 After clicking 'Create' on the Create a Box page, you should see the
 'Starting Fedora Live in ..' boot screen followed shortly afterwards by
 a graphical 'Welcome to Fedora' screen showing a choice: 'Try Fedora' |
 'Install to Hard Drive'.

I never got an option to 'Install to Hard Drive', just 'Start Fedora 21'.  The 
first time, the usual sort of screen messages appeared at first, then the grey 
screen mentioned.  I just tried it again and got a kernel panic, (the actual 
message scrolled off the screen, but eventuality everything stopped.

I just tried again using some of the other images off the Linux Format DVD and 
only got as far as a running live disc with Manjaro.  When I tried to install 
it nothing much seemed to happen, but I may have got bored.  After all, I only 
want to prove that I can install WXP and at the moment it's looking a bit 
dodgy.

Anyone know why Boxes can't seem to be able to boot from the plain ol' CD?

-- 

Terry Coles



-- 
Next meeting:  Bournemouth, Tuesday, 2015-03-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Am I missing something obvious in gnome-boxes

2015-02-06 Thread Tim Waugh
On Fri, 2015-02-06 at 11:01 +, Terry Coles wrote:
 I don't have the original Windows ISO at the moment, so I thought I'd try 
 grabbing 
 the Fedora 21 ISO off the latest Linux Format DVD.  That seemed to work, but 
 then 
 I just got a grey screen, when I tried to launch it.  I was never asked to go 
 though 
 the Installation process, so presumably, Boxes has laid down the CD image 
 without 
 try to boot into it.

Did you choose the 'Install to Hard Drive' option when the ISO booted?
After clicking 'Create' on the Create a Box page, you should see the
'Starting Fedora Live in ..' boot screen followed shortly afterwards by
a graphical 'Welcome to Fedora' screen showing a choice: 'Try Fedora' |
'Install to Hard Drive'.

Tim.
*/



signature.asc
Description: This is a digitally signed message part
-- 
Next meeting:  Bournemouth, Tuesday, 2015-03-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue

Re: [Dorset] Kubuntu 14.10 not seeing USB device properly

2015-02-06 Thread Terry Coles
On Friday 06 Feb 2015 16:58:26 Peter Merchant wrote:
 On 06/02/15 16:02, Terry Coles wrote:
  Hi,
  
  Apropos my attempts to get gnome-boxes working, I'm beginning to believe
  that even if I did manage to get WXP installed and running, the USB
  devices may still not work.
  
  A few minutes ago, I had a brainwave and ran tail -f /var/log/syslog just
  before I plugged the device in (it's an efergy power monitor).  This was
  the result:
  
  Feb  6 15:53:14 BEIGE kernel: [22184.524114] usb 5-2: new full-speed USB
  device number 9 using ohci-pci
  Feb  6 15:53:14 BEIGE kernel: [22184.702208] usb 5-2: New USB device
  found,
  idVendor=0403, idProduct=6001
  Feb  6 15:53:14 BEIGE kernel: [22184.702221] usb 5-2: New USB device
  strings: Mfr=1, Product=2, SerialNumber=3
  Feb  6 15:53:14 BEIGE kernel: [22184.702228] usb 5-2: Product: FT232R USB
  UART Feb  6 15:53:14 BEIGE kernel: [22184.702234] usb 5-2: Manufacturer:
  FTDI Feb  6 15:53:14 BEIGE kernel: [22184.702239] usb 5-2: SerialNumber:
  A700f3DB Feb  6 15:53:14 BEIGE kernel: [22184.708420] ftdi_sio 5-2:1.0:
  FTDI USB Serial Device converter detected
  Feb  6 15:53:14 BEIGE kernel: [22184.708655] usb 5-2: Detected FT232RL
  Feb  6 15:53:14 BEIGE kernel: [22184.708661] usb 5-2: Number of endpoints
  2
  Feb  6 15:53:14 BEIGE kernel: [22184.708666] usb 5-2: Endpoint 1
  MaxPacketSize 64
  Feb  6 15:53:14 BEIGE kernel: [22184.708671] usb 5-2: Endpoint 2
  MaxPacketSize 64
  Feb  6 15:53:14 BEIGE kernel: [22184.708676] usb 5-2: Setting
  MaxPacketSize 64 Feb  6 15:53:14 BEIGE kernel: [22184.713003] usb 5-2:
  FTDI USB Serial Device converter now attached to ttyUSB0
  Feb  6 15:53:14 BEIGE mtp-probe: checking bus 5, device 9:
  /sys/devices/pci:00/:00:13.0/usb5/5-2
  Feb  6 15:53:14 BEIGE mtp-probe: bus: 5, device: 9 was not an MTP device
  Feb  6 15:53:18 BEIGE colord-sane: io/hpmud/pp.c 627: unable to read
  device-id ret=-1
  
  As you can see, the last two lines appear to indicate something not quite
  right and the device doesn't show up in the KDE Device Manager.  When I
  try to set the device up in VirtualBox, it also says that no devices are
  found.
  
  Any thoughts?
 
 idVendor=0403 seems to indicate that it is a FTDI USB Serial Device
 converter. I have seen on my HUDL the notation about it being a mtp type
 connection when connected to Kubuntu, which I assume is something
 different. Peter

MTP is Media Transfer Protocol.  I first saw in relation to connecting my MP3 
Player.  It certainly used to work in Kubuntu, but it may not actually be 
relevant.

-- 

Terry Coles



-- 
Next meeting:  Bournemouth, Tuesday, 2015-03-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Kubuntu 14.10 not seeing USB device properly

2015-02-06 Thread Peter Merchant

On 06/02/15 16:02, Terry Coles wrote:

Hi,

Apropos my attempts to get gnome-boxes working, I'm beginning to believe that
even if I did manage to get WXP installed and running, the USB devices may
still not work.

A few minutes ago, I had a brainwave and ran tail -f /var/log/syslog just
before I plugged the device in (it's an efergy power monitor).  This was the
result:

Feb  6 15:53:14 BEIGE kernel: [22184.524114] usb 5-2: new full-speed USB
device number 9 using ohci-pci
Feb  6 15:53:14 BEIGE kernel: [22184.702208] usb 5-2: New USB device found,
idVendor=0403, idProduct=6001
Feb  6 15:53:14 BEIGE kernel: [22184.702221] usb 5-2: New USB device strings:
Mfr=1, Product=2, SerialNumber=3
Feb  6 15:53:14 BEIGE kernel: [22184.702228] usb 5-2: Product: FT232R USB UART
Feb  6 15:53:14 BEIGE kernel: [22184.702234] usb 5-2: Manufacturer: FTDI
Feb  6 15:53:14 BEIGE kernel: [22184.702239] usb 5-2: SerialNumber: A700f3DB
Feb  6 15:53:14 BEIGE kernel: [22184.708420] ftdi_sio 5-2:1.0: FTDI USB Serial
Device converter detected
Feb  6 15:53:14 BEIGE kernel: [22184.708655] usb 5-2: Detected FT232RL
Feb  6 15:53:14 BEIGE kernel: [22184.708661] usb 5-2: Number of endpoints 2
Feb  6 15:53:14 BEIGE kernel: [22184.708666] usb 5-2: Endpoint 1 MaxPacketSize
64
Feb  6 15:53:14 BEIGE kernel: [22184.708671] usb 5-2: Endpoint 2 MaxPacketSize
64
Feb  6 15:53:14 BEIGE kernel: [22184.708676] usb 5-2: Setting MaxPacketSize 64
Feb  6 15:53:14 BEIGE kernel: [22184.713003] usb 5-2: FTDI USB Serial Device
converter now attached to ttyUSB0
Feb  6 15:53:14 BEIGE mtp-probe: checking bus 5, device 9:
/sys/devices/pci:00/:00:13.0/usb5/5-2
Feb  6 15:53:14 BEIGE mtp-probe: bus: 5, device: 9 was not an MTP device
Feb  6 15:53:18 BEIGE colord-sane: io/hpmud/pp.c 627: unable to read device-id
ret=-1

As you can see, the last two lines appear to indicate something not quite
right and the device doesn't show up in the KDE Device Manager.  When I try to
set the device up in VirtualBox, it also says that no devices are found.

Any thoughts?



idVendor=0403 seems to indicate that it is a FTDI USB Serial Device converter.
I have seen on my HUDL the notation about it being a mtp type connection when 
connected to Kubuntu, which I assume is something different.
Peter


--
Next meeting:  Bournemouth, Tuesday, 2015-03-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue