[gentoo-user] [OT] laptop desktop serial connection don't work on one direction

2011-11-05 Thread Kfir Lavi
Hi all,
I have a problem connecting my laptop to my server at home with a serial
cable.
I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0.
This lets me test the connection between all serial outputs.
Desktop1-minicom - Desktop2-minicom
works with all connections, i.e ttyUSB0 - ttyUSB0, or ttyS0 - ttyUSB0
and viseversa.
So when connecting 2 desktop computers everything works as expected.

The problem:
When I connect my laptop to any of those desktops, I get just one way
connection!
If I swap the sides of the cable, the one way connection switch side.
The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0
When I swap sides, it is just between two usb dongles.

The usb dongles are PL2303 both sides.
Settings of minicom is 38400 8n1  Hardware Flow Control=OFF

Laptop setserial:
setserial -a /dev/ttyUSB0
/dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0
Baud_base: 460800, close_delay: 0, divisor: 0
closing_wait: infinte
Flags: spd_normal

Desktop1 setserial:
setserial -a /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test

setserial -a /dev/ttyUSB0
/dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0
Baud_base: 460800, close_delay: 0, divisor: 0
closing_wait: infinte
Flags: spd_normal

I tried to add the skip_test but this seems to be not working.
I'm not sure what to do next.

Any help will be appreciated,
Thanks,
Kfir


Re: [gentoo-user] udev rules for an iPod Touch?

2011-11-05 Thread Joost Roeleveld
On Friday, November 04, 2011 06:03:55 PM Mark Knecht wrote:
 2011/11/4 Jorge Martínez López jorg...@gmail.com:
  Did you install app-pda/ifuse and app-pda/libimobiledevice (dependency
  of ifuse and gtkpod)?. I do not recall touching any udev rule.
  
  Greetings,
  
  --
  Jorge Martínez López jorg...@gmail.com http://www.jorgeml.net
Google Talk / XMPP: jorg...@gmail.com
 
 Hi Jorge,
Thanks for the ifuse idea. ifuse /mnt/ipod does seem to get the
 device mounted. However just poking around in the /mnt/ipod directory
 isn't very clear by itself about how music (and one day hopefully
 videos) are stored. Maybe I can find some info somewhere to help with
 that if necessary.
 
Even with the device mounted it doesn't seem to be visible to
 gtkpod, and there aren't any new USB disk messages in dmesg. Just a
 single ifuse message is all that's added.
 
Well, at least I can sort of communicate with the ipod even if I
 cannot do anything interesting yet.
 
Thanks!
 
 - Mark

Mark,

I haven't played with my iPod touch yet, but the older models all worked 
with gtkpod.
You might need to tell gtkpod to open the ipod by pointing it where it is 
mounted.

Menu: Edit - Repository/iPod Options
Then click on Add new repository/iPod and fill in the details for your iPod. 
(The backup-file is in my home-dir on my desktop for mine)

Any files you manually copy to the iPod will NOT be picked up as a database 
file needs to be updated as well.

Apple also has this annoying tendency to change the DB-structure for every 
version and gtkpod needs to have specific support for your model for it to 
work.

--
Joost



Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction

2011-11-05 Thread Mick
On Saturday 05 Nov 2011 09:20:19 Kfir Lavi wrote:
 Hi all,
 I have a problem connecting my laptop to my server at home with a serial
 cable.
 I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0.
 This lets me test the connection between all serial outputs.
 Desktop1-minicom - Desktop2-minicom
 works with all connections, i.e ttyUSB0 - ttyUSB0, or ttyS0 - ttyUSB0
 and viseversa.
 So when connecting 2 desktop computers everything works as expected.
 
 The problem:
 When I connect my laptop to any of those desktops, I get just one way
 connection!
 If I swap the sides of the cable, the one way connection switch side.
 The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0
 When I swap sides, it is just between two usb dongles.
 
 The usb dongles are PL2303 both sides.
 Settings of minicom is 38400 8n1  Hardware Flow Control=OFF
 
 Laptop setserial:
 setserial -a /dev/ttyUSB0
 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0
 Baud_base: 460800, close_delay: 0, divisor: 0
 closing_wait: infinte
 Flags: spd_normal
 
 Desktop1 setserial:
 setserial -a /dev/ttyS0
 /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
 Baud_base: 115200, close_delay: 50, divisor: 0
 closing_wait: 3000
 Flags: spd_normal skip_test
 
 setserial -a /dev/ttyUSB0
 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0
 Baud_base: 460800, close_delay: 0, divisor: 0
 closing_wait: infinte
 Flags: spd_normal
 
 I tried to add the skip_test but this seems to be not working.
 I'm not sure what to do next.
 
 Any help will be appreciated,
 Thanks,
 Kfir

