[gentoo-user] udev rules and hibernation

2013-03-04 Thread nunojsilva
Hello, Currently, I decided to rely on udev to give me predictable network interface names. Strangely, the rules I am using do not seem to work after resuming from hibernation. For example, for one of my interfaces, I have SUBSYSTEM==net, DRIVERS==?*, ATTR{address}==xx:xx:xx:xx:xx:xx, NAME=lan0

[gentoo-user] udev rules

2012-09-30 Thread David Relson
Good morning! I have a Rosewill 75 in 1 card reader with slots for USB, SATA, SD, microSD, etc. udev recognizes USB devices and mounts them as /media/whatever. However, when SD and microSD cards are inserted, /var/log/messages doesn't report anything and the cards aren't mounted. Any

Re: [gentoo-user] udev rules

2012-09-30 Thread Dale
David Relson wrote: Good morning! I have a Rosewill 75 in 1 card reader with slots for USB, SATA, SD, microSD, etc. udev recognizes USB devices and mounts them as /media/whatever. However, when SD and microSD cards are inserted, /var/log/messages doesn't report anything and the cards

Re: [gentoo-user] udev rules

2012-09-30 Thread David Relson
On Sun, 30 Sep 2012 10:58:42 -0500 Dale wrote: David Relson wrote: Good morning! I have a Rosewill 75 in 1 card reader with slots for USB, SATA, SD, microSD, etc. udev recognizes USB devices and mounts them as /media/whatever. However, when SD and microSD cards are inserted,

Re: [gentoo-user] udev rules

2012-09-30 Thread Mick
On Sunday 30 Sep 2012 17:47:45 David Relson wrote: On Sun, 30 Sep 2012 10:58:42 -0500 Dale wrote: David Relson wrote: Good morning! I have a Rosewill 75 in 1 card reader with slots for USB, SATA, SD, microSD, etc. udev recognizes USB devices and mounts them as

Re: [gentoo-user] udev rules

