Re: FW: primary address of devices
1. When issuing an ibfind (or ibdev) command, no hardware access is done so no error will be returned. however if you write or read to/from the device, the results are unpredictable. 2. IEEE4888.2 provides a way to enumerate the devices, I do not recall how it is done. However not all devices support it. 3. The name is not related to the device itself so you can call it any name you want. 4. Your other mail contained a question about select and gpib library, I think you can use select like you use on any other file or socket, however I have never tried it myself. In GPIB usually you do not need asynchronous transfer since devices never talk on their own will but allways as a result of the master issuing a query command. Disclaimer: All the above is written from my knowledge of GPIB (I have used GPIB for more then 10 years) not with knowledge about this specific library. -- Ori Idan On 12/24/06, Rafi Cohen <[EMAIL PROTECTED]> wrote: Hi list, I hope the following is not too offtopic and if it is, feel free to answer privately. Does anybody happen to know or work with linux-gpib driver? you may find details on http://linux-gpib.sourceforge.net. Ive sent the following 2 messages to the linux-gpib-general mailing list, but nobody answered me up to now. I hope somebody on this list may help me. I forward this message and another one, relating to 2 different subjects. Thanks, Rafi. -Original Message- *From:* Rafi Cohen [mailto:[EMAIL PROTECTED] *Sent:* Monday, December 18, 2006 1:08 PM *To:* [EMAIL PROTECTED] Sourceforge. Net *Subject:* primary address of devices Hi, sorry in advance if some of my questions are too basic and even not logic. My application needs to support connecting up to 30 devices (actually gsm simulators) to the gpib board in the computer. All those devices have the same primary address (pad) of 14 and no secondary addrss. They have a way to modify in advance their pad. However: 1. If I did not modify the pad of those devices and left all of them with 14, what would happen if I issue an ibdev() in my application? will it return an error or there will be an attempt to open one of the devices? The second option would be excelent as immediately after openning any device with this pad, I could issue an ibpad() to change it's pad to any other address except 14, but logically I believe the first option will happen. 2. Is there a way for the application to obtain the pad of any device connected to the gpib board _before_ openning this device thru ibdev() or ibfind()? Is there any function that does this or should I manually input this pad either to the application or to the gpib.conf file? 3. If I want to open a device using ibfind() thru it's name as entered in the gpib.conf file, am I free to give whatever name to each device or is there a limitation for this name to match something related to the device? I hope my questions are clear, thanks, Rafi.
Python-IL Meeting: Wednesday, 27/12
פגישת הפייתונאים לחודש דצמבר תתקיים ביום ד' 27/12/06, בשעה 19:30. הפגישה תערך במשרדי חברת Egloo, ברחוב הסדנאות 3 בהרצליה, קומה 3. הנושאים להפעם: * נדב סמט ידבר על TurboGears * תומר פיליבה ידבר על pyconstruct לפרטים נוספים, מומלץ להתעדכן בדף הפגישה: http://wiki.python.org.il/Meeting_27_December_2006 בברכה, עמית = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Ubuntu 6.10 and DVD
And even more information that someone might be able to help. On Mandriva 2007 (kernel 2.6.17) the problem is the same on the installation DVD itself. I compiled on my own 2.6.19.1 and the problem still exists, while on older kernels such as 2.6.15 the dvd does work. Ido On 12/16/06, ik <[EMAIL PROTECTED]> wrote: Additional Information: I found a burned dvd that I can read, so it's very selective about what it is willing to read. And the programs that I'm trying to use in order to burn are: k3b, nautilus-cd-burner, Gnome-Baker, and the low level dvdrecord. Ido On 12/15/06, ik <[EMAIL PROTECTED]> wrote: > Hi List, > > I upgraded (using apt-get dist-upgrade) from Ubuntu 6.06 to Ubuntu 6.10. > Since then, my DVD acts really strange. > > My DVD is nec ND-3550A with firmware version 1.05 > I'm using a motherboard of asus with nforce 4 and kernel from ubuntu: > 2.6.17-10 under amd64 . > > I can't read almost any burned DVD regardless of it's size or type of > content (my backups or a movie format). > > The same DVD is readable by ubuntu 6.06 on i386 machine. > > I can burn DVD, but when I try to read them I get messages such as (from dmesg): > > [43988.366149] attempt to access beyond end of device > [43988.366155] hda: rw=0, want=68, limit=4 > [43988.366163] isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16 > > and from dvd+rw-mediainfo : > INQUIRY:[_NEC][DVD_RW ND-3550A ][1.05] > GET [CURRENT] CONFIGURATION: > Mounted Media: 14h, DVD-RW Sequential > Media ID: INFOMEDIAR20 > Current Write Speed: 6.1x1385=8467KB/s > Write Speed #0:6.1x1385=8467KB/s > Write Speed #1:5.1x1385=7056KB/s > Write Speed #2:4.1x1385=5645KB/s > Write Speed #3:3.1x1385=4234KB/s > Write Speed #4:2.0x1385=2822KB/s > Write Speed #5:1.0x1385=1411KB/s > GET [CURRENT] PERFORMANCE: > Write Performance: 1.0x1385=1385KB/[EMAIL PROTECTED] -> 2297888] > :-( empty GET PERFORMACE descriptor > READ DVD STRUCTURE[#10h]: > Media Book Type: 25h, DVD-R book [revision 5] > Legacy lead-out at:2298496*2KB=4707319808 > READ DVD STRUCTURE[#0h]: > Media Book Type: 25h, DVD-R book [revision 5] > Last border-out at:2227568*2KB=4562059264 > READ DISC INFORMATION: > Disc status: complete > Number of Sessions:1 > State of Last Session: complete > Number of Tracks: 1 > READ TRACK INFORMATION[#1]: > Track State: complete,damaged > Track Start Address: 0*2KB > Free Blocks: 0*2KB > Track Size:1*2KB > FABRICATED TOC: > Track#1 : [EMAIL PROTECTED] > Track#AA : [EMAIL PROTECTED] > Multi-session Info:[EMAIL PROTECTED] > READ CAPACITY: 0*2048=0 > > Please note that on different machines, the data that I burn is readable. > > The problem btw, does not happened on regular CD, or non burned DVD's. > > I also have problems with resetting my DVD zone back to zone 1 (from > zone 2), and when I try to use regionset, it just quit without any > error warning, and the zone remains as-is. > > > Thank you for any help on this matters > > > Hag samech, > > Ido > -- > http://ik.homelinux.org/ > -- http://ik.homelinux.org/ -- http://ik.homelinux.org/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
FW: primary address of devices
Hi list, I hope the following is not too offtopic and if it is, feel free to answer privately. Does anybody happen to know or work with linux-gpib driver? you may find details on http://linux-gpib.sourceforge.net. Ive sent the following 2 messages to the linux-gpib-general mailing list, but nobody answered me up to now. I hope somebody on this list may help me. I forward this message and another one, relating to 2 different subjects. Thanks, Rafi. -Original Message- From: Rafi Cohen [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 1:08 PM To: [EMAIL PROTECTED] Sourceforge. Net Subject: primary address of devices Hi, sorry in advance if some of my questions are too basic and even not logic. My application needs to support connecting up to 30 devices (actually gsm simulators) to the gpib board in the computer. All those devices have the same primary address (pad) of 14 and no secondary addrss. They have a way to modify in advance their pad. However: 1. If I did not modify the pad of those devices and left all of them with 14, what would happen if I issue an ibdev() in my application? will it return an error or there will be an attempt to open one of the devices? The second option would be excelent as immediately after openning any device with this pad, I could issue an ibpad() to change it's pad to any other address except 14, but logically I believe the first option will happen. 2. Is there a way for the application to obtain the pad of any device connected to the gpib board _before_ openning this device thru ibdev() or ibfind()? Is there any function that does this or should I manually input this pad either to the application or to the gpib.conf file? 3. If I want to open a device using ibfind() thru it's name as entered in the gpib.conf file, am I free to give whatever name to each device or is there a limitation for this name to match something related to the device? I hope my questions are clear, thanks, Rafi. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/598 - Release Date: 12/22/2006 3:22 PM
FW: linux-gpib driver and select mechanism
-Original Message- From: Rafi Cohen [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 12:45 PM To: [EMAIL PROTECTED] Sourceforge. Net Subject: linux-gpib driver and select mechanism Hi, if my application listens both to rs232 and gpib, is it possible to use the select mechanism with the linux-gpib driver? May I treat the device descriptor returned by ibdev() like any other file descriptor and use it with FD_SET, for example? Thanks, Rafi. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.26/598 - Release Date: 12/22/2006 3:22 PM
Sweet revenge [was: FireFox and Bank haPoalim]
Haifa University's HighLearn system (used to disseminate course material) did not even let Firefox log in. If one do log in (using IE), one finds a host of complex ASP-generated pages with frames and security checks and whatnot. Guess what? http://online.haifa.ac.il/ now features the note לא מומלץ לעדכן את גרסת הדפדפן Internet Explorer לגירסה 7; בימים אלו נבדקת תאימות מעטפת HighLearn לגירסה זו. Such problems would not plague Yaniv Hamo's equivalent system (shameless plug) http://webcourse.cs.technion.ac.il/236990 -- Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]