Connecting a USB UPS

2009-08-19 Thread Daniel Feiglin
Hello folks!

I use a SL1000 UPS. The model is marketed by Advice, and looks like
their continuation of the Sustainer UPS line. It comes with both a
serial and USB port. The serial version of the SL line always worked OK
under Linux with their grotty (but adequate) UPSMON program, which comes
with the unit (or may be downloaded from the Powercom site.
www dot pcmups dot com dot tw).

My current workstation does not have any serial ports, so the supplied
UPSMON will not work.

As proof of hardware integrity for what follows, I ran up the supplied
Windows UPS software on an XP client running under VMware. The new USB
device was detected and everything worked as it should.

Back to Linux:
I'm running openSUSE 11.1 with KDE 3.5 fully updated.

First, the relevant line from lsusb:

Bus 004 Device 008: ID 0d9f:0002 Powercom Co., Ltd

Next, an extract from the YAST hardware Information module:

- hal device list -
  0: udi = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial_if0'
  info.subsystem = 'usb'
  usb.interface.number = 0 (0x0)
  info.linux.driver = 'usbhid'
  usb.product = 'USB HID Interface'
  usb.device_subclass = 0 (0x0)
  usb.interface.class = 3 (0x3)
  info.product = 'USB HID Interface'
  usb.linux.sysfs_path =
'/sys/devices/pci:00/:00:1d.0/usb4/4-1/4-1:1.0'
  usb.speed = 1.5
  usb.interface.subclass = 0 (0x0)

  info.udi = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial_if0'
  usb.device_revision_bcd = 0 (0x0)
  usb.device_protocol = 0 (0x0)
  usb.interface.protocol = 0 (0x0)
  usb.configuration_value = 1 (0x1)
  usb.version = 1.0
  usb.max_power = 100 (0x64)
  usb.vendor_id = 3487 (0xd9f)
  linux.sysfs_path = '/sys/devices/pci:00/:00:1d.0/usb4/4-1/4-1:1.0'
  usb.num_configurations = 1 (0x1)
  usb.is_self_powered = false
  info.parent = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial'
  usb.num_ports = 0 (0x0)
  usb.product_id = 2 (0x2)
  usb.num_interfaces = 1 (0x1)
  usb.can_wake_up = false
  usb.linux.device_number = 7 (0x7)
  usb.vendor = 'Powercom Co., Ltd'
  linux.hotplug_type = 2 (0x2)
  usb.device_class = 0 (0x0)
  usb.bus_number = 4 (0x4)
  linux.subsystem = 'usb'

  1: udi = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial'
  info.subsystem = 'usb_device'
  info.linux.driver = 'usb'
  usb_device.product = 'USB to Serial'
  linux.device_file = '/dev/bus/usb/004/007' <<- That's it
  usb_device.linux.sysfs_path =
'/sys/devices/pci:00/:00:1d.0/usb4/4-1'
  info.product = 'USB to Serial'
  usb_device.device_revision_bcd = 0 (0x0)
  usb_device.configuration_value = 1 (0x1)
  usb_device.max_power = 100 (0x64)

  info.udi = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial'
  usb_device.num_configurations = 1 (0x1)
  usb_device.num_ports = 0 (0x0)
  usb_device.num_interfaces = 1 (0x1)
  usb_device.linux.device_number = 7 (0x7)
  usb_device.device_class = 0 (0x0)
  linux.sysfs_path = '/sys/devices/pci:00/:00:1d.0/usb4/4-1'
  usb_device.device_subclass = 0 (0x0)
  info.vendor = 'Powercom Co., Ltd'
  usb_device.speed = 1.5
  info.parent =
'/org/freedesktop/Hal/devices/usb_device_1d6b_1__00_1d_0'
  usb_device.device_protocol = 0 (0x0)
  usb_device.version = 1.0
  usb_device.vendor_id = 3487 (0xd9f)
  usb_device.is_self_powered = false
  usb_device.product_id = 2 (0x2)
  usb_device.can_wake_up = false
  linux.hotplug_type = 2 (0x2)
  usb_device.vendor = 'Powercom Co., Ltd'
  usb_device.bus_number = 4 (0x4)
  linux.subsystem = 'usb'

For some reason, the printout did not include this:

Drivers
   Modules
  Active: Yes
  modprobe: Yes
  modules
   modprobe cypress_m8
Drivers
   Modules
  Active: Yes
  modprobe: Yes
  modules
   modprobe usbhid

I installed nut. It has a configuration file, /etc/ups/ups.conf, which
requires this:

[upsname]
  driver = 
   port = 
< any other directives here >

The critical items are drivername and portname.
The nut documentation suggests the use of /dev/hiddev0 for portname,
however I don't have any /dev/hiddev0, 1, 2 ... entries. (nor do they
exist in some sub-direcory).

As an inspired (?) guess, I tried driver = powercom and port = /dev/ttyS0.