I think that you will need the pin mapping of a 'null modem' to be able to 
have bidirectional connectivity.

Have a look here:

http://en.wikipedia.org/wiki/Null_modem

I think I still have an RS-232 to D9 null modem adaptor somewhere in my bins 
of spares.

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction

2011-11-05 Thread Kfir Lavi
On Sat, Nov 5, 2011 at 12:17 PM, Mick michaelkintz...@gmail.com wrote:

 On Saturday 05 Nov 2011 09:20:19 Kfir Lavi wrote:
  Hi all,
  I have a problem connecting my laptop to my server at home with a serial
  cable.
  I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0.
  This lets me test the connection between all serial outputs.
  Desktop1-minicom - Desktop2-minicom
  works with all connections, i.e ttyUSB0 - ttyUSB0, or ttyS0 - ttyUSB0
  and viseversa.
  So when connecting 2 desktop computers everything works as expected.
 
  The problem:
  When I connect my laptop to any of those desktops, I get just one way
  connection!
  If I swap the sides of the cable, the one way connection switch side.
  The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0
  When I swap sides, it is just between two usb dongles.
 
  The usb dongles are PL2303 both sides.
  Settings of minicom is 38400 8n1  Hardware Flow Control=OFF
 
  Laptop setserial:
  setserial -a /dev/ttyUSB0
  /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0
  Baud_base: 460800, close_delay: 0, divisor: 0
  closing_wait: infinte
  Flags: spd_normal
 
  Desktop1 setserial:
  setserial -a /dev/ttyS0
  /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
  Baud_base: 115200, close_delay: 50, divisor: 0
  closing_wait: 3000
  Flags: spd_normal skip_test
 
  setserial -a /dev/ttyUSB0
  /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0
  Baud_base: 460800, close_delay: 0, divisor: 0
  closing_wait: infinte
  Flags: spd_normal
 
  I tried to add the skip_test but this seems to be not working.
  I'm not sure what to do next.
 
  Any help will be appreciated,
  Thanks,
  Kfir

 I think that you will need the pin mapping of a 'null modem' to be able to
 have bidirectional connectivity.

 Have a look here:

 http://en.wikipedia.org/wiki/Null_modem

 I think I still have an RS-232 to D9 null modem adaptor somewhere in my
 bins
 of spares.

 HTH.
 --
 Regards,
 Mick

Hi and thanks for replaying.
This cable setup is working between the 2 desktop computers
bidirectionally. So, it seems that that part I got right.
The problem is when the laptop use the same cable connection and have just
one direction.

Basically, I need to cross pin 2 and 3, and I have the setup open, so I can
cross whatever pin I want.

Regards,
Kfir


Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction

2011-11-05 Thread Kfir Lavi
On Sat, Nov 5, 2011 at 12:48 PM, Kfir Lavi lavi.k...@gmail.com wrote:



 On Sat, Nov 5, 2011 at 12:17 PM, Mick michaelkintz...@gmail.com wrote:

 On Saturday 05 Nov 2011 09:20:19 Kfir Lavi wrote:
  Hi all,
  I have a problem connecting my laptop to my server at home with a serial
  cable.
  I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0.
  This lets me test the connection between all serial outputs.
  Desktop1-minicom - Desktop2-minicom
  works with all connections, i.e ttyUSB0 - ttyUSB0, or ttyS0 -
 ttyUSB0
  and viseversa.
  So when connecting 2 desktop computers everything works as expected.
 
  The problem:
  When I connect my laptop to any of those desktops, I get just one way
  connection!
  If I swap the sides of the cable, the one way connection switch side.
  The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0
  When I swap sides, it is just between two usb dongles.
 
  The usb dongles are PL2303 both sides.
  Settings of minicom is 38400 8n1  Hardware Flow Control=OFF
 
  Laptop setserial:
  setserial -a /dev/ttyUSB0
  /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0
  Baud_base: 460800, close_delay: 0, divisor: 0
  closing_wait: infinte
  Flags: spd_normal
 
  Desktop1 setserial:
  setserial -a /dev/ttyS0
  /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
  Baud_base: 115200, close_delay: 50, divisor: 0
  closing_wait: 3000
  Flags: spd_normal skip_test
 
  setserial -a /dev/ttyUSB0
  /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0
  Baud_base: 460800, close_delay: 0, divisor: 0
  closing_wait: infinte
  Flags: spd_normal
 
  I tried to add the skip_test but this seems to be not working.
  I'm not sure what to do next.
 
  Any help will be appreciated,
  Thanks,
  Kfir

 I think that you will need the pin mapping of a 'null modem' to be able to
 have bidirectional connectivity.

 Have a look here:

 http://en.wikipedia.org/wiki/Null_modem

 I think I still have an RS-232 to D9 null modem adaptor somewhere in my
 bins
 of spares.

 HTH.
 --
 Regards,
 Mick

 Hi and thanks for replaying.
 This cable setup is working between the 2 desktop computers
 bidirectionally. So, it seems that that part I got right.
 The problem is when the laptop use the same cable connection and have just
 one direction.

 Basically, I need to cross pin 2 and 3, and I have the setup open, so I
 can cross whatever pin I want.

 Regards,
 Kfir


I have checked this with another laptop, and everything works as expected.
(serial connection ttyUSB0 from laptop to ttyUSB0 or ttyS0 on the desktop1).
setserial and stty shows the same output on both laptops, so my guess, it
is something related to the USB system?!
Can someone have a guess on this?

Regards,
Kfir


Re: [gentoo-user] udev rules for an iPod Touch?

2011-11-05 Thread Mark Knecht
On Sat, Nov 5, 2011 at 2:39 AM, Joost Roeleveld jo...@antarean.org wrote:
 On Friday, November 04, 2011 06:03:55 PM Mark Knecht wrote:
 2011/11/4 Jorge Martínez López jorg...@gmail.com:
  Did you install app-pda/ifuse and app-pda/libimobiledevice (dependency
  of ifuse and gtkpod)?. I do not recall touching any udev rule.
 
  Greetings,
 
  --
  Jorge Martínez López jorg...@gmail.com http://www.jorgeml.net
        Google Talk / XMPP: jorg...@gmail.com

 Hi Jorge,
    Thanks for the ifuse idea. ifuse /mnt/ipod does seem to get the
 device mounted. However just poking around in the /mnt/ipod directory
 isn't very clear by itself about how music (and one day hopefully
 videos) are stored. Maybe I can find some info somewhere to help with
 that if necessary.

    Even with the device mounted it doesn't seem to be visible to
 gtkpod, and there aren't any new USB disk messages in dmesg. Just a
 single ifuse message is all that's added.

    Well, at least I can sort of communicate with the ipod even if I
 cannot do anything interesting yet.

    Thanks!

 - Mark

 Mark,

 I haven't played with my iPod touch yet, but the older models all worked
 with gtkpod.
 You might need to tell gtkpod to open the ipod by pointing it where it is
 mounted.

 Menu: Edit - Repository/iPod Options
 Then click on Add new repository/iPod and fill in the details for your iPod.
 (The backup-file is in my home-dir on my desktop for mine)

 Any files you manually copy to the iPod will NOT be picked up as a database
 file needs to be updated as well.

 Apple also has this annoying tendency to change the DB-structure for every
 version and gtkpod needs to have specific support for your model for it to
 work.

 --
 Joost

Hi Joost,
   Ah...insomnia...a great excuse for playing with computers and
answering emails... ;-)

   I had the same idea about telling gtkpod to use this specific iPod
when I started with this, but as best I can tell so far gtkpod won't
see the iPod unless it shows up in dmesg as a USB disk drive. I
believe I read that on their Wiki and was going to try and find the
link at www.gtkpod.org to verify that but the web site isn't
responding right now. I'll double check that later.

   The iPod she has is a First Generation version. It won't run iOS
