USB HCD power down / power up

2010-08-31 Thread itamar levit
Hi ALL

How can user application do power down / power up to USB HCD

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


Re: com port list

2010-08-31 Thread Erez D
At last - a good answer.

thanks,
erez.

On Tue, Aug 31, 2010 at 11:33 PM, Oron Peled  wrote:

> On Tuesday, 31 בAugust 2010 12:22:02 Oleg Goldshmidt wrote:
> > 2010/8/31 Erez D :
> > > I am looking for a simple way to know which serial ports i have.
>
> Instead of searching through /proc and /sys you should use hal:
>  * To see everything, simply run 'lshal'
>  * To find UDI's of all serial devices, run:
> hal-find-by-capability --capability serial
>  * To get a specific property (e.g: the device file name):
> hal-get-property --udi  --key linux.device_file
>
> From a program, just use the HAL API's.
> HAL is being deprecated (by DeviceKit/udev), but is still there
> for a while (at least with respect to legacy hardware like serial
> ports).
>
> --
> Oron Peled Voice: +972-4-8228492
> o...@actcom.co.il  
> http://users.actcom.co.il/~oron
> "Normal people ... believe that if it ain't broke, don't fix it.
> Engineers believe that if it ain't broke, it doesn't have enough
> features ... yet." -- Scott Adams
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [YBA] [OT] Mazal tov to Shachar Shemesh

2010-08-31 Thread Maayan Eshed
2010/8/31 Shachar Shemesh 

>  Shlomi Fish wrote:
>
> Hi Jonathan,
>
> On Tuesday 31 August 2010 09:28:02 Jonathan Ben Avraham wrote:
>
>
>  Hi linux-il members,
> Please join me in wishing Shachar Shemesh a hearty "mazal tov".
>
>
>  Sure, but what's the ocassion? Sorry for being out of the loop.
>
>
>  Can't blame you. I did not exactly make this a public knowledge, not did I
> think it was relevant for this list, though it is certainly no secret.
>
>
Mr. Shemesh? dont tell me your firstborn isnt opensource?
um.
err.
late.night.joke.

joining on the chordial Mazal Tov and health to Shahar and  family. happy
new year list.

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


Re: com port list

2010-08-31 Thread Oron Peled
On Tuesday, 31 בAugust 2010 12:22:02 Oleg Goldshmidt wrote:
> 2010/8/31 Erez D :
> > I am looking for a simple way to know which serial ports i have.

Instead of searching through /proc and /sys you should use hal:
 * To see everything, simply run 'lshal'
 * To find UDI's of all serial devices, run:
 hal-find-by-capability --capability serial
 * To get a specific property (e.g: the device file name):
 hal-get-property --udi  --key linux.device_file

From a program, just use the HAL API's.
HAL is being deprecated (by DeviceKit/udev), but is still there
for a while (at least with respect to legacy hardware like serial
ports).

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"Normal people ... believe that if it ain't broke, don't fix it.
Engineers believe that if it ain't broke, it doesn't have enough
features ... yet." -- Scott Adams

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


Re: [YBA] [OT] Mazal tov to Shachar Shemesh

2010-08-31 Thread Valery Reznic

Mazal tov, Shashar.

Valery.
--- On Tue, 8/31/10, Shachar Shemesh  wrote:

From: Shachar Shemesh 
Subject: Re: [YBA] [OT] Mazal tov to Shachar Shemesh
To: "Shlomi Fish" 
Cc: linux-il@cs.huji.ac.il
Date: Tuesday, August 31, 2010, 6:27 PM




  
Shlomi Fish wrote:

  Hi Jonathan,

On Tuesday 31 August 2010 09:28:02 Jonathan Ben Avraham wrote:
  
  
Hi linux-il members,
Please join me in wishing Shachar Shemesh a hearty "mazal tov".

  
  Sure, but what's the ocassion? Sorry for being out of the loop.
  

Can't blame you. I did not exactly make this a public knowledge, not
did I think it was relevant for this list, though it is certainly no
secret.



My first born daughter was born yesterday. Mother and daughter are both
fine.



Shachar

-- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

 

-Inline Attachment Follows-

___
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: Hebrew DNS

2010-08-31 Thread Ariel Biener
I am always surprised to see how sure of themselves people
are when writing to this list, despite having no idea what they're
talking about.

--Ariel

shimi wrote:
> 2010/8/30 Tomer Cohen mailto:to...@gmx.net>>
>
> Please note that ISOC does not provide Hebrew domains domains just
> yet (in the scheme of HebrewString.co.il
>  and HebrewString.net.il
> ), and there is no known plans to
> allow it anytime soon.
>
>
> That's a wrong assertion... http://www.isoc.org.il/domain_heb/idn/idn.html
>
> -- Shimi
> 
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>   