The upsd daemon started , but was unable to communicate with the device:
Here are the last few entries from syslog:

Aug 18 13:40:11 danny upsmon[15804]: Poll UPS [my...@localhost] failed -
Data stale

Aug 18 13:40:12 danny powercom[15796]: data receiving error (-1 instead
of 11 bytes)

Aug 18 13:40:16 danny upsmon[15804]: Poll UPS [my...@localhost] failed -
Data stale

Aug 18 13:40:17 danny powercom[15796]: data receiving error (-1 instead
of 11 bytes)


It's easy to see what's happening: The poller sends a Ctl A (I think) to
the UPS and should get back 11 bytes of status data.


And so to the $64,000 question: What should I be using for these two
parameters?


An RTFM would be fine, but go find the FM to R!


Daniel





begin:vcard
fn:Daniel Feiglin
n:Feiglin;Daniel
adr

[YBA] FOSS XML databases anyone?

2009-08-19 Thread Jonathan Ben Avraham

Dear List members,
Does anyone here have experience and can support (instruct, program apps) 
any one or more of the following Open Source XML databases:


http://www.exist-db.org/
http://basex.org/
http://modis.ispras.ru/sedna/

Regards,

 - yba


--
 EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA~. .~   Tk Open Systems
=}ooO--U--Ooo{=
 - y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Suggestion for a webmail application with good Hebrew Support

2009-08-19 Thread Danny Lieberman
Pardon - the only thing we don't use is Docs.  Prefer OO.

On Wed, Aug 19, 2009 at 5:49 AM, Amos Shapira wrote:

> 2009/8/19 Danny Lieberman 
>
>> I don't sell Google Apps but I suggest reading their story at
>> http://www.google.com/apps/intl/en/business/details.html
>>
>
> To ask my question again - if you say that you use Google Apps but not
> Google Docs or GMail or Calendar - so what's left in Google Apps besides it?
>
> --Amos
>
>


-- 
Danny Lieberman
-
Protect your data: http://www.software.co.il
Twitter:  http://twitter.com/onlyjazz
Skype:  dannyl50
Warsaw:+48-79-609-5964
Israel:   +972 8 9701485
Mobile: +972 - 54 447 1114
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Suggestion for a webmail application with good Hebrew Support

2009-08-19 Thread Jonathan Ben Avraham


Guys, can anyone just offer an opinion on my original request?

Is roundcube really better than IMP or Squirrelmail? Is OpenMail even 
better? Hebrew support?


 - yba


On Wed, 19 Aug 2009, Danny Lieberman wrote:


Date: Wed, 19 Aug 2009 11:00:14 +0300
From: Danny Lieberman 
To: Amos Shapira 
Cc: Shachar Shemesh , ILUG ,
geoffrey mendelson 
Subject: Re: Suggestion for a webmail application with good Hebrew Support

Pardon - the only thing we don't use is Docs.  Prefer OO.

On Wed, Aug 19, 2009 at 5:49 AM, Amos Shapira wrote:


2009/8/19 Danny Lieberman 


I don't sell Google Apps but I suggest reading their story at
http://www.google.com/apps/intl/en/business/details.html



To ask my question again - if you say that you use Google Apps but not
Google Docs or GMail or Calendar - so what's left in Google Apps besides it?

--Amos








--
 EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA~. .~   Tk Open Systems
=}ooO--U--Ooo{=
 - y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Suggestion for a webmail application with good Hebrew Support

2009-08-19 Thread Danny Lieberman
Aviram

Yeah yeah. Well - then you already know then that the phone number is for
Premier customers to use when the service is "unusable".  Which has only
happened a couple times the past year. The other issues use email which is
ok. Personally I only had to use it once when they cunningly removed some
features without telling anyone.  From a support perspective - imho
slicehost and rackspace are hands down winners. fwiw - I  had no idea the
big G would get such an emotional response in the list.

At any rate - I think I've finished here.

d
http://www.dannylieberman.info



On Wed, Aug 19, 2009 at 9:26 AM, Aviram Jenik  wrote:

> On Tuesday 18 August 2009 13:51:02 Danny Lieberman wrote:
>
> > 3. Have a single 24x7 point of service contact
> >
>
> You have a contact at google? Do tell!
>
> We've been paying google for years, and yet haven't been able to get any
> human
> answer (or any answer for that matter that is not a link to the useless
> knowledgebase). This tends to be frustrating when they have bugs which they
> don't like to tell anyone about and then fix silently, and your only
> indication is other people sharing the same symptoms.
>
> But it seems you have struck oil in the form of a 24x7 point of service
> contact. Please share that wonderful information with rest of the list if
> you
> don't mind.
>
> - Aviram
>



-- 
Danny Lieberman
-
Protect your data: http://www.software.co.il
Twitter:  http://twitter.com/onlyjazz
Skype:  dannyl50
Warsaw:+48-79-609-5964
Israel:   +972 8 9701485
Mobile: +972 - 54 447 1114
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Connecting a USB UPS

2009-08-19 Thread Ori Idan
It seems to be usb to serial device so try /dev/ttyUSB0

-- 
Ori Idan


2009/8/19 Daniel Feiglin 

> Hello folks!
>
> I use a SL1000 UPS. The model is marketed by Advice, and looks like
> their continuation of the Sustainer UPS line. It comes with both a
> serial and USB port. The serial version of the SL line always worked OK
> under Linux with their grotty (but adequate) UPSMON program, which comes
> with the unit (or may be downloaded from the Powercom site.
> www dot pcmups dot com dot tw).
>
> My current workstation does not have any serial ports, so the supplied
> UPSMON will not work.
>
> As proof of hardware integrity for what follows, I ran up the supplied
> Windows UPS software on an XP client running under VMware. The new USB
> device was detected and everything worked as it should.
>
> Back to Linux:
> I'm running openSUSE 11.1 with KDE 3.5 fully updated.
>
> First, the relevant line from lsusb:
>
> Bus 004 Device 008: ID 0d9f:0002 Powercom Co., Ltd
>
> Next, an extract from the YAST hardware Information module:
>
> - hal device list -
>  0: udi = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial_if0'
>  info.subsystem = 'usb'
>  usb.interface.number = 0 (0x0)
>  info.linux.driver = 'usbhid'
>  usb.product = 'USB HID Interface'
>  usb.device_subclass = 0 (0x0)
>  usb.interface.class = 3 (0x3)
>  info.product = 'USB HID Interface'
>  usb.linux.sysfs_path =
> '/sys/devices/pci:00/:00:1d.0/usb4/4-1/4-1:1.0'
>  usb.speed = 1.5
>  usb.interface.subclass = 0 (0x0)
>
>  info.udi = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial_if0'
>  usb.device_revision_bcd = 0 (0x0)
>  usb.device_protocol = 0 (0x0)
>  usb.interface.protocol = 0 (0x0)
>  usb.configuration_value = 1 (0x1)
>  usb.version = 1.0
>  usb.max_power = 100 (0x64)
>  usb.vendor_id = 3487 (0xd9f)
>  linux.sysfs_path = '/sys/devices/pci:00/:00:1d.0/usb4/4-1/4-1:1.0'
>  usb.num_configurations = 1 (0x1)
>  usb.is_self_powered = false
>  info.parent = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial'
>  usb.num_ports = 0 (0x0)
>  usb.product_id = 2 (0x2)
>  usb.num_interfaces = 1 (0x1)
>  usb.can_wake_up = false
>  usb.linux.device_number = 7 (0x7)
>  usb.vendor = 'Powercom Co., Ltd'
>  linux.hotplug_type = 2 (0x2)
>  usb.device_class = 0 (0x0)
>  usb.bus_number = 4 (0x4)
>  linux.subsystem = 'usb'
>
>  1: udi = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial'
>  info.subsystem = 'usb_device'
>  info.linux.driver = 'usb'
>  usb_device.product = 'USB to Serial'
>  linux.device_file = '/dev/bus/usb/004/007' <<- That's it
>  usb_device.linux.sysfs_path =
> '/sys/devices/pci:00/:00:1d.0/usb4/4-1'
>  info.product = 'USB to Serial'
>  usb_device.device_revision_bcd = 0 (0x0)
>  usb_device.configuration_value = 1 (0x1)
>  usb_device.max_power = 100 (0x64)
>
>  info.udi = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial'
>  usb_device.num_configurations = 1 (0x1)
>  usb_device.num_ports = 0 (0x0)
>  usb_device.num_interfaces = 1 (0x1)
>  usb_device.linux.device_number = 7 (0x7)
>  usb_device.device_class = 0 (0x0)
>  linux.sysfs_path = '/sys/devices/pci:00/:00:1d.0/usb4/4-1'
>  usb_device.device_subclass = 0 (0x0)
>  info.vendor = 'Powercom Co., Ltd'
>  usb_device.speed = 1.5
>  info.parent =
> '/org/freedesktop/Hal/devices/usb_device_1d6b_1__00_1d_0'
>  usb_device.device_protocol = 0 (0x0)
>  usb_device.version = 1.0
>  usb_device.vendor_id = 3487 (0xd9f)
>  usb_device.is_self_powered = false
>  usb_device.product_id = 2 (0x2)
>  usb_device.can_wake_up = false
>  linux.hotplug_type = 2 (0x2)
>  usb_device.vendor = 'Powercom Co., Ltd'
>  usb_device.bus_number = 4 (0x4)
>  linux.subsystem = 'usb'
>
> For some reason, the printout did not include this:
>
> Drivers
>   Modules
>  Active: Yes
>  modprobe: Yes
>  modules
>   modprobe cypress_m8
> Drivers
>   Modules
>  Active: Yes
>  modprobe: Yes
>  modules
>   modprobe usbhid
>
> I installed nut. It has a configuration file, /etc/ups/ups.conf, which
> requires this:
>
> [upsname]
>  driver = 
>   port = 
>< any other directives here >
>
> The critical items are drivername and portname.
> The nut documentation suggests the use of /dev/hiddev0 for portname,
> however I don't have any /dev/hiddev0, 1, 2 ... entries. (nor do they
> exist in some sub-direcory).
>
> As an inspired (?) guess, I tried driver = powercom and port = /dev/ttyS0.
>
> The upsd daemon started , but was unable to communicate with the device:
> Here are the last few entries from syslog:
>
> Aug 18 13:40:11 danny upsmon[15804]: Poll UPS [my...@localhost] failed -
> Data stale
>
> Aug 18 13:40:12 danny powercom[15796]: data receiving error (-1 instead
> of 11 bytes)
>
> Aug 18 13:40:16 danny upsmon[15804]: Poll UPS [my...@localhost] failed -
> Data stale
>
> Aug 18 13:40:17 danny powercom[15796]: data receiving error (-1 instead
> of 11 bytes)
>
>
> It's easy to see what's happening: Th