2012-09-30 Thread Neil Bothwick
On Sun, 30 Sep 2012 11:29:09 -0400, David Relson wrote: I have a Rosewill 75 in 1 card reader with slots for USB, SATA, SD, microSD, etc. udev recognizes USB devices and mounts them as /media/whatever. However, when SD and microSD cards are inserted, /var/log/messages doesn't report

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-03 Thread Dale
Alex Schuster wrote: Dale writes: Alex Schuster wrote: Mark Knecht writes: Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a copy of the output for bad times. https://github.com/pturmel/lsdrv That doesn't work here, and I do not understand why. In line 305 it tries

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-03 Thread Paul Hartman
On Fri, Aug 3, 2012 at 1:40 AM, Dale rdalek1...@gmail.com wrote: Nope. I didn't notice he was trying to use 3.2 until after I hit send. Bad thing about emails, you can't delete them after they are sent. :/ In the good old days you could compose offline, and not send them until the next time

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-03 Thread Dale
Paul Hartman wrote: On Fri, Aug 3, 2012 at 1:40 AM, Dale rdalek1...@gmail.com wrote: Nope. I didn't notice he was trying to use 3.2 until after I hit send. Bad thing about emails, you can't delete them after they are sent. :/ In the good old days you could compose offline, and not send them

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Alex Schuster
Canek Peláez Valdés writes: On Wed, Aug 1, 2012 at 7:42 PM, Alex Schuster wo...@wonkology.org wrote: Canek Peláez Valdés writes: [ snip ] Oh, and I forgot; doesn't the links in /dev/disk/by-id, /dev/disk/by-label, /dev/disk/by-uuid do what you want to? Those seem to list partitions

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Alex Schuster
Alex Schuster writes: Canek Peláez Valdés writes: $ ll /dev/disk/by-id ... ata-SAMSUNG_HD160JJ_S08HJ10YC13279 - ../../sda ... That's a whole drive right there. Wow, now I feel really stupid :) You are so right, they are there, and I don't why I overlooked them... too many

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Mark Knecht
On Thu, Aug 2, 2012 at 3:38 AM, Alex Schuster wo...@wonkology.org wrote: Alex Schuster writes: Canek Peláez Valdés writes: $ ll /dev/disk/by-id ... ata-SAMSUNG_HD160JJ_S08HJ10YC13279 - ../../sda ... That's a whole drive right there. Wow, now I feel really stupid :) You are so

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Alex Schuster
Mark Knecht writes: Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a copy of the output for bad times. https://github.com/pturmel/lsdrv That doesn't work here, and I do not understand why. In line 305 it tries and fails to create /dev/block, which is already existing.

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Dale
Alex Schuster wrote: Mark Knecht writes: Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a copy of the output for bad times. https://github.com/pturmel/lsdrv That doesn't work here, and I do not understand why. In line 305 it tries and fails to create /dev/block, which

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Mark Knecht
On Thu, Aug 2, 2012 at 8:02 AM, Alex Schuster wo...@wonkology.org wrote: Mark Knecht writes: Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a copy of the output for bad times. https://github.com/pturmel/lsdrv That doesn't work here, and I do not understand why. In line

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Walter Dnes
On Thu, Aug 02, 2012 at 01:34:04AM +0200, Alex Schuster wrote So I made some udev rules like this, and my drives are called /dev/hd1, hd2 and hd3: SUBSYSTEMS==scsi, KERNEL==sd?, ATTRS{model}==SAMSUNG HD154UI, SYMLINK=hd1 This works fine, and this way I can address them in scripts, smartd

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Peter Humphrey
On Thursday 02 August 2012 16:50:36 Mark Knecht wrote: Dunno about the python-3.2 thing. Are you set to use 3.2 by default? (How aggressive of you!) ;-) I'm set to use 2.7 as default which I think is the overall recommendation of dummies like me: I thought so too, so I was surprised to find a

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Alex Schuster
Walter Dnes writes: You can get the ATTRS{serial} (i.e. serial number). See the printer example at http://www.reactivated.net/writing_udev_rules.html and adapt to your hard drive. Serial numbers should be unique, even amongst otherwise identical drives...

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Mark Knecht
On Thu, Aug 2, 2012 at 10:43 AM, Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Thursday 02 August 2012 16:50:36 Mark Knecht wrote: Dunno about the python-3.2 thing. Are you set to use 3.2 by default? (How aggressive of you!) ;-) I'm set to use 2.7 as default which I think is the overall

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Alex Schuster
Dale writes: Alex Schuster wrote: Mark Knecht writes: Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a copy of the output for bad times. https://github.com/pturmel/lsdrv That doesn't work here, and I do not understand why. In line 305 it tries and fails to

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Alex Schuster
Mark Knecht writes: On Thu, Aug 2, 2012 at 8:02 AM, Alex Schuster wo...@wonkology.org wrote: Mark Knecht writes: Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a copy of the output for bad times. https://github.com/pturmel/lsdrv That doesn't work here, and I

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Neil Bothwick
On Thu, 2 Aug 2012 12:59:19 -0400, Walter Dnes wrote: You can get the ATTRS{serial} (i.e. serial number). Not all drives supply this. I have a pair of Seagate drives and a pair of WD drives. Neither drive is distinguishable from its twin with udev attributes. -- Neil Bothwick If nothing

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Neil Bothwick
On Thu, 2 Aug 2012 19:43:50 +0200, Alex Schuster wrote: BTW, sys-fs/udev-187 does not have the 'udevinfo' command, it seems to be 'udevadm info' now. udevinfo disappeared a long time ago. I wrote a script called udevinfo to call mdadm info so that I didn't need thchage my setup, it is dated

[gentoo-user] Udev rules for identical hard drives

2012-08-01 Thread Alex Schuster
Hi there! I do not understand the numbering of my hard drives. There may be some inherent logic, but whenever I make some changes, like replacing drives, or changing BIOS settings, the order changes. Maybe it's even more random. So I made some udev rules like this, and my drives are called

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-01 Thread Canek Peláez Valdés
On Wed, Aug 1, 2012 at 6:34 PM, Alex Schuster wo...@wonkology.org wrote: Hi there! I do not understand the numbering of my hard drives. There may be some inherent logic, but whenever I make some changes, like replacing drives, or changing BIOS settings, the order changes. Maybe it's even more

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-01 Thread Canek Peláez Valdés
On Wed, Aug 1, 2012 at 6:59 PM, Canek Peláez Valdés can...@gmail.com wrote: On Wed, Aug 1, 2012 at 6:34 PM, Alex Schuster wo...@wonkology.org wrote: Hi there! I do not understand the numbering of my hard drives. There may be some inherent logic, but whenever I make some changes, like

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-01 Thread Alex Schuster
Canek Peláez Valdés writes: On Wed, Aug 1, 2012 at 6:59 PM, Canek Peláez Valdés can...@gmail.com wrote: On Wed, Aug 1, 2012 at 6:34 PM, Alex Schuster wo...@wonkology.org wrote: [...] Could there be another way to distinguish the drives, like looking at the partition scheme or something?