more recent that 3.x so she cannot get any of the newer features with
iOS5 like NetFlix movies. (At least as far as I can tell so far. I
haven't checked that out very much yet.)

   My real need here is pretty small. I was trying to find something
nice for my wife 'cause she's been doing nice things for me, but
there's no rush on this. My personal interest was really because I've
got a Kindle Fire coming in a couple of weeks which I want to use to
watch movies when I'm donating blood. (I do that a lot because my
blood is pretty unique.) Anyway, I figured out Handbrake for ripping
my DVD collection and was going to use the iPod to test the video
playback. Anyway, I can probably do that from a Windows VM, or worst
case boot my laptop into Windows and do it native if required.

   Thanks for your help. I do appreciate it.

Cheers,
Mark



Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction

2011-11-05 Thread bill.longman
Is there some inittab setting that's different on your laptop?-- Sent from my HP TouchPadOn Nov 5, 2011 2:21 AM, Kfir Lavi lavi.k...@gmail.com wrote: Hi all, I have a problem connecting my laptop to my server at home with a serial cable. I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0. This lets me test the connection between all serial outputs. 

Desktop1-minicom - Desktop2-minicomworks with all connections, i.e ttyUSB0 - ttyUSB0, or ttyS0 - ttyUSB0 and viseversa. So when connecting 2 desktop computers everything works as expected.

The problem:When I connect my laptop to any of those desktops, I get just one way connection!If I swap the sides of the cable, the one way connection switch side.The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0

When I swap sides, it is just between two usb dongles. The usb dongles are PL2303 both sides. Settings of minicom is 38400 8n1 Hardware Flow Control=OFFLaptop setserial:setserial -a /dev/ttyUSB0 

/dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte Flags: spd_normalDesktop1 setserial:setserial -a /dev/ttyS0 

/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_testsetserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0

 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte  Flags: spd_normal  I tried to add the skip_test but this seems to be not working.

I'm not sure what to do next.Any help will be appreciated, Thanks,Kfir


Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction

2011-11-05 Thread Kfir Lavi
On Sat, Nov 5, 2011 at 2:30 PM, bill.long...@gmail.com wrote:

 Is there some inittab setting that's different on your laptop?



 -- Sent from my HP TouchPad
 --
 On Nov 5, 2011 2:21 AM, Kfir Lavi lavi.k...@gmail.com wrote:
 Hi all,
 I have a problem connecting my laptop to my server at home with a serial
 cable.
 I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0.
 This lets me test the connection between all serial outputs.
 Desktop1-minicom - Desktop2-minicom
 works with all connections, i.e ttyUSB0 - ttyUSB0, or ttyS0 - ttyUSB0
 and viseversa.
 So when connecting 2 desktop computers everything works as expected.

 The problem:
 When I connect my laptop to any of those desktops, I get just one way
 connection!
 If I swap the sides of the cable, the one way connection switch side.
 The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0
 When I swap sides, it is just between two usb dongles.

 The usb dongles are PL2303 both sides.
 Settings of minicom is 38400 8n1  Hardware Flow Control=OFF

 Laptop setserial:
 setserial -a /dev/ttyUSB0
 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0
 Baud_base: 460800, close_delay: 0, divisor: 0
 closing_wait: infinte
 Flags: spd_normal

 Desktop1 setserial:
 setserial -a /dev/ttyS0
 /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
 Baud_base: 115200, close_delay: 50, divisor: 0
 closing_wait: 3000
 Flags: spd_normal skip_test

 setserial -a /dev/ttyUSB0
 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0
 Baud_base: 460800, close_delay: 0, divisor: 0
 closing_wait: infinte
 Flags: spd_normal

 I tried to add the skip_test but this seems to be not working.
 I'm not sure what to do next.

 Any help will be appreciated,
 Thanks,
 Kfir

No, it is the same as in the other laptop or servers.

Kfir


[gentoo-user] Python idle - font size for menu and help

2011-11-05 Thread Hartmut Figge
Greetings,

i am just playing a bit with python and have discovered idle. For idle
to be useful the fonts have to be enlarged both for the menus and the
help window.

http://www.triffids.de/pub/screenshot/id05.png (60 KB)

With options-Configure IDLE it was possible to set the font for the
edit window, but how can this be done for menus and help?

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




Re: [gentoo-user] Python idle - font size for menu and help

2011-11-05 Thread Albert W. Hopkins
On Sat, 2011-11-05 at 15:12 +0100, Hartmut Figge wrote:
 Greetings,
 
 i am just playing a bit with python and have discovered idle. For idle
 to be useful the fonts have to be enlarged both for the menus and the
 help window.
 
 http://www.triffids.de/pub/screenshot/id05.png (60 KB)
 
 With options-Configure IDLE it was possible to set the font for the
 edit window, but how can this be done for menus and help?