Re: Connecting a USB UPS

2009-08-19 Thread Daniel Feiglin
Nope. There is no such thing as a ttyUSB0 device anywhere. However, in
the mean time I found someone else with the same problem, who did this:

Begin quote:

USB Serial Converter support

This serial driver supports a wide range of USB to serial adapters. It
also allows communication with the Handspring Visor. You need to turn on
USB Serial Converter support, and then select whichever of the various
particular drivers you need. The Generic Serial Driver can be used with
a wide range of converters, by specifying the vendor and product ID
codes when you load the USB serial converter module: insmod usb-serial.o
vendor=0x product-0x, where you need to change the  and 
to match your device.

The serial port driver uses a major number of 188. Up to sixteen serial
ports are supported. To create the appropriate device entries, use the
following commands:

mknod /dev/usb/ttyUSB0 c 188 0
...
mknod /dev/usb/ttyUSB15 c 188 15

You should now be able to plug in a serial device into the adapter, and
use the /dev/usb/ttyUSB0 just as if it were a normal serial port.

End quote.

Well, it didn't work, but it is in the right direction. I now see two
new devices in /dev, hiddev0 and hidraw0. That was the immediate effect
of the insmod.

Grinding on 

Daniel


Ori Idan wrote:
> It seems to be usb to serial device so try /dev/ttyUSB0
>
> -- 
> Ori Idan
>
>
> 2009/8/19 Daniel Feiglin  >
>
> Hello folks!
>
> I use a SL1000 UPS. The model is marketed by Advice, and looks like
> their continuation of the Sustainer UPS line. It comes with both a
> serial and USB port. The serial version of the SL line always
> worked OK
> under Linux with their grotty (but adequate) UPSMON program, which
> comes
> with the unit (or may be downloaded from the Powercom site.
> www dot pcmups dot com dot tw).
>
> My current workstation does not have any serial ports, so the supplied
> UPSMON will not work.
>
> As proof of hardware integrity for what follows, I ran up the supplied
> Windows UPS software on an XP client running under VMware. The new USB
> device was detected and everything worked as it should.
>
> Back to Linux:
> I'm running openSUSE 11.1 with KDE 3.5 fully updated.
>
> First, the relevant line from lsusb:
>
> Bus 004 Device 008: ID 0d9f:0002 Powercom Co., Ltd
>
> Next, an extract from the YAST hardware Information module:
>
> - hal device list -
>  0: udi = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial_if0'
>  info.subsystem = 'usb'
>  usb.interface.number = 0 (0x0)
>  info.linux.driver = 'usbhid'
>  usb.product = 'USB HID Interface'
>  usb.device_subclass = 0 (0x0)
>  usb.interface.class = 3 (0x3)
>  info.product = 'USB HID Interface'
>  usb.linux.sysfs_path =
> '/sys/devices/pci:00/:00:1d.0/usb4/4-1/4-1:1.0'
>  usb.speed = 1.5
>  usb.interface.subclass = 0 (0x0)
>
>  info.udi =
> '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial_if0'
>  usb.device_revision_bcd = 0 (0x0)
>  usb.device_protocol = 0 (0x0)
>  usb.interface.protocol = 0 (0x0)
>  usb.configuration_value = 1 (0x1)
>  usb.version = 1.0
>  usb.max_power = 100 (0x64)
>  usb.vendor_id = 3487 (0xd9f)
>  linux.sysfs_path =
> '/sys/devices/pci:00/:00:1d.0/usb4/4-1/4-1:1.0'
>  usb.num_configurations = 1 (0x1)
>  usb.is_self_powered = false
>  info.parent =
> '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial'
>  usb.num_ports = 0 (0x0)
>  usb.product_id = 2 (0x2)
>  usb.num_interfaces = 1 (0x1)
>  usb.can_wake_up = false
>  usb.linux.device_number = 7 (0x7)
>  usb.vendor = 'Powercom Co., Ltd'
>  linux.hotplug_type = 2 (0x2)
>  usb.device_class = 0 (0x0)
>  usb.bus_number = 4 (0x4)
>  linux.subsystem = 'usb'
>
>  1: udi = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial'
>  info.subsystem = 'usb_device'
>  info.linux.driver = 'usb'
>  usb_device.product = 'USB to Serial'
>  linux.device_file = '/dev/bus/usb/004/007' <<- That's it
>  usb_device.linux.sysfs_path =
> '/sys/devices/pci:00/:00:1d.0/usb4/4-1'
>  info.product = 'USB to Serial'
>  usb_device.device_revision_bcd = 0 (0x0)
>  usb_device.configuration_value = 1 (0x1)
>  usb_device.max_power = 100 (0x64)
>
>  info.udi = '/org/freedesktop/Hal/devices/usb_device_d9f_2_noserial'
>  usb_device.num_configurations = 1 (0x1)
>  usb_device.num_ports = 0 (0x0)
>  usb_device.num_interfaces = 1 (0x1)
>  usb_device.linux.device_number = 7 (0x7)
>  usb_device.device_class = 0 (0x0)
>  linux.sysfs_path = '/sys/devices/pci:00/:00:1d.0/usb4/4-1'
>  usb_device.device_subclass = 0 (0x0)
>  info.vendor = 'Powercom Co., Ltd'
>  usb_device.speed = 1.5
>  info.parent =
> '/org/freedesktop/Hal/de