Re: [gentoo-user] Udev rules for identical hard drives

2012-08-01 Thread Canek Peláez Valdés
On Wed, Aug 1, 2012 at 7:42 PM, Alex Schuster wo...@wonkology.org wrote: Canek Peláez Valdés writes: [ snip ] Oh, and I forgot; doesn't the links in /dev/disk/by-id, /dev/disk/by-label, /dev/disk/by-uuid do what you want to? Those seem to list partitions only, not whole drives. A label for a

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

2011-11-16 Thread James Broadhead
Your user should be in plugdev, with the mountpoiny rwx by plugdev. I have root:plugdev rwxrwxr-x. I have more written, but I'm travellong atm. Use app-pda/ideviceinstaller -l to get AppIds then use ifuse --appid to mount Apps 'Documents' folders (to pass them music/videos/ebooks). I needed

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

2011-11-16 Thread James Broadhead
On 16 November 2011 08:42, James Broadhead jamesbroadh...@gmail.com wrote: Your user should be in plugdev, with the mountpoiny rwx by plugdev. I have root:plugdev rwxrwxr-x. Oh, and run ifuse as the user, not as root :)

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

2011-11-16 Thread Mark Knecht
On Wed, Nov 16, 2011 at 1:21 AM, James Broadhead jamesbroadh...@gmail.com wrote: On 16 November 2011 08:42, James Broadhead jamesbroadh...@gmail.com wrote: Your user should be in plugdev, with the mountpoiny rwx by plugdev. I have root:plugdev rwxrwxr-x. Oh, and run ifuse as the user, not as

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

2011-11-12 Thread Mark Knecht
On Wed, Nov 9, 2011 at 3:14 PM, James Broadhead jamesbroadh...@gmail.com wrote: As for native support, it looks as though Apple have updated their protocol, so if you've a new i*, or have updated recently, then the in-portage versions of ifuse and libimobiledevice won't work - I've just gotten

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

2011-11-09 Thread Volker Armin Hemmann
Am Montag 07 November 2011, 10:28:41 schrieb J. Roeleveld: On Sun, November 6, 2011 6:49 pm, Volker Armin Hemmann wrote: Am Samstag 05 November 2011, 20:45:15 schrieb Joost Roeleveld: Virtualbox has decent USB-pass-through support. Even quite high performance. Thanks for your help.

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

2011-11-09 Thread Mark Knecht
On Wed, Nov 9, 2011 at 7:17 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: Am Montag 07 November 2011, 10:28:41 schrieb J. Roeleveld: On Sun, November 6, 2011 6:49 pm, Volker Armin Hemmann wrote: Am Samstag 05 November 2011, 20:45:15 schrieb Joost Roeleveld: Virtualbox has decent

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

2011-11-09 Thread Volker Armin Hemmann
Am Mittwoch 09 November 2011, 10:22:42 schrieb Mark Knecht: On Wed, Nov 9, 2011 at 7:17 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: Am Montag 07 November 2011, 10:28:41 schrieb J. Roeleveld: On Sun, November 6, 2011 6:49 pm, Volker Armin Hemmann wrote: Am Samstag 05

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

2011-11-09 Thread Mark Knecht
On Wed, Nov 9, 2011 at 10:54 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: Am Mittwoch 09 November 2011, 10:22:42 schrieb Mark Knecht: On Wed, Nov 9, 2011 at 7:17 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: Am Montag 07 November 2011, 10:28:41 schrieb J.

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

2011-11-09 Thread James Broadhead
As for native support, it looks as though Apple have updated their protocol, so if you've a new i*, or have updated recently, then the in-portage versions of ifuse and libimobiledevice won't work - I've just gotten my updated iPad working with current git versions of both however. I've also been

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

2011-11-07 Thread J. Roeleveld
On Sun, November 6, 2011 6:49 pm, Volker Armin Hemmann wrote: Am Samstag 05 November 2011, 20:45:15 schrieb Joost Roeleveld: Virtualbox has decent USB-pass-through support. Even quite high performance. Thanks for your help. I do appreciate it virtualbox is also pretty broken at the

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

2011-11-06 Thread Mark Knecht
On Sat, Nov 5, 2011 at 8:06 PM, Pandu Poluan pa...@poluan.info wrote: 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, Yeah, off topic, and a good first

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

2011-11-06 Thread James Broadhead
On 5 November 2011 19:45, Joost Roeleveld jo...@antarean.org wrote: 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

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

