Skip to content

u/pobrn

In this archive from Aug 2020 to Sep 2023

0
posts
449
comments
0
media
1.2k
score

I have a few sparse points within a kilometer of my location

That might be an issue. The way this works is that your computer sends the MAC addresses and signal strengths of the wifi networks that it sees, and based on that, the server estimates the location. Now if there are no available wifi measurements in your vicinity, then it cannot use wifi networks to determine your location, so it has to fall back to using your ip address. It could also use cell towers, but I imagine you don't have a modem in your machine, so that information is not available.

3 points

You did not specify which programs you're talking about.

geoclue is a daemon that can provide location information.

You can test it by first starting /usr/lib/geoclue-2.0/demos/agent, then in a different terminal /usr/lib/geoclue-2.0/demos/where-am-i.

6 points

I'm not sure what to do, besides recompiling core/systemd 253.1-3 and removing the assertion.

That's probably the last thing you should do unless you're sure what you're doing. I would probably open an issue on the systemd bug tacker and see what they say. If you do so, it could be useful if you attach the output of

$ DEBUGINFOD_URLS="https://debuginfod.archlinux.org" coredumpctl debug systemd-analyze
(gdb) set print pretty on
(gdb) set pagination off
(gdb) thread apply all bt full

$ sudo systemd-analyze

Why are you running it as root?

6 points

The reason for that, is because a few weeks ago I was investigating a crash in Firefox, so I needed to attach gdb while Firefox was still running, and that requires root permission.

FYI, you can set /proc/sys/kernel/yama/ptrace_scope to 0 to avoid that. See ptrace(2) for more information.

6 points

Well, that explains what you observe.

static int acm_probe(struct usb_interface *intf,
		     const struct usb_device_id *id)
{
	[...]
	int buflen = intf->altsetting->extralen;
	[...]

	if (!buflen) {
		if (intf->cur_altsetting->endpoint &&
				intf->cur_altsetting->endpoint->extralen &&
				intf->cur_altsetting->endpoint->extra) {
			dev_dbg(&intf->dev,
				"Seeking extra descriptors on endpoint\n");
			buflen = intf->cur_altsetting->endpoint->extralen;
			buffer = intf->cur_altsetting->endpoint->extra;
		} else {
			dev_err(&intf->dev,
				"Zero length descriptor references\n");
			return -EINVAL; // <<-- HERE
		}
	}

Based on the fact that the driver does not support it out of the box, it isn't that surprising that it won't bind.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.