Re: Suggestion for a webmail application with good Hebrew Support

2009-08-19 Thread Yuval Hager
On Tuesday 18 August 2009, Dave Stav wrote:
> Dear list members,
>
> We are looking for a webmail application that has good support in Hebrew
> messages (encoding and ltr/rtl).
>
> So far, it seems to me that roundcube-webmail is the best candidate, but
> also considering:
>
> Open WebMail
> IMP
> SquirrelMail
> roundcube
>
> Any suggestions?
>
> Thanks,
>
> Dave

I'm curious to see what experience do other people in the list has. 
roundcube is indeed very nice, and close to zero configuration, but it is a 
bit buggy, and know for vulnerabilities. 
I am now trying IMP (+DIMP/MIMP), it looks good too, but much more difficult 
to configure, and much less shiny.
There are no problems with encoding (I found some in IMP, but I think they 
are configuration, not bugs), and none has good RTL support like I have on 
my kmail-3.5.

-- 
yuval


signature.asc
Description: This is a digitally signed message part.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Suggestion for a webmail application with good Hebrew Support

2009-08-19 Thread Micha Silver




Yuval Hager wrote:

  On Tuesday 18 August 2009, Dave Stav wrote:
  
  
Dear list members,

We are looking for a webmail application that has good support in Hebrew
messages (encoding and ltr/rtl).