AFAIK IDLE uses  the Tk toolkit.  So you'll probably need to configure
the fonts for Tk (however that's done).

-a





[gentoo-user] Re: Python idle - font size for menu and help

2011-11-05 Thread Hartmut Figge
Albert W. Hopkins:

AFAIK IDLE uses  the Tk toolkit.

So it seems...

So you'll probably need to configure the fonts for Tk

...and i have already searched for a way to do so. In vain. Would be
nice, if this could be done not alone for idle but also for other tk
applications.

(however that's done).

*g*

A config file in /etc, in home, perhaps some lines in .Xresources...

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




Re: [gentoo-user] Re: Python idle - font size for menu and help

2011-11-05 Thread Michael Mol
On Sat, Nov 5, 2011 at 11:55 AM, Hartmut Figge h.fi...@gmx.de wrote:
 Albert W. Hopkins:

AFAIK IDLE uses  the Tk toolkit.

 So it seems...

So you'll probably need to configure the fonts for Tk

 ...and i have already searched for a way to do so. In vain. Would be
 nice, if this could be done not alone for idle but also for other tk
 applications.

(however that's done).

 *g*

 A config file in /etc, in home, perhaps some lines in .Xresources...

That's what I was thinking. I pretty much stick with a plain xterm,
but for that to be workable on a 22 1080p LCD, I had to adjust font
sizes.

For example, from my ~/.Xdefaults-serenity file:

*customization: -color
xterm.RenderFont.renderFont: true
xterm*faceName: terminusbold
xterm*faceSize: 10

These settings don't impact anything outside of xterm, though.

-- 
:wq



Re: [gentoo-user] udev rules for an iPod Touch?

2011-11-05 Thread Joost Roeleveld
On Saturday, November 05, 2011 04:48:54 AM Mark Knecht wrote:
 On Sat, Nov 5, 2011 at 2:39 AM, Joost Roeleveld jo...@antarean.org wrote:
  On Friday, November 04, 2011 06:03:55 PM Mark Knecht wrote:
  2011/11/4 Jorge Martínez López jorg...@gmail.com:
   Did you install app-pda/ifuse and app-pda/libimobiledevice
   (dependency
   of ifuse and gtkpod)?. I do not recall touching any udev rule.
   
   Greetings,
   
   --
   Jorge Martínez López jorg...@gmail.com http://www.jorgeml.net
 Google Talk / XMPP: jorg...@gmail.com
  
  Hi Jorge,
 Thanks for the ifuse idea. ifuse /mnt/ipod does seem to get the
  device mounted. However just poking around in the /mnt/ipod directory
  isn't very clear by itself about how music (and one day hopefully
  videos) are stored. Maybe I can find some info somewhere to help with
  that if necessary.
  
 Even with the device mounted it doesn't seem to be visible to
  gtkpod, and there aren't any new USB disk messages in dmesg. Just a
  single ifuse message is all that's added.
  
 Well, at least I can sort of communicate with the ipod even if I
  cannot do anything interesting yet.
  
 Thanks!
  
  - Mark
  
  Mark,
  
  I haven't played with my iPod touch yet, but the older models all
  worked with gtkpod.
  You might need to tell gtkpod to open the ipod by pointing it where it
  is mounted.
  
  Menu: Edit - Repository/iPod Options
  Then click on Add new repository/iPod and fill in the details for your
  iPod. (The backup-file is in my home-dir on my desktop for mine)
  
  Any files you manually copy to the iPod will NOT be picked up as a
  database file needs to be updated as well.
  
  Apple also has this annoying tendency to change the DB-structure for
  every version and gtkpod needs to have specific support for your model
  for it to work.
  
  --
  Joost
 
 Hi Joost,
Ah...insomnia...a great excuse for playing with computers and
 answering emails... ;-)
 
I had the same idea about telling gtkpod to use this specific iPod
 when I started with this, but as best I can tell so far gtkpod won't
 see the iPod unless it shows up in dmesg as a USB disk drive. I
 believe I read that on their Wiki and was going to try and find the
 link at www.gtkpod.org to verify that but the web site isn't
 responding right now. I'll double check that later.

Maybe for auto-detection, but the first time I played with gtkpod, I had 
problems auto-mounting usb-devices and always did the mounting as root.

Telling gtkpod where the iPod was mounted was sufficient.

The iPod she has is a First Generation version. It won't run iOS
 more recent that 3.x so she cannot get any of the newer features with
 iOS5 like NetFlix movies. (At least as far as I can tell so far. I
 haven't checked that out very much yet.)

I never did, my previous employer had a tendency to give out new iPods each 
year. Not sure if they still do, I would have preferred something more 
usefull, like an eReader.

My real need here is pretty small. I was trying to find something
 nice for my wife 'cause she's been doing nice things for me, but
 there's no rush on this. My personal interest was really because I've
 got a Kindle Fire coming in a couple of weeks which I want to use to
 watch movies when I'm donating blood. (I do that a lot because my
 blood is pretty unique.) Anyway, I figured out Handbrake for ripping
 my DVD collection and was going to use the iPod to test the video
 playback. Anyway, I can probably do that from a Windows VM, or worst
 case boot my laptop into Windows and do it native if required.

Virtualbox has decent USB-pass-through support. Even quite high performance.

Thanks for your help. I do appreciate it.





Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction

2011-11-05 Thread bill.longman
Pardon my top post please.You'll have too ensure that you have only three wires. Line 2 to 3, line 3 to 2 and line 5 straight through. I don't think you'll be able to get bi directional serial links if you have the other hardware lines connected.-- Sent from my HP TouchPadOn Nov 5, 2011 3:17 AM, Mick michaelkintz...@gmail.com wrote: On Saturday 05 Nov 2011 09:20:19 Kfir Lavi wrote:
 Hi all,
 I have a problem connecting my laptop to my server at home with a serial
 cable.
 I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0.
 This lets me test the connection between all serial outputs.
 Desktop1-minicom - Desktop2-minicom
 works with all connections, i.e ttyUSB0 - ttyUSB0, or ttyS0 - ttyUSB0
 and viseversa.
 So when connecting 2 desktop computers everything works as expected.
 
 The problem:
 When I connect my laptop to any of those desktops, I get just one way
 connection!
 If I swap the sides of the cable, the one way connection switch side.
 The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0
 When I swap sides, it is just between two usb dongles.
 
 The usb dongles are PL2303 both sides.
 Settings of minicom is 38400 8n1  Hardware Flow Control=OFF
 
 Laptop setserial:
 setserial -a /dev/ttyUSB0
 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0
 Baud_base: 460800, close_delay: 0, divisor: 0
 closing_wait: infinte
 Flags: spd_normal
 
 Desktop1 setserial:
 setserial -a /dev/ttyS0
 /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
 Baud_base: 115200, close_delay: 50, divisor: 0
 closing_wait: 3000
 Flags: spd_normal skip_test
 
 setserial -a /dev/ttyUSB0
 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0
 Baud_base: 460800, close_delay: 0, divisor: 0
 closing_wait: infinte
 Flags: spd_normal
 
 I tried to add the skip_test but this seems to be not working.
 I'm not sure what to do next.
 
 Any help will be appreciated,
 Thanks,
 Kfir

I think that you will need the pin mapping of a 'null modem' to be able to 
have bidirectional connectivity.

Have a look here:

http://en.wikipedia.org/wiki/Null_modem

I think I still have an RS-232 to D9 null modem adaptor somewhere in my bins 
of spares.

HTH.
-- 
Regards,
Mick


[gentoo-user] {OT} Do open drivers use different GPU abilities?

2011-11-05 Thread Grant
Does anyone know if open-source video drivers like radeon use the
different GPU's in different cards differently?  Maybe not and there
is just a flat identical acceleration for all of the radeon cards?

- Grant



[gentoo-user] Re: {OT} Do open drivers use different GPU abilities?

2011-11-05 Thread Nikos Chantziaras

On 11/05/2011 11:51 PM, Grant wrote:

Does anyone know if open-source video drivers like radeon use the
different GPU's in different cards differently?  Maybe not and there
is just a flat identical acceleration for all of the radeon cards?


The GPUs are different, so yes, the driver needs to handle them differently.




[gentoo-user] lpng14 - mess

2011-11-05 Thread Joseph

revdep-rebuild is showing:
broken /usr/lib64/libgtksourceview-1.0.la (requires -lpng14)

rebuilding bgtksourceview doesn't help. 
find /usr/ -name '*.la' -exec grep png14 {} +
is finding libgtksourceview-1.0.la 

find /usr/ -name '*.la' -exec grep png14 {} + /usr/lib64/libgtksourceview-1.0.la:dependency_libs=' -L/usr/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 
-lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpixman-1 -lpng14 -lXrender -lX11 -lXau -lXdmcp -lfreetype -lfontconfig -lgnomeprint-2-2 
-lart_lgpl_2 -lpango-1.0 -lxml2 -lexpat -lz -lgobject-2.0 -lgmodule-2.0 -lm -ldl -lglib-2.0'


There is a thread on gentoo forum about it, but there seems to me as many 
solution as there a posts :-/ but nothing works:
http://forums.gentoo.org/viewtopic-t-894950-start-75-postdays-0-postorder-asc-highlight-.html?sid=6ed9113f9907687bbdfd90b77c7d7ef0

Anybody know what to do with it?
Do I just delete the libgtksourceview-1.0.la?

--
Joseph



Re: [gentoo-user] udev rules for an iPod Touch?

2011-11-05 Thread Pandu Poluan
On Nov 5, 2011 6:51 PM, Mark Knecht markkne...@gmail.com wrote:

 (I do that a lot because my
 blood is pretty unique.)

(sorry for the offtopicness, but I really am curious)

AB+ ?

Rgds,


[gentoo-user] emerge dependence question

2011-11-05 Thread Zhang Jun
# emerge -pvutDN world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge   ] app-editors/emacs-23.3-r2  USE=X gtk gzip-el jpeg png xft
xpm -Xaw3d -alsa (-aqua) -athena -dbus -gconf -gif -gpm -hesiod -kerberos
-livecd -m17n-lib -motif -sound -source -svg -tiff -toolkit-scroll-bars
[nomerge   ]  app-emacs/emacs-common-gentoo-1.2-r2  USE=X
-emacs22icons
[ebuild  N ]   virtual/emacs-23  0 kB
[ebuild  N ]app-editors/emacs-23.3-r2  USE=X gtk gzip-el jpeg png
xft xpm -Xaw3d -alsa (-aqua) -athena -dbus -gconf -gif -gpm -hesiod
-kerberos -livecd -m17n-lib -motif -sound -source -svg -tiff
-toolkit-scroll-bars 37,842 kB
[ebuild  N ] app-emacs/emacs-common-gentoo-1.2-r2  USE=X
-emacs22icons 46 kB

Total: 3 packages (3 new), Size of downloads: 37,888 kB


question is, which package makes emerge want to install emacs ?
I used to use emacs from portage, but just unmerged it, want to use a
special version from dev source.

thanks!


Re: [gentoo-user] emerge dependence question

2011-11-05 Thread Joseph

I don't use emacs so running:
emerge -pv emacs (wants to pull the following pacages on amd64)
[ebuild  N ] app-admin/eselect-ctags-1.13  8 kB
[ebuild  N ] app-admin/eselect-emacs-1.13  0 kB
[ebuild  N ] app-emacs/emacs-common-gentoo-1.2-r2  
[ebuild  N ] app-editors/emacs-23.3-r2   
[ebuild  N ] virtual/emacs-23  0 kB


just check which one you have installed and pull down the one you are missing.

--
Joseph


On 11/06/11 11:56, Zhang Jun wrote:

  # emerge -pvutDN world

  These are the packages that would be merged, in reverse order:

  Calculating dependencies... done!
  [nomerge   ] app-editors/emacs-23.3-r2  USE=X gtk gzip-el jpeg png
  xft xpm -Xaw3d -alsa (-aqua) -athena -dbus -gconf -gif -gpm -hesiod
  -kerberos -livecd -m17n-lib -motif -sound -source -svg -tiff
  -toolkit-scroll-bars
  [nomerge   ]  app-emacs/emacs-common-gentoo-1.2-r2  USE=X
  -emacs22icons
  [ebuild  N ]   virtual/emacs-23  0 kB
  [ebuild  N ]app-editors/emacs-23.3-r2  USE=X gtk gzip-el jpeg png
  xft xpm -Xaw3d -alsa (-aqua) -athena -dbus -gconf -gif -gpm -hesiod
  -kerberos -livecd -m17n-lib -motif -sound -source -svg -tiff
  -toolkit-scroll-bars 37,842 kB
  [ebuild  N ] app-emacs/emacs-common-gentoo-1.2-r2  USE=X
  -emacs22icons 46 kB

  Total: 3 packages (3 new), Size of downloads: 37,888 kB

  question is, which package makes emerge want to install emacs ?
  I used to use emacs from portage, but just unmerged it, want to use a
  special version from dev source.

  thanks!





[gentoo-user] emerge --update won't solve bind?

2011-11-05 Thread G.Wolfe Woodbury
I'm getting an emerge error that bind has unmet requirements.


Command:
emerge -v --update --deep --newuse --ask @world

Result:

 wolves ~ # cat eme.log

 These are the packages that would be merged, in order:

 Calculating dependencies  ... done!

 !!! The ebuild selected to satisfy net-dns/bind has unmet requirements.
 - net-dns/bind-9.8.1::gentoo USE=berkdb ipv6 ldap (multilib) ssl xml
 -caps -dlz -doc -geoip -gost -gssapi -idn -mysql -odbc -pkcs11
 -postgres -rpz -sdb-ldap (-selinux) -threads -urandom

   The following REQUIRED_USE flag constraints are unsatisfied:
 berkdb? ( dlz ) ldap? ( dlz )

   The above constraints are a subset of the following complete expression:
 postgres? ( dlz ) berkdb? ( dlz ) mysql? ( dlz !threads ) odbc? (
 dlz ) ldap? ( dlz ) sdb-ldap? ( dlz ) gost? ( ssl )

 (dependency required by @selected [set])
 (dependency required by @world [argument])

Hints on solving this one would be appreciated.

I have berkdb and ldap flags in make.conf:

 # These settings were set by the catalyst build script that automatically
 # built this stage.
 # Please consult /usr/share/portage/config/make.conf.example for a more
 # detailed example.
 CFLAGS=-O2 -pipe
 CXXFLAGS=${CFLAGS}
 MAKEOPTS=-j3

 ACCEPT_LICENSE=*
 ACCEPT_KEYWORDS=~amd64 ~x86

 VIDEO_CARDS=radeon
 INPUT_DEVICES=evdev

 EMERGE_DEFAULT_OPTS=--autounmask=y --ask-enter-invalid
 --autounmask-write=y
 PORTDIR_OVERLAY=${PORTDIR_OVERLAY} /usr/local/portage/

 # WARNING: Changing your CHOST is not something that should be done
 lightly.
 # Please consult http://www.gentoo.org/doc/en/change-chost.xml before
 changing.
 CHOST=x86_64-pc-linux-gnu

 # These are the USE flags that were used in addition to what is
 provided by the
 # profile used for building.
 USE=mmx sse sse2 X gtk gnome qt kde dvr dbus sql sqlite declarative
 gdu x264 introspection berkdb

 GENTOO_MIRRORS=http://gentoo.mirrors.tds.net/gentoo;

 SYNC=rsync://rsync26.us.gentoo.org/gentoo-portage

-- 
G.Wolfe Woodbury
redwo...@gmail.com






[gentoo-user] Re: emerge --update won't solve bind?

2011-11-05 Thread Hartmut Figge
G.Wolfe Woodbury:

   The following REQUIRED_USE flag constraints are unsatisfied:
 berkdb? ( dlz ) ldap? ( dlz )

   The above constraints are a subset of the following complete expression:
 postgres? ( dlz ) berkdb? ( dlz ) mysql? ( dlz !threads ) odbc? (
 dlz ) ldap? ( dlz ) sdb-ldap? ( dlz ) gost? ( ssl )

I am getting these messages after
hafi@i5 ~ $ ACCEPT_KEYWORDS=~x86 emerge -pv bind

Hints on solving this one would be appreciated.

hafi@i5 ~ $ USE=dlz ACCEPT_KEYWORDS=~x86 emerge -pv bind

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] net-dns/bind-9.8.1  USE=berkdb dlz doc ipv6 ssl xml
-caps -geoip -gost -gssapi -idn -ldap -mysql -odbc -pkcs11 -postgres
-rpz -sdb-ldap (-selinux) -threads -urandom 8,275 kB

Total: 1 package (1 new), Size of downloads: 8,275 kB

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)