Try to learn something about everything, and everything about somethingThomas Huxley “Darwin's bulldog” (1824-1895)

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:computers:laptop_freebsd [04/06/26 11:40 BST] johnpublic:computers:laptop_freebsd [05/06/26 09:43 BST] (current) – [Serial USB Adaptors] john
Line 2: Line 2:
  
  
-====== Laptop Freebsd ======+====== Laptop FreeBSD ======
  
 I moved my Dell laptop from Devuan Linux to FreeBSD and here are some things I needed to do and some things I did for convenience.... I moved my Dell laptop from Devuan Linux to FreeBSD and here are some things I needed to do and some things I did for convenience....
Line 146: Line 146:
  
 </code> </code>
 +
 +===== Serial USB Adaptors =====
 +
 +
 +To get access to a USB serial device as normal user (as long as I'm in the ''wheel'' group) I added a rule in ''/etc/devd.conf''
 +
 +<code bash>
 +notify 100 {
 +        match "system"          "DEVFS";
 +        match "subsystem"       "CDEV";
 +        match "type"            "CREATE";
 +        match "cdev"            "ttyU[0-9]+";
 +        action "chmod ug+rw /dev/$cdev";
 +
 +};
 +
 +</code>
 +
 +This makes the device R/W for the ''wheel'' group. Without this rule (the chmod part) the device is only R/W for root.
 +
  
 ===== Other Config Files ===== ===== Other Config Files =====
Line 154: Line 174:
 hostname="proton" hostname="proton"
 keymap="uk.kbd" keymap="uk.kbd"
-#wlans_iwlwifi0="wlan0" 
 wlans_iwm0="wlan0" wlans_iwm0="wlan0"
 ifconfig_wlan0="WPA  DHCP" ifconfig_wlan0="WPA  DHCP"
Line 162: Line 181:
 ifconfig_em0_ipv6="inet6 ifdisabled" ifconfig_em0_ipv6="inet6 ifdisabled"
 ifconfig_lo0_ipv6="inet6 ifdisabled" ifconfig_lo0_ipv6="inet6 ifdisabled"
-#ifconfig_wlan0_ipv6="inet6 accept_rtadv" 
 create_args_wlan0="country GB regdomain NONE" create_args_wlan0="country GB regdomain NONE"
 sshd_enable="YES" sshd_enable="YES"
Line 191: Line 209:
  
 kld_list="i915kms" kld_list="i915kms"
-#kld_list="${kld_list} if_iwlwifi" 
- 
  
 powerd_enable="YES" powerd_enable="YES"