So far, it seems to me that roundcube-webmail is the best candidate, but
also considering:

Open WebMail
IMP
SquirrelMail
roundcube

Any suggestions?

Thanks,

Dave

  
  
I'm curious to see what experience do other people in the list has. 
roundcube is indeed very nice, and close to zero configuration, but it is a 
bit buggy, and know for vulnerabilities. 
I am now trying IMP (+DIMP/MIMP), it looks good too, but much more difficult 
to configure, and much less shiny.
There are no problems with encoding (I found some in IMP, but I think they 
are configuration, not bugs), and none has good RTL support like I have on 
my kmail-3.5.

  

Squirrelmail, as you all probably already know, looks somewhat
"old-fashioned". The interface is fully translated but uses
windows-1255 encoding instead of unicode.
And Yonatan was looking for some automatic filtering of incoming
messages. I don't see that feature in Squirrelmail or any  plugins.

  
  

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

This mail was received via Mail-SeCure System.


  





___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Attaching a camera via USB

2009-08-19 Thread David Suna
My son got an inexpensive digital camera and I am trying to plug it in 
to an Ubuntu system to be able to copy off the pictures.  When I plug in 
the camera to the USB a light on the camera flashes but the device is 
not detected as a storage device.  When I run lsusb it sees the device


Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd

lsusb -v for that device shows

Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
Device Descriptor:
 bLength18
 bDescriptorType 1
 bcdUSB   1.10
 bDeviceClass0 (Defined at Interface level)
 bDeviceSubClass 0
 bDeviceProtocol 0
 bMaxPacketSize0 8
 idVendor   0x0979 Jeilin Technology Corp., Ltd
 idProduct  0x0227
 bcdDevice1.00
 iManufacturer   1
 iProduct2
 iSerial 0
 bNumConfigurations  1
 Configuration Descriptor:
   bLength 9
   bDescriptorType 2
   wTotalLength   46
   bNumInterfaces  1
   bConfigurationValue 1
   iConfiguration  0
   bmAttributes 0x80
 (Bus Powered)
   MaxPower  384mA
   Interface Descriptor:
 bLength 9
 bDescriptorType 4
 bInterfaceNumber0
 bAlternateSetting   0
 bNumEndpoints   4
 bInterfaceClass 0 (Defined at Interface level)
 bInterfaceSubClass  0
 bInterfaceProtocol  0
 iInterface  0
 Endpoint Descriptor:
   bLength 7
   bDescriptorType 5
   bEndpointAddress 0x01  EP 1 OUT
   bmAttributes2
 Transfer TypeBulk
 Synch Type   None
 Usage Type   Data
   wMaxPacketSize 0x0040  1x 64 bytes
   bInterval   0
 Endpoint Descriptor:
   bLength 7
   bDescriptorType 5
   bEndpointAddress 0x82  EP 2 IN
   bmAttributes2
 Transfer TypeBulk
 Synch Type   None
 Usage Type   Data
   wMaxPacketSize 0x0040  1x 64 bytes
   bInterval   0
 Endpoint Descriptor:
   bLength 7
   bDescriptorType 5
   bEndpointAddress 0x03  EP 3 OUT
   bmAttributes2
 Transfer TypeBulk
 Synch Type   None
 Usage Type   Data
   wMaxPacketSize 0x0008  1x 8 bytes
   bInterval   0
 Endpoint Descriptor:
   bLength 7
   bDescriptorType 5
   bEndpointAddress 0x84  EP 4 IN
   bmAttributes2
 Transfer TypeBulk
 Synch Type   None
 Usage Type   Data
   wMaxPacketSize 0x0008  1x 8 bytes
   bInterval   0
cannot read device status, Operation not permitted (1)


I do not know how to move forward on getting this device to work as a 
storage device.  I do not need to use it as a webcam (which 
theoretically it can do) I just want to be able to copy off the pictures 
and delete them.  I tried searching but wasn't able to narrow down the 
search enough to be useful.  Any help on how to do this or pointers to 
online resources on how to do this would be appreciated.



Thanks,

--
David Suna
da...@davidsconsultants.com


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-19 Thread Amos Shapira
2009/8/19 David Suna :
> My son got an inexpensive digital camera and I am trying to plug it in to an
> Ubuntu system to be able to copy off the pictures.  When I plug in the
> camera to the USB a light on the camera flashes but the device is not
> detected as a storage device.  When I run lsusb it sees the device
>
> Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd

It's not a direct solution to your problem, and maybe things changed
since last time I checked, but personally I prefer to use a card
reader for such tasks:

1. It saves camera battery.
2. It's much faster than the camera's USB interface (?)
3. I suspect that taking out the card and putting it back in is less
unhealthy for the camera than connecting the mini/micro-usb cable.

It's been a few years now that many printers come with a built-in card
reader, so maybe you have one already.

As for getting your camera recognised, maybe the following link could
help or point to the right direction:
https://help.ubuntu.com/community/Mount/USB (pointing to possibly more
relevant link: https://help.ubuntu.com/community/UsbDriveDoSomethingHowto)

Cheers,

--Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-19 Thread Hetz Ben Hamo
Hi David,

Did you see this? http://osdir.com/ml/linux-media/2009-06/msg00852.html

Thanks,
Hetz

On Wed, Aug 19, 2009 at 4:59 PM, David Suna wrote:
> My son got an inexpensive digital camera and I am trying to plug it in to an
> Ubuntu system to be able to copy off the pictures.  When I plug in the
> camera to the USB a light on the camera flashes but the device is not
> detected as a storage device.  When I run lsusb it sees the device
>
> Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
>
> lsusb -v for that device shows
>
> Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
> Device Descriptor:
>  bLength                18
>  bDescriptorType         1
>  bcdUSB               1.10
>  bDeviceClass            0 (Defined at Interface level)
>  bDeviceSubClass         0
>  bDeviceProtocol         0
>  bMaxPacketSize0         8
>  idVendor           0x0979 Jeilin Technology Corp., Ltd
>  idProduct          0x0227
>  bcdDevice            1.00
>  iManufacturer           1
>  iProduct                2
>  iSerial                 0
>  bNumConfigurations      1
>  Configuration Descriptor:
>   bLength                 9
>   bDescriptorType         2
>   wTotalLength           46
>   bNumInterfaces          1
>   bConfigurationValue     1
>   iConfiguration          0
>   bmAttributes         0x80
>     (Bus Powered)
>   MaxPower              384mA
>   Interface Descriptor:
>     bLength                 9
>     bDescriptorType         4
>     bInterfaceNumber        0
>     bAlternateSetting       0
>     bNumEndpoints           4
>     bInterfaceClass         0 (Defined at Interface level)
>     bInterfaceSubClass      0
>     bInterfaceProtocol      0
>     iInterface              0
>     Endpoint Descriptor:
>       bLength                 7
>       bDescriptorType         5
>       bEndpointAddress     0x01  EP 1 OUT
>       bmAttributes            2
>         Transfer Type            Bulk
>         Synch Type               None
>         Usage Type               Data
>       wMaxPacketSize     0x0040  1x 64 bytes
>       bInterval               0
>     Endpoint Descriptor:
>       bLength                 7
>       bDescriptorType         5
>       bEndpointAddress     0x82  EP 2 IN
>       bmAttributes            2
>         Transfer Type            Bulk
>         Synch Type               None
>         Usage Type               Data
>       wMaxPacketSize     0x0040  1x 64 bytes
>       bInterval               0
>     Endpoint Descriptor:
>       bLength                 7
>       bDescriptorType         5
>       bEndpointAddress     0x03  EP 3 OUT
>       bmAttributes            2
>         Transfer Type            Bulk
>         Synch Type               None
>         Usage Type               Data
>       wMaxPacketSize     0x0008  1x 8 bytes
>       bInterval               0
>     Endpoint Descriptor:
>       bLength                 7
>       bDescriptorType         5
>       bEndpointAddress     0x84  EP 4 IN
>       bmAttributes            2
>         Transfer Type            Bulk
>         Synch Type               None
>         Usage Type               Data
>       wMaxPacketSize     0x0008  1x 8 bytes
>       bInterval               0
> cannot read device status, Operation not permitted (1)
>
>
> I do not know how to move forward on getting this device to work as a
> storage device.  I do not need to use it as a webcam (which theoretically it
> can do) I just want to be able to copy off the pictures and delete them.  I
> tried searching but wasn't able to narrow down the search enough to be
> useful.  Any help on how to do this or pointers to online resources on how
> to do this would be appreciated.
>
>
> Thanks,
>
> --
> David Suna
> da...@davidsconsultants.com
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>



