Difference between revisions of "Talk:Udev"

From ArchWiki
Jump to: navigation, search
(moved from Talk:CF and SD card install#Explain about SD (unchanged, no replies added))
(Undo revision 353462 by Kynikos (talk) changed my mind)
Line 38: Line 38:
:It might, unfortunately its {{Pkg|gtk3}} dependency discouraged me from even trying... -- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 09:01, 28 June 2014 (UTC)
:It might, unfortunately its {{Pkg|gtk3}} dependency discouraged me from even trying... -- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 09:01, 28 June 2014 (UTC)
== Explain about SD ==
''[Moved from [[Talk:CF and SD card install#Explain about SD]]. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 02:32, 27 December 2014 (UTC)]''
Why this page is redirect to beginners guide? I am searching info about mounting SD cards. And there is not such article? Does this mean, that we should delete this redirection? — [[User:Agent0|Agent0]] ([[User_talk:Agent0|talk]]|[[Special:Contributions/Agent0|contribs]]) 17:19, 23 December 2014 (UTC)
:Look at [https://wiki.archlinux.org/index.php?title=CF_and_SD_card_install&diff=257478&oldid=239602 this] edit. A time ago page became useless, but instead of removing it at all, its content has been replaced with redirect.
:That's okay that there're many "garbage" redirects. They just don't disturb anybody and shouldn't disturb you ;) — [[User:Blackx|blackx]] ([[User_talk:Blackx|talk]]|[[Special:Contributions/Blackx|contribs]]) 12:46, 24 December 2014 (UTC)
:: Ok, I'll let them be. But we still need an article about SD cards and how to mount them. — [[User:Agent0|Agent0]] ([[User_talk:Agent0|talk]]|[[Special:Contributions/Agent0|contribs]]) 16:04, 24 December 2014 (UTC)
:::Maybe you mean SD card readers? Because if the device works fine, mounting an SD card should be as easy as inserting it and [[mount]]ing it :) -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 02:30, 25 December 2014 (UTC)
:::: Yes, I mean about internal SD card readers. I have googled a bit and find out, that dev is not like usual /dev/sdXY, but /dev/mmcblk0p1. Just could not find this info in ArchWiki, searched SD and found this useless redirection. — [[User:Agent0|Agent0]] ([[User_talk:Agent0|talk]]|[[Special:Contributions/Agent0|contribs]]) 02:58, 25 December 2014 (UTC)
:::::But have you tested it on real hardware? On my laptop the built-in SD card reader is represented by {{ic|/dev/sdb}}. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 01:05, 26 December 2014 (UTC)
:::::: Yes, I have tested it with real hardware. On my [[Lenovo IdeaPad Yoga 13]] I have the following:
$ ls /dev/sd*
/dev/sda  /dev/sda1  /dev/sda2  /dev/sda3  /dev/sda4  /dev/sda5  /dev/sda6
[agent0@yoga ~]$ ls /dev/mmcblk*
/dev/mmcblk0  /dev/mmcblk0p1
[agent0@yoga ~]$
:::::: There are six partitions on internal SSD and no any sdb. But, there is mmcblk0p1 in /dev directory. — [[User:Agent0|Agent0]] ([[User_talk:Agent0|talk]]|[[Special:Contributions/Agent0|contribs]]) 10:55, 26 December 2014 (UTC)
:::::::Does you're really have ArchLinux on a tablet computer :D? Such device names are widely used on different Android devices, and I think this information is not related exactly to ArchLinux. Generally, device names are driver-specific and note that your computer has just a slot for SD cards, not a card reader in the usual sense. — [[User:Blackx|blackx]] ([[User_talk:Blackx|talk]]|[[Special:Contributions/Blackx|contribs]]) 11:41, 26 December 2014 (UTC)
:::::::: My PC is not a tablet only. It is convertable from tablet to notebook. Maybe, inormation is not related exactly to ArchLinux, but I think that this should be at least once be covered in one of the articles, for example, [[USB storage devices]]. What is the difference between card reader and SD slot on laptop? — [[User:Agent0|Agent0]] ([[User_talk:Agent0|talk]]|[[Special:Contributions/Agent0|contribs]]) 11:49, 26 December 2014 (UTC)
:::::::::I'd say that this is more related to [[udev]], but what exactly would you like to write? That an SD card reader could be loaded with a non-sd* name? Besides, after inserting an SD card, the device and partition(s) should show up in {{ic|lsblk}}: why didn't that make clear which was the partition to mount? -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 12:59, 26 December 2014 (UTC)
::::::::::Yes, exactly, I just wanted to know how device is called in /dev. I do not know, maybe it will be called some another way in other PC. But yes, can we make amendment in [[udev]] saying how to detect it (lsblk or blkid)? [http://pkill-9.com/mount-usb-micro-sd-card-linux-automount/ here] I found some usefull instructions. — [[User:Agent0|Agent0]] ([[User_talk:Agent0|talk]]|[[Special:Contributions/Agent0|contribs]]) 13:33, 26 December 2014 (UTC)

Revision as of 02:40, 27 December 2014

usbtiny extra udev rule?

In the udev rules for usbtiny, there are 2 rules listed. Howver, adding the second one to my udev rules resulted in me not an "rc=-1" communication error when I tried to use my usbtiny. When I commented out this rule:

"SBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="0479", GROUP="users", MODE="0666"

everything worked fine. Not sure what the root of the issue is, but this rule makes the usbtiny programer unusable. -- Ssalenik (talk) 04:09, 6 March 2012‎

About udev rules

udevadm info -a -n [device name]


udevadm info -a -p $(udevadm info -q path -n [device name])

gives the same output but the latter is recommended by some Khampf (talk) 20:57, 5 February 2013 (UTC)

Use of 'uaccess' instead of GROUP and MODE?

Bug openobex - relies on non-existing group plugdev, conflict with systemd made me rethink the rules I have been using for Logitech_Unifying_Receiver.

Currently, the following rule is taught to the user:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c9f", GROUP="users", MODE="0666"

What about changing it to:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c9f", TAG+="uaccess"

As a developer note, Ubuntu versions before 13.04 Raring needs TAG+="udev-acl" instead of uaccess. For compatibility with modern and legacy systems:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c9f", TAG+="uaccess", TAG+="udev-acl"


Lekensteyn (talk) 10:16, 6 June 2013 (UTC)



If you use multiple printers, /dev/lp[0-9] devices will be assigned randomly on boot, which will break e.g. CUPS configuration.

I don't use multiple printers, but doesn't system-config-printer handle this automatically? If so, a tip could be added. --Alad (talk) 08:38, 28 June 2014 (UTC)

It might, unfortunately its gtk3 dependency discouraged me from even trying... -- Lahwaacz (talk) 09:01, 28 June 2014 (UTC)