2011-11-06 Thread Dale
Mark Knecht wrote: I hope anyone reading who doesn't donate will at least consider donating. Even donating once a year is a big help. It's not painful and whole blood donations are easy. I do apheresis which takes longer as it draws my blood, separates the contents, keeps the plasma

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

2011-11-06 Thread Mark Knecht
On Sun, Nov 6, 2011 at 7:10 AM, Dale rdalek1...@gmail.com wrote: Mark Knecht wrote: I hope anyone reading who doesn't donate will at least consider donating. Even donating once a year is a big help. It's not painful and whole blood donations are easy. I do apheresis which takes longer as it

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

2011-11-06 Thread Neil Bothwick
On Sun, 6 Nov 2011 06:16:59 -0800, Mark Knecht wrote: I hope anyone reading who doesn't donate will at least consider donating. I used to9, but I'm no longer allowed to. In the UK, anyone who received a transfusion before 1981 is no longer able to donate, I received blood in December 1980.

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

2011-11-06 Thread Dale
Mark Knecht wrote: On Sun, Nov 6, 2011 at 7:10 AM, Dalerdalek1...@gmail.com wrote: Mark Knecht wrote: I hope anyone reading who doesn't donate will at least consider donating. Even donating once a year is a big help. It's not painful and whole blood donations are easy. I do apheresis which

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

2011-11-06 Thread Mark Knecht
On Sun, Nov 6, 2011 at 7:33 AM, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 6 Nov 2011 06:16:59 -0800, Mark Knecht wrote: I hope anyone reading who doesn't donate will at least consider donating. I used to9, but I'm no longer allowed to. In the UK, anyone who received a transfusion

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

2011-11-06 Thread Volker Armin Hemmann
Am Samstag 05 November 2011, 20:45:15 schrieb Joost Roeleveld: Virtualbox has decent USB-pass-through support. Even quite high performance. Thanks for your help. I do appreciate it virtualbox is also pretty broken at the moment. -- #163933

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

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

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

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,

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

2011-11-04 Thread Jorge Martínez López
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

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

2011-11-04 Thread Mark Knecht
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:

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

2011-11-03 Thread Mark Knecht
Hi, I was looking at an app called gtkpod which looks like something my wife might use to sync her iPod Touch. The gtkpod manual suggests that when the system is setup correctly if I plug in her iPod I should see it show up in dmesg as a USB disk. Currently I do not: [ 163.164161] usb 2-4:

Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Dirk Heinrichs
Am Dienstag, 30. Mai 2006 06:00 schrieb ext Leandro Melo de Sales: When I boot from livecd the configuration of my disks is as follows: BUS=scsi /dev/sda - SYSFS{model}==SAMSUNG SP... BUS=scsi /dev/sdb - SYSFS{model}==SysOp SATA or real SCSI? I got this

Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Richard Fish
On 5/29/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote: BUS==scsi, SYSFS{model}==SAMSUNG SP123245, NAME=/dev/sda BUS==scsi, SYSFS{model}==SysOp , NAME=/dev/sdb BUS==scsi, SYSFS{model}==Dados , NAME=/dev/sdc 1. You probably need the := syntax to prevent later rules

Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Leandro Melo de Sales
Richard, when I change any rules, should I have to execute a command in order to update the udev rules? Thank you, Leandro. 2006/5/30, Richard Fish [EMAIL PROTECTED]: On 5/29/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote: BUS==scsi, SYSFS{model}==SAMSUNG SP123245, NAME=/dev/sda

Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Leandro Melo de Sales
Richard, You said that one rule can override other, but if you read udev manual ( http://www.reactivated.net/writing_udev_rules.html ), you'll realize that what you said I think is incorrect. Files in /etc/udev/rules.d/ are parsed in lexical order. udev will stop processing rules as soon as it

Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Richard Fish
On 5/30/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote: Richard, when I change any rules, should I have to execute a command in order to update the udev rules? Usually you can run udevstart to get the new nodes activated immediately. But if you are just going to reboot, this is not

Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Richard Fish
On 5/30/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote: Richard, You said that one rule can override other, but if you read udev manual ( http://www.reactivated.net/writing_udev_rules.html ), you'll realize that what you said I think is incorrect. That is _not_ the udev manual. I've

[gentoo-user] udev rules and boot + SCSI disks

2006-05-29 Thread Leandro Melo de Sales
Hi... I made a gentoo installation by reading gentoo installation guide. When I boot from livecd the configuration of my disks is as follows: BUS=scsi /dev/sda - SYSFS{model}==SAMSUNG SP... BUS=scsi /dev/sdb - SYSFS{model}==SysOp BUS=scsi /dev/sdc -