-- 
Skepticism is the lazy person's default position.
my blog (hebrew): http://benhamo.org
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Suggestion for a webmail application with good Hebrew Support

2009-08-19 Thread Moish

Roundcubemail is using TinyMCE editor which supports
Hebrew oob and has a GREAT translation ( me :) )
It's indeed new but with avid contributors. The next version will
have an improved support for plugins, which are accumulating quickly.
Some people from the community are offering it to their
customers' base so I assume it's not that bad :)
I mamnaged to import all my contacts from a spreadsheet and many
from the community are using ldap.

It's very easy to install and use, so try it.

I'm using also Squirrlemail which is extremely rubust and
with many plugins but Hebrew support is weak ( you can use
an editor through an unfriendly plugin ) and it's UI is
stale at best.

Bottom line:

If you need a quick and dirty tool that just works - squirrlemail.
If you are looking for a modern tool with potential and good
   Hebrew support - Roundcubemail.
If you are looking for Gmail replacement - go elsewhere.

PS I'm not aware of any vulnerability.

--
Moish


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [?? Probable Spam] Re: Attaching a camera via USB

2009-08-19 Thread David Suna
Yes.  However, they had a problem getting it to work as a web cam.  It 
automatically came up as a mass storage device.  For me it is not even 
coming up as a mass storage device.


David Suna
da...@davidsconsultants.com



Hetz Ben Hamo wrote:


Hi David,

Did you see this? http://osdir.com/ml/linux-media/2009-06/msg00852.html

Thanks,
Hetz

On Wed, Aug 19, 2009 at 4:59 PM, David Suna wrote:
  

My son got an inexpensive digital camera and I am trying to plug it in to an
Ubuntu system to be able to copy off the pictures.  When I plug in the
camera to the USB a light on the camera flashes but the device is not
detected as a storage device.  When I run lsusb it sees the device

Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd

lsusb -v for that device shows

Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
Device Descriptor:
 bLength18
 bDescriptorType 1
 bcdUSB   1.10
 bDeviceClass0 (Defined at Interface level)
 bDeviceSubClass 0
 bDeviceProtocol 0
 bMaxPacketSize0 8
 idVendor   0x0979 Jeilin Technology Corp., Ltd
 idProduct  0x0227
 bcdDevice1.00
 iManufacturer   1
 iProduct2
 iSerial 0
 bNumConfigurations  1
 Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   46
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0x80
(Bus Powered)
  MaxPower  384mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0
bNumEndpoints   4
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass  0
bInterfaceProtocol  0
iInterface  0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x01  EP 1 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0040  1x 64 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x82  EP 2 IN
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0040  1x 64 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x03  EP 3 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0008  1x 8 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x84  EP 4 IN
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0008  1x 8 bytes
  bInterval   0
cannot read device status, Operation not permitted (1)


I do not know how to move forward on getting this device to work as a
storage device.  I do not need to use it as a webcam (which theoretically it
can do) I just want to be able to copy off the pictures and delete them.  I
tried searching but wasn't able to narrow down the search enough to be
useful.  Any help on how to do this or pointers to online resources on how
to do this would be appreciated.


Thanks,