-- 
 --
 Ariel Biener
 e-mail: ar...@post.tau.ac.il
 PGP: http://www.tau.ac.il/~ariel/pgp.html


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


Re: [YBA] [OT] Mazal tov to Shachar Shemesh

2010-08-31 Thread Shachar Shemesh

Shlomi Fish wrote:

Hi Jonathan,

On Tuesday 31 August 2010 09:28:02 Jonathan Ben Avraham wrote:
  

Hi linux-il members,
Please join me in wishing Shachar Shemesh a hearty "mazal tov".



Sure, but what's the ocassion? Sorry for being out of the loop.
  
Can't blame you. I did not exactly make this a public knowledge, not did 
I think it was relevant for this list, though it is certainly no secret.


My first born daughter was born yesterday. Mother and daughter are both 
fine.


Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

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


Re: com port list

2010-08-31 Thread Erez D
On Tue, Aug 31, 2010 at 1:09 PM, Tzafrir Cohen wrote:

> On Tue, Aug 31, 2010 at 12:28:19PM +0300, Erez D wrote:
>
> > i also have 4 which are ttyS0..ttyS3, although i do not have any serial
> port
> > connected
> > and there is no link to the actual dev (although there is a file which
> > includes the major and minor device numbers)
>
> How can your system tell that you have nothing connected there?
>
lshw can

>
> --
> Tzafrir Cohen | tzaf...@jabber.org | VIM is
> http://tzafrir.org.il || a Mutt's
> tzaf...@cohens.org.il ||  best
> tzaf...@debian.org|| friend
>
> ___
> 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: com port list

2010-08-31 Thread Erez D
On Tue, Aug 31, 2010 at 12:32 PM, Oleg Goldshmidt wrote:

> On Tue, Aug 31, 2010 at 12:22 PM, Oleg Goldshmidt 
> wrote:
> > 2010/8/31 Erez D :
> >
> >> I am looking for a simple way to know which serial ports i have.
> >
> > cat /proc/tty/driver/serial ?
>
> Or, rather, do
>
> find /proc -name serial
> find /sys -name serial
>
or -name uart
or  -name rs232
or -name rfcomm
etc ...

>
> and see what comes up and what is useful for you.
>
> --
> Oleg Goldshmidt | p...@goldshmidt.org
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


RE: Linux books, fast shipping?

2010-08-31 Thread Ron Varburg

Another point in their favor
> is that they accept PayPal, whereas Amazon insists on having my credit
> card number.
>

PayPal charge fees for not enclosing your credit card details:
either from the seller or from you. Does it always better to
not disclose those details?
  
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: com port list

2010-08-31 Thread Tzafrir Cohen
On Tue, Aug 31, 2010 at 12:28:19PM +0300, Erez D wrote:

> i also have 4 which are ttyS0..ttyS3, although i do not have any serial port
> connected
> and there is no link to the actual dev (although there is a file which
> includes the major and minor device numbers)

How can your system tell that you have nothing connected there?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend

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


Re: [YBA] [OT] Mazal tov to Shachar Shemesh

2010-08-31 Thread Shlomi Fish
Hi Jonathan,

On Tuesday 31 August 2010 09:28:02 Jonathan Ben Avraham wrote:
> Hi linux-il members,
> Please join me in wishing Shachar Shemesh a hearty "mazal tov".

Sure, but what's the ocassion? Sorry for being out of the loop.

> And to all of you, "shanah tovah",
> 

Shanah Tovah (= "Happy New Jewish Year") to everybody.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
Why I Love Perl - http://shlom.in/joy-of-perl

God considered inflicting XSLT as the tenth plague of Egypt, but then
decided against it because he thought it would be too evil.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

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


Re: com port list

2010-08-31 Thread Oleg Goldshmidt
On Tue, Aug 31, 2010 at 12:22 PM, Oleg Goldshmidt  wrote:
> 2010/8/31 Erez D :
>
>> I am looking for a simple way to know which serial ports i have.
>
> cat /proc/tty/driver/serial ?

Or, rather, do

find /proc -name serial
find /sys -name serial

and see what comes up and what is useful for you.

-- 
Oleg Goldshmidt | p...@goldshmidt.org

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


Re: com port list

2010-08-31 Thread Erez D
On Tue, Aug 31, 2010 at 12:22 PM, Oleg Goldshmidt wrote:

> 2010/8/31 Erez D :
>
> > I am looking for a simple way to know which serial ports i have.
>
> cat /proc/tty/driver/serial ?
>
1. need root permission...
2. gives information, but not which dev

thanks,
erez.

>
> --
> Oleg Goldshmidt | p...@goldshmidt.org
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: com port list

2010-08-31 Thread Baruch Siach
Hi Erez,

On Tue, Aug 31, 2010 at 11:52:06AM +0300, Erez D wrote:
> I am looking for a simple way to know which serial ports i have.
> I want to have a list of all serial ports, either onboard, via usb, via
> bluetooth etc ...
> I'm looking for a better way than scanning /dev/ttyS* /dev/ttyUSB*
> /dev/usb/... etc ...
> 
> 
> In cygwin I just look under
> /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/SERIALCOMM/
> is there somthing similiar in linux (probably somewhere in /proc) ?

Try /sys/class/tty/.

baruch

-- 
 ~. .~   Tk Open Systems
=}ooO--U--Ooo{=
   - bar...@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: com port list

2010-08-31 Thread Erez D
On Tue, Aug 31, 2010 at 12:15 PM, ik  wrote:

> You can use the sysfs for example. It's "actual" path inthe file system
> that represent information about the system of Linux, so any real COM port
> will have a directory with the device name and inside information about the
> port itself.
>
> I do not know regarding COM how it will look like, but for example for
> ethernet it looks like this (just for the sake of understanding):
> /sys/class/net/
>
> For COM I guess it will be /sys/class/tty/ (Not sure tough, I do not have a
> machine with COM at all to check it on).
>
i have many files under /sys/class/tty which are not serial ports
i also have 4 which are ttyS0..ttyS3, although i do not have any serial port
connected
and there is no link to the actual dev (although there is a file which
includes the major and minor device numbers)

thanks,
erez.

>
> Ido
> http://ik.homelinux.org/
>
>
> 2010/8/31 Erez D 
>
>>  hi
>>
>> I am looking for a simple way to know which serial ports i have.
>> I want to have a list of all serial ports, either onboard, via usb, via
>> bluetooth etc ...
>> I'm looking for a better way than scanning /dev/ttyS* /dev/ttyUSB*
>> /dev/usb/... etc ...
>>
>>
>> In cygwin I just look under
>> /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/SERIALCOMM/
>> is there somthing similiar in linux (probably somewhere in /proc) ?
>>
>> thanks,
>> erez.
>>
>>
>> ___
>> 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: com port list

2010-08-31 Thread Oleg Goldshmidt
2010/8/31 Erez D :

> I am looking for a simple way to know which serial ports i have.

cat /proc/tty/driver/serial ?

-- 
Oleg Goldshmidt | p...@goldshmidt.org

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


Re: com port list

2010-08-31 Thread ik
You can use the sysfs for example. It's "actual" path inthe file system that
represent information about the system of Linux, so any real COM port will
have a directory with the device name and inside information about the port
itself.

I do not know regarding COM how it will look like, but for example for
ethernet it looks like this (just for the sake of understanding):
/sys/class/net/

For COM I guess it will be /sys/class/tty/ (Not sure tough, I do not have a
machine with COM at all to check it on).

Ido
http://ik.homelinux.org/


2010/8/31 Erez D 

> hi
>
> I am looking for a simple way to know which serial ports i have.
> I want to have a list of all serial ports, either onboard, via usb, via
> bluetooth etc ...
> I'm looking for a better way than scanning /dev/ttyS* /dev/ttyUSB*
> /dev/usb/... etc ...
>
>
> In cygwin I just look under
> /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/SERIALCOMM/
> is there somthing similiar in linux (probably somewhere in /proc) ?
>
> thanks,
> erez.
>
>
> ___
> 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


Web based file exchange portal

2010-08-31 Thread Dima (Dan) Yasny
Hi all,

I am looking for an OSS solution to the following:
- Linux (RHEL based) frontend, running on Apache
- Windows backend and filer, with AD auth
- Users are able to upload/download files using a web interface (and
hopefully a windows/OSX/Linux client)
- File versioning is nice to have
- Quotas for users
- FTP access is also nice to have

The idea is to have a Linux server in DMZ for file exchange control of files
that are actually in a network that holds the windows infrastructure
I have checked iFolder (mostly Suse oriented, mono/dotnet based, so I
probably can't use it). SparkleShare is too raw for production.

Either way, I don't really need the dropbox-like functionality, just the
basic file upload/download and permission management, maybe someone can
advise on an appropriate piece of software I could use


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


com port list

2010-08-31 Thread Erez D
hi

I am looking for a simple way to know which serial ports i have.
I want to have a list of all serial ports, either onboard, via usb, via
bluetooth etc ...
I'm looking for a better way than scanning /dev/ttyS* /dev/ttyUSB*
/dev/usb/... etc ...


In cygwin I just look under
/proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/SERIALCOMM/
is there somthing similiar in linux (probably somewhere in /proc) ?

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