--
David Suna
da...@davidsconsultants.com


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il






  


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-19 Thread Steve Litt
On Wednesday 19 August 2009 09:59:42 David Suna wrote:
> My son got an inexpensive digital camera and I am trying to plug it in
> to an Ubuntu system to be able to copy off the pictures.  When I plug in
> the camera to the USB a light on the camera flashes but the device is
> not detected as a storage device.  When I run lsusb it sees the device

I think the first step is to see (from specifications or whatever) whether the 
storage on this camera is a filesystem. If not then you have a whole different 
level of trouble.

If it's a filesystem, then keep this in mind -- a lot of cameras require after 
plugging it into the computer you press some kind of button on the camera or 
from the camera perform some kind of menu option, and THEN Ubuntu pops up 
asking whether you want to run a program or just mount it.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-19 Thread David Suna

Steve Litt wrote:

On Wednesday 19 August 2009 09:59:42 David Suna wrote:
  

My son got an inexpensive digital camera and I am trying to plug it in
to an Ubuntu system to be able to copy off the pictures.  When I plug in
the camera to the USB a light on the camera flashes but the device is
not detected as a storage device.  When I run lsusb it sees the device



I think the first step is to see (from specifications or whatever) whether the 
storage on this camera is a filesystem. If not then you have a whole different 
level of trouble.


If it's a filesystem, then keep this in mind -- a lot of cameras require after 
plugging it into the computer you press some kind of button on the camera or 
from the camera perform some kind of menu option, and THEN Ubuntu pops up 
asking whether you want to run a program or just mount it.


SteveT

  
Unfortunately I don't have any specs or really know how to read them.  
From a link someone posted earlier I got the idea to run fdisk -l and 
find out what the device is but there was no difference in the output 
whether I had the camera plugged in or not.



--
David Suna
da...@davidsconsultants.com



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-19 Thread Amos Shapira
2009/8/20 David Suna :
> Unfortunately I don't have any specs or really know how to read them.  From
> a link someone posted earlier I got the idea to run fdisk -l and find out
> what the device is but there was no difference in the output whether I had
> the camera plugged in or not.

"fdisk -l" would be relevant after you got the camera recognised by
ubuntu, have you overcome this stage?

--Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-19 Thread sara fink
storage device is usually appears as dev/sdX when X is a or b or c.

Try to run ls -l /dev/sd* and see if you get something.

On 8/19/09, David Suna  wrote:
> My son got an inexpensive digital camera and I am trying to plug it in
> to an Ubuntu system to be able to copy off the pictures.  When I plug in
> the camera to the USB a light on the camera flashes but the device is
> not detected as a storage device.  When I run lsusb it sees the device
>
> Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
>
> lsusb -v for that device shows
>
> Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
> Device Descriptor:
>   bLength18
>   bDescriptorType 1
>   bcdUSB   1.10
>   bDeviceClass0 (Defined at Interface level)
>   bDeviceSubClass 0
>   bDeviceProtocol 0
>   bMaxPacketSize0 8
>   idVendor   0x0979 Jeilin Technology Corp., Ltd
>   idProduct  0x0227
>   bcdDevice1.00
>   iManufacturer   1
>   iProduct2
>   iSerial 0
>   bNumConfigurations  1
>   Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength   46
> bNumInterfaces  1
> bConfigurationValue 1
> iConfiguration  0
> bmAttributes 0x80
>   (Bus Powered)
> MaxPower  384mA
> Interface Descriptor:
>   bLength 9
>   bDescriptorType 4
>   bInterfaceNumber0
>   bAlternateSetting   0
>   bNumEndpoints   4
>   bInterfaceClass 0 (Defined at Interface level)
>   bInterfaceSubClass  0
>   bInterfaceProtocol  0
>   iInterface  0
>   Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01  EP 1 OUT
> bmAttributes2
>   Transfer TypeBulk
>   Synch Type   None
>   Usage Type   Data
> wMaxPacketSize 0x0040  1x 64 bytes
> bInterval   0
>   Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82  EP 2 IN
> bmAttributes2
>   Transfer TypeBulk
>   Synch Type   None
>   Usage Type   Data
> wMaxPacketSize 0x0040  1x 64 bytes
> bInterval   0
>   Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03  EP 3 OUT
> bmAttributes2
>   Transfer TypeBulk
>   Synch Type   None
>   Usage Type   Data
> wMaxPacketSize 0x0008  1x 8 bytes
> bInterval   0
>   Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x84  EP 4 IN
> bmAttributes2
>   Transfer TypeBulk
>   Synch Type   None
>   Usage Type   Data
> wMaxPacketSize 0x0008  1x 8 bytes
> bInterval   0
> cannot read device status, Operation not permitted (1)
>
>
> I do not know how to move forward on getting this device to work as a
> storage device.  I do not need to use it as a webcam (which
> theoretically it can do) I just want to be able to copy off the pictures
> and delete them.  I tried searching but wasn't able to narrow down the
> search enough to be useful.  Any help on how to do this or pointers to
> online resources on how to do this would be appreciated.
>
>
> Thanks,
>
> --
> David Suna
> da...@davidsconsultants.com
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il